/* ══════════════════════════════════════════════
   VESTIGIA LABS — Landing Page Stylesheet
   Institutional Navy — Aligned with Pitch Deck
   
   Color System:
   - Navy-Deep:    #08102B (background — dark navy derived from brand)
   - Navy-Brand:   #20275D (brand / pitch deck primary)
   - Glass:        rgba(32, 39, 93, 0.3) (navy-tinted cards)
   - Glass-hover:  rgba(32, 39, 93, 0.5)
   - Border:       rgba(255, 255, 255, 0.08)
   - Text-Primary: #FFFFFF (headlines)
   - Text-Body:    #D1D5DB (paragraphs)
   - Text-Muted:   #8892B0 (labels — blue-shifted for navy context)
   - Gold:         #D4A843 (primary action — institutional contrast)
   - Gold-Light:   #E8C56D
   - Cyan:         #64ffda (accent glow — forensic energy)
   ══════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    background-color: #08102B;
    font-size: 16px;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #08102B;
    background-image: radial-gradient(rgba(100, 120, 220, 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ─── TYPOGRAPHY ─── */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8em;
}

.icon-gold {
    stroke: #D4A843;
}

/* ─── BUTTONS (Premium) ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #D4A843 0%, #C49530 100%);
    color: #040816;
    box-shadow:
        0 2px 8px rgba(212, 168, 67, 0.3),
        0 0 0 1px rgba(212, 168, 67, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E8C56D 0%, #D4A843 100%);
    box-shadow:
        0 4px 20px rgba(212, 168, 67, 0.45),
        0 0 0 1px rgba(212, 168, 67, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        0 1px 4px rgba(212, 168, 67, 0.3),
        inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: rgba(212, 168, 67, 0.5);
    color: #D4A843;
    background: rgba(212, 168, 67, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: #D1D5DB;
    padding: 13px 20px;
}

.btn-ghost:hover {
    color: #D4A843;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
    border-radius: 12px;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    background: rgba(4, 8, 22, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(4, 8, 22, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.nav-logo-img:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: #D1D5DB;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #D4A843, #E8C56D);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-link:hover {
    color: #FFFFFF;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: #D1D5DB;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 108px 24px 56px;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, black 0%, transparent 70%);
}

/* Aurora glow — large diffused ambient light */
.hero-radial {
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1600px;
    height: 1200px;
    background:
        radial-gradient(ellipse 50% 40% at 35% 45%, rgba(100, 255, 218, 0.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 65% 40%, rgba(212, 168, 67, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(100, 255, 218, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: aurora-drift 12s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
    0% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(-48%) scale(1.05);
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, #08102B, transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-two-col {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    padding-left: 32px;
    min-width: 0;
    overflow: hidden;
}

/* ── Hero Workflow Diagram — vertical centering fix —– */
.hero-workflow {
    animation: fadeInRight 1s ease 0.5s both;
    align-self: center;
}

/* ═══════════════════════════════════════════════
   DECONSTRUCTION SPLIT-SCREEN
   ═══════════════════════════════════════════════ */
.deconstruct-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    height: 340px;
    font-size: 0.85em;
}

.decon-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.decon-panel+.decon-panel {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.decon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #52525B;
    margin-bottom: 4px;
}

.decon-step {
    color: #64ffda;
    font-weight: 800;
}

/* ─── Panel 01: Raw Source Doc ─── */
.decon-source {
    background: rgba(4, 8, 22, 0.7);
    min-width: 195px;
}

.decon-source-doc {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    overflow: hidden;
}

.raw-doc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.raw-doc-logo {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.raw-doc-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.raw-meta-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

.raw-doc-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.raw-text-block {
    line-height: 1.4;
}

.zh {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.02em;
    font-family: 'Noto Sans SC', sans-serif;
}

.zh-sm {
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.28);
}

.small-zh .zh {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.18);
}

.raw-text-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.raw-trow {
    height: 3px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
}

.raw-table {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    overflow: hidden;
}

.raw-table-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.raw-table-row:last-child {
    border-bottom: none;
}

.raw-table-highlight {
    background: rgba(239, 68, 68, 0.06);
}

.raw-tcell {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.25);
}

.raw-tcell-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.3);
}

.raw-tcell-num.warn {
    color: rgba(239, 68, 68, 0.6);
}

.raw-doc-footer {
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.2);
}

/* ─── Panel 02: AI Engine ─── */
.decon-process {
    background: rgba(4, 8, 22, 0.85);
    align-items: center;
    justify-content: center;
    min-width: 155px;
    padding: 16px 12px;
    position: relative;
}

.decon-process .decon-label {
    position: absolute;
    top: 16px;
    left: 12px;
}

/* Subtle arrows between panels */
.decon-process::before,
.decon-process::after {
    content: '→';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: rgba(100, 255, 218, 0.3);
    z-index: 5;
}

.decon-process::before {
    left: -12px;
}

.decon-process::after {
    right: -12px;
}

.decon-engine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: 20px;
}

.engine-core {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.engine-ring-1 {
    width: 72px;
    height: 72px;
    animation: ring-spin 6s linear infinite;
    border-color: rgba(100, 255, 218, 0.35);
    border-style: dashed;
}

.engine-ring-2 {
    width: 52px;
    height: 52px;
    animation: ring-spin 4s linear infinite reverse;
    border-color: rgba(212, 168, 67, 0.3);
}

.engine-ring-3 {
    width: 34px;
    height: 34px;
    animation: ring-spin 3s linear infinite;
    border-color: rgba(100, 255, 218, 0.2);
}

@keyframes ring-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.engine-center {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-icon {
    font-size: 1rem;
    color: #64ffda;
    filter: drop-shadow(0 0 6px rgba(100, 255, 218, 0.6));
    animation: icon-pulse 2s ease-in-out infinite;
}

@keyframes icon-pulse {

    0%,
    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 4px rgba(100, 255, 218, 0.4));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.8));
    }
}

.engine-agents {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.agent-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 3px 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: rgba(255, 255, 255, 0.5);
}

.agent-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: dot-blink 1.5s ease-in-out infinite;
}

.dot-green {
    background: #10B981;
}

.dot-teal {
    background: #64ffda;
    animation-delay: 0.3s;
}

.dot-gold {
    background: #D4A843;
    animation-delay: 0.6s;
}

.dot-red {
    background: #EF4444;
    animation-delay: 0.9s;
}

@keyframes dot-blink {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.engine-status {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.engine-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
}

.engine-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #64ffda, #D4A843);
    border-radius: 2px;
    animation: progress-sweep 3s ease-in-out infinite;
}

@keyframes progress-sweep {
    0% {
        width: 0%;
        opacity: 0.8;
    }

    70% {
        width: 100%;
        opacity: 1;
    }

    100% {
        width: 100%;
        opacity: 0.4;
    }
}

.engine-status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ─── Panel 03: Intelligence Output ─── */
.decon-output {
    background: rgba(8, 4, 12, 0.8);
    min-width: 195px;
}

.decon-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.result-verdict {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
}

.verdict-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 800;
    color: #EF4444;
    letter-spacing: 0.1em;
    text-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.verdict-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.4);
}

.result-flags {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.result-flag {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 7px;
    border-left: 2px solid transparent;
}

.flag-red {
    background: rgba(239, 68, 68, 0.06);
    border-left-color: rgba(239, 68, 68, 0.5);
}

.flag-amber {
    background: rgba(212, 168, 67, 0.06);
    border-left-color: rgba(212, 168, 67, 0.5);
}

.flag-icon {
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.flag-red .flag-icon {
    color: #EF4444;
}

.flag-amber .flag-icon {
    color: #D4A843;
}

.flag-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.flag-title {
    font-size: 0.67rem;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flag-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flag-severity {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    font-weight: 800;
    color: #EF4444;
    letter-spacing: 0.08em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 1px;
}

.flag-amber-txt {
    color: #D4A843;
}

.result-footer {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.result-delta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: #64ffda;
    letter-spacing: 0.04em;
}

.workflow-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 32px 100px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.workflow-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-title-center {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #D4A843;
    text-transform: uppercase;
}

.workflow-label-side {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(100, 255, 218, 0.5);
    text-transform: uppercase;
}

.workflow-svg {
    width: 100%;
    height: auto;
    display: block;
    padding: 8px 4px 4px;
}

/* Node pulse animations */
@keyframes node-pulse-gold {

    0%,
    100% {
        opacity: 1;
        r: 34;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes node-pulse-teal {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}

@keyframes node-pulse-blue {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

@keyframes node-pulse-orange {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.node-pulse-gold {
    animation: node-pulse-gold 3s ease-in-out infinite;
}

.node-pulse-teal {
    animation: node-pulse-teal 2.8s ease-in-out infinite 0.3s;
}

.node-pulse-blue {
    animation: node-pulse-blue 3.2s ease-in-out infinite 0.6s;
}

.node-pulse-orange {
    animation: node-pulse-orange 3s ease-in-out infinite 0.9s;
}

/* Flow line dash animation */
@keyframes dash {
    to {
        stroke-dashoffset: -20;
    }
}


/* ═══════════════════════════════════════════════
   DOCUMENT SCAN VISUALIZATION
   ═══════════════════════════════════════════════ */

/* Document container — clipping parent for the beams */
.scan-document {
    position: relative;
    overflow: hidden;
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Document heading row */
.doc-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-company {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.67rem;
    font-weight: 600;
    color: rgba(232, 236, 241, 0.85);
    letter-spacing: 0.01em;
}

.doc-page-ref {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(212, 168, 67, 0.65);
    white-space: nowrap;
    margin-left: 8px;
}

/* Normal data rows */
.doc-data-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    position: relative;
    gap: 8px;
}

.doc-line-placeholder {
    height: 5px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 2px;
    flex-shrink: 0;
}

.doc-figure {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: rgba(154, 163, 184, 0.65);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Flagged rows */
.doc-flagged {
    border-radius: 5px;
    padding: 6px 10px;
    margin: 3px -10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.doc-flagged-red {
    background: rgba(239, 68, 68, 0.07);
    border-left: 2px solid #EF4444;
}

.doc-flagged-warn {
    background: rgba(240, 180, 41, 0.06);
    border-left: 2px solid #F0B429;
}

.doc-flag-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.67rem;
    font-weight: 600;
    white-space: nowrap;
}

.doc-flagged-red .doc-flag-text {
    color: #EF4444;
}

.doc-flagged-warn .doc-flag-text {
    color: #F0B429;
}

.doc-flag-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.18);
}

.badge-warn {
    background: rgba(240, 180, 41, 0.1);
    color: #F0B429;
    border: 1px solid rgba(240, 180, 41, 0.18);
}

/* Footnotes */
.doc-footnote-section {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.doc-fn-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 2px;
}

/* ── Scan Beams ── */
.scan-beam {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 10;
    pointer-events: none;
}

.scan-beam::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 36px;
    top: -17px;
    opacity: 0.07;
    border-radius: 50%;
    background: inherit;
    filter: blur(10px);
}

.scan-beam-white {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.06) 20%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.06) 80%, transparent 100%);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4), 0 0 28px rgba(255, 255, 255, 0.12);
    animation: scan-sweep 4.5s ease-in-out infinite;
}

@keyframes scan-sweep {
    0% {
        top: 0%;
    }

    50% {
        top: calc(100% - 2px);
    }

    100% {
        top: 0%;
    }
}

/* Beam agent labels */
.beam-agent-label {
    position: absolute;
    right: 6px;
    top: -11px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0.95;
}

.beam-label-gold {
    background: rgba(212, 168, 67, 0.12);
    color: #D4A843;
    border: 1px solid rgba(212, 168, 67, 0.25);
}

.beam-label-teal {
    background: rgba(100, 255, 218, 0.08);
    color: #64ffda;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.beam-label-blue {
    background: rgba(108, 182, 255, 0.08);
    color: #6CB6FF;
    border: 1px solid rgba(108, 182, 255, 0.2);
}

.beam-label-purple {
    background: rgba(167, 139, 250, 0.08);
    color: #A78BFA;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

/* Status bar */
.scan-status-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    background: rgba(0, 0, 0, 0.18);
}

.status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: rgba(106, 116, 144, 0.85);
    flex: 1;
}

.status-verdict {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: 0.08em;
}

.verdict-high {
    background: rgba(239, 68, 68, 0.08);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.18);
    animation: verdict-pulse 2.5s ease-in-out infinite;
}

@keyframes verdict-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #D4A843;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease forwards;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #64ffda;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.4);
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 800;
    line-height: 1.06;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.1s both;
    opacity: 0;
    letter-spacing: -0.03em;
    color: #FFFFFF;
}

.hero-line {
    display: block;
}

.hero-line-gold {
    color: #D4A843;
}



@keyframes shimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 300% center;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #D1D5DB;
    max-width: 600px;
    margin-bottom: 44px;
    animation: fadeInUp 0.8s ease 0.2s both;
    opacity: 0;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
    opacity: 0;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 36px;
    animation: fadeInUp 0.8s ease 0.4s both;
    opacity: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.7rem;
    font-weight: 700;
    color: #FFFFFF;
}

.metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #52525B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-divider {
    width: 1px;
    height: 44px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* ─── Hero Terminal Preview ─── */
.hero-terminal-preview {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 520px;
    animation: fadeInRight 1s ease 0.5s forwards;
    opacity: 0;
    z-index: 1;
}

.terminal-window {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

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

.dot-red {
    background: #FF5F57;
}

.dot-yellow {
    background: #FEBC2E;
}

.dot-green {
    background: #28C840;
}

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    color: #52525B;
    margin-left: auto;
    letter-spacing: 0.02em;
}

.terminal-body {
    padding: 22px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.76rem;
    line-height: 1.9;
}

.terminal-line {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.t-prompt {
    color: #64ffda;
}

.t-cmd {
    color: #FFFFFF;
    font-weight: 600;
}

.t-arg {
    color: #6CB6FF;
}

.t-flag {
    color: #9B8CFF;
}

.t-system {
    color: #64ffda;
}

.t-info {
    color: #D1D5DB;
}

.t-warn {
    color: #F0B429;
}

.t-warning {
    color: #F0B429;
}

.t-alert {
    color: #EF4444;
}

.t-danger {
    color: #EF4444;
    font-weight: 500;
}

.t-gold {
    color: #D4A843;
}

.t-verdict {
    color: #D4A843;
    font-weight: 700;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #64ffda;
    margin-top: 4px;
    animation: blink 1s step-end infinite;
    border-radius: 1px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Terminal line animations */
.t-fade-1 {
    animation: fadeIn 0.3s ease 0.8s forwards;
    opacity: 0;
}

.t-fade-2 {
    animation: fadeIn 0.3s ease 1.2s forwards;
    opacity: 0;
}

.t-fade-3 {
    animation: fadeIn 0.3s ease 1.6s forwards;
    opacity: 0;
}

.t-fade-4 {
    animation: fadeIn 0.3s ease 2.0s forwards;
    opacity: 0;
}

.t-fade-5 {
    animation: fadeIn 0.3s ease 2.4s forwards;
    opacity: 0;
}

.t-fade-6 {
    animation: fadeIn 0.3s ease 2.8s forwards;
    opacity: 0;
}

.t-fade-7 {
    animation: fadeIn 0.3s ease 3.2s forwards;
    opacity: 0;
}

.t-fade-8 {
    animation: fadeIn 0.3s ease 3.6s forwards;
    opacity: 0;
}

.t-fade-9 {
    animation: fadeIn 0.3s ease 4.0s forwards;
    opacity: 0;
}

.t-fade-10 {
    animation: fadeIn 0.3s ease 4.4s forwards;
    opacity: 0;
}

.t-fade-11 {
    animation: fadeIn 0.3s ease 4.8s forwards;
    opacity: 0;
}

.t-fade-12 {
    animation: fadeIn 0.3s ease 5.2s forwards;
    opacity: 0;
}

.t-success {
    color: #10B981;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ═══════════════════════════════════════════════
   EXCHANGE COVERAGE
   ═══════════════════════════════════════════════ */
.exchange-section {
    padding: 80px 24px 70px;
    background: rgba(0, 0, 0, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Hero Header */
.exc-hero {
    text-align: center;
    margin-bottom: 72px;
}

.exc-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 24px;
    padding-bottom: 4px;
    background: linear-gradient(135deg, #FFFFFF 0%, #D4A843 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-title 6s linear infinite;
}

@keyframes shimmer-title {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.exc-desc {
    font-size: 1.05rem;
    color: #D1D5DB;
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

/* 3-Column Grid */
.exc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1060px;
    margin: 0 auto;
}

/* Base Card */
.exc-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active Card (HKEX) */
.exc-card-active {
    border-color: rgba(212, 168, 67, 0.25);
    background: rgba(212, 168, 67, 0.04);
    box-shadow:
        0 0 50px rgba(212, 168, 67, 0.08),
        0 0 0 1px rgba(212, 168, 67, 0.08);
}

.exc-card-active:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(212, 168, 67, 0.1),
        0 0 0 1px rgba(212, 168, 67, 0.18);
}

/* Ghost Card (SSE, SZSE) */
.exc-card-ghost {
    opacity: 0.5;
}

.exc-card-ghost:hover {
    opacity: 0.7;
    transform: translateY(-4px);
}

/* Pill Badges */
.exc-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 8px;
}

.exc-pill-live {
    color: #10B981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.exc-pill-dev {
    color: #D1D5DB;
    background: rgba(107, 114, 128, 0.08);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

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

.exc-dot-live {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    }

    50% {
        box-shadow: 0 0 18px rgba(16, 185, 129, 0.9);
    }
}

.exc-dot-dev {
    background: #D1D5DB;
}

/* Logo Container */
.exc-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 8px 0;
}

.exc-logo {
    height: 110px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Card Info */
.exc-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
}

.exc-card-detail {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: #D1D5DB;
    letter-spacing: 0.02em;
}

.exc-card-ghost .exc-card-detail {
    color: #52525B;
}

/* Active Card Text */
.exc-info-active .exc-card-detail {
    color: #E4E4E7;
}

.exc-info-active .exc-card-detail strong {
    color: #FFFFFF;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════
   SECTIONS — General
   ═══════════════════════════════════════════════ */
.section {
    padding: 56px 24px;
    position: relative;
}

.section-alt {
    background: rgba(32, 39, 93, 0.18);
    border-top: 1px solid rgba(100, 120, 220, 0.1);
    border-bottom: 1px solid rgba(100, 120, 220, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #64ffda;
    background: rgba(100, 255, 218, 0.06);
    border: 1px solid rgba(100, 255, 218, 0.12);
    padding: 7px 18px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(135deg, #FFFFFF 0%, #D4A843 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer-title 6s linear infinite;
}

.section-subtitle {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #D1D5DB;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ═══════════════════════════════════════════════
   PIPELINE GRID
   ═══════════════════════════════════════════════ */
.pipeline-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
}

.pipeline-card {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 24px 28px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pipeline-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pipeline-card-img {
    width: auto;
    height: auto;
    max-width: 68%;
    max-height: 88%;
    display: block;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: invert(1) hue-rotate(180deg) brightness(1.1);
}

#workflow-img,
#swarm-img {
    max-width: 82%;
    max-height: 100%;
    filter: invert(1) hue-rotate(180deg) brightness(1.3) contrast(1.2);
}

.pipeline-card:hover .pipeline-card-img {
    transform: scale(1.05);
}

.pipeline-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 168, 67, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.pipeline-card h3 {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 8px;
    font-weight: 700;
}

.pipeline-card p {
    font-size: 0.8rem;
    color: #D1D5DB;
    line-height: 1.5;
}

.pipeline-step {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(212, 168, 67, 0.8);
    letter-spacing: -0.02em;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.pipeline-phase {
    display: inline-block;
    margin-top: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #D4A843;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 5px;
}

.pipeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   PLATFORM GRID
   ═══════════════════════════════════════════════ */
.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.platform-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(212, 168, 67, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.platform-card h3 {
    font-size: 1.2rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    font-weight: 700;
}

.platform-card p {
    font-size: 0.9rem;
    color: #D1D5DB;
    line-height: 1.65;
}

.platform-card-main {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(212, 168, 67, 0.1);
}

.card-icon-lg {
    margin-bottom: 22px;
}

.card-icon {
    margin-bottom: 18px;
}

/* Pipeline Phases */
.pipeline-phases {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.phase {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(100, 255, 218, 0.04);
    border: 1px solid rgba(100, 255, 218, 0.08);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.phase:hover {
    border-color: rgba(100, 255, 218, 0.2);
}

.phase-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #64ffda;
    font-weight: 700;
}

.phase-name {
    font-size: 0.78rem;
    color: #D1D5DB;
    font-weight: 500;
}

.phase-arrow {
    color: rgba(255, 255, 255, 0.12);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════════════
   CAPABILITIES GRID
   ═══════════════════════════════════════════════ */
/* Engine Terminal */
.engine-terminal-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 48px auto 64px auto;
    border-radius: 16px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(212, 168, 67, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    /* Removed overflow: hidden so box-shadows on terminal render correctly if needed */
}

.engine-terminal-wrapper .terminal-window {
    width: 100%;
}

/* Capabilities Base */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 3-Card Variant */
.capabilities-grid-3 {
    gap: 28px;
}

/* 2x2 Variant */
.capabilities-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.capability-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.capability-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 168, 67, 0.04);
    background: rgba(255, 255, 255, 0.06);
}

.cap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cap-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
}

.cap-icon-red {
    background: rgba(239, 68, 68, 0.08);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.cap-icon-amber {
    background: rgba(212, 168, 67, 0.08);
    color: #D4A843;
    border: 1px solid rgba(212, 168, 67, 0.2);
}

.cap-icon-green {
    background: rgba(16, 185, 129, 0.08);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.cap-icon-blue {
    background: rgba(108, 182, 255, 0.08);
    color: #6CB6FF;
    border: 1px solid rgba(108, 182, 255, 0.15);
}

.cap-icon-purple {
    background: rgba(155, 140, 255, 0.08);
    color: #9B8CFF;
    border: 1px solid rgba(155, 140, 255, 0.15);
}

.cap-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #52525B;
    background: rgba(255, 255, 255, 0.04);
    padding: 5px 12px;
    border-radius: 6px;
}

.capability-card h3 {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 6px;
    font-weight: 700;
}

.capability-card p {
    font-size: 0.78rem;
    color: #D1D5DB;
    line-height: 1.5;
    flex: 1;
}

.cap-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cap-footer code {
    color: #52525B;
    font-size: 0.72rem;
}

.cap-highlight {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #D4A843;
}

/* ═══════════════════════════════════════════════
   AMBIENT GLOW — Aurora spotlights on key sections
   ═══════════════════════════════════════════════ */
#analysis::before,
#capabilities::before,
#architecture::before,
#coverage::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

#analysis::before {
    top: -100px;
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(212, 168, 67, 0.06) 0%, transparent 65%);
}

#capabilities::before {
    top: -200px;
    width: 1400px;
    height: 900px;
    background:
        radial-gradient(ellipse 50% 50% at 30% 50%, rgba(100, 255, 218, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 70% 45%, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
    filter: blur(40px);
}

#architecture::before {
    top: -100px;
    width: 1200px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(100, 255, 218, 0.06) 0%, transparent 65%);
    filter: blur(30px);
}

#coverage::before {
    top: -150px;
    width: 1200px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(212, 168, 67, 0.05) 0%, transparent 60%);
    filter: blur(40px);
}

/* ═══════════════════════════════════════════════
   ARCHITECTURE GRID
   ═══════════════════════════════════════════════ */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.arch-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.arch-card:hover {
    border-color: rgba(100, 255, 218, 0.2);
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(100, 255, 218, 0.03);
    background: rgba(255, 255, 255, 0.06);
}

.arch-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64ffda;
    margin-bottom: 16px;
    opacity: 0.8;
}

.arch-card h4 {
    font-size: 1.05rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: 700;
}

.arch-card p {
    font-size: 0.85rem;
    color: #D1D5DB;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   TEAM SECTION
   ═══════════════════════════════════════════════ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    border-color: rgba(212, 168, 67, 0.2);
    transform: translateY(-6px);
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(212, 168, 67, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.team-photo-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.team-card:hover .team-photo-wrapper {
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(212, 168, 67, 0.08);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
}

.team-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-name {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.team-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64ffda;
    margin-bottom: 20px;
}

.team-credentials {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-credentials li {
    font-size: 0.82rem;
    color: #D1D5DB;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
    text-align: left;
}

.team-credentials li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #D4A843;
    font-weight: 700;
    font-size: 1.2em;
}

/* ═══════════════════════════════════════════════
   TERMINAL SHOWCASE
   ═══════════════════════════════════════════════ */
.terminal-showcase {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    max-height: 52vh;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
}

.showcase-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-tab {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #52525B;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.showcase-tab:hover {
    color: #D1D5DB;
    background: rgba(255, 255, 255, 0.03);
}

.showcase-tab.active {
    color: #64ffda;
    border-bottom-color: #64ffda;
    background: rgba(100, 255, 218, 0.03);
}

.tab-icon {
    font-size: 0.85rem;
}

.showcase-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    position: relative;
    -ms-overflow-style: none;
}

.showcase-content::-webkit-scrollbar {
    display: none;
}

/* Fade illusion — visually invites scroll */
.terminal-showcase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(4, 8, 18, 0.9), transparent);
    pointer-events: none;
    z-index: 10;
    border-radius: 0 0 16px 16px;
}

.showcase-panel {
    display: none;
    padding: 40px 44px;
    animation: panelFade 0.35s ease;
}

.showcase-panel.active {
    display: block;
}

@keyframes panelFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Summary Panel ─── */
.panel-verdict {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.verdict-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 6px;
    letter-spacing: 0.06em;
}

.verdict-high {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.verdict-ticker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: #D1D5DB;
}

.panel-body {
    max-width: 700px;
}

.panel-text {
    font-size: 0.9rem;
    color: #D1D5DB;
    line-height: 1.75;
    margin-bottom: 22px;
}

.panel-text strong {
    color: #FFFFFF;
    font-weight: 600;
}

.panel-citations {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.citation {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    color: #D4A843;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.12);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 500;
}

/* ─── Forensic Panel ─── */
.panel-mscore {
    margin-bottom: 28px;
}

.mscore-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mscore-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #D1D5DB;
    font-weight: 600;
}

.mscore-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
}

.mscore-danger {
    color: #EF4444;
}

.mscore-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.mscore-fill {
    height: 100%;
    background: linear-gradient(90deg, #10B981 0%, #F0B429 50%, #EF4444 100%);
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mscore-threshold {
    position: absolute;
    top: -4px;
    left: 60%;
    width: 2px;
    height: 16px;
    background: #FFFFFF;
    border-radius: 1px;
}

.mscore-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: #52525B;
}

.mscore-thresh-label {
    color: #D1D5DB;
}

.panel-variables {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.variable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.var-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #D1D5DB;
    font-weight: 600;
}

.var-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
}

.var-danger {
    color: #EF4444;
}

.var-warn {
    color: #F0B429;
}

.var-safe {
    color: #10B981;
}

/* ─── Forensic Panel Sections ─── */
.panel-section-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 28px 0;
}

.panel-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    color: #D1D5DB;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Sloan Accruals Gauge */
.sloan-gauge {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
}

.sloan-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
}

.sloan-safe {
    color: #10B981;
}

.sloan-elevated {
    color: #F0B429;
}

.sloan-danger {
    color: #EF4444;
}

.sloan-verdict {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 5px;
    letter-spacing: 0.05em;
}

.sloan-verdict-safe {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sloan-bar {
    margin-bottom: 10px;
}

.sloan-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 4px;
    position: relative;
}

.sloan-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sloan-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    color: #52525B;
}

.sloan-note {
    font-size: 0.82rem;
    color: #52525B;
    margin-top: 6px;
}

/* DSRI Warning Callout */
.panel-callout {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #F87171;
    line-height: 1.5;
    font-family: 'JetBrains Mono', monospace;
}

.panel-callout-safe {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: #6EE7B7;
}

/* Auditor Badge */
.auditor-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #D1D5DB;
}

.auditor-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    letter-spacing: 0.06em;
}

/* ─── Summary Panel Sections ─── */
.summary-sections {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.summary-block {
    border-left: 3px solid rgba(212, 168, 67, 0.4);
    padding-left: 20px;
}

.summary-block-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #D4A843;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.summary-block-danger {
    border-left-color: rgba(239, 68, 68, 0.5);
}

.summary-block-danger .summary-block-title {
    color: #EF4444;
}

.institutional-desk {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 8px;
}

.desk-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #D4D4D8;
}

.desk-row:last-child {
    margin-bottom: 0;
}

.desk-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #D1D5DB;
    min-width: 110px;
    flex-shrink: 0;
}

.desk-value-danger {
    color: #EF4444;
    font-weight: 600;
}

/* ─── Asymmetry Panel ─── */
.ghost-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.ghost-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: rgba(239, 68, 68, 0.04);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.ghost-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #EF4444;
    letter-spacing: 0.08em;
}

.ghost-severity {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.66rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 5px;
}

.ghost-high {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.ghost-body {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    padding: 22px;
    align-items: start;
}

.ghost-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    color: #52525B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}

.ghost-lang p {
    font-size: 0.85rem;
    color: #D1D5DB;
    line-height: 1.65;
}

.ghost-lang p strong {
    color: #EF4444;
}

.ghost-divider {
    display: flex;
    align-items: center;
    padding-top: 24px;
}

.ghost-arrow {
    color: #EF4444;
    font-size: 1.5rem;
}

.ghost-missing p {
    color: #52525B;
    font-style: italic;
}

.ghost-absent {
    color: #EF4444 !important;
    font-style: normal !important;
}

.ghost-tag {
    padding: 14px 22px;
    background: rgba(212, 168, 67, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #D4A843;
    font-weight: 600;
}

/* ─── Integrity Panel ─── */
.integrity-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.integrity-row {
    display: grid;
    grid-template-columns: 1fr 120px 100px 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
}

.int-label {
    color: #D1D5DB;
}

.int-val {
    color: #FFFFFF;
    font-weight: 600;
    text-align: right;
}

.int-check {
    font-weight: 700;
    text-align: center;
}

.int-match {
    color: #10B981;
}

.int-mismatch {
    color: #EF4444;
}

.int-ref {
    color: #52525B;
    font-size: 0.7rem;
}

/* ─── Footnotes Panel ─── */
.footnote-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}

.filter-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 7px 18px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: #52525B;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-pill:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
}

.filter-pill.active {
    border-color: rgba(100, 255, 218, 0.3);
    color: #64ffda;
    background: rgba(100, 255, 218, 0.06);
}

.footnote-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footnote-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: border-color 0.25s ease;
}

.footnote-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.fn-severity {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.fn-high {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.fn-med {
    background: rgba(240, 180, 41, 0.1);
    color: #F0B429;
}

.fn-low {
    background: rgba(108, 182, 255, 0.1);
    color: #6CB6FF;
}

.fn-text {
    font-size: 0.85rem;
    color: #D1D5DB;
    line-height: 1.4;
}

.fn-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #D4A843;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    font-weight: 600;
}

.fn-link:hover {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.section-cta {
    background: linear-gradient(180deg, #08102B 0%, #20275D 50%, #08102B 100%);
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

/* ─── Institutional Waitlist Form ─── */
.access-form {
    max-width: 560px;
    margin: 0 auto 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: #A1A1AA;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 13px 16px;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #FFFFFF;
    width: 100%;
    transition: all 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: #3F3F46;
}

.form-input:focus {
    border-color: rgba(212, 168, 67, 0.5);
    background: rgba(212, 168, 67, 0.04);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.08);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2352525B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: #0a1128;
    color: #D1D5DB;
}

.form-submit {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}

.form-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.form-success {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 4px;
}

.form-success-icon {
    font-size: 1.2rem;
    color: #10B981;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-success strong {
    display: block;
    color: #FFFFFF;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.form-success p {
    color: #D1D5DB;
    font-size: 0.85rem;
    line-height: 1.5;
}

.form-error {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.85rem;
    color: #F87171;
    margin-top: 4px;
}

.form-error a {
    color: #D4A843;
    text-decoration: underline;
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.04) 0%, rgba(100, 255, 218, 0.02) 30%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-logo {
    margin-bottom: 32px;
}

.cta-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.25;
}

.cta-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 22px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #FFFFFF 0%, #D4A843 50%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    animation: shimmer-title 6s linear infinite;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: #D1D5DB;
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto 44px;
    font-weight: 400;
}

.cta-actions {
    margin-bottom: 32px;
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: #52525B;
    letter-spacing: 0.02em;
}

.cta-note-icon {
    color: #64ffda;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 24px 40px;
    background: rgba(0, 0, 0, 0.15);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-full {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.footer-desc {
    font-size: 0.85rem;
    color: #52525B;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: #D1D5DB;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.85rem;
    color: #52525B;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: #D4A843;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.76rem;
    color: #52525B;
}

.footer-tagline {
    font-style: italic;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem !important;
    color: #3F3F46 !important;
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero {
        padding-top: 100px;
    }

    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-workflow {
        animation: fadeInUp 1s ease 0.5s forwards;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 20px;
    }

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

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

    .ghost-body {
        grid-template-columns: 1fr;
    }

    .ghost-divider {
        transform: rotate(90deg);
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    /* ─── PIPELINE (Architecture) ─── */
    .pipeline-grid {
        flex-direction: column;
        gap: 0;
    }

    .pipeline-connector {
        width: 100%;
        height: 40px;
        transform: rotate(90deg);
    }

    /* ─── NAVIGATION ─── */
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    /* ─── EXCHANGE COVERAGE ─── */
    .exc-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    /* ─── HERO ─── */
    .hero {
        padding: 90px 16px 48px;
        min-height: auto;
        align-items: flex-start;
    }

    .hero-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 1rem;
    }

    /* Hero workflow diagram — scaled to fit, clipped within explicit height */
    .hero-workflow {
        display: block;
        width: 100%;
        overflow: hidden;
        height: 178px; /* 340px * 0.52 = 177px */
    }

    .hero-workflow .deconstruct-wrap {
        width: 680px;
        min-width: unset;
        transform: scale(0.52);
        transform-origin: top left;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.4rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }

    .hero-metrics {
        flex-direction: column;
        align-items: flex-start;
    }

    .metric-divider {
        display: none;
    }

    /* ─── SECTION TITLES ─── */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .exc-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .cta-title {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    /* ─── GRIDS ─── */
    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-card-main {
        grid-column: span 1;
    }

    .capabilities-grid,
    .capabilities-grid-2 {
        grid-template-columns: 1fr;
    }

    .arch-grid {
        grid-template-columns: 1fr;
    }

    /* ─── PIPELINE PHASES ─── */
    .pipeline-phases {
        flex-direction: column;
    }

    .phase-arrow {
        transform: rotate(90deg);
    }

    /* ─── SHOWCASE TABS: wrap instead of scroll ─── */
    .showcase-tabs {
        flex-wrap: wrap;
        overflow-x: unset;
    }

    .showcase-tab {
        flex: 1 1 50%;
        padding: 10px 12px;
        font-size: 0.68rem;
        min-width: 0;
    }

    /* ─── ANALYSIS PANEL INTERNALS ─── */
    .panel-variables {
        grid-template-columns: repeat(2, 1fr);
    }

    .integrity-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .int-ref {
        grid-column: span 2;
    }

    /* ─── FOOTER ─── */
    .footer-inner {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* ─── GENERAL SECTION PADDING ─── */
    .section {
        padding: 56px 16px;
    }

    /* ─── HIDE FLOATING UI ON MOBILE ─── */
    .hero-scroll-indicator,
    .scroll-indicator,
    [class*='scroll-indicator'],
    [class*='floating'] {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 7vw, 2rem);
    }

    .exc-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .cta-title {
        font-size: clamp(1.5rem, 8vw, 1.9rem);
    }

    .trust-items {
        gap: 20px;
    }

    /* Force showcase tabs to full width rows on tiny screens */
    .showcase-tab {
        flex: 1 1 100%;
    }

    /* Tighten section padding further */
    .section {
        padding: 48px 14px;
    }

    /* Ensure form fits screen */
    .access-form {
        padding: 0;
    }

    .form-input {
        font-size: 16px;
        /* prevents iOS zoom on input focus */
    }
}