/* ═══════════════════════════════════════════════════
   EVOLUTION SYSTEMS — Design System & Styles
   Dark Minimal Tech · Premium Automation Agency
   v2 — Conversion-Optimized
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────── */
:root {
    /* Colors */
    --bg-base: #0B0D12;
    --bg-surface: #11141B;
    --bg-elevated: #161A24;
    --border: #1D2330;
    --border-light: #2A3040;
    --text-1: #F5F7FA;
    --text-2: #A7B0BE;
    --text-3: #6B7385;
    --accent: #63C6FF;
    --accent-soft: rgba(99, 198, 255, 0.12);
    --accent-glow: rgba(99, 198, 255, 0.25);
    --accent-2: #6EE7B7;
    --accent-2-soft: rgba(110, 231, 183, 0.12);
    --danger: #FF6B6B;
    --danger-soft: rgba(255, 107, 107, 0.12);

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;
    --sp-32: 8rem;

    /* Radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 100px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --t-fast: 0.15s var(--ease);
    --t-normal: 0.3s var(--ease);
    --t-slow: 0.5s var(--ease);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--bg-base);
    color: var(--text-1);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* ── Global Typography ─────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-1);
}

/* ── Background Grid ───────────────────────────── */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(29, 35, 48, 0.18) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(29, 35, 48, 0.18) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 10%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 10%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

/* ── Layout ────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--sp-8);
    box-sizing: border-box;
}

.section {
    padding: var(--sp-32) 0;
    position: relative;
}

.bg-surface {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: var(--sp-4);
}

.section-eyebrow::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--accent);
}

.section-header {
    margin-bottom: var(--sp-16);
    max-width: 620px;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--sp-4);
}

.section-desc {
    color: var(--text-2);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ── Buttons ───────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1px solid transparent;
    transition: all var(--t-normal);
    white-space: nowrap;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 247, 250, 0.15);
}

.btn-accent {
    background: var(--accent);
    color: var(--bg-base);
    font-weight: 600;
}

.btn-accent:hover {
    background: #7dd3ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(99, 198, 255, 0.3);
}

.btn-secondary {
    background: rgba(29, 35, 48, 0.4);
    color: var(--text-1);
    border-color: var(--border);
}

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

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: var(--r-md);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

/* ── Scroll Reveal Animations ──────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ══════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(11, 13, 18, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background var(--t-normal);
}

.navbar.scrolled {
    background: rgba(11, 13, 18, 0.92);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    position: relative;
    flex-shrink: 0;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 2.5px;
    background: var(--bg-base);
    border-radius: 3.5px;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 6px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 2px;
    z-index: 1;
}

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

.nav-link {
    color: var(--text-2);
    font-size: 0.875rem;
    font-weight: 450;
    transition: color var(--t-fast);
    position: relative;
}

.nav-link:hover { color: var(--text-1); }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--t-normal);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-1);
    border-radius: 1px;
    transition: var(--t-normal);
    transform-origin: center;
}

.mobile-toggle.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════ */
.hero {
    padding-top: calc(64px + var(--sp-24));
    padding-bottom: var(--sp-12);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--sp-16);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    padding: 0.375rem 0.875rem;
    border-radius: var(--r-full);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid rgba(99, 198, 255, 0.15);
    margin-bottom: var(--sp-6);
}

.hero-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: var(--sp-6);
}

.hero-title .text-muted {
    color: var(--text-3);
}

.hero-title .text-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: var(--sp-10);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--sp-4);
    flex-wrap: wrap;
}

/* Hero Flow Diagram */
.hero-diagram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-8) var(--sp-6);
    box-shadow:
        0 0 0 1px rgba(99, 198, 255, 0.04),
        0 24px 48px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

.diagram-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
}

.diagram-header {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border);
}

.diagram-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.diagram-dot.red { background: #FF5F57; }
.diagram-dot.yellow { background: #FFBD2E; }
.diagram-dot.green { background: #28CA41; }

.diagram-label {
    font-size: 0.75rem;
    color: var(--text-3);
    font-weight: 500;
    margin-left: auto;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.flow-nodes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    flex-shrink: 0;
}

.node-box {
    width: 68px;
    height: 68px;
    border-radius: var(--r-md);
    background: var(--bg-base);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--t-normal);
}

.node-box.active {
    border-color: rgba(99, 198, 255, 0.4);
    box-shadow: 0 0 20px rgba(99, 198, 255, 0.08);
}

.node-box svg {
    width: 28px;
    height: 28px;
    stroke: var(--text-3);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.node-box.active svg { stroke: var(--accent); }

.node-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-3);
    text-align: center;
}

.node-box.active + .node-label { color: var(--accent); }

.flow-connector {
    flex: 1;
    height: 1px;
    background: var(--border);
    position: relative;
    min-width: 20px;
    overflow: hidden;
}

.flow-connector::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent);
    animation: flowMove 3s ease-in-out infinite;
}

.flow-connector:nth-child(4)::after { animation-delay: 0.4s; }
.flow-connector:nth-child(6)::after { animation-delay: 0.8s; }

.diagram-status {
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.75rem;
    color: var(--text-3);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    animation: pulseDot 2s ease-in-out infinite;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 198, 255, 0.06) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

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

@keyframes flowMove {
    0% { transform: translateX(-100%); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: translateX(calc(var(--connector-width, 100px))); opacity: 0; }
}

/* ══════════════════════════════════════════════════
   STATS / TRUST BAR
   ══════════════════════════════════════════════════ */
.stats-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    padding: var(--sp-8) 0;
}

.stats-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: var(--sp-8);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-1);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-3);
    margin-top: var(--sp-1);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ══════════════════════════════════════════════════
   FRICTION / PROBLEM SECTION
   ══════════════════════════════════════════════════ */
.friction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
}

.friction-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    transition: all var(--t-normal);
    position: relative;
    overflow: hidden;
}

.friction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.3), transparent);
    opacity: 0;
    transition: opacity var(--t-normal);
}

.friction-card:hover {
    border-color: rgba(255, 107, 107, 0.2);
    transform: translateY(-2px);
}

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

.friction-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-soft);
    border-radius: var(--r-sm);
    margin-bottom: var(--sp-5);
}

.friction-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--danger);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.friction-card h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--sp-2);
}

.friction-card p {
    color: var(--text-2);
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Friction section inline CTA */
.friction-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4);
    margin-top: var(--sp-12);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border);
}

.friction-cta p {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-2);
}

/* ══════════════════════════════════════════════════
   FEATURED PRODUCT SHOWCASES
   ══════════════════════════════════════════════════ */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: center;
    margin-bottom: var(--sp-16);
    padding: var(--sp-12);
    background: var(--bg-base);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 198, 255, 0.2), transparent);
}

.showcase.showcase-reverse {
    direction: rtl;
}

.showcase.showcase-reverse > * {
    direction: ltr;
}

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

.showcase-title {
    font-size: 1.75rem;
    margin-bottom: var(--sp-4);
    letter-spacing: -0.02em;
}

.showcase-desc {
    color: var(--text-2);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--sp-8);
}

/* Showcase Metrics Row */
.showcase-metrics {
    display: flex;
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--border);
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-3);
    margin-top: var(--sp-1);
}

/* Showcase Features */
.showcase-features {
    margin-bottom: var(--sp-8);
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: 0.9375rem;
    color: var(--text-2);
    margin-bottom: var(--sp-3);
}

.showcase-features li svg {
    flex-shrink: 0;
    stroke: var(--accent-2);
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Showcase Actions */
.showcase-actions {
    display: flex;
    gap: var(--sp-3);
}

/* Showcase Visual / Mockup */
.showcase-visual {
    display: flex;
    justify-content: center;
}

.showcase-mockup {
    width: 100%;
    max-width: 420px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 198, 255, 0.04);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elevated);
}

.mockup-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-light);
}

.mockup-bar-title {
    font-size: 0.6875rem;
    color: var(--text-3);
    margin-left: auto;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Chat Flow Mockup */
.chat-flow {
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.chat-bubble {
    padding: var(--sp-3) var(--sp-4);
    border-radius: var(--r-md);
    font-size: 0.8125rem;
    line-height: 1.55;
    max-width: 85%;
}

.chat-bubble.guest {
    background: var(--bg-base);
    border: 1px solid var(--border);
    color: var(--text-2);
    align-self: flex-end;
}

.chat-bubble.bot {
    background: rgba(99, 198, 255, 0.08);
    border: 1px solid rgba(99, 198, 255, 0.15);
    color: var(--text-1);
    align-self: flex-start;
}

.bot-badge {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--sp-1);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.6875rem;
    color: var(--accent-2);
    padding-top: var(--sp-2);
    border-top: 1px solid var(--border);
}

/* Inventory Flow Mockup */
.inventory-flow {
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.inv-step {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
}

.inv-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: var(--bg-base);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-icon svg {
    stroke: var(--text-3);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inv-icon.active {
    border-color: rgba(99, 198, 255, 0.4);
}

.inv-icon.active svg {
    stroke: var(--accent);
}

.inv-detail {
    flex: 1;
}

.inv-label {
    font-size: 0.75rem;
    color: var(--text-2);
    display: block;
    margin-bottom: var(--sp-1);
}

.inv-progress {
    height: 4px;
    background: var(--bg-base);
    border-radius: 2px;
    overflow: hidden;
}

.inv-bar {
    height: 100%;
    background: var(--border-light);
    border-radius: 2px;
    transition: width 1s var(--ease);
}

.inv-bar.active {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(99, 198, 255, 0.3);
    animation: invPulse 2s ease-in-out infinite;
}

@keyframes invPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.inv-output {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: 0.6875rem;
    color: var(--accent-2);
    padding-top: var(--sp-2);
    border-top: 1px solid var(--border);
}

.inv-output svg {
    stroke: var(--accent-2);
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Custom Automation Banner */
.custom-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
    padding: var(--sp-8) var(--sp-10);
    background: linear-gradient(135deg, var(--bg-base) 0%, rgba(110, 231, 183, 0.03) 100%);
    border: 1px solid rgba(110, 231, 183, 0.15);
    border-radius: var(--r-lg);
}

.custom-banner-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--sp-2);
}

.custom-banner-content p {
    color: var(--text-2);
    font-size: 0.9375rem;
    max-width: 540px;
}

.tag-green {
    color: var(--accent-2) !important;
    border-color: rgba(110, 231, 183, 0.2) !important;
}

.card-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-3);
    width: fit-content;
    margin-bottom: var(--sp-5);
}

.link-action {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
    transition: gap var(--t-fast);
}

.link-action:hover { gap: var(--sp-3); }

/* ══════════════════════════════════════════════════
   PROCESS / HOW IT WORKS
   ══════════════════════════════════════════════════ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(12.5% + var(--sp-3));
    right: calc(12.5% + var(--sp-3));
    height: 1px;
    background: var(--border);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-base);
    border: 1px solid var(--border);
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-3);
    margin: 0 auto var(--sp-6);
    position: relative;
    z-index: 1;
    transition: all var(--t-normal);
}

.process-step:hover .step-num {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 16px rgba(99, 198, 255, 0.12);
}

.process-step h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--sp-2);
}

.process-step p {
    color: var(--text-2);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════
   TRANSFORMATION SECTION
   ══════════════════════════════════════════════════ */
.transform-section { overflow: hidden; }

.transform-track {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-8) 0;
}

.transform-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--sp-8) var(--sp-4);
}

.panel-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--sp-6);
    color: var(--text-3);
}

.panel-tag.highlight { color: var(--accent); }

.panel-viz {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--sp-6);
    overflow: hidden;
}

.viz-chaos { border-color: rgba(255, 107, 107, 0.2); }

.chaos-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--text-3);
    border-radius: 50%;
    animation: chaosFloat 4s ease-in-out infinite;
}

.chaos-dot:nth-child(1) { top: 28%; left: 25%; animation-delay: 0s; }
.chaos-dot:nth-child(2) { top: 55%; left: 18%; animation-delay: 0.5s; }
.chaos-dot:nth-child(3) { top: 38%; left: 65%; animation-delay: 1s; }
.chaos-dot:nth-child(4) { top: 68%; left: 55%; animation-delay: 1.5s; }
.chaos-dot:nth-child(5) { top: 22%; left: 48%; animation-delay: 2s; }
.chaos-dot:nth-child(6) { top: 72%; left: 35%; animation-delay: 0.8s; }

.chaos-line {
    position: absolute;
    height: 1px;
    background: rgba(255, 107, 107, 0.15);
}

.chaos-line:nth-child(7) { width: 45px; top: 33%; left: 30%; transform: rotate(35deg); }
.chaos-line:nth-child(8) { width: 55px; top: 60%; left: 25%; transform: rotate(-15deg); }
.chaos-line:nth-child(9) { width: 35px; top: 28%; left: 55%; transform: rotate(65deg); }

@keyframes chaosFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(3px, -4px); }
    50% { transform: translate(-2px, 5px); }
    75% { transform: translate(4px, 2px); }
}

.viz-system {
    border-color: rgba(99, 198, 255, 0.3);
    box-shadow: 0 0 40px rgba(99, 198, 255, 0.04);
}

.system-core {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 24px rgba(99, 198, 255, 0.4);
    z-index: 2;
    animation: corePulse 3s ease-in-out infinite alternate;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.orbit-1 {
    width: 90px;
    height: 90px;
    border-color: rgba(99, 198, 255, 0.15);
    border-top-color: var(--accent);
    animation: orbitSpin 8s linear infinite;
}

.orbit-2 {
    width: 140px;
    height: 140px;
    border-color: rgba(99, 198, 255, 0.08);
    border-bottom-color: rgba(99, 198, 255, 0.4);
    animation: orbitSpin 12s linear infinite reverse;
}

@keyframes corePulse {
    0% { transform: scale(0.92); box-shadow: 0 0 16px rgba(99, 198, 255, 0.3); }
    100% { transform: scale(1.08); box-shadow: 0 0 32px rgba(99, 198, 255, 0.5); }
}

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

.viz-result {
    border-color: rgba(110, 231, 183, 0.2);
    flex-direction: column;
    gap: 10px;
    padding: 0 36px;
}

.result-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--accent-2);
    transform-origin: left;
    animation: barGrow 2s ease-out forwards;
}

.result-bar:nth-child(1) { width: 100%; animation-delay: 0.2s; }
.result-bar:nth-child(2) { width: 80%; opacity: 0.7; animation-delay: 0.35s; }
.result-bar:nth-child(3) { width: 55%; opacity: 0.45; animation-delay: 0.5s; }

@keyframes barGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.panel-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.panel-desc {
    font-size: 0.875rem;
    color: var(--text-3);
    margin-top: var(--sp-1);
}

.transform-arrow {
    display: flex;
    align-items: center;
    width: 60px;
    flex-shrink: 0;
    position: relative;
}

.arrow-line {
    width: 100%;
    height: 1px;
    background: var(--border);
    position: relative;
    overflow: hidden;
}

.arrow-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent);
    animation: arrowFlow 2.5s linear infinite;
}

@keyframes arrowFlow {
    0% { left: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ══════════════════════════════════════════════════
   MID-PAGE CTA STRIP
   ══════════════════════════════════════════════════ */
.cta-strip {
    padding: var(--sp-12) 0;
    background: linear-gradient(135deg, rgba(99, 198, 255, 0.04) 0%, rgba(110, 231, 183, 0.03) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
}

.cta-strip-text h3 {
    font-size: 1.5rem;
    margin-bottom: var(--sp-1);
}

.cta-strip-text p {
    color: var(--text-2);
    font-size: 0.9375rem;
}

/* ══════════════════════════════════════════════════
   RESULTS / BENEFITS
   ══════════════════════════════════════════════════ */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
}

.result-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-8);
    transition: all var(--t-normal);
    display: flex;
    gap: var(--sp-5);
}

.result-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.result-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: var(--r-sm);
    flex-shrink: 0;
}

.result-icon-wrap svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-card h3 {
    font-size: 1.0625rem;
    margin-bottom: var(--sp-1);
}

.result-card p {
    color: var(--text-2);
    font-size: 0.9375rem;
}

/* ══════════════════════════════════════════════════
   USE CASES
   ══════════════════════════════════════════════════ */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}

.use-case-card {
    padding: var(--sp-6);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--bg-base);
    transition: all var(--t-normal);
    text-align: center;
}

.use-case-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    margin: 0 auto var(--sp-5);
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-2);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.use-case-card h3 {
    font-size: 1rem;
    margin-bottom: var(--sp-2);
}

.use-case-card p {
    font-size: 0.875rem;
    color: var(--text-2);
    line-height: 1.6;
}

/* ══════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════ */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding: var(--sp-6) 0;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-1);
    font-size: 1.0625rem;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--t-fast);
}

.faq-trigger:hover { color: var(--accent); }

.faq-chevron {
    width: 20px;
    height: 20px;
    stroke: var(--text-3);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    transition: transform var(--t-normal);
}

.faq-trigger[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.faq-answer {
    padding-bottom: var(--sp-6);
    color: var(--text-2);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ══════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════ */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 198, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--sp-4);
}

.cta-desc {
    color: var(--text-2);
    font-size: 1.125rem;
    margin-bottom: var(--sp-10);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: var(--sp-6);
    font-size: 0.8125rem;
    color: var(--text-3);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    justify-content: center;
}

.cta-note svg {
    stroke: var(--accent-2);
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════
   FLOATING CTA
   ══════════════════════════════════════════════════ */
.floating-cta {
    position: fixed;
    bottom: var(--sp-8);
    right: var(--sp-8);
    z-index: 900;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s var(--ease);
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.btn-floating {
    padding: 0.75rem 1.25rem;
    border-radius: var(--r-full);
    box-shadow:
        0 8px 24px rgba(99, 198, 255, 0.25),
        0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 0.875rem;
}

.btn-floating:hover {
    box-shadow:
        0 12px 32px rgba(99, 198, 255, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: var(--sp-16) 0 var(--sp-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--sp-16);
    margin-bottom: var(--sp-12);
}

.footer-brand p {
    color: var(--text-3);
    font-size: 0.9375rem;
    margin-top: var(--sp-3);
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-2);
    margin-bottom: var(--sp-4);
}

.footer-col a {
    display: block;
    color: var(--text-3);
    font-size: 0.9375rem;
    margin-bottom: var(--sp-2);
    transition: color var(--t-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-3);
}

.footer-location {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.footer-location::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-2);
    border-radius: 50%;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-12);
    }

    .hero-diagram { justify-content: center; }
    .diagram-card { max-width: 500px; margin: 0 auto; }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-6);
    }

    .stat-divider { display: none; }

    .friction-grid { grid-template-columns: 1fr; gap: var(--sp-4); }

    .showcase {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .showcase.showcase-reverse {
        direction: ltr;
    }

    .showcase-visual {
        order: -1;
    }

    .showcase.showcase-reverse .showcase-visual {
        order: -1;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--sp-8);
    }

    .process-grid::before { display: none; }

    .results-grid { grid-template-columns: 1fr; }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }

    .transform-track {
        flex-direction: column;
        align-items: center;
    }

    .transform-arrow {
        width: 1px;
        height: 40px;
        flex-direction: column;
    }

    .arrow-line {
        width: 1px;
        height: 100%;
    }

    .arrow-line::after {
        width: 3px;
        height: 20px;
        left: -1px;
        top: 0;
        animation: arrowFlowVert 2.5s linear infinite;
    }

    .cta-strip-inner {
        flex-direction: column;
        text-align: center;
    }

    .custom-banner {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-8);
    }

    .footer-brand { grid-column: 1 / -1; }
}

@keyframes arrowFlowVert {
    0% { top: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Mobile */
@media (max-width: 640px) {
    .container { padding: 0 var(--sp-5); }
    .section { padding: var(--sp-20) 0; }
    .section-title { font-size: 1.75rem; }

    .hero {
        padding-top: calc(64px + var(--sp-12));
        min-height: auto;
    }

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

    .hero-badge {
        align-self: center;
    }

    .hero-title { font-size: 2.25rem; }
    .hero-title br { display: none; }

    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .diagram-card {
        padding: var(--sp-5) var(--sp-4);
        max-width: 100%;
    }
    .node-box { width: 52px; height: 52px; }
    .node-box svg { width: 22px; height: 22px; }
    .node-label { font-size: 0.5625rem; }

    .hero-glow {
        width: 300px;
        height: 300px;
    }

    .mobile-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-base);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--sp-10);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--t-normal);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link { font-size: 1.125rem; }

    .stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-6);
    }

    .showcase {
        padding: var(--sp-5);
        gap: var(--sp-6);
        border-radius: var(--r-lg);
    }

    .showcase-title { font-size: 1.375rem; }

    .showcase-metrics {
        flex-wrap: wrap;
        gap: var(--sp-4);
    }

    .showcase-metrics .metric {
        min-width: calc(50% - var(--sp-4));
    }

    .showcase-actions {
        flex-direction: column;
    }

    .showcase-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .showcase-mockup {
        max-width: 100%;
    }

    .process-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
    .use-cases-grid { grid-template-columns: 1fr; }

    .transform-panel {
        padding: var(--sp-6) var(--sp-2);
        width: 100%;
    }

    .panel-viz {
        width: 120px;
        height: 120px;
    }

    .orbit-1 {
        width: 70px;
        height: 70px;
    }

    .orbit-2 {
        width: 100px;
        height: 100px;
    }

    .system-core {
        width: 28px;
        height: 28px;
    }

    .cta-section::before {
        width: 300px;
        height: 300px;
    }

    .cta-title { font-size: 1.75rem; }

    .cta-desc {
        font-size: 1rem;
        padding: 0 var(--sp-2);
    }

    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }

    .cta-note {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .friction-cta { flex-direction: column; gap: var(--sp-2); }

    .custom-banner {
        padding: var(--sp-6) var(--sp-5);
    }

    .custom-banner-content p {
        max-width: 100%;
    }

    .floating-cta {
        right: var(--sp-4);
        bottom: var(--sp-4);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--sp-3);
        text-align: center;
    }

    .section-eyebrow {
        justify-content: center;
    }

    .faq-trigger span {
        font-size: 0.9375rem;
    }
}

/* Very small devices */
@media (max-width: 380px) {
    .container { padding: 0 var(--sp-4); }

    .hero-title { font-size: 1.875rem; }

    .stat-value { font-size: 1.5rem; }

    .node-box { width: 44px; height: 44px; }
    .node-box svg { width: 18px; height: 18px; }
    .flow-nodes { gap: var(--sp-2); }

    .showcase {
        padding: var(--sp-4);
    }

    .showcase-title { font-size: 1.25rem; }

    .showcase-metrics .metric {
        min-width: 100%;
    }

    .panel-viz {
        width: 100px;
        height: 100px;
    }

    .orbit-1 {
        width: 56px;
        height: 56px;
    }

    .orbit-2 {
        width: 80px;
        height: 80px;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .cta-title { font-size: 1.5rem; }
}
