/* NeatKid Website Styles */

/* Gotham Rounded - Self-hosted */
@font-face {
    font-family: 'Gotham Rounded';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../assets/fonts/gotham-rounded-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Gotham Rounded';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../assets/fonts/gotham-rounded-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Gotham Rounded';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../assets/fonts/gotham-rounded-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Gotham Rounded';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../assets/fonts/gotham-rounded-700.woff2') format('woff2');
}

:root {
    --color-orange: #FF9500;
    --color-orange-dark: #E88700;
    --color-green: #98C80B;
    --color-green-light: #E4F3C4;
    --color-black: #171717;
    --color-dark: #222222;
    --color-gray: #444444;
    --color-gray-light: #6A7280;
    --color-gray-lighter: #959595;
    --color-white: #FFFFFF;
    --color-bg-light: #FAFAFA;
    --color-bg-main: #FAFAF8;
    --color-bg-mint: #D4EDE0;

    --font-family: 'Gotham Rounded', -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', Roboto, sans-serif;

    --container-width: 1280px;
    --section-padding: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-bg-main);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-black);
}

h1 {
    font-size: 72px;
    font-weight: 900;
}

h2 {
    font-size: 48px;
}

p {
    color: var(--color-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #7FB209;
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--color-white);
    color: var(--color-dark);
    border: 1px solid #E5E5E5;
}

.btn-outline:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-green-light);
    color: var(--color-green);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.section-badge img {
    width: 18px;
    height: 18px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    width: 160px;
    height: 48px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--color-orange);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FEF7ED 0%, #FEF9F0 50%, #FAFAF8 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/hero.png') no-repeat center;
    background-size: cover;
    opacity: 0.6;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 920px;
    margin-bottom: 60px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--color-orange);
    text-decoration: underline;
    text-decoration-color: var(--color-orange);
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.hero-info {
    font-size: 15px;
    color: var(--color-gray-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.app-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 176px;
    height: 60px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-btn-dark {
    background: var(--color-black);
}

.app-btn-light {
    background: var(--color-white);
    border: 1px solid #E0E0E0;
}

.app-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-mockups {
    width: 100%;
    max-width: 1400px;
}

.hero-mockups img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
    transform-origin: top center;
}

/* Hero Bottom Blur/Fade */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(180deg, rgba(250, 250, 248, 0) 0%, rgba(250, 250, 248, 1) 80%);
    pointer-events: none;
    z-index: 1;
}

/* Features Section */
.features {
    padding: 0;
    background: var(--color-bg-main);
}

.feature {
    position: relative;
    padding: 80px 0;
    min-height: 700px;
    display: flex;
    align-items: center;
}

/* Feature gradient backgrounds */
.feature:nth-child(1) {
    background: linear-gradient(180deg, var(--color-bg-main) 0%, #DFF0FF 100%);
}

.feature:nth-child(2) {
    background: linear-gradient(180deg, var(--color-bg-main) 0%, #FFEDDC 100%);
}

.feature:nth-child(3) {
    background: linear-gradient(180deg, var(--color-bg-main) 0%, #F1FFE4 100%);
}

/* Feature bottom blur/fade */
.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(180deg, transparent 0%, var(--color-bg-main) 80%);
    pointer-events: none;
    z-index: 1;
}

.feature .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-content h2 {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-image {
    display: flex;
    justify-content: center;
}

.feature-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 550px;
}

/* Larger image for rewards card */
.feature-left .feature-image img {
    max-height: 620px;
}

.feature-left .feature-image {
    order: 2;
}

.feature-left .feature-content {
    order: 1;
}

.section-blur-dark {
    background: linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, rgba(23, 23, 23, 0.8) 50%, rgba(23, 23, 23, 1) 100%);
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding) 0;
    text-align: center;
    background: var(--color-bg-light);
}

.testimonials h2 {
    max-width: 545px;
    margin: 0 auto 16px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* Cards 3, 4, 5 span full width */
.testimonial-card:nth-child(n+3) {
    grid-column: 1 / -1;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars img {
    width: 20px;
    height: 20px;
}

.testimonial-author {
    text-align: right;
}

.testimonial-text {
    font-size: 16px;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.6;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-light);
    white-space: nowrap;
}

/* FAQ Section */
.faq {
    position: relative;
    padding: var(--section-padding) 0;
    text-align: center;
}

.faq::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, transparent 0%, #F5F5F5 100%);
    pointer-events: none;
}

.faq h2 {
    max-width: 810px;
    margin: 0 auto 16px;
}

.faq-grid {
    display: flex;
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
    overflow: hidden;
    text-align: left;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-dark);
    font-family: inherit;
    text-align: left;
}

.faq-question:hover {
    background: transparent;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active {
    background: #F0F7DA;
    border: 1px solid #98C80B;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-gray-light);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    text-align: center;
    background: linear-gradient(180deg, #F5F5F5 0%, #F9F9F9 20%, #FEF7ED 89.9%);
}

.contact h2 {
    max-width: 635px;
    margin: 0 auto 16px;
}

.contact-buttons {
    display: flex;
    width: 500px;
    padding: 12px 12px 12px 24px;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    color: var(--color-dark);
}

.contact-email .btn-icon {
    width: 28px;
    height: 28px;
}

.contact-buttons .btn-primary {
    height: 48px;
    padding: 12px 24px;
    gap: 7px;
    border-radius: 16px;
    background: #98C80B;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.10);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 300px;
}

.footer-logo {
    width: 154px;
    height: 48px;
}

.footer-brand p {
    font-size: 16px;
    color: #99A1AF;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-socials img {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gray-lighter);
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--color-white);
}

.external-link-icon {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 13px;
}

.footer-bottom p {
    color: #99A1AF;
}

.footer-tagline {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--color-gray-lighter);
}

.heart-icon {
    width: 16px;
    height: 16px;
}

/* Legal Pages (Privacy Policy, Terms of Use) */
.legal-page {
    padding: 130px 0 80px;
    background: var(--color-bg-main);
}

.legal-content {
    max-width: 100%;
}

.legal-content h1 {
    font-size: 52px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 16px;
}

.legal-intro {
    margin-bottom: 16px;
}

.legal-intro p,
.legal-section p {
    font-size: 18px;
    line-height: 1.5;
    color: #4A5565;
    margin-bottom: 0;
}

.legal-intro p + p,
.legal-section p + p {
    margin-top: 16px;
}

.legal-section {
    margin-top: 16px;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
    line-height: 1.5;
}

.legal-section ul {
    margin: 8px 0;
    padding-left: 24px;
    color: #4A5565;
}

.legal-section ul li {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.legal-section strong {
    color: var(--color-black);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 40px;
    }

    .feature {
        padding: 120px 0;
        min-height: auto;
    }

    .feature .container {
        gap: 40px;
    }

    .feature-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 20px;
    }

    /* Typography */
    h1 {
        font-size: 48px;
        line-height: 1.2;
    }

    h2 {
        font-size: 48px;
        line-height: 1.2;
    }

    /* Header */
    .header .container {
        height: 83px;
        padding: 16px;
    }

    .nav {
        display: none;
    }

    .header .btn-primary {
        padding: 13px 24px;
        font-size: 16px;
    }

    /* Hero */
    .hero {
        padding: 150px 0 60px;
    }

    .hero-content {
        margin-bottom: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-info {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .app-buttons {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }

    .app-btn {
        width: 150px;
        height: 50px;
        flex: none;
    }

    /* Features */
    .feature {
        padding: 40px 0;
        min-height: auto;
    }

    .feature .container {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* Text first, image second on mobile */
    .feature-content {
        order: 1;
    }

    .feature-image {
        order: 2;
    }

    .feature-content h2 {
        font-size: 48px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .feature-content p {
        font-size: 18px;
        line-height: 1.2;
    }

    .feature-image img {
        max-height: 300px;
    }

    .feature-left .feature-image img {
        max-height: 350px;
    }

    /* Testimonials */
    .testimonials {
        padding: 40px 0;
    }

    .testimonials h2 {
        font-size: 48px;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        grid-column: 1 !important;
    }

    /* FAQ */
    .faq {
        padding: 40px 0;
    }

    .faq h2 {
        font-size: 48px;
        line-height: 1.2;
    }

    .faq .section-subtitle {
        font-size: 18px;
        line-height: 1.2;
    }

    .faq-grid {
        flex-direction: column;
        gap: 20px;
    }

    .faq-column {
        gap: 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }

    /* Contact */
    .contact {
        padding: 40px 0;
    }

    .contact h2 {
        font-size: 48px;
        line-height: 1.2;
    }

    .contact .section-subtitle {
        font-size: 18px;
        line-height: 1.6;
    }

    .contact-buttons {
        width: 100%;
        max-width: 353px;
        flex-direction: row;
        padding: 12px 12px 12px 24px;
        gap: 12px;
    }

    .contact-email {
        font-size: 16px;
    }

    .contact-buttons .btn-primary {
        width: 48px;
        height: 48px;
        padding: 12px;
        border-radius: 12px;
        font-size: 0;
        gap: 0;
    }

    .contact-buttons .btn-primary .btn-icon {
        width: 24px;
        height: 24px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .footer-column h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .footer-column a {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding-top: 24px;
    }

    .footer-bottom p {
        font-size: 16px;
    }

    .footer-tagline {
        justify-content: center;
        font-size: 16px;
    }

    /* Legal Pages Mobile */
    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-content h1 {
        font-size: 36px;
        line-height: 1.2;
    }

    .legal-intro p,
    .legal-section p,
    .legal-section ul li {
        font-size: 16px;
    }

    .legal-section h2 {
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .app-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .app-btn {
        width: 100%;
        max-width: 100%;
        height: 52px;
    }
}
