:root {
    --bg-primary: #141416;
    --bg-secondary: #1b1b1f;
    --bg-card: #222228;
    --bg-card-hover: #2c2c34;
    --text-primary: #f0f0f0;
    --text-secondary: #8c8c98;
    --text-muted: #5c5c6a;
    --accent: #e8a43f;
    --accent-dim: rgba(232, 164, 63, 0.10);
    --accent-glow: rgba(232, 164, 63, 0.25);
    --warning: #f59e0b;
    --success: #10d996;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.12);
    --gradient-mesh: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(232, 164, 63, 0.07), transparent);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

h1, h2 {
    font-family: 'Syne', 'Instrument Sans', sans-serif;
}

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

/* ============================================
   Navigation
   ============================================ */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    background: rgba(20, 20, 22, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 1.05rem;
    text-decoration: none; color: var(--text-primary);
}
.logo-icon {
    width: 30px; height: 30px;
    background: var(--accent);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 17px; height: 17px; stroke: #0c0c0e; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 7px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 5px;
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 18px; background: var(--accent); color: #0c0c0e;
    text-decoration: none; font-weight: 600; font-size: 0.88rem;
    border-radius: 5px; transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px 6px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s ease;
}
.nav-toggle:hover { background: var(--bg-card); }
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    background: rgba(20, 20, 22, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    display: flex;
    flex-direction: column;
    padding: 8px 16px 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.nav-drawer-link {
    padding: 13px 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: color 0.15s ease;
}
.nav-drawer-link:last-child { border-bottom: none; }
.nav-drawer-link:hover { color: var(--text-primary); }
.nav-drawer-cta {
    color: var(--accent);
    font-weight: 600;
    margin-top: 4px;
    border-bottom: none;
}

@media (max-width: 800px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px; position: relative; background: var(--gradient-mesh);
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to top, var(--bg-primary), transparent); pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; background: var(--accent-dim);
    border: 1px solid rgba(232, 164, 63, 0.22); border-radius: 100px;
    font-size: 0.82rem; color: var(--accent); margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
}
.hero-badge::before {
    content: ''; width: 7px; height: 7px; background: var(--accent);
    border-radius: 50%; animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.15); }
}

.hero h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero h1 .highlight { color: var(--accent); white-space: nowrap; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 540px; margin-bottom: 44px; line-height: 1.8; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; background: var(--accent); color: #0c0c0e;
    text-decoration: none; font-weight: 600; font-size: 0.97rem;
    border-radius: 6px; transition: opacity 0.2s ease; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.86; }
.btn-primary svg { transition: transform 0.2s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; background: transparent; color: var(--text-primary);
    text-decoration: none; font-weight: 500; font-size: 0.97rem;
    border-radius: 6px; border: 1px solid var(--border); transition: all 0.2s ease;
}
.btn-secondary:hover { border-color: var(--border-hover); background: var(--bg-secondary); }

/* ============================================
   Social Proof
   ============================================ */
.hero-social-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-social-proof-text { font-size: 0.85rem; color: var(--text-muted); }
.hero-social-proof-text strong { color: var(--text-secondary); }
.hero-proof-divider { color: var(--border-hover); font-size: 0.75rem; }

/* ============================================
   Section Shared Styles
   ============================================ */
.section-label {
    display: inline-block; font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--accent); margin-bottom: 16px; font-weight: 500;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 20px; letter-spacing: -0.02em; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 56px; }

/* ============================================
   Problem Section
   ============================================ */
.problem { padding: 96px 0; background: var(--bg-secondary); position: relative; }
.problem-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}

.problem-card {
    background: var(--bg-card); padding: 36px 32px; transition: background 0.2s ease;
}
.problem-card:hover { background: var(--bg-card-hover); }
.problem-card .icon {
    width: 42px; height: 42px; background: rgba(245, 158, 11, 0.10);
    border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.problem-card .icon svg { width: 21px; height: 21px; stroke: var(--warning); }
.problem-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 12px; line-height: 1.35; }
.problem-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.78; }
.problem-stat {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: 'JetBrains Mono', monospace; font-size: 0.8rem;
    color: var(--warning); margin-top: 16px; padding: 4px 10px;
    background: rgba(245, 158, 11, 0.08); border-radius: 4px;
}

/* ============================================
   Solution Section
   ============================================ */
.solution { padding: 96px 0; position: relative; }
.solution-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.solution-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 20px; letter-spacing: -0.02em; }
.solution-header p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8; }

.solution-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.solution-card { background: var(--bg-card); padding: 28px; transition: background 0.2s ease; }
.solution-card:hover { background: var(--bg-card-hover); }
.solution-card .icon { width: 40px; height: 40px; background: rgba(16, 217, 150, 0.09); border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.solution-card .icon svg { width: 20px; height: 20px; stroke: var(--success); }
.solution-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); }
.solution-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.78; }

/* ============================================
   Video Section
   ============================================ */
.video-section { margin-bottom: 72px; }
.video-wrapper { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; position: relative; }
.video-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px;
    background: var(--bg-card-hover);
    border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 14px;
}
.video-badge { display: flex; align-items: center; gap: 10px; }
.video-badge-icon {
    width: 32px; height: 32px; background: var(--accent-dim);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
}
.video-badge-icon svg { width: 15px; height: 15px; stroke: var(--accent); }
.video-badge-text { display: flex; flex-direction: column; }
.video-badge-label { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.video-badge-title { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.partner-logos { display: flex; align-items: center; gap: 20px; }
.partner-logo { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.82rem; font-weight: 500; transition: color 0.2s ease; }
.partner-logo:hover { color: var(--text-secondary); }
.partner-logo-icon { width: 26px; height: 26px; background: var(--bg-secondary); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.6rem; color: var(--accent); }
.partner-logo-icon.tw { background: #1d4ed8; color: white; }
.partner-logo-icon.xv { background: #065f46; color: white; }
.partner-logo-icon.ob { background: #9a3412; color: white; }
.video-container { position: relative; width: 100%; background: #000; }
.video-container video { width: 100%; display: block; }

.video-hook { text-align: center; margin-bottom: 18px; }
.video-hook p { font-size: 0.97rem; color: var(--text-secondary); max-width: 540px; margin: 0 auto; line-height: 1.65; }
.video-hook strong { color: var(--text-primary); }

/* ============================================
   Credibility Section
   ============================================ */
.credibility { padding: 96px 0; background: var(--bg-secondary); }
.credibility-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.credibility-text h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; }
.credibility-text p { color: var(--text-secondary); font-size: 1rem; line-height: 1.82; margin-bottom: 22px; }

.author-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.author-photo { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); flex-shrink: 0; }
.author-info strong { display: block; font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.author-info span { font-size: 0.78rem; color: var(--accent); font-family: 'JetBrains Mono', monospace; }

.experience-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.experience-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 5px; font-size: 0.86rem; color: var(--text-secondary); }
.experience-badge svg { width: 15px; height: 15px; stroke: var(--accent); }

.result-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 36px; position: relative; overflow: hidden; }
.result-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.result-label { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 16px; }
.result-metric { font-size: 3.25rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; line-height: 1; font-family: 'Syne', sans-serif; }
.result-context { color: var(--text-secondary); font-size: 0.93rem; margin-bottom: 24px; }
.result-details { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border); }
.result-detail { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; }
.result-detail .label { color: var(--text-muted); }
.result-detail .value { color: var(--text-primary); font-family: 'JetBrains Mono', monospace; }

.result-metrics-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.result-mini { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 5px; padding: 14px; }
.result-mini-value { font-size: 1.5rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 6px; font-family: 'Syne', sans-serif; }
.result-mini-label { font-size: 0.74rem; color: var(--text-muted); line-height: 1.45; }

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials { padding: 96px 0; background: var(--bg-primary); position: relative; }
.testimonials-header { text-align: center; margin-bottom: 52px; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.testimonial-card { background: var(--bg-card); padding: 32px; transition: background 0.2s ease; position: relative; }
.testimonial-card:hover { background: var(--bg-card-hover); }
.testimonial-card::before { content: '\201C'; position: absolute; top: 14px; right: 22px; font-size: 3.5rem; line-height: 1; color: rgba(232, 164, 63, 0.09); font-family: Georgia, serif; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars svg { width: 13px; height: 13px; }
.testimonial-quote { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.82; margin-bottom: 22px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: white; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 0.86rem; color: var(--text-primary); }
.testimonial-role { font-size: 0.76rem; color: var(--text-muted); }

/* ============================================
   Insights / Articles Carousel
   ============================================ */
.insights { padding: 96px 0; background: var(--bg-secondary); }
.insights-header { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.insights-header h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.insights-header p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.75; }

.insights-track-outer { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.insights-track {
    display: flex; gap: 1px; background: var(--border);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.insights-track::-webkit-scrollbar { display: none; }

.insights-card {
    flex: 0 0 calc((100% - 2px) / 3); min-width: 0;
    background: var(--bg-card); scroll-snap-align: start;
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit; transition: background 0.2s ease;
}
.insights-card:hover { background: var(--bg-card-hover); }
.insights-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-primary); display: block; }
.insights-card-img-placeholder { width: 100%; aspect-ratio: 16 / 9; background: var(--bg-primary); }
.insights-card-body { padding: 24px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.insights-card-date { font-size: 0.74rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.insights-card-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; margin-bottom: 10px; }
.insights-card-subtitle { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.insights-card-cta { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; font-size: 0.8rem; font-weight: 600; color: var(--accent); }
.insights-card-cta svg { transition: transform 0.15s ease; }
.insights-card:hover .insights-card-cta svg { transform: translateX(3px); }

.insights-controls { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.insights-btn {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: 6px;
    color: var(--text-secondary); cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.insights-btn:hover:not(:disabled) { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--border-hover); }
.insights-btn:disabled { opacity: 0.35; cursor: default; }

.insights-footer { text-align: center; margin-top: 40px; }
.insights-loading { padding: 60px; color: var(--text-muted); font-size: 0.875rem; width: 100%; text-align: center; background: var(--bg-card); }

/* ============================================
   CTA Section
   ============================================ */
.cta-section { padding: 120px 0; text-align: center; position: relative; background: var(--gradient-mesh); }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.cta-content { max-width: 580px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 18px; letter-spacing: -0.02em; }
.cta-content p { color: var(--text-secondary); font-size: 1.08rem; margin-bottom: 36px; }
.cta-benefits { display: flex; justify-content: center; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.cta-benefit { display: flex; align-items: center; gap: 7px; color: var(--text-secondary); font-size: 0.9rem; }
.cta-benefit svg { width: 17px; height: 17px; stroke: var(--success); }

.slots-notice { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; background: rgba(16, 217, 150, 0.07); border: 1px solid rgba(16, 217, 150, 0.16); border-radius: 100px; font-size: 0.84rem; color: var(--text-secondary); margin-bottom: 26px; }
.slots-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; flex-shrink: 0; animation: pulse 2.5s ease-in-out infinite; }
.slots-notice strong { color: var(--success); }

/* ============================================
   Footer
   ============================================ */
footer { padding: 52px 0; border-top: 1px solid var(--border); background: var(--bg-secondary); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-left p { color: var(--text-muted); font-size: 0.86rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.86rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }

/* ============================================
   Animations
   ============================================ */
.fade-up { opacity: 0; transform: translateY(22px); transition: all 0.72s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes flowDotH {
    0%   { left: -3px; opacity: 0; }
    7%   { opacity: 1; }
    93%  { opacity: 1; }
    100% { left: calc(100% + 3px); opacity: 0; }
}

@keyframes flowDotV {
    0%   { top: -3px; opacity: 0; }
    7%   { opacity: 1; }
    93%  { opacity: 1; }
    100% { top: calc(100% + 3px); opacity: 0; }
}

@keyframes panelReveal {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 48px; }
    .credibility-content { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .insights-card { flex: 0 0 calc((100% - 1px) / 2); }
}

@media (max-width: 600px) {
    .hero-cta-group { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { justify-content: center; }
    .cta-benefits { flex-direction: column; align-items: center; gap: 14px; }
    .footer-content { flex-direction: column; text-align: center; }
    .result-metrics-row { grid-template-columns: 1fr; }
    .hero-proof-divider { display: none; }
    .video-header { flex-direction: column; align-items: flex-start; }
    .partner-logos { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 400px) {
    .solution-grid { grid-template-columns: 1fr; }
    .insights-card { flex: 0 0 100%; }
}

/* ============================================
   Pipeline Diagram — Hero Signature Element
   ============================================ */
.pipeline-diagram {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.pd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: var(--bg-card-hover);
    border-bottom: 1px solid var(--border);
}

.pd-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.pd-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--success);
    text-transform: uppercase;
}

.pd-live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.pd-nodes {
    display: flex;
    align-items: stretch;
    padding: 16px;
    gap: 0;
}

.pd-node {
    flex: 1;
    min-width: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 5px;
    overflow: hidden;
}

.pd-node--server,
.pd-node--platform {
    border-top: 2px solid var(--accent);
}

.pd-node--browser {
    border-top: 2px solid rgba(239, 68, 68, 0.55);
    opacity: 0.8;
}

.pd-node-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 9px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 4px;
}

.pd-node-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.pd-node-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.57rem;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
}

.pd-status--ok {
    background: rgba(16, 217, 150, 0.10);
    color: var(--success);
}

.pd-status--warn {
    background: rgba(239, 68, 68, 0.10);
    color: #f87171;
}

.pd-node-body {
    padding: 9px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pd-event {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-event-type {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-primary);
    font-weight: 500;
}

.pd-event-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: var(--text-muted);
}

.pd-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.56rem;
    padding: 3px 6px;
    border-radius: 3px;
    letter-spacing: 0.01em;
}

.pd-tag--ok {
    background: rgba(16, 217, 150, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 217, 150, 0.14);
}

.pd-tag--error {
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.14);
}

/* Wire connectors */
.pd-wire {
    flex: 0 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pd-wire-track {
    position: relative;
    width: 100%;
    height: 2px;
    background: var(--border);
    overflow: visible;
}

.pd-wire-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    box-shadow: 0 0 6px rgba(232, 164, 63, 0.8);
    animation: flowDotH 2.2s linear infinite;
    pointer-events: none;
}

.pd-wire-dot-2 { animation-delay: 1.1s; }

.pd-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    background: var(--bg-card-hover);
    border-top: 1px solid var(--border);
    gap: 10px;
    flex-wrap: wrap;
}

.pd-footer-stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: #f87171;
    opacity: 0.75;
}

.pd-footer-fix {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: var(--success);
}

@media (max-width: 480px) {
    .pd-nodes {
        flex-direction: column;
        gap: 0;
    }
    .pd-node--browser { opacity: 1; }
    .pd-wire {
        flex: none;
        width: 100%;
        height: 20px;
        flex-direction: column;
    }
    .pd-wire-track {
        width: 2px;
        height: 100%;
        margin: 0 auto;
    }
    .pd-wire-dot {
        left: 50%;
        top: -3px;
        transform: translateX(-50%);
        animation-name: flowDotV;
    }
}

/* ============================================
   How We Work Section
   ============================================ */
.how-we-work {
    padding: 96px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.how-we-work::before {
    content: '';
    position: absolute;
    top: -180px;
    right: -180px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 164, 63, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.hww-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 80px;
}

/* ── STEPPER ─────────────────────────────────── */
.hww-stepper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 48px;
}

.hww-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
    padding: 0 2px;
}

.hww-node {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.hww-node-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hww-node-inner svg {
    width: 26px;
    height: 26px;
    stroke: var(--text-muted);
    transition: stroke 0.3s ease;
    flex-shrink: 0;
}

.hww-node-num {
    position: absolute;
    bottom: -4px;
    right: -4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 1px 5px;
    line-height: 1.5;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    z-index: 2;
}

.hww-step-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'JetBrains Mono', monospace;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.hww-step.active .hww-node-inner {
    border-color: var(--accent);
    background: rgba(232, 164, 63, 0.08);
    box-shadow: 0 0 0 5px rgba(232, 164, 63, 0.06), 0 0 20px rgba(232, 164, 63, 0.15);
}
.hww-step.active .hww-node-inner svg { stroke: var(--accent); }
.hww-step.active .hww-node-num {
    color: var(--accent);
    border-color: rgba(232, 164, 63, 0.35);
    background: rgba(232, 164, 63, 0.07);
}
.hww-step.active .hww-step-name { color: var(--accent); }

.hww-step:focus-visible .hww-node-inner {
    box-shadow: 0 0 0 3px var(--bg-secondary), 0 0 0 5px var(--accent);
}

.hww-step:not(.active):hover .hww-node-inner {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}
.hww-step:not(.active):hover .hww-node-inner svg { stroke: var(--text-secondary); }
.hww-step:not(.active):hover .hww-step-name { color: var(--text-secondary); }

.hww-step:nth-child(1) { transition-delay: 0.05s; }
.hww-step:nth-child(3) { transition-delay: 0.15s; }
.hww-step:nth-child(5) { transition-delay: 0.25s; }
.hww-step:nth-child(7) { transition-delay: 0.35s; }

/* ── CONNECTOR ───────────────────────────────── */
.hww-connector {
    flex: 1;
    min-width: 32px;
    padding-top: 36px;
    position: relative;
    z-index: 0;
}

.hww-connector-track {
    position: relative;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
    overflow: hidden;
}

.hww-connector-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), rgba(232, 164, 63, 0.3));
    border-radius: 1px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hww-connector.filled .hww-connector-fill { width: 100%; }

.hww-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    box-shadow: 0 0 8px rgba(232, 164, 63, 0.9);
    animation: flowDotH 2.6s linear infinite;
    pointer-events: none;
}
.hww-dot.hww-dot-2 { animation-delay: 0.87s; }
.hww-dot.hww-dot-3 { animation-delay: 1.73s; }

/* ── DETAIL PANELS ───────────────────────────── */
.hww-panels { min-height: 300px; }

.hww-panel {
    animation: panelReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hww-panel-inner {
    display: grid;
    grid-template-columns: 188px 1fr;
    gap: 52px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hww-panel-inner:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
}

.hww-panel-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(232, 164, 63, 0.15), transparent);
}

.hww-panel-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(232, 164, 63, 0.07), rgba(232, 164, 63, 0.02));
    border: 1px solid rgba(232, 164, 63, 0.11);
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 6px 20px rgba(0,0,0,0.16);
}

.hww-panel-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232, 164, 63, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 164, 63, 0.06) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

.hww-panel-icon svg {
    width: 56px;
    height: 56px;
    stroke: var(--accent);
    opacity: 0.7;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 12px rgba(232, 164, 63, 0.38));
}

.hww-panel-content { display: flex; flex-direction: column; }

.hww-panel-meta {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.hww-panel-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.06em;
}

.hww-panel-divider { color: var(--border-hover); }

.hww-panel-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0;
    font-family: 'Syne', sans-serif;
}

.hww-panel-tagline {
    width: 100%;
    font-size: 0.87rem;
    color: var(--accent);
    font-style: italic;
    opacity: 0.68;
    margin-top: -2px;
}

.hww-panel-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}

.hww-detail-block { display: flex; flex-direction: column; gap: 5px; }

.hww-detail-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    font-weight: 500;
}

.hww-detail-block p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.78;
    margin: 0;
}

.hww-takeaway {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    background: rgba(232, 164, 63, 0.05);
    border: 1px solid rgba(232, 164, 63, 0.14);
    border-radius: 5px;
    margin-top: 6px;
}

.hww-takeaway svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.hww-takeaway span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.hww-takeaway strong { color: var(--text-primary); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
    .hww-panel-inner {
        grid-template-columns: 140px 1fr;
        gap: 32px;
        padding: 36px;
    }
}

@media (max-width: 700px) {
    .how-we-work { padding: 72px 0; }
    .hww-header { margin-bottom: 48px; }

    .hww-stepper {
        flex-direction: column;
        align-items: stretch;
        padding-left: 4px;
    }

    .hww-step {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 0;
    }

    .hww-node { width: 56px; height: 56px; }
    .hww-node-inner svg { width: 22px; height: 22px; }
    .hww-node-num { font-size: 0.61rem; bottom: -3px; right: -3px; }

    .hww-connector {
        padding-top: 0;
        margin-left: 27px;
        flex: none;
        min-width: unset;
    }

    .hww-connector-track {
        width: 2px;
        height: 36px;
        border-radius: 1px;
    }

    .hww-connector-fill {
        width: 100%;
        height: 0%;
        background: linear-gradient(180deg, var(--accent), rgba(232, 164, 63, 0.3));
        transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hww-connector.filled .hww-connector-fill { height: 100%; }

    .hww-dot {
        left: 50%;
        top: -3px;
        transform: translateX(-50%);
        animation-name: flowDotV;
    }

    .hww-step:nth-child(1),
    .hww-step:nth-child(3),
    .hww-step:nth-child(5),
    .hww-step:nth-child(7) { transition-delay: 0s; }

    .hww-panel-inner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .hww-panel-icon {
        aspect-ratio: unset;
        height: 80px;
        border-radius: 6px;
    }

    .hww-panel-icon svg { width: 38px; height: 38px; }
    .hww-panel-title { font-size: 1.15rem; }
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .hww-dot,
    .pd-wire-dot,
    .pd-live-dot,
    .hero-badge::before,
    .slots-dot { animation: none; opacity: 1; }
    .fade-up { transition: none; }
    .hww-panel { animation: none; }
    .hww-connector-fill,
    .hww-node-inner,
    .hww-step-name,
    .hww-node-num { transition: none; }
}
