/* =============================================
   FluentFox Official Website - Styles
   ============================================= */

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary: #FF8C42;
    --primary-dark: #E67A35;
    --primary-light: #FFA566;
    --secondary: #FFE0B2;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #FF8C42, #FFB74D);
    --gradient-hero: linear-gradient(135deg, #FFF8E1, #FFE0B2);
    --gradient-cta: linear-gradient(135deg, #FF8C42, #F57C00);

    /* Text */
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --text-light: #A0AEC0;

    /* Background */
    --bg-white: #FFFFFF;
    --bg-light: #FFFBF5;
    --bg-section: #FFF8F0;

    /* Other */
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 8px 30px rgba(255, 140, 66, 0.35);

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* =============================================
   Loading Screen
   ============================================= */
.loading-screen {
    position: fixed;
    inset: 0;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-screen p {
    margin-top: 16px;
    color: var(--primary);
    font-weight: 700;
}

/* =============================================
   Promo Banner
   ============================================= */
.promo-banner {
    background: linear-gradient(90deg, #1a1a2e, #2d2d44);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
}

.promo-banner.hidden {
    display: none;
}

.promo-banner code {
    background: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 4px;
}

.promo-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.promo-close:hover {
    opacity: 1;
}

/* =============================================
   Mobile Menu Overlay
   ============================================= */
.nav-links.active {
    display: flex !important;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 0;
    z-index: 999;
}

.nav-links.active li {
    width: 100%;
    text-align: center;
}

.nav-links.active a {
    display: block;
    padding: 16px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =============================================
   Hero Guarantee & Scroll Indicator
   ============================================= */
.hero-guarantee {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.scroll-indicator {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 1.5rem;
    margin-top: 8px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =============================================
   Security Badges
   ============================================= */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

/* =============================================
   Button Pulse Animation
   ============================================= */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 140, 66, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 66, 0);
    }
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
    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 transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(255, 140, 66, 0.3);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contact {
    margin-top: 8px;
}

.footer-contact a {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary);
}

.btn-ghost:hover {
    background: rgba(255, 140, 66, 0.2);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 140, 66, 0.2), transparent);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 183, 77, 0.3), transparent);
    bottom: 100px;
    left: -50px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 224, 178, 0.5), transparent);
    top: 40%;
    left: 30%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 140, 66, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    border-radius: 30px;
    overflow: hidden;
}

.app-preview {
    padding: 60px 16px 20px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.app-greeting {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.app-name {
    font-weight: 800;
    color: var(--primary);
}

.app-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.card-cover {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.app-progress {
    margin-top: 20px;
    padding: 16px;
    background: white;
    border-radius: 16px;
}

.app-progress span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-bar {
    margin-top: 8px;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    font-size: 0.85rem;
    font-weight: 700;
    animation: float 3s ease-in-out infinite;
}

.float-icon {
    font-size: 1.2rem;
}

.float-card-1 {
    top: 80px;
    left: -60px;
    animation-delay: 0s;
}

.float-card-2 {
    top: 200px;
    right: -40px;
    animation-delay: 0.5s;
}

.float-card-3 {
    bottom: 120px;
    left: -40px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* =============================================
   Trusted By Section
   ============================================= */
.trusted-by {
    padding: 40px 0;
    background: white;
    text-align: center;
}

.trusted-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    opacity: 0.7;
}

/* =============================================
   Section Headers
   ============================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 140, 66, 0.1);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* =============================================
   Features Section
   ============================================= */
.features {
    padding: var(--section-padding) 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   Age Groups Section
   ============================================= */
.age-groups {
    padding: var(--section-padding) 0;
    background: var(--bg-section);
}

.age-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.age-card {
    position: relative;
    padding: 40px 32px;
    background: white;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.age-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.age-card.kindergarten {
    border-color: #FFB74D;
}

.age-card.primary {
    border-color: var(--primary);
}

.age-card.junior {
    border-color: #4ECDC4;
}

.age-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

.age-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.age-range {
    display: inline-block;
    padding: 4px 12px;
    background: var(--bg-section);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.age-features {
    text-align: left;
}

.age-features li {
    padding: 8px 0;
    font-size: 0.95rem;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
}

/* =============================================
   How It Works Section
   ============================================= */
.how-it-works {
    padding: var(--section-padding) 0;
    background: white;
}

.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 32px 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
}

.step-visual {
    width: 80px;
    height: 80px;
    background: var(--bg-section);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2rem;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: var(--border-color);
    margin-left: 29px;
}

/* =============================================
   Pricing Section
   ============================================= */
.pricing {
    padding: var(--section-padding) 0;
    background: var(--bg-section);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--border-color);
    border-radius: 30px;
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch input:checked+.toggle-slider {
    background: var(--gradient-primary);
}

.toggle-switch input:checked+.toggle-slider::before {
    transform: translateX(26px);
}

.save-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #10B981;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    margin-left: 8px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 40px 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.yearly-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: #10B981;
    font-weight: bold;
}

.pricing-features .cross {
    color: var(--text-muted);
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-guarantee svg {
    color: #10B981;
}

/* =============================================
   Testimonials Section
   ============================================= */
.testimonials {
    padding: var(--section-padding) 0;
    background: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 32px;
    background: var(--bg-section);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    display: block;
    font-weight: 700;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================
   FAQ Section
   ============================================= */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-section);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.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: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   CTA Section
   ============================================= */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-cta);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.cta-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.cta-content {
    position: relative;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content>p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-actions {
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    padding: 80px 0 40px;
    background: #1a1a2e;
    color: #a0aec0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.footer-brand .logo-text {
    color: white;
    background: none;
    -webkit-text-fill-color: inherit;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-newsletter h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-newsletter p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: #718096;
}

.newsletter-form .btn {
    padding: 12px 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid,
    .age-cards,
    .pricing-cards,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .floating-cards {
        display: none;
    }

    .features-grid,
    .age-cards,
    .pricing-cards,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .step {
        grid-template-columns: auto 1fr;
    }

    .step-visual {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .newsletter-form {
        flex-direction: column;
    }
}