:root {
    /* Brand Colors - Light Royal Aesthetic */
    --primary-color: #2A3ECD;        /* Bright royal indigo */
    --primary-dark: #19226F;        /* Deep royal navy */
    --secondary-color: #6A3FD6;     /* Rich royal purple */
    --secondary-dark: #3A248C;      /* Deeper royal accent */
    --accent-color: #F4C542;        /* Soft royal gold */
    --success-color: #24B47E;       /* Fresh emerald */

    /* Neutrals - Light, high contrast */
    --bg-light: #F5F7FF;
    --bg-white: #FFFFFF;
    --bg-pure-white: #FFFFFF;
    --text-dark: #111827;
    --text-gray: #4B5563;
    --border-color: rgba(15, 23, 42, 0.08);

    /* Fonts */
    --font-heading: 'Bubblegum Sans', cursive;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Shadows & Glass */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(255, 46, 147, 0.5);

    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-blur: blur(16px);
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E5ECFF 0%, #C7D2FE 50%, #E0E7FF 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    animation: splashFadeIn 0.8s ease-out;
}

.splash-logo {
    max-width: 300px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    animation: logoFloat 2s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.splash-loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Page frames for premium slide-like scrolling */
.page-frames {
    scroll-snap-type: y mandatory;
}

.page-frame {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    opacity: 0;
    transform: translate3d(var(--frame-entry-x, 0), var(--frame-entry-y, 40px), 0) scale(var(--frame-entry-scale, 0.985));
    transition:
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.page-frame.frame-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Different entry directions per “scene” */
.page-frame[data-frame="hero"] {
    --frame-entry-y: 60px;
}

.page-frame[data-frame="how-it-works"],
.page-frame[data-frame="learning-outcomes"] {
    --frame-entry-x: -40px;
    --frame-entry-y: 0;
}

.page-frame[data-frame="games"],
.page-frame[data-frame="features"],
.page-frame[data-frame="learning-hub"] {
    --frame-entry-x: 40px;
    --frame-entry-y: 0;
}

.page-frame[data-frame="testimonials"],
.page-frame[data-frame="stats"] {
    --frame-entry-y: 50px;
}

.page-frame[data-frame="pricing"],
.page-frame[data-frame="cta"],
.page-frame[data-frame="about"],
.page-frame[data-frame="feedback"],
.page-frame[data-frame="contact"] {
    --frame-entry-y: 60px;
    --frame-entry-scale: 0.98;
}

@media (max-width: 768px) {
    .page-frames {
        scroll-snap-type: none;
    }

    .page-frame {
        min-height: auto;
        scroll-snap-stop: normal;
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 1200;
    pointer-events: none;
}

.scroll-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 8px rgba(255, 46, 147, 0.8);
    transform-origin: left center;
    transition: width 0.15s linear;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Trust Badges Bar */
.trust-badges-bar {
    background: linear-gradient(135deg, rgba(6, 214, 160, 0.1) 0%, rgba(255, 190, 11, 0.1) 100%);
    border-bottom: 2px solid rgba(6, 214, 160, 0.2);
    padding: 1rem 0;
}

/* Launch Phase Banner */
.launch-banner {
    background: radial-gradient(circle at left, rgba(255, 190, 11, 0.2), rgba(255, 46, 147, 0.1));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 0;
}

.launch-banner-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.launch-banner-text strong {
    font-weight: 700;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.trust-icon {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
}

.trust-text {
    font-family: var(--font-body);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-pill {
    margin-left: 0.5rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fefefe;
    white-space: nowrap;
}

.logo-icon {
    font-size: 2rem;
    animation: subtleFloat 3s ease-in-out infinite;
}

.logo-icon img {
    height: 50px;
    width: 50px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    animation: subtleFloat 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.btn-nav {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    font-size: 1.05rem;
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-nav:hover::before {
    width: 100%;
}

.btn-nav:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-nav:active {
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at top right, rgba(79, 70, 229, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 12% 120%, rgba(14, 116, 144, 0.16) 0%, transparent 60%),
        linear-gradient(145deg, #FFFFFF 0%, #EEF2FF 40%, #E0ECFF 75%, #E5E7FF 100%);
    color: var(--text-dark);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%232A3ECD" opacity="0.22"/></svg>');
    animation: float 30s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.emoji-burst {
    display: block;
    font-size: 0.7em;
    margin-top: var(--spacing-sm);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    max-width: 500px;
    animation: fadeIn 1s ease-out 0.5s both;
    color: var(--text-gray);
}

.hero-cta {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.btn-primary {
    background: linear-gradient(135deg, #FACC15, #F59E0B);
    color: #111827;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 230, 109, 0.4);
    font-family: var(--font-body);
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid rgba(42, 62, 205, 0.4);
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--font-body);
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(255, 190, 11, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 230, 109, 0.6);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.cta-note {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview-cards {
    position: relative;
    width: 100%;
    height: 300px;
}

.preview-card {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-glow);
    animation: cardFloat 3s ease-in-out infinite;
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.card-2 {
    bottom: 0;
    left: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 0;
    right: 0;
    animation-delay: 2s;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Learning Outcomes Section */
.learning-outcomes-section {
    padding: clamp(3rem, 8vw, 5rem) 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 60%, #E0F2FE 100%);
}

.outcomes-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-weight: 400;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.outcome-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.outcome-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.outcome-icon {
    font-size: clamp(3rem, 8vw, 4rem);
    margin-bottom: 1rem;
    display: inline-block;
    animation: outcomeFloat 3s ease-in-out infinite;
}

@keyframes outcomeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.outcome-card:nth-child(2n) .outcome-icon {
    animation-delay: 0.5s;
}

.outcome-card:nth-child(3n) .outcome-icon {
    animation-delay: 1s;
}

.outcome-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.outcome-card p {
    color: var(--text-gray);
    font-size: clamp(0.9rem, 2.8vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.outcome-age {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.outcomes-cta {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2rem);
    background: rgba(6, 214, 160, 0.08);
    border-radius: 16px;
    border: 2px dashed var(--success-color);
}

.outcomes-note {
    font-size: clamp(0.9rem, 2.8vw, 1.05rem);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.8;
}

.outcomes-note strong {
    color: var(--success-color);
    font-weight: 700;
}

/* Games Section */
.games-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-xl);
    padding: 0 1rem;
}

.game-card {
    background: var(--bg-pure-white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid var(--border-color);
    cursor: pointer;
}

/* Game Worlds – interactive horizontal experience */
.game-worlds {
    position: relative;
    margin-top: var(--spacing-xl);
}

.game-worlds .games-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    padding-bottom: 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.game-worlds .game-card {
    flex: 0 0 min(340px, 80vw);
    scroll-snap-align: center;
}

.game-worlds-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(11, 14, 20, 0.8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    z-index: 2;
}

.game-worlds-nav:hover {
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.game-worlds-nav-prev {
    left: 0;
}

.game-worlds-nav-next {
    right: 0;
}

@media (max-width: 768px) {
    .game-worlds-nav {
        display: none;
    }

    .game-worlds .games-grid {
        padding-inline: 0.5rem;
    }
}

.game-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 0 3px var(--primary-color);
    border-color: transparent;
}

.game-card:active {
    transform: translateY(-12px) scale(1);
}

.game-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 46, 147, 0.1) 0%, var(--bg-pure-white) 100%);
    box-shadow: var(--shadow-glow);
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.game-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: gameIconFloat 4s ease-in-out infinite;
    display: block;
}

@keyframes gameIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.game-card:hover .game-icon {
    animation: gameIconBounce 0.6s ease-in-out;
}

@keyframes gameIconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.1); }
}

.game-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.game-age {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(255, 46, 147, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
}

.game-description {
    color: var(--text-gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
    font-size: 1rem;
}

.game-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.game-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.975rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.game-features li:hover {
    transform: translateX(5px);
    color: var(--text-dark);
}

.btn-game {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1.35rem;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: var(--font-body);
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 0 var(--primary-dark), var(--shadow-md);
}

.btn-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-game:hover::before {
    left: 100%;
}

.btn-game:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 var(--primary-dark), var(--shadow-lg);
}

.btn-game:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark), var(--shadow-sm);
}

.btn-featured {
    background: linear-gradient(135deg, var(--accent-color), #FFA500);
    box-shadow: 0 6px 0 #E68900, var(--shadow-md);
    animation: pulseFeatured 2s ease-in-out infinite;
}

.btn-featured:hover {
    box-shadow: 0 8px 0 #E68900, var(--shadow-lg);
}

.btn-featured:active {
    box-shadow: 0 2px 0 #E68900, var(--shadow-sm);
}

@keyframes pulseFeatured {
    0%, 100% { box-shadow: 0 6px 0 #E68900, var(--shadow-md); }
    50% { box-shadow: 0 6px 0 #E68900, var(--shadow-md), 0 0 30px rgba(255, 190, 11, 0.5); }
}

/* Pricing Section - CONVERSION FOCUSED */
.pricing-section {
    padding: clamp(4rem, 10vw, 6rem) 0;
    background:
        radial-gradient(circle at top, rgba(79, 70, 229, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #FFFFFF 0%, #F5F7FF 45%, #E5ECFF 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.22) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-header {
    text-align: center;
    margin-bottom: clamp(3rem, 7vw, 4rem);
    position: relative;
    z-index: 1;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 1100px;
    margin: 0 auto clamp(3rem, 6vw, 4rem);
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: #FFFFFF;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--primary-color);
}

.pricing-card.featured-plan {
    border-color: var(--primary-color);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.9) 0%, rgba(221, 239, 253, 0.9) 100%);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

.pricing-card.featured-plan:hover {
    transform: scale(1.08) translateY(-12px);
}

.plan-badge {
    display: inline-block;
    background: var(--text-gray);
    color: var(--bg-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--accent-color), #FFA500);
    color: var(--bg-light);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 190, 11, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(255, 190, 11, 0); }
}

/* Call-to-Action Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 46, 147, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 46, 147, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 46, 147, 0);
    }
}

.plan-icon {
    font-size: clamp(3rem, 8vw, 4rem);
    margin-bottom: 1rem;
    display: inline-block;
    animation: planIconFloat 3s ease-in-out infinite;
}

@keyframes planIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.plan-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 1.8rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--primary-color);
    font-weight: 700;
    vertical-align: super;
}

.price-amount {
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 900;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.price-period {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-gray);
    font-weight: 600;
}

.price-equivalent {
    color: var(--success-color);
    font-weight: 700;
    font-size: clamp(1rem, 2.8vw, 1.1rem);
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin: clamp(1.5rem, 4vw, 2rem) 0;
    padding: 0;
}

.plan-features li {
    padding: 0.6rem 0;
    color: var(--text-dark);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    width: 100%;
    padding: clamp(1rem, 3vw, 1.25rem);
    border-radius: 16px;
    font-weight: 800;
    font-size: clamp(1rem, 3vw, 1.15rem);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    margin-bottom: 1rem;
}

.btn-pricing.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 6px 0 var(--primary-dark), 0 10px 20px rgba(255, 46, 147, 0.4);
}

.btn-pricing.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 0 var(--primary-dark), 0 14px 28px rgba(255, 46, 147, 0.5);
}

.btn-pricing.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--primary-dark), 0 6px 12px rgba(255, 46, 147, 0.3);
}

.btn-pricing.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-pricing.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

.plan-note {
    color: var(--text-gray);
    font-size: clamp(0.85rem, 2.3vw, 0.95rem);
    margin-top: 0.5rem;
}

/* Pricing Comparison */
.pricing-comparison {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.comparison-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--text-dark);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.comparison-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(249, 250, 251, 0.9);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.comparison-item:hover {
    background: #EEF2FF;
    transform: translateY(-4px);
}

.comparison-emoji {
    font-size: clamp(2.5rem, 6vw, 3rem);
}

.comparison-text {
    color: var(--text-dark);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    text-align: center;
}

.comparison-note {
    color: var(--text-gray);
    font-size: clamp(0.95rem, 2.8vw, 1.05rem);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.comparison-note strong {
    color: var(--success-color);
}

/* Money Back Guarantee */
.guarantee-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, rgba(187, 247, 208, 0.7) 100%);
    border: 2px solid var(--success-color);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2rem);
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    max-width: 800px;
    margin: 0 auto;
}

.guarantee-icon {
    font-size: clamp(3rem, 8vw, 4rem);
    flex-shrink: 0;
}

.guarantee-content h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.guarantee-content p {
    color: var(--text-dark);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background:
        radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.16), transparent 55%),
        linear-gradient(140deg, #FFFFFF 0%, #EEF2FF 40%, #E0ECFF 100%);
    color: var(--text-dark);
    text-align: center;
    position: relative;
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h40v40H0z" fill="none"/><path d="M20 0v40M0 20h40" stroke="%23F4C542" stroke-width="1" opacity="0.08"/></svg>');
    opacity: 0.6;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-pure-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-story h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.about-story h3:first-child {
    margin-top: 0;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
}

.commitment-list {
    list-style: none;
    padding: 0;
    margin-top: var(--spacing-md);
}

.commitment-list li {
    font-size: 1.05rem;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

/* Feedback Section */
.feedback-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.feedback-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: #F9FAFB;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.rating-input {
    display: flex;
    gap: var(--spacing-xs);
    font-size: 2rem;
    cursor: pointer;
}

.rating-input .star {
    color: var(--text-gray);
    transition: all 0.2s ease;
    user-select: none;
}

.rating-input .star:hover,
.rating-input .star.active {
    color: var(--accent-color);
    transform: scale(1.1);
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 4px;
}

.feedback-message {
    padding: var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-top: var(--spacing-md);
}

.feedback-message.success {
    background: rgba(6, 214, 160, 0.15);
    color: var(--success-color);
    border: 2px solid var(--success-color);
}

.feedback-message.error {
    background: rgba(255, 46, 147, 0.15);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Feedback section: mobile-friendly touch targets (44px min) */
@media (max-width: 768px) {
    .feedback-section .feedback-form-container {
        padding: var(--spacing-md);
    }
    .feedback-section .form-group input,
    .feedback-section .form-group select,
    .feedback-section .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* avoids zoom on focus on iOS */
    }
    .feedback-section .form-group textarea {
        min-height: 120px;
    }
    .feedback-section .rating-input .star {
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .feedback-section #submitFeedback {
        min-height: 48px;
        padding: 14px 20px;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-pure-white);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.contact-item {
    background: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.contact-details h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.contact-details p {
    color: var(--text-gray);
    margin: var(--spacing-xs) 0;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Footer */
.footer {
    background: #0B1120;
    color: #E5E7EB;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo {
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    opacity: 0.8;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    display: block;
    padding: 0.3rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Scroll-in animation for sections/cards */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky CTA Bar */
.sticky-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1800;
    background: linear-gradient(135deg, rgba(15, 18, 36, 0.98), rgba(42, 31, 157, 0.98));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.sticky-cta-text {
    color: #fefefe;
    font-size: 0.95rem;
}

.sticky-cta-highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.sticky-cta-button {
    white-space: nowrap;
    padding-inline: 1.75rem;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .sticky-cta-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .sticky-cta-button {
        width: 100%;
        min-height: 48px;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-pure-white);
    padding: var(--spacing-xl);
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
    background: var(--primary-color);
    transform: rotate(90deg);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

#g_id_onload,
.g_id_signin {
    display: flex;
    justify-content: center;
    margin: var(--spacing-lg) 0;
}

.modal-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: var(--spacing-lg);
    line-height: 1.5;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-color);
}

.auth-tab {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-gray);
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 1rem;
}

.auth-tab:hover {
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.05);
}

.auth-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.auth-tab span {
    margin-right: var(--spacing-xs);
}

/* Tab Content */
.auth-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-tab-content.active {
    display: block;
}

.tab-description {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

/* Auth Forms */
.auth-form {
    margin-top: var(--spacing-md);
}

.form-input-group {
    margin-bottom: var(--spacing-md);
}

.form-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.form-input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.1);
}

.input-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.btn-auth-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    margin-top: var(--spacing-sm);
}

.btn-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 46, 147, 0.3);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.auth-switch {
    text-align: center;
    margin-top: var(--spacing-md);
    color: var(--text-gray);
    font-size: 0.95rem;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-message {
    padding: var(--spacing-sm);
    border-radius: 8px;
    margin-top: var(--spacing-md);
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.3s ease;
}

.auth-message.success {
    background: rgba(6, 214, 160, 0.15);
    color: var(--success-color);
    border: 2px solid var(--success-color);
}

.auth-message.error {
    background: rgba(255, 46, 147, 0.15);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* Mobile Responsive - Mobile First Approach */
@media (max-width: 768px) {
    /* Header - Make Logo and Button Proportional */
    .header {
        padding: 0.8rem 0;
    }

    .logo {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
        gap: 0.5rem;
    }

    .logo-icon {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .logo-icon img {
        height: 40px;
        width: 40px;
    }

    .splash-logo {
        width: 200px;
        height: 200px;
        max-width: 80vw;
    }

    .btn-nav {
        padding: 0.6rem 1.2rem;
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        min-width: 44px;
        min-height: 44px;
    }

    /* Hero Section - Stack and Scale */
    .hero {
        padding: clamp(2rem, 8vw, 4rem) 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 3rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
        max-width: 100%;
        padding: 0 1rem;
    }

    .btn-primary {
        padding: clamp(0.9rem, 3vw, 1.25rem) clamp(1.5rem, 5vw, 2.5rem);
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        min-width: 44px;
        min-height: 44px;
    }

    .game-preview-cards {
        height: clamp(180px, 40vw, 250px);
    }

    .preview-card {
        width: clamp(80px, 20vw, 120px);
        height: clamp(80px, 20vw, 120px);
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    /* Games Section - Single Column with Proper Scaling */
    .games-section {
        padding: clamp(2rem, 6vw, 4rem) 0;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
        padding: 0 0.5rem;
        max-width: 500px;
        margin: 0 auto;
    }

    .game-card {
        padding: clamp(1.2rem, 4vw, 1.8rem);
        border-radius: clamp(16px, 4vw, 24px);
    }

    .game-icon {
        font-size: clamp(3rem, 10vw, 5rem);
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }

    .game-title {
        font-size: clamp(1.2rem, 4.5vw, 1.65rem);
        margin-bottom: 0.6rem;
    }

    .game-age {
        font-size: clamp(0.85rem, 2.8vw, 1rem);
        padding: 0.3rem 0.7rem;
    }

    .game-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-bottom: 1rem;
    }

    .game-features li {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
        padding: 0.4rem 0;
    }

    .btn-game {
        padding: clamp(1rem, 3.5vw, 1.35rem);
        font-size: clamp(1rem, 3.5vw, 1.15rem);
        min-height: 50px;
        border-radius: clamp(14px, 3.5vw, 18px);
    }

    .badge {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        padding: 0.4rem 0.8rem;
        top: -10px;
    }

    /* Features Section */
    .features-section {
        padding: clamp(2rem, 6vw, 4rem) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
        max-width: 500px;
        margin: 0 auto;
    }

    .feature-card {
        padding: clamp(1.2rem, 4vw, 1.8rem);
    }

    .feature-icon {
        font-size: clamp(2.5rem, 8vw, 3rem);
    }

    .feature-card h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.25rem);
    }

    .feature-card p {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
    }

    /* Testimonials */
    .testimonials-section {
        padding: clamp(2rem, 6vw, 4rem) 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .testimonial-card {
        padding: clamp(1.2rem, 4vw, 1.8rem);
    }

    .testimonial-text {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    /* Stats Section */
    .stats-section {
        padding: clamp(2rem, 6vw, 3rem) 0;
    }

    .stats-row {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
    }

    .stat-number {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .stat-label {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }

    /* Learning Hub */
    .hub-grid {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
        max-width: 500px;
        margin: 0 auto;
    }

    .hub-image {
        height: clamp(140px, 35vw, 180px);
        font-size: clamp(2.5rem, 9vw, 3.5rem);
    }

    .hub-content {
        padding: clamp(1rem, 3vw, 1.5rem);
    }

    .hub-title {
        font-size: clamp(1.1rem, 3.8vw, 1.4rem);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(1.5rem, 4vw, 2rem);
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer {
        padding: clamp(2rem, 6vw, 3rem) 0 clamp(1rem, 3vw, 1.5rem);
    }

    /* Modal */
    .modal-content {
        padding: clamp(1.5rem, 5vw, 2rem);
        width: 92%;
        max-width: 450px;
    }

    .modal-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }
}

/* Extra Small Phones */
@media (max-width: 380px) {
    .header .container {
        padding: 0 0.8rem;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .btn-nav {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .games-grid {
        padding: 0 0.3rem;
    }

    .game-card {
        padding: 1rem;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.testimonial-card {
    flex: 0 0 min(340px, 80vw);
    scroll-snap-align: center;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* Stats Section */
.stats-section {
    padding: var(--spacing-xl) 0;
    background:
        radial-gradient(circle at top, rgba(79, 70, 229, 0.15) 0%, transparent 55%),
        linear-gradient(135deg, #FFFFFF 0%, #EEF2FF 100%);
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Touch Optimization */
@media (hover: none) {

    .btn-nav:hover,
    .btn-primary:hover,
    .btn-game:hover {
        transform: none;
    }

    .btn-nav:active,
    .btn-primary:active,
    .btn-game:active {
        transform: scale(0.97);
    }
}

/* Mobile Testimonials */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Educational Learning Hub Section */
.learning-hub-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    position: relative;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.hub-card {
    background: var(--bg-pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.hub-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.hub-image {
    height: 180px;
    background:
        radial-gradient(circle at 10% 0%, rgba(244, 197, 66, 0.35) 0%, transparent 60%),
        linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    position: relative;
    overflow: hidden;
}

.hub-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hub-content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hub-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.hub-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.hub-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.btn-hub {
    align-self: flex-start;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-hub:hover {
    background: var(--primary-color);
    color: white;
}
/* How It Works Section */
.how-it-works-section {
    background:
        radial-gradient(circle at top left, rgba(244, 197, 66, 0.18) 0%, transparent 55%),
        linear-gradient(135deg, rgba(42, 31, 157, 0.16) 0%, rgba(91, 42, 134, 0.18) 100%);
    padding: var(--spacing-xl) 0;
    margin: var(--spacing-xl) 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.step-card {
    background: white;
    border-radius: 24px;
    padding: 40px 24px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(102, 126, 234, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.step-icon {
    font-size: 64px;
    margin: 20px 0;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: #636E72;
    line-height: 1.6;
}

.step-arrow {
    font-size: 40px;
    color: #667eea;
    font-weight: bold;
    margin: 0 16px;
}

.demo-video-section {
    text-align: center;
    margin: 48px 0;
}

.demo-placeholder {
    max-width: 800px;
    margin: 0 auto;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
}

.demo-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 56px rgba(102, 126, 234, 0.4);
}

.play-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.demo-placeholder:hover .play-icon {
    background: white;
    transform: scale(1.1);
}

.demo-placeholder p {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.demo-caption {
    margin-top: 16px;
    font-size: 16px;
    color: #636E72;
}

.how-it-works-cta {
    text-align: center;
    margin-top: 40px;
}

/* Reduce heavy animations and effects on small screens for smoother mobile performance */
@media (max-width: 768px) {
    body::before,
    .hero::before,
    .preview-card,
    .outcome-icon,
    .plan-icon,
    .pricing-card.featured-plan,
    .testimonial-card,
    .hub-image::after {
        animation: none !important;
        box-shadow: none;
    }

    body {
        background-attachment: scroll;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .demo-placeholder {
        height: 300px;
    }

    .play-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
}
