/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #2BB673;
    --color-primary-dark: #249c62;
    --color-white: #FFFFFF;
    --color-text: #2D3748;
    --color-gray-300: #CBD5E0;
    --color-gray-400: #A0AEC0;
    --color-gray-800: #2D3748;
    --color-gray-900: #1A202C;
    --color-hero-text: #F15B6C;
    --color-muted: #718096;

    /* Layout */
    --container-max-width: 1280px;
    --header-height: 72px;

    /* Common */
    --transition-standard: all 0.2s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    overflow-x: hidden;
    background-color: var(--color-white);
    font-weight: 500;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 36px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-grow: 1;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-links a:hover {
    color: #000000;
}

/* More button */
.more-btn {
    display: none;
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.more-btn:hover {
    color: #000000;
}

/* Dropdown menu */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    margin-top: 0.5rem;
}

.nav-dropdown a {
    display: none;
    padding: 0.75rem 1rem;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
    position: relative;
}

.nav-dropdown a:hover {
    background-color: transparent;
    color: #000000;
}


/* Current page indicator */
.nav-links a[data-current="current"],
.nav-dropdown a[data-current="current"],
.mobile-nav a[data-current="current"] {
    position: relative;
    color: #000000;
}

.nav-links a:hover::after,
.nav-links a[data-current="current"]::after,
.nav-dropdown a[data-current="current"]::after,
.mobile-nav a[data-current="current"]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 0.2s ease;
}


.nav-cta {
    flex-shrink: 0;
    margin-left: 2rem;
}

.cta-button {
    display: inline-block;
    background: #2BB673;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #249c62;
    transform: translateY(-1px);
}

.nav-cta a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-cta a:hover::after,
.nav-cta a[data-current="current"]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transition: all 0.2s ease;
}

/* Show/hide dropdown using checkbox hack */
.nav-more-toggle:checked + .nav-dropdown {
    display: block;
}

/* Hide mobile elements in desktop */
.mobile-nav, .mobile-menu-btn, .mobile-nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 6rem 1.5rem;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max-width);
    margin: var(--header-height) auto 0;
    gap: 2rem;
}

.hero-content {
    flex: 4;
    max-width: 40%;
}

.hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3.25rem;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--color-hero-text);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.8;
    text-shadow: -0.5px 0 var(--color-text), 0 0.5px var(--color-text), 0.5px 0 var(--color-text), 0 -0.5px var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.text {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: flex-start;
    max-width: 360px;
}

.educator-link {
    text-decoration: underline;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-standard);
    text-align: center;
    width: 100%;
    margin-top: 1.5rem;
}

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

.btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 0;
    border-radius: 999px;
    text-decoration: none;
    transition: var(--transition-standard);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    width: 100%;
    max-width: 360px;
    box-shadow: var(--shadow-sm);
    height: 56px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-cta .price {
    font-size: 0.875rem;
    color: var(--color-muted);
    font-weight: 500;
    margin-top: 0.375rem;
    width: 100%;
    text-align: center;
}

.hero-image {
    flex: 6;
    max-width: 60%;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.store-badges {
    margin: 3rem 0 0.5rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-reviews {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-icons {
    color: #FFD700;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

.review-text {
    font-weight: 500;
    color: #444;
    font-size: 1.1rem;
}

/* Responsive styles for hero section */
@media screen and (max-width: 1024px) {
    .more-btn {
        display: inline-block;
    }
    
    .nav-links a:nth-last-child(-n+2):not(.more-btn) {
        display: none;
    }
    
    .nav-dropdown a:nth-last-child(-n+1) {
        display: block;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .subtitle {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 900px) {
    .nav-links a:nth-last-child(-n+3):not(.more-btn) {
        display: none;
    }
    
    .nav-dropdown a:nth-last-child(-n+2) {
        display: block;
    }
}

@media screen and (max-width: 800px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a:nth-last-child(-n+4):not(.more-btn) {
        display: none;
    }
    
    .nav-dropdown a:nth-last-child(-n+3) {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        cursor: pointer;
    }

    .nav-dropdown, .more-btn {
        display: none !important;
    }
    
    .nav-cta {
        margin-left: auto;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .mobile-nav a {
        display: block;
        padding: 0.75rem 1rem;
        color: #000000;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.2s;
        position: relative;
    }

    .mobile-nav a:hover {
        color: #000000;
    }

    .mobile-nav-toggle:checked ~ .mobile-nav {
        display: block;
    }

    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: #4A5568;
        margin: 4px 0;
        transition: 0.2s;
    }

    .mobile-nav-toggle:checked ~ .mobile-menu-btn span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-nav-toggle:checked ~ .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle:checked ~ .mobile-menu-btn span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        margin-top: 60px;
    }

    .hero-content {
        flex: 1;
        max-width: 100%;
        padding-right: 0;
    }

    .hero-cta {
        width: 100%;
        align-items: center;
        max-width: 100%;
    }

    .hero-image {
        flex: 1;
        max-width: 100%;
        margin-top: 2rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .btn {
        width: 100%;
        max-width: 360px;
    }
    
    .cta-button.large {
        height: 52px;
        min-width: 280px;
        width: 100%;
        max-width: 360px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-notice {
        text-align: center;
    }

    .cookie-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .store-badges,
    .hero-reviews {
        justify-content: center;
        text-align: center;
    }
    .store-badges {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-reviews {
        flex-direction: column;
        gap: 0.5rem;
    }
    .store-badges {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .cta-button.large {
        min-width: 100%;
    }
}

/* What is Section */
.what-is {
    padding: 6rem 1.5rem;
    margin: 0 auto;
    text-align: center;
    background: #445094;
    color: white;
}

.what-is h2 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feature-text {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-weight: 400;
}

.feature-text strong {
    font-weight: 700;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 1.5rem;
    background: #445094;
    color: white;
}

.testimonials h2 {
    font-family: 'Fredoka', sans-serif;
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.testimonial-card {
    background: transparent;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.testimonial-card p {
    margin-bottom: 1rem;
    color: white;
    font-size: 1.125rem;
    line-height: 1.625;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.author {
    color: #F15B6C;
    font-style: italic;
    font-size: 1rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 5rem 1.5rem;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-button.large {
    font-size: 1.125rem;
    padding: 0;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 360px;
    background: #2BB673;
    color: white;
}

.cta-button.large:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background: #249c62;
}

.cta-section .price {
    margin-top: 1.25rem;
    color: #718096;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    max-width: 360px;
    text-align: center;
}

/* Footer */
footer {
    background: #1A202C;
    color: white;
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.copyright {
    color: #A0AEC0;
    font-size: 0.875rem;
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #E2E8F0;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.social-proof-quotes {
    background: #fff;
    padding: 0 1.5rem 1.5rem 1.5rem;
    text-align: center;
    margin-top: -1.25rem;
}
.social-proof-quotes-list {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.social-proof-quotes-list.single-line {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 2.5rem;
    padding: 0;
}
.social-proof-quote {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    font-size: 1.1rem;
    color: #222;
    font-style: italic;
    max-width: 340px;
    margin: 0;
    display: block;
    min-width: 220px;
    white-space: normal;
    text-align: center;
}
.social-proof-author {
    display: block !important;
    margin-left: 0;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #888;
    font-style: normal;
    font-weight: 600;
}
@media screen and (max-width: 900px) {
    .social-proof-quotes-list.single-line {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}
@media screen and (max-width: 768px) {
    .social-proof-quotes-list,
    .social-proof-quotes-list.single-line {
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
    }
    .social-proof-quote {
        max-width: 100%;
        min-width: 0;
        text-align: center;
        justify-content: center;
    }
}
