/* ===== Apple-style Design System ===== */

/* San Francisco Font Stack */
@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display'), local('.SF NS Display'), local('San Francisco Display');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text';
    src: local('SF Pro Text'), local('.SF NS Text'), local('San Francisco Text');
    font-weight: 100 900;
    font-style: normal;
}

:root {
    /* Colors - Apple inspired */
    --color-bg: #000000;
    --color-bg-elevated: #1c1c1e;
    --color-bg-secondary: #0a0a0a;
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-hover: rgba(255, 255, 255, 0.08);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-strong: rgba(255, 255, 255, 0.2);

    --color-text-primary: #f5f5f7;
    --color-text-secondary: #86868b;
    --color-text-tertiary: #6e6e73;

    /* Accent colors */
    --color-blue: #0071e3;
    --color-blue-hover: #0077ed;
    --color-green: #30d158;
    --color-purple: #bf5af2;
    --color-orange: #ff9f0a;
    --color-pink: #ff375f;
    --color-teal: #64d2ff;

    /* Subscription colors */
    --color-tierce: #30d158;
    --color-quarte: #0a84ff;
    --color-quinte: #bf5af2;
    --color-trio: #ff9f0a;
    --color-couplet: #ff375f;

    /* Gradients */
    --gradient-text: linear-gradient(90deg, #2997ff, #5856d6, #af52de);
    --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15), transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s var(--ease-out-quart);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-expo);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
}

/* ===== Reset ===== */
*, *::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: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 17px;
    letter-spacing: -0.022em;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    letter-spacing: -0.025em;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: var(--transition-normal);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    opacity: 0;
    transition: var(--transition-normal);
}

.header.scrolled::before {
    opacity: 1;
}

.header.scrolled {
    border-bottom: 1px solid var(--color-border);
}

.nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--color-text-primary);
}

.nav-cta {
    padding: 8px 18px;
    background: var(--color-blue);
    color: var(--color-text-primary) !important;
    border-radius: 980px;
    font-weight: 500 !important;
}

.nav-cta:hover {
    background: var(--color-blue-hover);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    right: var(--space-lg);
}

.mobile-menu span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    width: 100%;
    height: 400px;
    background-image: url('assets/images/cover.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.hero-container {
    padding: var(--space-3xl) 0 var(--space-4xl);
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    display: block;
    font-size: 21px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin-bottom: var(--space-lg);
}

.hero-subtitle {
    font-size: 21px;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-size: 17px;
    font-weight: 500;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-label {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.btn-title {
    font-size: 17px;
    font-weight: 600;
}

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

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-strong);
}

.btn-light {
    background: var(--color-text-primary);
    color: var(--color-bg);
}

.btn-light:hover {
    transform: scale(1.02);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-primary);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* ===== Stats Section ===== */
.stats-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-lg);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-lg);
}

.stat-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: rgba(59, 130, 246, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-wrap svg {
    width: 26px;
    height: 26px;
    color: #3b82f6;
}

.stat-icon-wrap.green { background: rgba(48, 209, 88, 0.12); }
.stat-icon-wrap.green svg { color: var(--color-green); }

.stat-icon-wrap.purple { background: rgba(191, 90, 242, 0.12); }
.stat-icon-wrap.purple svg { color: var(--color-purple); }

.stat-icon-wrap.orange { background: rgba(255, 159, 10, 0.12); }
.stat-icon-wrap.orange svg { color: var(--color-orange); }

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'SF Pro Display', -apple-system, sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    line-height: 1;
}

.stat-text {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* ===== Section Header ===== */
.section-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-md);
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.2));
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-headline {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subheadline {
    font-size: 17px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== Features Section ===== */
.features {
    padding: var(--space-4xl) 0;
    background-image: url('assets/images/barniere.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.features > .container {
    position: relative;
    z-index: 1;
}

/* Features Intro - Left/Right Layout */
.features-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-4xl);
    align-items: start;
    margin-bottom: var(--space-4xl);
}

.features-intro-left {
    position: sticky;
    top: 120px;
}

/* AI Feature Card */
.ai-feature-card {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.ai-feature-visual {
    flex-shrink: 0;
}

.ai-animation-mini {
    position: relative;
    width: 100px;
    height: 100px;
}

.ai-ring-mini {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(99, 102, 241, 0.4);
}

.ai-ring-mini.r1 {
    inset: 0;
    animation: orbitSpin 15s linear infinite;
}

.ai-ring-mini.r2 {
    inset: 20px;
    animation: orbitSpin 10s linear infinite reverse;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-core-mini {
    position: absolute;
    inset: 30px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.ai-core-mini svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.ai-feature-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.ai-feature-content > p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    color: #818cf8;
    margin-bottom: var(--space-md);
}

.ai-badge svg {
    width: 14px;
    height: 14px;
}

.ai-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-primary);
}

.ai-checks svg {
    width: 16px;
    height: 16px;
    color: var(--color-green);
    flex-shrink: 0;
}

/* Features Two Columns */
.features-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.features-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.feature-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateX(8px);
    border-color: var(--color-border-strong);
}

.feature-item-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item-icon svg {
    width: 24px;
    height: 24px;
}

.feature-item-icon.green { background: rgba(48, 209, 88, 0.12); color: var(--color-green); }
.feature-item-icon.purple { background: rgba(191, 90, 242, 0.12); color: var(--color-purple); }
.feature-item-icon.blue { background: rgba(59, 130, 246, 0.12); color: #3b82f6; }
.feature-item-icon.red { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.feature-item-icon.teal { background: rgba(20, 184, 166, 0.12); color: #14b8a6; }
.feature-item-icon.yellow { background: rgba(234, 179, 8, 0.12); color: #eab308; }

.feature-item-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.feature-item-content p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== Subscriptions Section ===== */
.subscriptions {
    padding: var(--space-4xl) 0;
    background-color: var(--color-bg-secondary);
    position: relative;
    overflow: hidden;
}

.subscriptions::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('assets/images/jeu.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 70%);
}

.subscriptions > .container {
    position: relative;
    z-index: 1;
}

.subs-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
    align-items: start;
}

.subs-header {
    position: sticky;
    top: 120px;
}

.subs-header .section-subheadline {
    margin-bottom: var(--space-2xl);
}

/* Featured Plan */
.featured-plan {
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.15), rgba(99, 102, 241, 0.1));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(191, 90, 242, 0.3);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--color-quinte);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-md);
}

.featured-badge svg {
    width: 14px;
    height: 14px;
}

.featured-plan h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.featured-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.featured-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-primary);
}

.featured-features svg {
    width: 18px;
    height: 18px;
    color: var(--color-green);
    flex-shrink: 0;
}

/* Subscription Cards Grid */
.subs-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.sub-card-mini {
    padding: var(--space-lg);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.sub-card-mini:hover {
    transform: translateY(-4px);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-lg);
}

.sub-mini-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.sub-mini-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sub-mini-icon svg {
    width: 22px;
    height: 22px;
}

.sub-tierce .sub-mini-icon { background: rgba(48, 209, 88, 0.12); color: var(--color-tierce); }
.sub-quarte .sub-mini-icon { background: rgba(10, 132, 255, 0.12); color: var(--color-quarte); }
.sub-trio .sub-mini-icon { background: rgba(255, 159, 10, 0.12); color: var(--color-trio); }
.sub-couplet .sub-mini-icon { background: rgba(255, 55, 95, 0.12); color: var(--color-couplet); }

.sub-mini-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 2px;
}

.sub-mini-header span {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.sub-card-mini ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-card-mini li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.sub-card-mini svg {
    width: 16px;
    height: 16px;
    color: var(--color-green);
    flex-shrink: 0;
}

/* ===== Download CTA Section ===== */
.download-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.cta-text h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.cta-text p {
    font-size: 21px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cta-logo-wrap {
    position: relative;
    z-index: 2;
}

.cta-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.cta-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient-glow);
    filter: blur(60px);
    opacity: 0.6;
}

/* ===== Footer ===== */
.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.footer-logo img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-family: 'SF Pro Display', -apple-system, sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.footer-brand p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-tertiary);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-grid-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-title {
        font-size: 44px;
    }

    .hero-badge {
        margin: 0 auto var(--space-lg);
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats-mini {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .visual-container {
        max-width: 400px;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Features */
    .section-headline {
        font-size: 36px;
    }

    .features-intro {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .features-intro-left {
        position: static;
        text-align: center;
    }

    .ai-feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ai-checks {
        align-items: center;
    }

    .features-two-col {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Subscriptions */
    .subs-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .subs-header {
        position: static;
        text-align: center;
    }

    .featured-plan {
        text-align: left;
    }

    .subs-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 24px;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-menu.active span:first-child {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .mobile-menu.active span:last-child {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-actions .btn-content {
        align-items: center;
        text-align: center;
    }

    .section-title {
        font-size: 36px;
    }

    .section-desc {
        font-size: 17px;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stat-card {
        padding: var(--space-lg);
    }

    .stat-number {
        font-size: 28px;
    }

    /* Features */
    .section-headline {
        font-size: 32px;
    }

    .ai-feature-card {
        padding: var(--space-lg);
    }

    .ai-animation-mini {
        width: 80px;
        height: 80px;
    }

    .ai-core-mini {
        inset: 24px;
    }

    .ai-core-mini svg {
        width: 20px;
        height: 20px;
    }

    .feature-item {
        padding: var(--space-md);
    }

    /* Subscriptions */
    .subs-cards {
        grid-template-columns: 1fr;
    }

    .featured-plan {
        padding: var(--space-lg);
    }

    .featured-plan h3 {
        font-size: 24px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 36px;
    }

    /* CTA Buttons - Tablet */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .cta-buttons .btn-content {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-background {
        height: 250px;
    }

    .hero-container {
        padding: var(--space-2xl) 0 var(--space-3xl);
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-eyebrow {
        font-size: 15px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 var(--space-md);
    }

    .btn {
        width: auto;
        min-width: 160px;
        max-width: 180px;
        justify-content: center;
        padding: 10px 16px;
    }

    .btn-content {
        align-items: center;
        text-align: center;
    }

    .btn-label {
        font-size: 9px;
    }

    .btn-title {
        font-size: 13px;
    }

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

    .stats-grid {
        flex-direction: column;
    }

    .feature-block {
        padding: var(--space-xl);
    }

    .feature-content h3 {
        font-size: 24px;
    }

    .subs-grid {
        grid-template-columns: 1fr;
    }

    .cta-text h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cta-buttons .btn {
        width: auto;
        min-width: 160px;
        max-width: 180px;
        justify-content: center;
    }

    .cta-buttons .btn-content {
        align-items: center;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 28px;
    }

    .cta-text p {
        font-size: 16px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== 3D Animations - Ultra Pro ===== */

/* Perspective container */
.features,
.subscriptions,
.stats-section {
    perspective: 1000px;
}

/* Initial state for animated elements */
.stat-card,
.feature-item,
.ai-feature-card,
.sub-card-mini,
.featured-plan {
    opacity: 0;
    transform: translateY(60px) rotateX(15deg) scale(0.9);
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state */
.stat-card.animate-in,
.feature-item.animate-in,
.ai-feature-card.animate-in,
.sub-card-mini.animate-in,
.featured-plan.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
}

/* Chain Reaction Delays - Stats */
.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: 0.1s; }
.stat-card:nth-child(3) { transition-delay: 0.2s; }
.stat-card:nth-child(4) { transition-delay: 0.3s; }

/* Chain Reaction Delays - Features */
.features-col:first-child .feature-item:nth-child(1) { transition-delay: 0.1s; }
.features-col:first-child .feature-item:nth-child(2) { transition-delay: 0.2s; }
.features-col:first-child .feature-item:nth-child(3) { transition-delay: 0.3s; }
.features-col:last-child .feature-item:nth-child(1) { transition-delay: 0.15s; }
.features-col:last-child .feature-item:nth-child(2) { transition-delay: 0.25s; }
.features-col:last-child .feature-item:nth-child(3) { transition-delay: 0.35s; }

/* Chain Reaction Delays - Subscriptions */
.sub-card-mini:nth-child(1) { transition-delay: 0.1s; }
.sub-card-mini:nth-child(2) { transition-delay: 0.2s; }
.sub-card-mini:nth-child(3) { transition-delay: 0.3s; }
.sub-card-mini:nth-child(4) { transition-delay: 0.4s; }

/* 3D Hover Effects */
.stat-card:hover {
    transform: translateY(-8px) rotateX(-5deg) rotateY(5deg) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(99, 102, 241, 0.2);
}

.feature-item:hover {
    transform: translateX(12px) rotateY(3deg) scale(1.02);
    box-shadow:
        -10px 10px 30px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(99, 102, 241, 0.15);
}

.sub-card-mini:hover {
    transform: translateY(-12px) rotateX(-8deg) scale(1.03);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(191, 90, 242, 0.2);
}

.featured-plan:hover {
    transform: translateY(-8px) rotateX(-3deg) scale(1.02);
    box-shadow:
        0 30px 60px rgba(191, 90, 242, 0.3),
        0 0 60px rgba(191, 90, 242, 0.2);
}

/* AI Card Special Animation */
.ai-feature-card {
    position: relative;
    overflow: hidden;
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent,
        rgba(168, 85, 247, 0.1),
        transparent
    );
    animation: rotateGlow 8s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ai-feature-card:hover::before {
    opacity: 1;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ripple Effect on Click */
.stat-card,
.feature-item,
.sub-card-mini {
    position: relative;
    overflow: hidden;
}

.stat-card::after,
.feature-item::after,
.sub-card-mini::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.stat-card:active::after,
.feature-item:active::after,
.sub-card-mini:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
}

/* Floating Animation for Icons */
.stat-icon-wrap,
.feature-item-icon,
.sub-mini-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

.stat-card:nth-child(1) .stat-icon-wrap { animation-delay: 0s; }
.stat-card:nth-child(2) .stat-icon-wrap { animation-delay: 0.5s; }
.stat-card:nth-child(3) .stat-icon-wrap { animation-delay: 1s; }
.stat-card:nth-child(4) .stat-icon-wrap { animation-delay: 1.5s; }

@keyframes iconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(3deg); }
}

/* Glow Pulse for Featured Elements */
.featured-plan {
    position: relative;
}

.featured-plan::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--color-quinte), var(--color-blue), var(--color-quinte));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    animation: glowPulse 3s ease-in-out infinite;
}

.featured-plan:hover::after {
    opacity: 0.6;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
}

/* Particle Trail Effect */
.ai-animation-mini::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.4), transparent 60%);
    animation: particlePulse 2s ease-in-out infinite;
}

@keyframes particlePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.2; }
}

/* Section Title Animation */
.section-headline {
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1s ease forwards;
}

.section-subheadline {
    opacity: 0;
    transform: translateY(20px);
    animation: titleReveal 1s ease 0.2s forwards;
}

.section-eyebrow {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: badgeReveal 0.8s ease forwards;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgeReveal {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 3D Card Shine Effect */
.stat-card::before,
.sub-card-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
}

.stat-card:hover::before,
.sub-card-mini:hover::before {
    left: 100%;
}

/* Magnetic Effect on Section Headers */
.features-intro-left,
.subs-header {
    transition: transform 0.3s ease;
}

/* Wave Animation for Stats Section */
.stats-container {
    position: relative;
}

.stats-container::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        rgba(168, 85, 247, 0.1),
        rgba(99, 102, 241, 0.1),
        transparent
    );
    filter: blur(20px);
    animation: waveMove 4s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(-20px); opacity: 0.5; }
    50% { transform: translateX(20px); opacity: 0.8; }
}

/* ===== SCROLL ANIMATIONS - Ultra Dynamic ===== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Base scroll reveal classes */
.scroll-reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    opacity: 1;
}

/* Fade Up Animation */
.fade-up {
    transform: translateY(80px);
}

.fade-up.revealed {
    transform: translateY(0);
}

/* Fade Down Animation */
.fade-down {
    transform: translateY(-80px);
}

.fade-down.revealed {
    transform: translateY(0);
}

/* Fade Left Animation */
.fade-left {
    transform: translateX(100px);
}

.fade-left.revealed {
    transform: translateX(0);
}

/* Fade Right Animation */
.fade-right {
    transform: translateX(-100px);
}

.fade-right.revealed {
    transform: translateX(0);
}

/* Scale Up Animation */
.scale-up {
    transform: scale(0.5);
}

.scale-up.revealed {
    transform: scale(1);
}

/* Rotate In Animation */
.rotate-in {
    transform: rotate(-15deg) scale(0.8);
}

.rotate-in.revealed {
    transform: rotate(0) scale(1);
}

/* Flip In Animation */
.flip-in {
    transform: perspective(1000px) rotateY(-90deg);
    transform-origin: left center;
}

.flip-in.revealed {
    transform: perspective(1000px) rotateY(0);
}

/* Zoom Blur Animation */
.zoom-blur {
    transform: scale(1.2);
    filter: blur(20px);
}

.zoom-blur.revealed {
    transform: scale(1);
    filter: blur(0);
}

/* Slide Rotate Animation */
.slide-rotate {
    transform: translateY(100px) rotateX(45deg);
    transform-origin: bottom center;
}

.slide-rotate.revealed {
    transform: translateY(0) rotateX(0);
}

/* Elastic Pop Animation */
.elastic-pop {
    transform: scale(0);
}

.elastic-pop.revealed {
    transform: scale(1);
    animation: elasticBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes elasticBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Cascade Animation with stagger */
.cascade {
    transform: translateY(60px) rotateZ(-5deg);
    opacity: 0;
}

.cascade.revealed {
    transform: translateY(0) rotateZ(0);
    opacity: 1;
}

/* Glitch Reveal Animation */
.glitch-reveal {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

.glitch-reveal.revealed {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: glitchClip 0.6s steps(1) forwards;
}

@keyframes glitchClip {
    0% { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
    20% { clip-path: polygon(0 0, 30% 0, 30% 100%, 0 100%); }
    40% { clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%); transform: translateX(5px); }
    60% { clip-path: polygon(0 0, 75% 0, 75% 100%, 0 100%); transform: translateX(-3px); }
    80% { clip-path: polygon(0 0, 90% 0, 90% 100%, 0 100%); transform: translateX(2px); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateX(0); }
}

/* Typewriter effect for numbers */
.counter-animate {
    display: inline-block;
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Floating Elements on Scroll */
.float-on-scroll {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Magnetic Pull Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Scroll-triggered Color Shift */
.color-shift {
    transition: background 0.5s ease, border-color 0.5s ease;
}

.color-shift.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(99, 102, 241, 0.4);
}

/* Text Split Animation */
.split-text .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-text.revealed .char {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* Stagger delays for split text */
.split-text .char:nth-child(1) { transition-delay: 0.02s; }
.split-text .char:nth-child(2) { transition-delay: 0.04s; }
.split-text .char:nth-child(3) { transition-delay: 0.06s; }
.split-text .char:nth-child(4) { transition-delay: 0.08s; }
.split-text .char:nth-child(5) { transition-delay: 0.10s; }
.split-text .char:nth-child(6) { transition-delay: 0.12s; }
.split-text .char:nth-child(7) { transition-delay: 0.14s; }
.split-text .char:nth-child(8) { transition-delay: 0.16s; }
.split-text .char:nth-child(9) { transition-delay: 0.18s; }
.split-text .char:nth-child(10) { transition-delay: 0.20s; }
.split-text .char:nth-child(11) { transition-delay: 0.22s; }
.split-text .char:nth-child(12) { transition-delay: 0.24s; }

/* Line Draw Animation */
.line-draw {
    position: relative;
}

.line-draw::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-draw.revealed::after {
    width: 100%;
}

/* Morph Shape Animation */
.morph-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transition: border-radius 1s ease-in-out;
}

.morph-shape.revealed {
    animation: morphing 8s ease-in-out infinite;
}

@keyframes morphing {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Reveal with Trail Effect */
.trail-reveal {
    position: relative;
}

.trail-reveal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0s;
}

.trail-reveal.revealed::before {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* Bounce In Animation */
.bounce-in {
    transform: scale(0) translateY(50px);
}

.bounce-in.revealed {
    transform: scale(1) translateY(0);
    animation: bounceInEffect 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceInEffect {
    0% { transform: scale(0) translateY(50px); }
    60% { transform: scale(1.1) translateY(-10px); }
    80% { transform: scale(0.95) translateY(5px); }
    100% { transform: scale(1) translateY(0); }
}

/* Skew Reveal */
.skew-reveal {
    transform: skewY(10deg) translateY(100px);
    opacity: 0;
}

.skew-reveal.revealed {
    transform: skewY(0) translateY(0);
    opacity: 1;
}

/* Depth Push Animation */
.depth-push {
    transform: perspective(1000px) translateZ(-200px);
    opacity: 0;
}

.depth-push.revealed {
    transform: perspective(1000px) translateZ(0);
    opacity: 1;
}

/* Wave Text Animation */
.wave-text .word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.wave-text.revealed .word {
    transform: translateY(0);
    opacity: 1;
}

/* Spiral In Animation */
.spiral-in {
    transform: rotate(180deg) scale(0);
    opacity: 0;
}

.spiral-in.revealed {
    transform: rotate(0) scale(1);
    opacity: 1;
}

/* Curtain Reveal */
.curtain-reveal {
    position: relative;
    overflow: hidden;
}

.curtain-reveal::before,
.curtain-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--color-bg);
    z-index: 10;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.curtain-reveal::before {
    left: 0;
}

.curtain-reveal::after {
    right: 0;
}

.curtain-reveal.revealed::before {
    transform: translateX(-100%);
}

.curtain-reveal.revealed::after {
    transform: translateX(100%);
}

/* Neon Glow on Scroll */
.neon-glow {
    transition: box-shadow 0.5s ease, text-shadow 0.5s ease;
}

.neon-glow.active {
    box-shadow:
        0 0 5px rgba(99, 102, 241, 0.5),
        0 0 20px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(99, 102, 241, 0.2);
}

/* Scroll Speed Modifiers */
.scroll-slow { --scroll-speed: 0.3; }
.scroll-normal { --scroll-speed: 0.5; }
.scroll-fast { --scroll-speed: 0.8; }

/* Hero Enhanced Scroll Animations */
.hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: heroReveal 1.2s ease 0.3s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
    animation: slideUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(100%);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll-triggered Section Backgrounds */
section {
    transition: background 0.5s ease;
}

/* Stats Counter Animation */
.stat-number {
    transition: all 0.1s ease;
}

.stat-number.counting {
    transform: scale(1.1);
    color: #6366f1;
}

/* Button Hover with Scroll Context */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Scroll indicator animation */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

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

.scroll-indicator:hover {
    background: rgba(99, 102, 241, 0.4);
    transform: translateY(-5px);
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    color: #fff;
    animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

