/* ═══════════════════════════════════════════════════════════════
   CONTEXT PILOT — Landing Page
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg: #08080c;
    --bg-subtle: #0e0e14;
    --surface: #13131a;
    --surface-2: #1a1a24;
    --border: #222233;
    --border-hover: #333348;
    --text: #e8e8f0;
    --text-secondary: #8888a0;
    --text-muted: #555568;
    --accent: #d4884f;
    --accent-light: #e8a87c;
    --accent-dark: #a86830;
    --accent-glow: rgba(212, 136, 79, 0.15);
    --accent-glow-strong: rgba(212, 136, 79, 0.4);
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --green: #22c55e;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ═══ Cursor Glow ═══ */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ═══ Particles ═══ */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleDrift 8s ease-in-out infinite;
}

@keyframes particleDrift {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ═══ Reveal Animation ═══ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ Typography ═══ */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══ Buttons ═══ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(212, 136, 79, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(212, 136, 79, 0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--text);
    background: var(--accent-glow);
}

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

.btn-large { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ═══ Navigation ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s;
}
.nav.scrolled {
    background: rgba(8, 8, 12, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.nav-orb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: conic-gradient(from 160deg, #e8a87c, #c4703f, #d4915a, #c4703f, #e8a87c);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(212, 136, 79, 0.4);
}
.orb-core {
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e8a87c, #c4703f);
}
@keyframes orbPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(212,136,79,0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 35px rgba(212,136,79,0.6); }
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s;
}

/* ═══ Hero ═══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212,136,79,0.08) 0%, transparent 60%);
}
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.hero-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
    background: rgba(139, 92, 246, 0.08);
    animation: glowFloat 8s ease-in-out infinite;
}
.hero-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    left: -100px;
    background: rgba(212, 136, 79, 0.06);
    animation: glowFloat 10s ease-in-out infinite reverse;
}
@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    flex: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.hero-ctas { display: flex; gap: 16px; margin-bottom: 64px; flex-wrap: wrap; }
.hero-metrics {
    display: flex;
    gap: 40px;
    align-items: center;
}
.metric-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text);
}
.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}
.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Orb */
.hero-visual {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 1;
}
.hero-orb-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-orb {
    position: relative;
    width: 160px;
    height: 160px;
}
.hero-orb-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 160deg, #e8a87c, #c4703f, #d4915a, #c4703f, #e8a87c);
    box-shadow: 0 0 60px rgba(212,136,79,0.5), 0 0 20px rgba(212,136,79,0.6) inset;
    animation: heroOrbPulse 4s ease-in-out infinite;
}
@keyframes heroOrbPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(212,136,79,0.5), 0 0 20px rgba(212,136,79,0.6) inset; }
    50% { transform: scale(1.08); box-shadow: 0 0 90px rgba(212,136,79,0.7), 0 0 30px rgba(212,136,79,0.7) inset; }
}
.hero-orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(212,136,79,0.15);
}
.hero-orb-ring-1 { inset: -30px; animation: ringRotate 20s linear infinite; }
.hero-orb-ring-2 { inset: -60px; animation: ringRotate 30s linear infinite reverse; border-style: dashed; }
.hero-orb-ring-3 { inset: -100px; animation: ringRotate 40s linear infinite; opacity: 0.5; }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.hero-orb-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-light);
    animation: orbParticle 6s ease-in-out infinite;
}
.hero-orb-particles span:nth-child(1) { top: -20px; left: 50%; animation-delay: 0s; }
.hero-orb-particles span:nth-child(2) { top: 50%; right: -20px; animation-delay: 0.75s; }
.hero-orb-particles span:nth-child(3) { bottom: -20px; left: 50%; animation-delay: 1.5s; }
.hero-orb-particles span:nth-child(4) { top: 50%; left: -20px; animation-delay: 2.25s; }
.hero-orb-particles span:nth-child(5) { top: -10px; right: -10px; animation-delay: 3s; }
.hero-orb-particles span:nth-child(6) { bottom: -10px; right: -10px; animation-delay: 3.75s; }
.hero-orb-particles span:nth-child(7) { bottom: -10px; left: -10px; animation-delay: 4.5s; }
.hero-orb-particles span:nth-child(8) { top: -10px; left: -10px; animation-delay: 5.25s; }
@keyframes orbParticle {
    0%, 100% { opacity: 0.3; transform: scale(1) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.5) translate(8px, -8px); }
}

/* Orbiting items */
.orbit-ring {
    position: absolute;
    inset: 0;
    animation: ringRotate 25s linear infinite;
}
.orbit-ring-2 { animation-duration: 35s; animation-direction: reverse; }
.orbit-item {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle)));
    animation: counterRotate 25s linear infinite;
    animation-delay: var(--delay);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.orbit-ring-2 .orbit-item {
    transform: rotate(var(--angle)) translateX(220px) rotate(calc(-1 * var(--angle)));
    animation-direction: reverse;
    animation-duration: 35s;
}
@keyframes counterRotate { from { transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle) - 360deg)); } }

/* ═══ Trust Bar ═══ */
.trust-bar {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}
.trust-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust-logo {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.trust-logo:hover { opacity: 1; }
.trust-logo-svg {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══ Section Headers ═══ */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--accent-glow);
    border: 1px solid rgba(212,136,79,0.2);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══ Features ═══ */
.features { padding: 120px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.feature-glow {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--accent-glow);
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.4s;
}
.feature-card:hover .feature-glow { opacity: 1; }
.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: inline-block;
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}
.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.feature-card-large { grid-column: span 2; grid-row: span 2; padding: 40px; }
.feature-card-large h3 { font-size: 24px; }
.feature-card-large p { font-size: 16px; max-width: 400px; }

/* Mock memory items */
.feature-visual { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mock-memory {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    animation: mockSlideIn 0.6s ease both;
}
.mock-memory:nth-child(1) { animation-delay: 0.8s; }
.mock-memory:nth-child(2) { animation-delay: 1.0s; }
.mock-memory:nth-child(3) { animation-delay: 1.2s; }
@keyframes mockSlideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}
.mock-key { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mock-tags { display: flex; gap: 4px; margin-bottom: 8px; }
.mock-tags span {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--accent-glow);
    color: var(--accent-light);
}
.mock-bar {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    opacity: 0.5;
}

/* ═══ AI Integration ═══ */
.ai-integration { padding: 120px 0; background: var(--bg-subtle); }
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ai-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    overflow: hidden;
    transition: all 0.4s;
}
.ai-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.ai-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border-color: rgba(212,136,79,0.2);
}
.ai-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 12px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.ai-card-icon { margin-bottom: 16px; }
.ai-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.ai-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.ai-card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.ai-card-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid rgba(212,136,79,0.15);
}

/* Code block inside AI cards */
.ai-code-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin: 16px 0;
}
.ai-code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}
.ai-code-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}
.ai-code-dot:nth-child(1) { background: #ff5f57; }
.ai-code-dot:nth-child(2) { background: #febc2e; }
.ai-code-dot:nth-child(3) { background: #28c840; }
.ai-code-block pre {
    padding: 16px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: auto;
}
.ai-code-block code {
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
    color: var(--text-secondary);
}

/* ═══ Use Cases ═══ */
.use-cases {
    padding: 120px 0;
    background: var(--bg-subtle);
}
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.use-case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.use-case-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.use-case-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-glow);
    border: 1px solid rgba(212,136,79,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.use-case-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.use-case-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.use-case-stats {
    display: flex;
    gap: 16px;
}
.use-case-stats span {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid rgba(212,136,79,0.15);
}

/* ═══ How It Works ═══ */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-subtle);
}
.steps { display: flex; gap: 40px; max-width: 900px; margin: 0 auto; }
.step {
    flex: 1;
    text-align: center;
    position: relative;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}
.step-number span { font-size: 22px; font-weight: 800; color: #fff; }
.step-connector {
    position: absolute;
    top: 28px;
    left: calc(50% + 28px);
    right: calc(-50% + 28px);
    height: 2px;
    background: var(--border);
    z-index: 1;
}
.step:last-child .step-connector { display: none; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ═══ Integrations ═══ */
.integrations { padding: 120px 0; }
.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.integration-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.integration-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212,136,79,0.1);
}
.integration-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}
.integration-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.integration-card:hover .integration-icon-svg { opacity: 1; }
.integration-card-more {
    border-style: dashed;
    background: transparent;
}
.integration-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.integration-card p { font-size: 12px; color: var(--text-muted); }

/* ═══ Pricing ═══ */
.pricing {
    padding: 120px 0;
    background: var(--bg-subtle);
}
/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 48px;
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.pricing-toggle-btn {
    padding: 10px 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: color 0.3s;
    position: relative;
    z-index: 2;
}
.pricing-toggle-btn.active { color: #fff; }
.pricing-toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}
.pricing-toggle-slider.right { transform: translateX(100%); }

.pricing-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
.pricing-grid.active {
    display: grid;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    position: relative;
    transition: all 0.4s;
}
.pricing-card:hover { transform: translateY(-6px); }
.pricing-card-popular {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(212,136,79,0.1);
    z-index: 2;
    transform: scale(1.04);
}
.pricing-card-popular:hover { transform: scale(1.04) translateY(-6px); }
.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h3 { font-size: 22px; font-weight: 800; }
.pricing-desc { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.pricing-price { margin-bottom: 28px; display: flex; align-items: baseline; gap: 2px; }
.price-currency { font-size: 24px; font-weight: 600; color: var(--text-secondary); }
.price-amount { font-size: 52px; font-weight: 900; letter-spacing: -2px; line-height: 1; }
.price-period { font-size: 16px; color: var(--text-muted); margin-left: 4px; }
.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pricing-features li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

/* ═══ CTA ═══ */
.cta { padding: 120px 0; }
.cta-card {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}
.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 60%);
    filter: blur(80px);
}
.cta-orb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: conic-gradient(from 160deg, #e8a87c, #c4703f, #d4915a, #c4703f, #e8a87c);
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbPulse 3s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(212,136,79,0.4);
    position: relative;
    z-index: 2;
}
.cta-card h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.cta-card p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

/* ═══ Footer ═══ */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══ Typewriter ═══ */
.hero-typewriter {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 40px;
    min-height: 32px;
}
.typewriter-text { }
.typewriter-cursor {
    color: var(--accent);
    animation: cursorBlink 0.8s step-end infinite;
    font-weight: 300;
}
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ═══ Benefits ═══ */
.benefits { padding: 120px 0; background: var(--bg-subtle); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}
.benefit-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-glow);
    border: 1px solid rgba(212,136,79,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.benefit-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.benefit-highlight {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid rgba(212,136,79,0.2);
}

/* Savings visualization */
.benefit-savings { margin-top: 8px; }
.savings-bar { display: flex; flex-direction: column; gap: 10px; }
.savings-without, .savings-with {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}
.savings-without span:first-child, .savings-with span:first-child { min-width: 55px; }
.savings-fill {
    height: 10px;
    border-radius: 5px;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0;
}
.savings-fill.animated { width: var(--target-width); }
.savings-fill-bad { background: linear-gradient(90deg, #e74c3c, #c0392b); }
.savings-fill-good { background: linear-gradient(90deg, var(--accent), var(--green)); }
.savings-amount { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* Security scan demo */
.security-scan-demo { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.scan-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    animation: scanSlideIn 0.5s ease both;
}
.scan-item:nth-child(1) { animation-delay: 0.3s; }
.scan-item:nth-child(2) { animation-delay: 0.6s; }
.scan-item:nth-child(3) { animation-delay: 0.9s; }
@keyframes scanSlideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to { opacity: 1; transform: translateX(0); }
}
.scan-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.scan-dot-critical { background: #e74c3c; box-shadow: 0 0 6px rgba(231,76,60,0.5); animation: scanPulse 2s ease-in-out infinite; }
.scan-dot-high { background: #e67e22; box-shadow: 0 0 6px rgba(230,126,34,0.4); }
.scan-dot-ok { background: var(--green); }
@keyframes scanPulse {
    0%, 100% { box-shadow: 0 0 4px rgba(231,76,60,0.4); }
    50% { box-shadow: 0 0 12px rgba(231,76,60,0.8); }
}
.scan-type { font-weight: 700; min-width: 55px; color: var(--text-muted); font-size: 10px; letter-spacing: 0.5px; }
.scan-found .scan-type { color: #e74c3c; }
.scan-item:nth-child(2) .scan-type { color: #e67e22; }
.scan-clean .scan-type { color: var(--green); }
.scan-desc { flex: 1; color: var(--text-secondary); }
.scan-action {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(231,76,60,0.1);
    color: #e74c3c;
}
.scan-item:nth-child(2) .scan-action { background: rgba(230,126,34,0.1); color: #e67e22; }

/* Profile demo */
.profile-demo { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.profile-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s;
    cursor: default;
    animation: profilePop 0.4s ease both;
}
.profile-pill:nth-child(1) { animation-delay: 0.2s; }
.profile-pill:nth-child(2) { animation-delay: 0.35s; }
.profile-pill:nth-child(3) { animation-delay: 0.5s; }
.profile-pill:nth-child(4) { animation-delay: 0.65s; }
@keyframes profilePop {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.profile-active {
    border-color: var(--accent);
    background: var(--accent-glow);
    color: var(--accent-light);
}
.profile-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}
.profile-active .profile-dot { background: var(--accent-light); animation: scanPulse 2s ease-in-out infinite; }
.profile-count {
    font-size: 10px;
    font-weight: 700;
    background: var(--surface-2);
    padding: 1px 6px;
    border-radius: 10px;
    color: var(--text-muted);
}
.profile-active .profile-count { background: rgba(212,136,79,0.2); color: var(--accent-light); }
.benefit-icon-shield { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.15); }

/* ═══ Model Independence Section ═══ */
.independence { padding: 100px 0; }
.independence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.indep-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
}
.indep-card-good {
    border-color: rgba(212,136,79,0.3);
    background: linear-gradient(135deg, var(--surface), rgba(212,136,79,0.04));
}
.indep-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.indep-problem { background: rgba(231,76,60,0.1); }
.indep-solution { background: var(--accent-glow); }
.indep-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.indep-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.indep-card li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}
.indep-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}
.indep-card-good li::before { background: var(--accent); }

/* ═══ Cookie Banner (DSGVO) ═══ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 24px;
    background: rgba(8,8,12,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 300px; }
.cookie-text strong { font-size: 14px; display: block; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-small { padding: 8px 20px; font-size: 13px; }

/* ═══ Language Toggle ═══ */
.lang-toggle {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font);
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--text); }

/* ═══ Demo Showcase ═══ */
.demo { padding: 100px 0; background: var(--bg-subtle); }
.demo-browser {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.03);
}
.demo-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots span { width: 10px; height: 10px; border-radius: 50%; }
.demo-dots span:nth-child(1) { background: #ff5f57; }
.demo-dots span:nth-child(2) { background: #febc2e; }
.demo-dots span:nth-child(3) { background: #28c840; }
.demo-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--surface);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font);
}
.demo-tabs { display: flex; gap: 0; margin-left: 8px; }
.demo-tab {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s;
}
.demo-tab:hover { color: var(--text); }
.demo-tab-active { color: var(--accent-light); background: var(--surface); }

.demo-viewport {
    position: relative;
    height: 340px;
    overflow: hidden;
}
.demo-scene {
    position: absolute;
    inset: 0;
    padding: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.demo-scene-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dashboard scene */
.demo-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 10px;
}
.demo-sb-orb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: conic-gradient(from 160deg, #e8a87c, #c4703f, #d4915a);
    box-shadow: 0 0 12px rgba(212,136,79,0.4);
    margin-bottom: 8px;
}
.demo-sb-item {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
}
.demo-sb-active { border-color: var(--accent); background: var(--accent-glow); }
.demo-main { margin-left: 60px; }
.demo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.demo-stat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}
.demo-stat-val { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.demo-stat-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.demo-activity { display: flex; flex-direction: column; gap: 6px; }
.demo-act-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-10px);
    animation: demoActIn 0.4s ease forwards;
}
.demo-act-1 { animation-delay: 0.3s; }
.demo-act-2 { animation-delay: 0.5s; }
.demo-act-3 { animation-delay: 0.7s; }
.demo-act-4 { animation-delay: 0.9s; }
@keyframes demoActIn { to { opacity: 1; transform: translateX(0); } }
.demo-act-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Memories scene */
.demo-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text);
}
.demo-search-icon { opacity: 0.4; }
.demo-search-cursor { color: var(--accent); animation: cursorBlink 0.8s step-end infinite; }
.demo-mem-list { display: flex; flex-direction: column; gap: 4px; }
.demo-mem-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    opacity: 0;
    animation: demoActIn 0.3s ease forwards;
}
.demo-mem-1 { animation-delay: 0.2s; }
.demo-mem-2 { animation-delay: 0.3s; }
.demo-mem-3 { animation-delay: 0.4s; }
.demo-mem-4 { animation-delay: 0.5s; }
.demo-mem-5 { animation-delay: 0.6s; }
.demo-mem-key { font-weight: 600; flex: 1; }
.demo-mem-tags { display: flex; gap: 4px; }
.demo-mem-tags span { font-size: 10px; padding: 1px 6px; border-radius: 3px; background: var(--accent-glow); color: var(--accent-light); }
.demo-mem-ttl { font-size: 11px; color: var(--text-muted); min-width: 24px; text-align: right; }

/* Graph scene */
.demo-graph-svg { width: 100%; height: 100%; }
.demo-edge { stroke: var(--border); stroke-width: 1; opacity: 0; animation: edgeDraw 0.5s ease forwards; }
.demo-e1 { animation-delay: 0.1s; } .demo-e2 { animation-delay: 0.2s; }
.demo-e3 { animation-delay: 0.3s; } .demo-e4 { animation-delay: 0.4s; }
.demo-e5 { animation-delay: 0.5s; } .demo-e6 { animation-delay: 0.6s; }
.demo-e7 { animation-delay: 0.7s; } .demo-e8 { animation-delay: 0.8s; }
@keyframes edgeDraw { to { opacity: 0.5; } }
.demo-node { fill: var(--accent); opacity: 0; animation: nodePop 0.4s ease forwards; }
.demo-n-center { fill: var(--accent); r: 18; animation-delay: 0s; filter: drop-shadow(0 0 8px rgba(212,136,79,0.5)); }
.demo-n1 { fill: var(--purple); animation-delay: 0.15s; }
.demo-n2 { fill: var(--blue); animation-delay: 0.3s; }
.demo-n3 { fill: var(--green); animation-delay: 0.45s; }
.demo-n4 { fill: var(--accent-light); animation-delay: 0.6s; }
.demo-n5 { fill: var(--purple); animation-delay: 0.75s; }
.demo-n6 { fill: var(--blue); animation-delay: 0.9s; }
.demo-n7 { fill: var(--green); animation-delay: 1.05s; }
.demo-n8 { fill: var(--accent); animation-delay: 1.2s; }
@keyframes nodePop { from { opacity: 0; r: 0; } to { opacity: 1; } }

/* AI Delivery scene */
.demo-ai-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
}
.demo-ai-source, .demo-ai-engine {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}
.demo-ai-count, .demo-ai-budget { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.demo-ai-orb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(from 160deg, #e8a87c, #c4703f, #d4915a);
    margin: 0 auto 8px;
    box-shadow: 0 0 20px rgba(212,136,79,0.4);
    animation: orbPulse 3s ease-in-out infinite;
}
.demo-ai-arrow {
    display: flex;
    align-items: center;
    width: 40px;
    position: relative;
}
.demo-ai-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(212,136,79,0.5);
    animation: demoParticle 1.5s ease-in-out infinite;
}
.demo-ai-particle:nth-child(1) { animation-delay: 0s; }
.demo-ai-particle:nth-child(2) { animation-delay: 0.5s; }
.demo-ai-particle:nth-child(3) { animation-delay: 1s; }
@keyframes demoParticle {
    0% { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: 100%; opacity: 0; }
}
.demo-ai-targets { display: flex; flex-direction: column; gap: 8px; }
.demo-ai-target {
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    animation: demoActIn 0.3s ease forwards;
}
.demo-ai-t1 { animation-delay: 0.3s; border-color: var(--green); }
.demo-ai-t2 { animation-delay: 0.5s; }
.demo-ai-t3 { animation-delay: 0.7s; }
.demo-ai-status { font-size: 10px; color: var(--green); font-weight: 400; margin-top: 2px; }

/* ═══ Legal Modal ═══ */
.legal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 24px;
    overflow-y: auto;
}
.legal-overlay.active { display: flex; }
.legal-modal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    max-width: 720px;
    width: 100%;
    position: relative;
    animation: legalIn 0.4s ease;
}
@keyframes legalIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.legal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.legal-close:hover { color: var(--text); }
.legal-modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.legal-modal h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.legal-modal p, .legal-modal li { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.legal-modal ul { padding-left: 20px; margin: 8px 0; }

/* ═══ Responsive ═══ */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card-large { grid-column: span 2; grid-row: auto; }
    .integration-grid { grid-template-columns: repeat(3, 1fr); }
    .use-cases-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .ai-card-featured { grid-column: auto; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .independence-grid { grid-template-columns: 1fr; }
    .demo-viewport { height: 300px; }
    .demo-tabs { display: none; }
    .demo-stats { grid-template-columns: repeat(2, 1fr); }
    .demo-ai-flow { flex-direction: column; gap: 12px; }
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-actions { justify-content: center; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-mobile-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
        gap: 12px;
    }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-title { letter-spacing: -1px; }
    .hero-metrics { flex-direction: column; gap: 20px; align-items: flex-start; }
    .metric-divider { width: 40px; height: 1px; }
    .features-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .feature-card-large { grid-column: auto; }
    .steps { flex-direction: column; }
    .step-connector { display: none; }
    .integration-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-card-popular { transform: none; }
    .pricing-card-popular:hover { transform: translateY(-6px); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
}
