/* ===================================
   FlashExo - Styles Principaux
   =================================== */

/* CSS Variables */
:root {
    /* Colors - Based on app screenshots */
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --primary-300: #A5B4FC;
    --primary-400: #818CF8;
    --primary-500: #6366F1;
    --primary-600: #4F46E5;
    --primary-700: #4338CA;
    --primary-800: #3730A3;
    --primary-900: #312E81;
    
    --secondary-400: #22D3EE;
    --secondary-500: #06B6D4;
    --secondary-600: #0891B2;
    
    --accent-pink: #EC4899;
    --accent-green: #10B981;
    
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --gradient-hero: linear-gradient(180deg, #7C3AED 0%, #6366F1 50%, #4F46E5 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    --gradient-button: linear-gradient(135deg, #6366F1 0%, #4F46E5 50%, #4338CA 100%);
    --gradient-glow: radial-gradient(circle, rgba(99,102,241,0.3) 0%, transparent 70%);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;
    
    /* Effects */
    --blur-glass: blur(20px);
    --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-glow: 0 0 60px rgba(99, 102, 241, 0.4);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* ===================================
   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-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 600;
}

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

/* ===================================
   Utilities
   =================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

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

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--blur-glass);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: color var(--transition-fast);
}

.navbar.scrolled .logo {
    color: var(--gray-900);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-button);
    border-radius: 10px;
    padding: 6px;
    object-fit: contain;
}

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

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--primary-600);
}

.navbar.scrolled .nav-links a::after {
    background: var(--primary-600);
}

.nav-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-download-cta {
    padding: 12px 24px;
    font-size: 1.05rem;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--gray-800);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.98);
    backdrop-filter: var(--blur-glass);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(60px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
    background: rgba(34, 211, 238, 0.2);
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 30%;
    background: rgba(236, 72, 153, 0.1);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-glass);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-icon {
    font-size: 1rem;
}

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

.hero .highlight {
    background: linear-gradient(135deg, #22D3EE 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-subtitle strong {
    color: white;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-glass);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
}

.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%);
    border-radius: 44px;
    padding: 12px;
    box-sizing: border-box;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.4),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 36px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-glow);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.phone-glow.large {
    width: 500px;
    height: 500px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.phone-mockup.small .phone-frame {
    width: 200px;
    height: 420px;
    border-radius: 32px;
    padding: 8px;
    box-sizing: border-box;
}

.phone-mockup.small .phone-frame::before {
    width: 60px;
    height: 18px;
    top: 12px;
}

.phone-mockup.small .phone-screen {
    border-radius: 26px;
}

.phone-mockup.large .phone-frame {
    width: 320px;
    height: 660px;
}

/* Téléphone blanc dans hero et section télécharger (fond bleu foncé) */
.hero .phone-frame,
.download-section .phone-frame {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero .phone-frame::before,
.download-section .phone-frame::before {
    background: #334155;
}

/* Mockup Placeholder */
.mockup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    text-align: center;
    color: white;
}

.mockup-placeholder.small {
    padding: 16px;
}

.mockup-placeholder.mini {
    padding: 12px;
}

.mockup-icon {
    font-size: 3rem;
}

.mockup-placeholder.small .mockup-icon {
    font-size: 2rem;
}

.mockup-placeholder.mini .mockup-icon {
    font-size: 2.5rem;
}

.mockup-placeholder p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

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

/* ===================================
   Trust Section
   =================================== */
.trust-section {
    padding: 60px 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
}

.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.trust-badge svg {
    color: var(--primary-500);
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-header.light h2,
.section-header.light p {
    color: white;
}

.section-header.light p {
    color: rgba(255, 255, 255, 0.8);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

/* Slider commun */
.slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.slider-track-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track > * {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.slider-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--gray-600);
}

.slider-arrow:hover {
    background: var(--primary-600);
    color: white;
    border-color: var(--primary-600);
    transform: scale(1.05);
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.slider-arrow:disabled:hover {
    background: white;
    color: var(--gray-600);
    border-color: var(--gray-200);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-base);
}

.slider-dot:hover {
    background: var(--gray-400);
}

.slider-dot.active {
    background: var(--primary-600);
    transform: scale(1.2);
}

.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

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

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    color: var(--primary-600);
    margin-bottom: 20px;
}

.feature-icon.gradient-1 { background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); }
.feature-icon.gradient-2 { background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%); color: var(--accent-green); }
.feature-icon.gradient-3 { background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 100%); color: var(--accent-pink); }
.feature-icon.gradient-4 { background: linear-gradient(135deg, #ECFEFF 0%, #CFFAFE 100%); color: var(--secondary-600); }

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    flex-grow: 1;
}


/* ===================================
   How it Works Section
   =================================== */
.how-section {
    padding: var(--section-padding) 0;
    background: white;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    padding: 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient-button);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-glow);
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-visual {
    margin-top: 24px;
}

.step-icon-box {
    width: 64px;
    height: 64px;
    background: var(--primary-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
}

.step-connector {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-200) 0%, var(--primary-400) 50%, var(--primary-200) 100%);
    margin-top: 56px;
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-400);
    border-radius: 50%;
}

/* ===================================
   Flashcard Section
   =================================== */
.flashcard-section {
    padding: var(--section-padding) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.flashcard-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.flashcard-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.flashcard-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.flashcard-stack {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
    touch-action: pan-y;
}

.flashcard {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: grab;
    perspective: 1000px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    will-change: transform;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
}

.flashcard:active {
    cursor: grabbing;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.3));
}

/* Animation d'entrée des cartes (propre et élégante) */
.flashcard-stack.pre-shuffle .flashcard {
    opacity: 0 !important;
    transform: translateX(-140%) rotate(-6deg) !important;
    transition: none !important;
}

@keyframes slideInElegant {
    0% {
        transform: translateX(-140%) rotate(-6deg);
        opacity: 0;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
    }
}

.flashcard-stack.shuffle-animate .flashcard {
    animation: slideInElegant 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: left center;
    opacity: 0;
}

/* Ordre strict : 4 -> 3 -> 2 -> 1 -> 0 (FlashCours) */
.flashcard-stack.shuffle-animate .flashcard[data-index="4"] {
    animation-delay: 0s;
    z-index: 1;
}

.flashcard-stack.shuffle-animate .flashcard[data-index="3"] {
    animation-delay: 0.2s;
    z-index: 2;
}

.flashcard-stack.shuffle-animate .flashcard[data-index="2"] {
    animation-delay: 0.4s;
    z-index: 3;
}

.flashcard-stack.shuffle-animate .flashcard[data-index="1"] {
    animation-delay: 0.6s;
    z-index: 4;
}

.flashcard-stack.shuffle-animate .flashcard[data-index="0"] {
    animation-delay: 0.8s;
    z-index: 10;
}

.flashcard.dragging {
    cursor: grabbing;
    transition: none;
}

.flashcard.swiping-left {
    transform: translateX(-150%) rotate(-15deg) !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.flashcard.swiping-right {
    transform: translateX(150%) rotate(15deg) !important;
    opacity: 0 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.flashcard-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.flashcard.flipped .flashcard-inner {
    transform: rotateY(180deg);
}

.flashcard-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-2xl);
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Carte = image seule, pas de cadre */
.flashcard-face.flashcard-image-only {
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.flashcard-face.flashcard-image-only .flashcard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
    border-radius: 12px;
}

/* Indicateur de flip */
.flip-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.125;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0.8;
    z-index: 5;
}

.flashcard:hover .flip-indicator {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.flip-indicator svg {
    width: 20px;
    height: 20px;
    animation: rotate-hint 2s ease-in-out infinite;
}

@keyframes rotate-hint {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-15deg); }
}

.flashcard.flipped .flip-indicator {
    opacity: 0.8;
}

.flashcard-back .flip-indicator {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.flashcard-front {
    background: white;
}

.flashcard-back {
    background: transparent;
    transform: rotateY(180deg);
}

.flashcard-back.flashcard-image-only {
    background: transparent;
}

.flashcard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.flashcard-type {
    padding: 6px 14px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flashcard-back .flashcard-type {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.flashcard-level {
    display: flex;
    gap: 4px;
}

.flashcard-level span {
    width: 8px;
    height: 8px;
    background: var(--gray-200);
    border-radius: 50%;
}

.flashcard-level span.active {
    background: var(--primary-500);
}

.flashcard-back .flashcard-level span {
    background: rgba(255, 255, 255, 0.3);
}

.flashcard-back .flashcard-level span.active {
    background: white;
}

.flashcard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.flashcard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.flashcard-content h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-700);
}

.flashcard-back .flashcard-content h4 {
    color: white;
}

.flashcard-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.flashcard-back .flashcard-content p {
    color: rgba(255, 255, 255, 0.9);
}

.flashcard-footer {
    text-align: center;
    padding-top: 12px;
    margin-top: auto;
    border-top: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.flashcard-back .flashcard-footer {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* Animation pulse pour l'indication de clic */
@keyframes hint-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.flashcard:not(.flipped) .flashcard-front .flashcard-hint {
    animation: hint-pulse 2s ease-in-out infinite;
}

.flashcard-hint {
    font-size: 0.9rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.flashcard-back .flashcard-hint {
    color: rgba(255, 255, 255, 0.7);
}

/* Feedback visuel lors du swipe */
.flashcard.dragging {
    cursor: grabbing;
}

.flashcard::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-green);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flashcard::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-500);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    z-index: 100;
}

.flashcard-instructions {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.instruction {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.instruction-icon {
    font-size: 1.25rem;
}

.flashcard-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.progress-dots {
    display: flex;
    gap: 8px;
}

.progress-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.progress-dot.active {
    background: white;
    transform: scale(1.2);
}

.progress-dot.completed {
    background: var(--secondary-400);
}

.progress-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.loop-indicator {
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-glass);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.loop-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Gallery Section - Une interface pensée pour vous
   =================================== */
.gallery-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.gallery-phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
}

.gallery-section .gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-section .phone-frame {
    box-shadow: none;
}


/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

/* Les témoignages utilisent le slider commun */

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-button);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card.featured {
    background: var(--gradient-hero);
    border: none;
}

.testimonial-card.featured::before {
    display: none;
}

.testimonial-card.featured:hover {
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.quote-icon {
    color: var(--primary-200);
    opacity: 0.6;
}

.testimonial-card.featured .quote-icon {
    color: rgba(255, 255, 255, 0.3);
}

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

.testimonial-card.featured .testimonial-text {
    color: white;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.parent-avatar {
    background: var(--gradient-button);
}

.child-avatar {
    background: linear-gradient(135deg, var(--secondary-400) 0%, var(--secondary-600) 100%);
}

.testimonial-card.featured .author-avatar {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: var(--blur-glass);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1rem;
}

.testimonial-card.featured .author-name {
    color: white;
}

.author-role {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-card.featured .author-role {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Testimonials */
/* Slider responsive */
@media (max-width: 1024px) {
    .slider-track > * {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 640px) {
    .slider-track > * {
        flex: 0 0 100%;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-container {
        gap: 12px;
    }
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    padding: var(--section-padding) 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: white;
    border-radius: var(--radius-2xl);
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    background: var(--gradient-hero);
    border: none;
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--secondary-400);
    color: var(--gray-900);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.pricing-card.popular .pricing-header h3 {
    color: white;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.pricing-card.popular .pricing-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    margin: 32px 0;
}

.pricing-price .price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.pricing-card.popular .pricing-price .price {
    color: white;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-card.popular .pricing-price .period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-savings {
    margin-top: -16px;
    margin-bottom: 24px;
}

.pricing-savings span {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-weight: 500;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-card.popular .pricing-features li {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

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

.pricing-features svg {
    color: var(--accent-green);
    flex-shrink: 0;
}

.pricing-card.popular .pricing-features svg {
    color: var(--secondary-400);
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.popular .btn-primary {
    background: white;
    color: var(--primary-600);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular .btn-primary:hover {
    background: var(--gray-50);
}

.pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.pricing-note svg {
    color: var(--primary-400);
    flex-shrink: 0;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

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

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
}

.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: 24px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--primary-400);
    transition: transform var(--transition-base);
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

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

.faq-answer p {
    padding: 0 24px 24px;
    line-height: 1.7;
}

/* ===================================
   Download Section
   =================================== */
.download-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.download-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.download-shapes .shape-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -200px;
}

.download-shapes .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    background: rgba(34, 211, 238, 0.2);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.download-text {
    z-index: 1;
}

.download-text h2 {
    color: white;
    margin-bottom: 16px;
}

.download-text > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 28px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--gray-900);
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.store-button:hover {
    background: var(--gray-50);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
    border-color: white;
}

.store-icon {
    width: 40px;
    height: 40px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.8rem;
    color: var(--gray-900);
}

.store-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.download-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.download-visual {
    display: flex;
    justify-content: center;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand > p {
    color: var(--gray-400);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        margin: 0 auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        overflow-x: hidden;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 28px;
    }
    
    .hero-content {
        padding: 0 8px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    
    .stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .phone-frame {
        width: 240px;
        height: 500px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 60px;
        margin: 0;
        background: linear-gradient(180deg, var(--primary-200) 0%, var(--primary-400) 50%, var(--primary-200) 100%);
    }
    
    .step-connector::after {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .flashcard-stack {
        height: 450px;
    }
    
    .flashcard-instructions {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .phone-frame {
        width: 200px;
        height: 420px;
        border-radius: 32px;
    }
    
    .phone-frame::before {
        width: 60px;
        height: 18px;
    }
    
    .phone-screen {
        border-radius: 26px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .store-button {
        justify-content: center;
    }
    
    .flashcard-stack {
        height: 400px;
    }
    
    .flashcard-face {
        padding: 24px;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-text > * {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero-text > *:nth-child(5) { animation-delay: 0.5s; }

.hero-visual {
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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