@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ==============================
   CSS Variables / Design Tokens
   ============================== */
:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --secondary: #a855f7;
    --accent: #06b6d4;
    --accent-pink: #ec4899;
    --bg-dark: #030712;
    --bg-card: rgba(15, 23, 42, 0.6);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(99, 102, 241, 0.4);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glow-indigo: rgba(99, 102, 241, 0.15);
    --glow-purple: rgba(168, 85, 247, 0.15);
    --glow-cyan: rgba(6, 182, 212, 0.15);
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* ==============================
   Reset & Base
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--primary);
    color: white;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* ==============================
   Animated Background
   ============================== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-mesh .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    will-change: transform;
}

.bg-mesh .orb-1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--glow-indigo) 0%, transparent 70%);
    top: -20%; left: -10%;
    animation: orbFloat1 20s ease-in-out infinite;
}
.bg-mesh .orb-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    bottom: -15%; right: -5%;
    animation: orbFloat2 25s ease-in-out infinite;
}
.bg-mesh .orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, 30px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -40px) scale(1.08); }
    66% { transform: translate(50px, -20px) scale(0.92); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, -80px) scale(1.15); }
}

/* Grid overlay */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 75%);
}

/* ==============================
   Navigation
   ============================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}
.nav-logo-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2) 100%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s;
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.05); }

.nav-cta {
    padding: 10px 24px !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s !important;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45) !important;
}

/* ==============================
   Section Wrapper
   ============================== */
.section {
    position: relative;
    z-index: 1;
    padding: 120px 24px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    animation: pulse 2s ease-in-out infinite;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ==============================
   Gradient Text
   ============================== */
.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 40%, #f472b6 80%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #818cf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 28px;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 80px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 25px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==============================
   Floating Mockup
   ============================== */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 0;
}

.mockup-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-subtle);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 25px 80px -12px rgba(0,0,0,0.8),
        0 0 100px rgba(99, 102, 241, 0.08);
    animation: floatMockup 6s ease-in-out infinite;
}

.mockup-bar {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--border-subtle);
}
.mockup-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-screen {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.mockup-screen img,
.mockup-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes floatMockup {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.mockup-container.mockup-playing {
    animation-play-state: paused;
}

/* Glow behind mockup */
.mockup-glow {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

/* ==============================
   Feature Cards Grid
   ============================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px -12px rgba(99, 102, 241, 0.15);
}

.feature-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.feature-card:hover .feature-card-glow { opacity: 1; }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.feature-icon svg,
.feature-icon i {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Color variations */
.feature-card.indigo .feature-icon { background: rgba(99, 102, 241, 0.12); color: #818cf8; }
.feature-card.indigo .feature-card-glow { background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 60%); }

.feature-card.purple .feature-icon { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.feature-card.purple .feature-card-glow { background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 60%); }

.feature-card.cyan .feature-icon { background: rgba(6, 182, 212, 0.12); color: #22d3ee; }
.feature-card.cyan .feature-card-glow { background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 60%); }

.feature-card.pink .feature-icon { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.feature-card.pink .feature-card-glow { background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, transparent 60%); }

.feature-card.amber .feature-icon { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.feature-card.amber .feature-card-glow { background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 60%); }

.feature-card.emerald .feature-icon { background: rgba(16, 185, 129, 0.12); color: #34d399; }
.feature-card.emerald .feature-card-glow { background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 60%); }

/* ==============================
   Spotlight Feature Sections
   ============================== */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.spotlight.reverse { direction: rtl; }
.spotlight.reverse > * { direction: ltr; }

.spotlight-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spotlight-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}
.spotlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.spotlight-list li .check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.spotlight-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15,23,42,0.6) 0%, rgba(30,27,75,0.4) 100%);
    border: 1px solid var(--border-subtle);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(99, 102, 241, 0.05) 100%);
    pointer-events: none;
}

/* Interactive visual inside spotlight */
.visual-demo {
    width: 90%;
    padding: 24px;
}

/* Flow visualization */
.flow-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease-out;
}
.flow-node.visible {
    opacity: 1;
    transform: translateX(0);
}

.flow-node-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.flow-connector {
    width: 2px;
    height: 20px;
    margin-left: 24px;
    background: linear-gradient(to bottom, var(--primary) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s;
}
.flow-connector.visible { opacity: 0.5; }

/* Churn detection visual */
.churn-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.churn-user {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.churn-user .risk-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 3px 0 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.churn-user .avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.churn-user .info {
    flex: 1;
}
.churn-user .info .name {
    font-weight: 600;
    font-size: 0.9rem;
}
.churn-user .info .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.churn-user .risk-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Chat visual */
.chat-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-out;
}
.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}
.chat-bubble.user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 4px;
}
.chat-bubble.bot {
    align-self: flex-start;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}
.chat-bubble.bot .source-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 6px;
    font-size: 0.7rem;
    color: #22d3ee;
}

/* ==============================
   Metrics / Social Proof
   ============================== */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.metric-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all 0.3s;
}
.metric-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==============================
   How It Works
   ============================== */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
}
.steps-container::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0.2;
}

.step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}
.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 280px;
}

/* ==============================
   CTA / Early Access
   ============================== */
.cta-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: var(--radius-xl);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99,102,241,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 32px auto 0;
    position: relative;
    z-index: 10;
}
.cta-form input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    background: rgba(15, 23, 42, 0.5);
    color: white;
    position: relative;
    z-index: 10;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.cta-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.cta-form input::placeholder { color: var(--text-muted); }

.cta-form button {
    padding: 16px 28px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    font-family: inherit;
    position: relative;
    z-index: 20;
}
.cta-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

#feedbackMsg {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 24px;
    transition: opacity 0.3s;
}
.feedback-success { color: #34d399; }
.feedback-error { color: #f87171; }

/* ==============================
   Footer
   ============================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 48px 24px;
    position: relative;
    z-index: 1;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}
.footer-social a:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--border-hover);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* ==============================
   Scroll Reveal Animations
   ============================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ==============================
   Keyframe Animations
   ============================== */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }

/* Typewriter cursor */
.type-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-light);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ==============================
   Deep Dive Tabs
   ============================== */
.tabs-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.03);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(99, 102, 241, 0.4);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.tab-btn i, .tab-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

#deep-dive .section-inner {
    max-width: 1400px;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.4s ease-out;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 56px;
    min-height: 580px;
    backdrop-filter: blur(20px);
}

.tab-panel-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab-panel-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.tab-panel-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tab-panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
}

.tab-panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.tab-panel-list li .check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.tab-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    width: fit-content;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.tab-panel-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.tab-panel-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 460px;
}

.tab-panel-media img,
.tab-panel-media video {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 60px rgba(99, 102, 241, 0.12);
}

#tab-mcp .tab-panel-media video {
    max-height: 700px;
    aspect-ratio: 896 / 856;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 80px rgba(99, 102, 241, 0.15);
}

.tab-media-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    position: relative;
}

.tab-media-placeholder.video-placeholder {
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(168,85,247,0.08) 100%);
    border: 1px dashed rgba(99, 102, 241, 0.3);
}

.tab-media-placeholder.image-placeholder {
    background: linear-gradient(135deg, rgba(6,182,212,0.08) 0%, rgba(16,185,129,0.08) 100%);
    border: 1px dashed rgba(6, 182, 212, 0.3);
}

.tab-media-placeholder img,
.tab-media-placeholder video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.media-placeholder-icon {
    color: var(--text-muted);
    opacity: 0.6;
}

.tab-media-placeholder span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Deep Dive Tabs — Responsive */
@media (max-width: 1024px) {
    .tab-panel-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
        min-height: auto;
    }
    .tab-panel-media {
        min-height: 300px;
    }
    .tab-panel-media img,
    .tab-panel-media video {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .tabs-nav {
        gap: 6px;
    }
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        gap: 6px;
    }
    .tab-btn span {
        display: none;
    }
    .tab-btn i, .tab-btn svg {
        width: 20px;
        height: 20px;
    }
    .tab-panel-inner {
        padding: 24px;
    }
    .tab-panel-title {
        font-size: 1.4rem;
    }
}

/* ==============================
   Separator Line
   ============================== */
.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* ==============================
   Mobile Menu
   ============================== */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .spotlight { grid-template-columns: 1fr; gap: 40px; }
    .spotlight.reverse { direction: ltr; }
    .metrics-row { grid-template-columns: repeat(2, 1fr); }
    .steps-container { grid-template-columns: 1fr; }
    .steps-container::before { display: none; }
}

@media (max-width: 768px) {
    .section { padding: 80px 16px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
    .metrics-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .metric-card { padding: 24px 16px; }
    .metric-number { font-size: 2rem; }
    .cta-form { flex-direction: column; }
    .cta-form button { width: 100%; }
    .footer-inner { justify-content: center; text-align: center; flex-direction: column; }
    .hero-stats { gap: 32px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
}
