/* ========================================
   TinyLearn Kids - Premium Landing Page
   Clean, Modern, Pastel Mint Design
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Pastel Mint/Green */
    --primary-50: #f0fdf9;
    --primary-100: #ccfbef;
    --primary-200: #99f6df;
    --primary-300: #5fe8cb;
    --primary-400: #2dd4b3;
    --primary-500: #14b89a;
    --primary-600: #0d9480;
    --primary-700: #0f766a;
    --primary-800: #115e57;
    --primary-900: #134e48;

    /* Accent - Warm Coral for CTAs */
    --accent-400: #fb7185;
    --accent-500: #f43f5e;
    --accent-600: #e11d48;

    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;

    /* Semantic Colors */
    --background: #ffffff;
    --surface: #fafafa;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --container-max: 1200px;
    --section-spacing: 6rem;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-base);
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-fast);
}

.mobile-nav-link:hover {
    color: var(--primary-600);
}

.mobile-cta {
    margin-top: 0.5rem;
    text-align: center;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(20, 184, 154, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(20, 184, 154, 0.5);
}

.btn-secondary {
    background: var(--neutral-100);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--neutral-200);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    border-radius: var(--radius-xl);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--background) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-700);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.hero-badge svg {
    color: var(--primary-500);
}

.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary-600);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.trust-item svg {
    color: var(--primary-500);
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40%;
    background: radial-gradient(ellipse, var(--primary-300) 0%, transparent 70%);
    opacity: 0.5;
    filter: blur(30px);
    pointer-events: none;
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-400);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-300);
    bottom: -50px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-500);
    top: 50%;
    left: 30%;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits {
    padding: var(--section-spacing) 0;
    background: var(--background);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
    border-radius: var(--radius-xl);
    color: var(--primary-600);
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.benefit-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   PRODUCT FEATURE SECTION
   ======================================== */
.product-feature {
    padding: var(--section-spacing) 0;
    background: var(--primary-50);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.feature-image img {
    width: 100%;
    height: auto;
}

.feature-content .section-badge {
    margin-bottom: 0.75rem;
}

.feature-content .section-title {
    text-align: left;
    margin-bottom: 0.5rem;
}

.feature-subtitle {
    font-size: 1rem;
    color: var(--primary-600);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-list svg {
    color: var(--primary-500);
    flex-shrink: 0;
}

/* ========================================
   WHAT'S INSIDE SECTION
   ======================================== */
.whats-inside {
    padding: var(--section-spacing) 0;
    background: var(--background);
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.inside-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.inside-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.inside-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    color: var(--primary-600);
    flex-shrink: 0;
}

.inside-item span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ========================================
   PREVIEW GALLERY SECTION
   ======================================== */
.preview-gallery {
    padding: var(--section-spacing) 0;
    background: var(--surface);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-2xl);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: var(--section-spacing) 0;
    background: var(--background);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    transition: var(--transition-base);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-xl);
    color: var(--primary-600);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--primary-400);
    padding-top: 4rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: var(--section-spacing) 0;
    background: var(--surface);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-200);
}

.faq-item.active {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-icon {
    color: var(--primary-500);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: left;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary-700);
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary:hover {
    background: var(--neutral-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.3);
}

.cta-trust {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-decoration {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: rotate(2deg);
}

.cta-decoration img {
    width: 100%;
    height: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--neutral-900);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 0.75rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-email:hover {
    color: var(--primary-400);
}

.footer-email svg {
    color: var(--primary-400);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-content .section-title {
        text-align: center;
    }

    .feature-content {
        text-align: center;
    }

    .feature-subtitle {
        text-align: center;
    }

    .feature-description {
        text-align: center;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .final-cta .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .cta-content {
        text-align: center;
    }

    .cta-subtitle {
        margin: 0 auto 2rem;
    }

    .cta-decoration {
        max-width: 400px;
        margin: 0 auto;
        transform: rotate(0deg);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 4rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 7rem 0 4rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .inside-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .gallery-item {
        aspect-ratio: 4/5;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-buttons,
.hero-trust,
.hero-image {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge {
    animation-delay: 0.1s;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.hero-buttons {
    animation-delay: 0.4s;
}

.hero-trust {
    animation-delay: 0.5s;
}

.hero-image {
    animation-delay: 0.3s;
}

/* ========================================
   ANNOUNCEMENT BAR
   ======================================== */
.announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
    color: white;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: background var(--transition-fast);
    position: relative;
    z-index: 1001;
}

.announcement-bar:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
}

.announcement-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

.announcement-bar.ended {
    background: var(--neutral-700);
}

.announcement-bar.hidden {
    display: none;
}

/* Adjust navbar position when announcement bar is visible */
body:has(.announcement-bar:not(.hidden)) .navbar {
    top: 40px;
}

body:has(.announcement-bar:not(.hidden)) .mobile-menu {
    top: 112px;
}

body:has(.announcement-bar:not(.hidden)) .hero {
    padding-top: 9rem;
}

@media (max-width: 768px) {
    .announcement-bar {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    body:has(.announcement-bar:not(.hidden)) .navbar {
        top: 36px;
    }

    body:has(.announcement-bar:not(.hidden)) .mobile-menu {
        top: 108px;
    }
}

/* ========================================
   FLOATING HERO SHAPES (Subtle Motion)
   ======================================== */
.floating-shape {
    position: absolute;
    pointer-events: none;
}

/* Circles */
.floating-shape.circle {
    border-radius: 50%;
    background: var(--primary-400);
}

.circle-1 {
    width: 24px;
    height: 24px;
    top: 15%;
    left: 8%;
    opacity: 0.08;
    filter: blur(1px);
    animation: floatShape1 12s ease-in-out infinite;
}

.circle-2 {
    width: 16px;
    height: 16px;
    top: 60%;
    right: 12%;
    opacity: 0.06;
    filter: blur(0.5px);
    animation: floatShape2 15s ease-in-out infinite;
}

.circle-3 {
    width: 20px;
    height: 20px;
    bottom: 25%;
    left: 15%;
    opacity: 0.07;
    filter: blur(1px);
    animation: floatShape3 10s ease-in-out infinite;
}

/* Stars */
.floating-shape.star {
    font-size: 14px;
    color: var(--primary-500);
    line-height: 1;
}

.star-1 {
    top: 20%;
    right: 20%;
    opacity: 0.1;
    animation: floatShape2 14s ease-in-out infinite;
}

.star-2 {
    top: 45%;
    left: 5%;
    opacity: 0.08;
    font-size: 12px;
    animation: floatShape1 16s ease-in-out infinite;
}

.star-3 {
    bottom: 30%;
    right: 8%;
    opacity: 0.12;
    font-size: 10px;
    animation: floatShape3 11s ease-in-out infinite;
}

/* Floating animations */
@keyframes floatShape1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(6px, -8px);
    }

    50% {
        transform: translate(-4px, -12px);
    }

    75% {
        transform: translate(8px, -4px);
    }
}

@keyframes floatShape2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(-8px, 6px);
    }

    66% {
        transform: translate(4px, -10px);
    }
}

@keyframes floatShape3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 8px);
    }
}

/* ========================================
   SKELETON LOADING
   ======================================== */
.skeleton-wrapper {
    position: relative;
}

.skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            var(--neutral-200) 8%,
            var(--neutral-100) 18%,
            var(--neutral-200) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: inherit;
    z-index: 1;
}

.skeleton-image {
    border-radius: var(--radius-2xl);
}

.skeleton-wrapper .skeleton-img {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.skeleton-wrapper.loaded .skeleton {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.skeleton-wrapper.loaded .skeleton-img {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Gallery item skeleton */
.gallery-item.skeleton-wrapper .skeleton {
    border-radius: var(--radius-xl);
}

/* ========================================
   CTA BUTTON MICRO-INTERACTIONS
   ======================================== */
.cta-buy {
    position: relative;
    overflow: hidden;
}

.cta-buy .btn-icon {
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.cta-buy .btn-spinner {
    position: absolute;
    left: 1.75rem;
    opacity: 0;
    animation: none;
    transition: opacity 0.2s ease-out;
}

.cta-buy .btn-text {
    transition: opacity 0.2s ease-out;
}

.cta-buy.loading .btn-icon {
    opacity: 0;
    transform: scale(0.8);
}

.cta-buy.loading .btn-spinner {
    opacity: 1;
    animation: spin 0.8s linear infinite;
}

.cta-buy.loading .btn-text {
    opacity: 0.8;
}

.cta-buy:disabled,
.cta-buy.loading {
    pointer-events: none;
    cursor: not-allowed;
}

.cta-buy.loading {
    transform: none !important;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Button size adjustments for spinner */
.btn-lg .btn-spinner {
    left: 1.75rem;
}

.btn-xl .btn-spinner {
    left: 2.5rem;
}

/* ========================================
   PREFERS-REDUCED-MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    /* Hide floating shapes for reduced motion */
    .floating-shape {
        display: none;
    }

    /* Disable shimmer for skeleton */
    .skeleton {
        animation: none;
        background: var(--neutral-200);
    }

    /* Simple fade for images instead of shimmer */
    .skeleton-wrapper .skeleton-img {
        opacity: 1;
    }

    .skeleton-wrapper .skeleton {
        display: none;
    }

    /* No hover transforms */
    .benefit-card:hover,
    .step-card:hover,
    .gallery-item:hover,
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

/* ========================================
   DARK MODE
   ======================================== */

/* Theme Toggle Button */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--neutral-100);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: var(--neutral-200);
    color: var(--text-primary);
}

.theme-toggle .icon-sun {
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

/* Dark mode icon states */
[data-theme="dark"] .theme-toggle .icon-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
    display: block;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    /* Override semantic colors */
    --background: #0f172a;
    --surface: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #334155;

    /* Override neutrals for dark mode */
    --neutral-50: #1e293b;
    --neutral-100: #334155;
    --neutral-200: #475569;
    --neutral-300: #64748b;
    --neutral-700: #cbd5e1;
    --neutral-800: #e2e8f0;
    --neutral-900: #f8fafc;

    /* Shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.6);
}

/* Smooth theme transition */
body,
.navbar,
.benefit-card,
.step-card,
.faq-item,
.inside-item,
.btn,
.mobile-menu,
.announcement-bar,
.footer {
    transition: background-color var(--transition-base),
        border-color var(--transition-base),
        color var(--transition-base);
}

/* Dark Mode Overrides */
[data-theme="dark"] body {
    background: var(--background);
    color: var(--text-primary);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #0c1929 0%, var(--background) 100%);
}

[data-theme="dark"] .hero-badge {
    background: var(--surface);
    color: var(--primary-400);
}

[data-theme="dark"] .hero-image-wrapper {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .benefit-card,
[data-theme="dark"] .step-card,
[data-theme="dark"] .inside-item,
[data-theme="dark"] .faq-item {
    background: var(--surface);
    border-color: var(--border);
}

[data-theme="dark"] .product-feature {
    background: #0c1929;
}

[data-theme="dark"] .preview-gallery,
[data-theme="dark"] .faq {
    background: var(--surface);
}

[data-theme="dark"] .theme-toggle {
    background: var(--surface);
    border-color: var(--border);
    color: var(--primary-400);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--border);
}

[data-theme="dark"] .mobile-menu {
    background: var(--background);
    border-color: var(--border);
}

[data-theme="dark"] .mobile-menu-btn span {
    background: var(--text-primary);
}

[data-theme="dark"] .mobile-nav-link {
    color: var(--text-secondary);
    border-color: var(--border);
}

[data-theme="dark"] .btn-secondary {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--neutral-100);
}

[data-theme="dark"] .gallery-item {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .skeleton {
    background: linear-gradient(110deg,
            var(--neutral-100) 8%,
            var(--surface) 18%,
            var(--neutral-100) 33%);
    background-size: 200% 100%;
}

[data-theme="dark"] .footer {
    background: #020617;
}

[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
}

[data-theme="dark"] .announcement-bar {
    background: linear-gradient(135deg, var(--primary-800) 0%, #0c4a4a 100%);
}

[data-theme="dark"] .announcement-bar:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%);
}

/* Floating shapes in dark mode */
[data-theme="dark"] .floating-shape.circle {
    background: var(--primary-500);
    opacity: 0.06;
}

[data-theme="dark"] .floating-shape.star {
    color: var(--primary-400);
    opacity: 0.08;
}

/* Logo invert in dark mode (optional - remove if logo has transparency issues) */
[data-theme="dark"] .logo img {
    filter: brightness(1.1);
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
    .theme-toggle {
        width: 36px;
        height: 36px;
        margin-left: 0.25rem;
    }

    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
}