/* ═══════════════════════════════════════════
   SEPTIMA — Corporate Landing Page Styles
   ═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
    --bg-primary: #f0f0f4;
    --bg-secondary: #e6e6ec;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f8fc;
    --bg-dark: #0a0a14;
    --bg-dark-secondary: #0f0f1c;
    --border: #d0d0d8;
    --border-dark: #1a1a30;
    --border-dark-hover: #3a3a58;
    --accent: #0a0a14;
    --accent-hover: #222233;
    --text-primary: #0a0a14;
    --text-secondary: #555564;
    --text-muted: #888896;
    --green: #22aa55;
    --terminal-green: #00ff88;
    --terminal-amber: #ffaa00;
    --terminal-red: #ff5f56;
    --terminal-blue: #88aacc;
    --terminal-text: #8888a0;
    --terminal-highlight: #e4e4ed;
    --terminal-bg: #606078;
    --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --focus-ring: 0 0 0 3px rgba(10, 10, 20, 0.3);
}


/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

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

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }


/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    background: var(--accent);
    color: #f0f0f4;
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.05em;
}
.skip-link:focus {
    top: 16px;
}


/* ── Screen Reader Only ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ── Focus States ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
details summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* ── Grid Background ── */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 10, 20, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 10, 20, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}


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


/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s 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; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal-delay-1,
    .reveal-delay-2,
    .reveal-delay-3,
    .reveal-delay-4,
    .reveal-delay-5 {
        transition-delay: 0s;
    }
    .hero-status-dot { animation: none !important; }
    .flow-dot { animation: none !important; }
}


/* ── Section Base ── */
section { position: relative; z-index: 2; }

.section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--text-muted);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}


/* ── Buttons ── */
.btn-primary {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0f0f4;
    background: var(--accent);
    border: none;
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 30px rgba(10, 10, 20, 0.15);
}

.btn-secondary {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border);
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(10, 10, 20, 0.03);
}


/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}
.nav.scrolled {
    background: rgba(240, 240, 244, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--text-primary);
}
.nav-cta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f0f0f4;
    background: var(--accent);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 20px rgba(10, 10, 20, 0.15);
}
.nav-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}
.nav-mobile-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text-primary);
    position: relative;
}
.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: var(--text-primary);
    left: 0;
}
.nav-mobile-toggle span::before { top: -6px; }
.nav-mobile-toggle span::after { top: 6px; }


/* ── Mobile Nav Overlay ── */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: rgba(240, 240, 244, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav.open {
    opacity: 1;
    visibility: visible;
}
.mobile-nav a {
    font-family: var(--font-mono);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.mobile-nav a:hover { color: var(--text-primary); }
.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    mix-blend-mode: multiply;
    opacity: 0.5;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-status-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 170, 85, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 170, 85, 0); }
}
.hero-headline {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    max-width: 720px;
}
.hero-headline .accent { color: var(--text-secondary); }
.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════
   TRUSTED BY
   ═══════════════════════════════════════════ */
.trusted {
    padding: 60px 0 80px;
    border-top: 1px solid var(--border);
}
.trusted-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trusted-logo {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}
.trusted-logo:hover { opacity: 0.8; }


/* ═══════════════════════════════════════════
   PLATFORM
   ═══════════════════════════════════════════ */
.platform {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.platform-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}
.platform-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}
.platform-text p:last-child { margin-bottom: 0; }


/* ── Flowchart ── */
.flowchart {
    background: var(--bg-card);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(10, 10, 20, 0.06);
}
.flowchart-header {
    padding: 14px 28px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-primary);
}
.flowchart-header-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.flowchart-header-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
}
.flowchart-header-status::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--green);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 170, 85, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(34, 170, 85, 0); }
}
.flowchart-body {
    padding: 48px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.flow-tier-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-align: center;
}

.flow-sources-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.flow-source-node {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-align: center;
    padding: 10px 16px;
    border: 1px solid var(--border);
    background: var(--bg-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.flow-source-node svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.flow-source-node:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
    box-shadow: 0 4px 16px rgba(10, 10, 20, 0.08);
    transform: translateY(-2px);
}
.flow-source-node:hover svg {
    color: var(--text-primary);
}

.flow-vline {
    width: 1px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    background: none;
}
.flow-vline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        var(--border) 0px,
        var(--border) 5px,
        transparent 5px,
        transparent 9px
    );
    animation: dashScroll 0.8s linear infinite;
}
@keyframes dashScroll {
    to { transform: translateY(9px); }
}
.flow-vline-short { height: 40px; }
.flow-vline-med { height: 48px; }

.flow-vline .flow-dot {
    position: absolute;
    left: -4px;
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(10, 10, 20, 0.2);
    z-index: 1;
    animation: flowDown 2s ease-in-out infinite;
}
@keyframes flowDown {
    0% { top: -4px; opacity: 0; transform: scale(0.6); }
    15% { opacity: 1; transform: scale(1); }
    85% { opacity: 1; transform: scale(1); }
    100% { top: calc(100% - 5px); opacity: 0; transform: scale(0.6); }
}

.flow-merge {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    position: relative;
}
.flow-merge svg { width: 400px; height: 48px; }
.flow-merge-line {
    stroke: var(--border);
    fill: none;
    stroke-width: 1;
    stroke-dasharray: 5 4;
    animation: mergeFlow 1.2s linear infinite;
}
@keyframes mergeFlow {
    to { stroke-dashoffset: -27; }
}

.flow-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-width: 240px;
    padding: 24px 40px;
    text-align: center;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    position: relative;
    transition: box-shadow 0.4s ease;
}
.flow-hub::before {
    content: '';
    position: absolute;
    inset: -7px;
    border: 1px solid var(--border);
    opacity: 0.6;
    animation: hubPulse 3s ease-in-out infinite;
}
.flow-hub::after {
    content: '';
    position: absolute;
    inset: -13px;
    border: 1px solid var(--border);
    opacity: 0;
    animation: hubPulseOuter 3s ease-in-out infinite;
}
@keyframes hubPulse {
    0%, 100% { opacity: 0.6; inset: -7px; }
    50% { opacity: 0.2; inset: -10px; }
}
@keyframes hubPulseOuter {
    0%, 100% { opacity: 0; inset: -13px; }
    50% { opacity: 0.15; inset: -18px; }
}
.flow-hub-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
}
.flow-hub-sub {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 0.08em;
}

.flow-process-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.flow-process-node {
    text-align: center;
    padding: 20px 24px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    min-width: 160px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.flow-process-node:hover {
    border-color: var(--text-secondary);
    box-shadow: 0 6px 28px rgba(10, 10, 20, 0.08);
    transform: translateY(-3px);
}
.flow-process-icon {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    transition: color 0.3s ease, transform 0.3s ease;
}
.flow-process-node:hover .flow-process-icon {
    color: var(--text-primary);
    transform: scale(1.1);
}
.flow-process-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.flow-process-desc {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.flow-more-sources {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    width: 100%;
    text-align: center;
}


/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-it-works {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 56px;
}
.step {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
.step:hover {
    box-shadow: 0 8px 40px rgba(10, 10, 20, 0.06);
}
.step-number {
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--bg-secondary);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1;
}
.step-connector {
    position: absolute;
    top: 50%;
    right: -25px;
    width: 48px;
    height: 1px;
    background: var(--border);
}
.step:last-child .step-connector { display: none; }
.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   METRICS
   ═══════════════════════════════════════════ */
.metrics {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
}
.metric-value {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #f0f0f4;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terminal-text);
}


/* ═══════════════════════════════════════════
   SECTORS
   ═══════════════════════════════════════════ */
.sectors {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.sectors-header { margin-bottom: 64px; }
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.sector-card {
    background: var(--bg-card);
    padding: 40px 32px;
    transition: background 0.3s ease;
    position: relative;
}
.sector-card:hover { background: var(--bg-card-hover); }
.sector-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.sector-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.sector-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* ═══════════════════════════════════════════
   INTELLIGENCE / TERMINAL
   ═══════════════════════════════════════════ */
.intelligence {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.intelligence-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.terminal {
    background: #080812;
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 60px rgba(10, 10, 20, 0.12);
}
.terminal-header {
    background: #0d0d1a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-dark);
}
.terminal-dot { width: 9px; height: 9px; border-radius: 50%; }
.terminal-dot:nth-child(1) { background: var(--terminal-red); opacity: 0.5; }
.terminal-dot:nth-child(2) { background: var(--terminal-amber); opacity: 0.5; }
.terminal-dot:nth-child(3) { background: #27c93f; opacity: 0.5; }
.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--terminal-bg);
    letter-spacing: 0.1em;
    margin-left: auto;
}
.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.9;
    color: var(--terminal-text);
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
}
.terminal-body::-webkit-scrollbar { width: 4px; }
.terminal-body::-webkit-scrollbar-track { background: transparent; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 2px; }
.terminal-line { margin-bottom: 2px; }
.terminal-prompt { color: var(--terminal-blue); }
.terminal-query { color: var(--terminal-highlight); }
.terminal-response { color: var(--terminal-text); margin-top: 8px; margin-bottom: 16px; }
.terminal-response .highlight { color: var(--terminal-highlight); }
.terminal-response .green { color: var(--terminal-green); }
.terminal-response .amber { color: var(--terminal-amber); }
.terminal-response .red { color: var(--terminal-red); }
.terminal-response .line-reveal {
    opacity: 0;
    transform: translateY(4px);
    animation: lineIn 0.2s ease forwards;
}
@keyframes lineIn {
    to { opacity: 1; transform: translateY(0); }
}
.terminal-input-line {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
}
.terminal-input-prompt {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--terminal-blue);
    white-space: nowrap;
    flex-shrink: 0;
}
.terminal-input {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--terminal-highlight);
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
    caret-color: var(--terminal-blue);
}
.terminal-input::placeholder { color: #333348; }
.terminal-input:focus-visible { outline: none; }
.terminal-hint {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: #333348;
    padding: 10px 24px;
    border-top: 1px solid var(--border-dark);
    letter-spacing: 0.05em;
}


/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.testimonial:hover {
    box-shadow: 0 8px 40px rgba(10, 10, 20, 0.06);
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 24px;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    font-style: normal;
}
.testimonial-role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.faq-list {
    max-width: 800px;
    margin-top: 48px;
}
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
    border-top: 1px solid var(--border);
}
.faq-question {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-primary);
    transition: transform 0.3s ease;
}
.faq-icon::before {
    width: 14px;
    height: 1.5px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-icon::after {
    width: 1.5px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-answer {
    padding: 0 0 24px;
}
.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ═══════════════════════════════════════════
   COMPLIANCE BADGES
   ═══════════════════════════════════════════ */
.compliance {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}
.compliance-inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.compliance-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}
.compliance-badge-icon {
    color: var(--text-muted);
}
.compliance-badge-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.compliance-badge-desc {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ═══════════════════════════════════════════
   CTA / CONTACT FORM
   ═══════════════════════════════════════════ */
.cta {
    padding: 140px 0;
    border-top: 1px solid var(--border);
}
.cta-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.cta-content { padding-top: 20px; }
.cta-headline {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.cta-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group:last-child:not(:only-child) {
    margin-bottom: 20px;
}
.form-group label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.required { color: var(--terminal-red); }
.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 12px 16px;
    transition: border-color 0.2s ease;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--text-primary);
    outline: none;
}
.form-group input.error,
.form-group textarea.error {
    border-color: var(--terminal-red);
}
.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.form-success {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 60px 40px;
    text-align: center;
}
.form-success-icon { margin-bottom: 24px; }
.form-success-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.form-success-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 400px;
    margin: 0 auto;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand-name {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.footer-brand-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 24px;
}
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--text-primary); }
.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    gap: 16px;
}
.footer-copy,
.footer-location {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}
.footer-location { text-align: right; }

.footer-giant {
    font-family: var(--font-mono);
    font-size: clamp(5rem, 16vw, 14rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 0.9;
    color: var(--text-primary);
    margin-top: 64px;
    padding-bottom: 16px;
    overflow: hidden;
    user-select: none;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.footer-giant.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #f0f0f4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(10, 10, 20, 0.15);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--accent-hover);
}


/* ═══════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: var(--bg-dark);
    border-top: 1px solid var(--border-dark);
    padding: 20px 24px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cookie-text {
    font-size: 0.85rem;
    color: var(--terminal-text);
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}
.cookie-text a {
    color: var(--terminal-highlight);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-btn {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}
.cookie-btn-accept {
    background: #f0f0f4;
    color: var(--bg-dark);
}
.cookie-btn-accept:hover { background: #dddde4; }
.cookie-btn-decline {
    background: transparent;
    color: var(--terminal-text);
    border: 1px solid #2a2a44;
}
.cookie-btn-decline:hover {
    border-color: #4a4a64;
    color: var(--terminal-highlight);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .platform-intro { grid-template-columns: 1fr; gap: 48px; }
    .intelligence-layout { grid-template-columns: 1fr; gap: 48px; }
    .cta-layout { grid-template-columns: 1fr; gap: 48px; }
    .sectors-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .steps-grid { grid-template-columns: 1fr; gap: 24px; }
    .step-connector { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .compliance-inner { gap: 32px; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .nav-links { display: none; }
    .nav-cta.desktop { display: none; }
    .nav-mobile-toggle { display: flex; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-headline { font-size: clamp(1.8rem, 7vw, 3rem); }
    .hero-sub { font-size: 0.95rem; }
    .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .platform { padding: 80px 0; }
    .how-it-works { padding: 80px 0; }
    .sectors { padding: 80px 0; }
    .intelligence { padding: 80px 0; }
    .testimonials { padding: 80px 0; }
    .faq { padding: 80px 0; }
    .cta { padding: 80px 0; }
    .sectors-grid { grid-template-columns: 1fr; }
    .sector-card { padding: 28px 20px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .footer-location { text-align: center; }
    .terminal-body { font-size: 0.68rem; padding: 16px; min-height: 240px; max-height: 340px; }
    .terminal-input { font-size: 0.68rem; }
    .terminal-input-prompt { font-size: 0.68rem; }
    .flow-source-node { font-size: 0.55rem; padding: 8px 10px; gap: 5px; }
    .flow-source-node svg { width: 12px; height: 12px; }
    .flow-process-row { gap: 8px; }
    .flow-process-node { min-width: 100px; padding: 14px 12px; }
    .flow-process-title { font-size: 0.6rem; }
    .flow-process-desc { font-size: 0.5rem; }
    .flow-process-icon svg { width: 18px; height: 18px; }
    .flow-hub { min-width: 160px; padding: 18px 24px; }
    .flow-hub-label { font-size: 0.7rem; }
    .flow-hub-sub { font-size: 0.5rem; }
    .flowchart-body { padding: 28px 16px; }
    .flow-merge svg { width: 280px; }
    .flow-tier-label { font-size: 0.55rem; }
    .cta-headline { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .contact-form { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
    .trusted-logos { gap: 24px; }
    .trusted-logo { font-size: 0.85rem; }
    .compliance-inner { gap: 24px; }
    .compliance-badge { gap: 12px; }
    .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-headline { font-size: clamp(1.6rem, 8vw, 2.4rem); }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .flow-sources-row { gap: 6px; }
    .flow-source-node { font-size: 0.5rem; padding: 6px 8px; gap: 4px; }
    .flow-source-node svg { width: 10px; height: 10px; }
    .flow-process-row { flex-direction: column; align-items: center; gap: 8px; }
    .flow-process-node { min-width: unset; width: 100%; max-width: 220px; }
    .flow-hub { min-width: 140px; }
    .flow-merge svg { width: 200px; }
    .intelligence-layout { gap: 32px; }
    .section-subtitle { font-size: 0.9rem; }
    .metrics-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .metric-value { font-size: 1.8rem; }
    .compliance-inner { flex-direction: column; align-items: center; text-align: center; }
}
