@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Neue';
  src: url('/fonts/helvetica-neue-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bank Gothic';
  src: url('/fonts/bank-gothic-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
      --bg-canvas: #07090e;
      --bg-surface: #0e1320;
      --bg-card: #121826;
      --bg-card-hover: #172033;
      --bg-recessed: #05070c;

      --border-subtle: rgba(255, 255, 255, 0.06);
      --border-card: rgba(255, 255, 255, 0.12);
      --border-highlight: rgba(255, 255, 255, 0.22);
      --border-active: #00f0b5;

      --shadow-elevated: 
        0 0 0 1px var(--border-card),
        0 4px 8px rgba(0, 0, 0, 0.5),
        0 16px 36px -4px rgba(0, 0, 0, 0.7),
        0 32px 64px -12px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 var(--border-highlight);

      --shadow-card:
        0 0 0 1px var(--border-card),
        0 3px 6px rgba(0, 0, 0, 0.4),
        0 10px 20px -2px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 var(--border-highlight);

      --shadow-recessed:
        inset 0 2px 8px rgba(0, 0, 0, 0.7),
        0 0 0 1px var(--border-subtle);

      --text-primary: #ffffff;
      --text-secondary: #94a3b8;
      --text-muted: #64748b;

      --accent-mint: #00f0b5;
      --accent-cyan: #38bdf8;
      --accent-amber: #fbbf24;
      --accent-red: #fb7185;
      --accent-emerald: #10b981;

      --font-sans: 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      --font-display: 'Bank Gothic', 'Helvetica Neue', -apple-system, sans-serif;
      --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    }

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

    html, body {
      background-color: #07090e;
      background-image: 
        radial-gradient(ellipse 120% 70% at 50% -10%, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.25) 40%, transparent 80%),
        radial-gradient(circle 650px at 85% 20%, rgba(0, 240, 181, 0.05) 0%, transparent 70%),
        radial-gradient(circle 750px at 15% 55%, rgba(56, 189, 248, 0.04) 0%, transparent 70%),
        linear-gradient(180deg, #0a0e18 0%, #07090e 45%, #05070c 100%);
      background-attachment: fixed;
      color: var(--text-primary);
      font-family: var(--font-sans);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Ambient Lighting & Depth */
    .horizon-beam {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 1200px;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 181, 0.3) 25%, rgba(56, 189, 248, 0.5) 50%, rgba(168, 85, 247, 0.3) 75%, transparent 100%);
      box-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
      pointer-events: none;
      z-index: 101;
    }

    .ambient-glow-hero {
      position: absolute;
      top: -140px;
      left: 50%;
      transform: translateX(-50%);
      width: 900px;
      height: 480px;
      background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.12) 0%, rgba(99, 102, 241, 0.06) 35%, transparent 70%);
      filter: blur(80px);
      pointer-events: none;
      z-index: 0;
    }

    .ambient-glow-card {
      position: absolute;
      top: 420px;
      right: 5%;
      width: 550px;
      height: 450px;
      background: radial-gradient(circle, rgba(0, 240, 181, 0.05) 0%, transparent 70%);
      filter: blur(90px);
      pointer-events: none;
      z-index: 0;
    }

    .canvas-mesh {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1200px;
      background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, black 30%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 15%, black 30%, transparent 80%);
      pointer-events: none;
      z-index: 0;
    }

    .canvas-grid {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 900px;
      background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: radial-gradient(ellipse 75% 55% at 50% 10%, black 25%, transparent 80%);
      -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 10%, black 25%, transparent 80%);
      pointer-events: none;
      z-index: 0;
    }

    .layout {
      position: relative;
      z-index: 1;
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Navbar */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(7, 9, 14, 0.85);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border-subtle);
      margin-bottom: 40px;
    }

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

    .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--text-primary);
    }

    .brand-glyph {
      width: 32px;
      height: 32px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-card);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-mint);
    }

    .brand-text-col {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .brand-title {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: #ffffff;
    }

    .brand-mint {
      color: var(--accent-mint);
    }

    .brand-sub {
      font-family: var(--font-sans);
      font-size: 0.62rem;
      color: var(--text-muted);
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-top: 2px;
    }

    .nav-status {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-subtle);
      padding: 5px 12px;
      border-radius: 999px;
      font-family: var(--font-sans);
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--text-secondary);
    }

    .status-indicator {
      width: 6px;
      height: 6px;
      background: var(--accent-emerald);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent-emerald);
    }

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

    .btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-card);
      color: var(--text-secondary);
      padding: 7px 13px;
      border-radius: 6px;
      font-size: 0.82rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.15s ease;
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.25);
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--accent-mint);
      color: #07090e;
      padding: 7px 15px;
      border-radius: 6px;
      font-size: 0.82rem;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.15s ease;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 4px 14px rgba(0, 240, 181, 0.3);
    }

    .btn-primary:hover {
      background: #1affc2;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 240, 181, 0.45);
    }

    /* Hero */
    .hero-section {
      text-align: center;
      padding: 20px 0 28px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--accent-mint);
      background: rgba(0, 240, 181, 0.06);
      border: 1px solid rgba(0, 240, 181, 0.22);
      padding: 4px 12px;
      border-radius: 999px;
      margin-bottom: 20px;
    }

    .badge-tag {
      color: #ffffff;
      font-weight: 700;
    }

    .badge-divider {
      width: 3px;
      height: 3px;
      background: rgba(0, 240, 181, 0.4);
      border-radius: 50%;
    }

    .hero-headline {
      font-size: 3.1rem;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.12;
      max-width: 860px;
      margin: 0 auto 16px;
      background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-description {
      font-size: 1.05rem;
      color: var(--text-secondary);
      line-height: 1.6;
      max-width: 680px;
      margin: 0 auto;
    }

    /* KPI Grid (Elevated Cards, explicitly text-align: left) */
    .kpi-section {
      margin: 36px 0 36px;
    }

    .kpi-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .kpi-card {
      background: var(--bg-card);
      border-radius: 10px;
      padding: 16px 20px;
      box-shadow: var(--shadow-card);
      text-align: left;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .kpi-card:hover {
      transform: translateY(-2px);
      box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.4),
        0 14px 28px -2px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .kpi-label {
      font-family: var(--font-sans);
      font-size: 0.72rem;
      font-weight: 600;
      color: var(--text-muted);
      letter-spacing: 0.04em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .kpi-value {
      font-family: var(--font-sans);
      font-size: 1.65rem;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: baseline;
      gap: 6px;
    }

    .kpi-subtext {
      font-size: 0.85rem;
      color: var(--accent-mint);
      font-weight: 600;
    }

    .kpi-meta {
      font-size: 0.75rem;
      color: var(--text-secondary);
      margin-top: 4px;
    }

    /* Elevated Command Console (Pops off Canvas) */
    .console-section {
      margin-bottom: 48px;
    }

    .elevated-console {
      background: var(--bg-card);
      border-radius: 14px;
      box-shadow: var(--shadow-elevated);
      overflow: hidden;
      text-align: left;
    }

    .console-chrome {
      background: #090e18;
      border-bottom: 1px solid var(--border-card);
      height: 42px;
      padding: 0 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .chrome-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

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

    .dot-red { background: #ff5f56; }
    .dot-amber { background: #ffbd2e; }
    .dot-green { background: #27c93f; }

    .console-title {
      font-family: var(--font-mono);
      font-size: 0.72rem;
      color: var(--text-muted);
      margin-left: 8px;
      letter-spacing: 0.04em;
    }

    .chrome-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .stream-pulse {
      width: 6px;
      height: 6px;
      background: var(--accent-mint);
      border-radius: 50%;
      box-shadow: 0 0 6px var(--accent-mint);
    }

    .stream-status {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--accent-mint);
    }

    .latency-pill {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-card);
      color: var(--text-secondary);
      padding: 1px 7px;
      border-radius: 4px;
    }

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

    /* Left Pane: Signals Feed */
    .pane-signals {
      border-right: 1px solid var(--border-card);
      padding: 18px;
      background: rgba(10, 15, 24, 0.7);
      text-align: left;
    }

    .pane-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      font-weight: 700;
      color: var(--text-muted);
      letter-spacing: 0.05em;
      margin-bottom: 14px;
      padding: 0 4px;
    }

    .subdued {
      font-size: 0.65rem;
      color: var(--text-muted);
    }

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

    .signal-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 12px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      text-align: left;
      transition: all 0.15s ease;
    }

    .signal-item:hover {
      background: var(--bg-card-hover);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .signal-item.active {
      background: #141e32;
      border-color: var(--accent-mint);
      box-shadow: inset 3px 0 0 var(--accent-mint), 0 0 16px rgba(0, 240, 181, 0.12);
    }

    .sig-info {
      display: flex;
      flex-direction: column;
      gap: 3px;
      text-align: left;
    }

    .sig-title {
      font-family: var(--font-sans);
      font-size: 0.88rem;
      font-weight: 700;
      color: #ffffff;
    }

    .sig-target {
      color: var(--text-secondary);
      font-weight: 500;
    }

    .sig-desc {
      font-size: 0.72rem;
      color: var(--text-muted);
    }

    .tag-penalty {
      font-family: var(--font-sans);
      font-size: 0.72rem;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 4px;
      white-space: nowrap;
    }

    .penalty-critical {
      color: #fb7185;
      background: rgba(244, 63, 94, 0.15);
      border: 1px solid rgba(244, 63, 94, 0.4);
    }

    .penalty-high {
      color: #fbbf24;
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.4);
    }

    /* Right Pane: Inspector */
    .pane-inspector {
      background: var(--bg-recessed);
      padding: 18px;
      display: flex;
      flex-direction: column;
      text-align: left;
    }

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

    .tab-group {
      display: flex;
      gap: 6px;
    }

    .tab-button {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-family: var(--font-sans);
      font-size: 0.78rem;
      font-weight: 600;
      padding: 5px 12px;
      border-radius: 5px;
      cursor: pointer;
      transition: all 0.15s;
      display: inline-flex;
      align-items: center;
    }

    .tab-button:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.04);
    }

    .tab-button.active {
      background: rgba(255, 255, 255, 0.1);
      color: #ffffff;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .btn-copy {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-card);
      color: var(--text-secondary);
      font-family: var(--font-sans);
      font-size: 0.72rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.15s;
    }

    .btn-copy:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
    }


    /* Executive Visual Threat Assessment View */
    .visual-threat-view {
      display: block;
    }

    .threat-card-container {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    /* Realistic Sleek Payment Card */
    .virtual-card {
      position: relative;
      background: linear-gradient(135deg, #162032 0%, #0d1522 55%, #080c14 100%);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 12px;
      padding: 20px 22px;
      box-shadow: 
        0 12px 30px -5px rgba(0, 0, 0, 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .virtual-card:hover {
      transform: translateY(-2px);
      box-shadow: 
        0 16px 36px -6px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .card-glass-shine {
      position: absolute;
      top: -60%;
      left: -20%;
      width: 140%;
      height: 140%;
      background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
      pointer-events: none;
    }

    .card-top-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .card-issuer {
      font-family: var(--font-sans);
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: #f1f5f9;
      text-transform: uppercase;
    }

    .card-badge-status {
      font-family: var(--font-sans);
      font-size: 0.68rem;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 4px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .card-badge-status.critical {
      background: rgba(239, 68, 68, 0.2);
      border: 1px solid rgba(239, 68, 68, 0.5);
      color: #fca5a5;
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
    }

    .card-badge-status.high {
      background: rgba(245, 158, 11, 0.2);
      border: 1px solid rgba(245, 158, 11, 0.5);
      color: #fde68a;
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
    }

    .card-middle-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .emv-chip {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .contactless-icon {
      color: rgba(255, 255, 255, 0.4);
    }

    .card-network {
      font-family: var(--font-sans);
      font-size: 0.82rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      color: #e2e8f0;
      text-transform: uppercase;
    }

    .card-number-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .card-pan-highlight {
      font-family: var(--font-mono);
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.06);
      padding: 2px 8px;
      border-radius: 4px;
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .card-pan-masked {
      font-family: var(--font-mono);
      font-size: 1.15rem;
      letter-spacing: 0.15em;
      color: var(--text-muted);
    }

    .card-bottom-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 12px;
    }

    .card-micro-label {
      display: block;
      font-family: var(--font-sans);
      font-size: 0.62rem;
      font-weight: 600;
      color: var(--text-muted);
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 2px;
    }

    .card-holder-name {
      font-family: var(--font-sans);
      font-size: 0.82rem;
      font-weight: 600;
      color: #e2e8f0;
    }

    .card-penalty-value {
      font-family: var(--font-sans);
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--accent-red);
    }

    /* Threat Details & Score */
    .threat-intel-details {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .threat-score-block {
      background: var(--bg-recessed);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 14px 16px;
    }

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

    .score-label-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .score-label {
      font-family: var(--font-sans);
      font-size: 0.78rem;
      font-weight: 600;
      color: var(--text-secondary);
    }

    .score-level-badge {
      font-family: var(--font-sans);
      font-size: 0.68rem;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 4px;
      text-transform: uppercase;
    }

    .score-level-badge.critical {
      background: rgba(239, 68, 68, 0.15);
      color: #f87171;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .score-level-badge.high {
      background: rgba(245, 158, 11, 0.15);
      color: #fbbf24;
      border: 1px solid rgba(245, 158, 11, 0.3);
    }

    .score-numeric {
      font-family: var(--font-sans);
      font-size: 1.15rem;
      font-weight: 800;
      color: #ffffff;
    }

    .score-max {
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    .threat-meter-track {
      width: 100%;
      height: 8px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 999px;
      overflow: hidden;
    }

    .threat-meter-fill {
      height: 100%;
      border-radius: 999px;
      transition: width 0.4s ease, background 0.4s ease;
    }

    .threat-meter-fill.critical {
      background: linear-gradient(90deg, #f59e0b, #ef4444);
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    }

    .threat-meter-fill.high {
      background: linear-gradient(90deg, #38bdf8, #f59e0b);
      box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
    }

    /* Intel Details Grid */
    .intel-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .intel-item {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border-subtle);
      border-radius: 6px;
      padding: 10px 12px;
    }

    .intel-item.full-width {
      grid-column: span 2;
    }

    .intel-label {
      display: block;
      font-family: var(--font-sans);
      font-size: 0.68rem;
      font-weight: 600;
      color: var(--text-muted);
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .intel-val {
      font-family: var(--font-sans);
      font-size: 0.82rem;
      font-weight: 600;
      color: #e2e8f0;
      line-height: 1.4;
    }

    /* Action Callout Directive */
    .action-callout {
      display: flex;
      gap: 12px;
      padding: 12px 14px;
      border-radius: 8px;
      align-items: flex-start;
      transition: all 0.2s ease;
    }

    .action-callout.critical {
      background: rgba(239, 68, 68, 0.08);
      border: 1px solid rgba(239, 68, 68, 0.25);
    }

    .action-callout.critical .action-icon {
      color: #ef4444;
    }

    .action-callout.critical .action-title {
      color: #ffffff;
    }

    .action-callout.critical .action-desc {
      color: #fca5a5;
    }

    .action-callout.high {
      background: rgba(245, 158, 11, 0.08);
      border: 1px solid rgba(245, 158, 11, 0.25);
    }

    .action-callout.high .action-icon {
      color: #f59e0b;
    }

    .action-callout.high .action-title {
      color: #ffffff;
    }

    .action-callout.high .action-desc {
      color: #fde68a;
    }

    .action-icon {
      flex-shrink: 0;
      margin-top: 2px;
    }

    .action-title {
      font-family: var(--font-sans);
      font-size: 0.84rem;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .action-desc {
      font-family: var(--font-sans);
      font-size: 0.78rem;
      line-height: 1.4;
    }

    .recessed-code-area {
      flex: 1;
      background: #020306;
      border-radius: 8px;
      padding: 16px;
      box-shadow: var(--shadow-recessed);
      overflow-x: auto;
      text-align: left;
    }

    .endpoint-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 0.72rem;
      padding-bottom: 12px;
      margin-bottom: 12px;
      border-bottom: 1px solid var(--border-subtle);
      text-align: left;
    }

    .verb {
      color: var(--accent-mint);
      font-weight: 700;
    }

    .url {
      color: var(--text-secondary);
      flex: 1;
    }

    .status-code {
      color: var(--accent-emerald);
      font-weight: 600;
    }

    pre {
      font-family: var(--font-mono);
      font-size: 0.78rem;
      line-height: 1.6;
      text-align: left;
    }

    .tok-key { color: var(--accent-cyan); }
    .tok-str { color: #a7f3d0; }
    .tok-num { color: var(--accent-amber); }
    .tok-bool { color: var(--accent-red); }

    /* Core Pillars (3 Columns, Elevated Cards) */
    .pillars-section {
      margin-bottom: 44px;
    }

    .pillars-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }

    .feature-card {
      background: var(--bg-card);
      border-radius: 12px;
      padding: 24px;
      box-shadow: var(--shadow-card);
      text-align: left;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }

    .feature-card:hover {
      transform: translateY(-2px);
      box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.4),
        0 16px 30px -2px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .feature-icon {
      width: 40px;
      height: 40px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-card);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-mint);
      margin-bottom: 16px;
    }

    .feature-card h3 {
      font-size: 1.05rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
    }

    .feature-card p {
      font-size: 0.85rem;
      color: var(--text-secondary);
      line-height: 1.55;
      margin-bottom: 16px;
    }

    .feature-tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tag {
      font-family: var(--font-mono);
      font-size: 0.68rem;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      padding: 3px 8px;
      border-radius: 4px;
    }

    /* Integration Section */
    .integration-section {
      margin-bottom: 48px;
    }

    .integration-card {
      background: linear-gradient(180deg, #101626 0%, #0a0e19 100%);
      border-radius: 12px;
      padding: 28px 32px;
      box-shadow: var(--shadow-card);
      display: flex;
      align-items: center;
      justify-content: space-between;
      text-align: left;
    }

    .int-text h3 {
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .int-text p {
      font-size: 0.88rem;
      color: var(--text-secondary);
      max-width: 580px;
    }

    /* Footer */
    .footer {
      border-top: 1px solid var(--border-subtle);
      padding: 32px 0 40px;
      font-size: 0.8rem;
      color: var(--text-muted);
      text-align: left;
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-left {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .brand-name {
      font-weight: 600;
      color: #ffffff;
    }

    .sep {
      color: rgba(255, 255, 255, 0.15);
    }

    .footer-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .footer-right a {
      color: var(--accent-mint);
      text-decoration: none;
    }

    .footer-right a:hover {
      text-decoration: underline;
    }

    .ambient-layer {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      max-width: 100vw;
      height: 1400px;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
    }

    /* Background Telemetry Vector Graphic */
    .bg-graphic-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1200px;
      overflow: hidden;
      pointer-events: none;
      z-index: 0;
      mask-image: linear-gradient(180deg, black 0%, black 75%, transparent 100%);
      -webkit-mask-image: linear-gradient(180deg, black 0%, black 75%, transparent 100%);
    }

    .bg-graphic-svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Navigation Links */
    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .nav-item {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.85rem;
      font-weight: 500;
      transition: color 0.15s ease;
    }

    .nav-item:hover {
      color: #ffffff;
    }

    .nav-item.active {
      color: var(--accent-mint);
      font-weight: 600;
    }

    .card-action-link {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 0.76rem;
      font-weight: 600;
      color: var(--accent-mint);
      margin-top: 14px;
      transition: transform 0.15s ease;
    }

    .feature-card:hover .card-action-link {
      transform: translateX(4px);
    }

    /* Interactive Architecture Modal */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(4, 6, 10, 0.8);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .modal-backdrop.open {
      display: flex;
    }

    .modal-card {
      background: var(--bg-card);
      border-radius: 16px;
      box-shadow: 
        0 0 0 1px var(--border-card),
        0 24px 64px rgba(0, 0, 0, 0.9),
        inset 0 1px 0 var(--border-highlight);
      max-width: 660px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 32px;
      position: relative;
      text-align: left;
      animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes modalPop {
      from { transform: scale(0.96); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .modal-close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-card);
      color: var(--text-muted);
      width: 32px;
      height: 32px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 1.1rem;
      transition: all 0.15s ease;
    }

    .modal-close-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
    }

    .modal-badge {
      display: inline-block;
      font-family: var(--font-mono);
      font-size: 0.68rem;
      font-weight: 700;
      color: var(--accent-mint);
      background: rgba(0, 240, 181, 0.08);
      border: 1px solid rgba(0, 240, 181, 0.25);
      padding: 3px 8px;
      border-radius: 4px;
      margin-bottom: 12px;
    }

    .modal-card h2 {
      font-size: 1.45rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 12px;
    }

    .modal-card p {
      font-size: 0.92rem;
      color: var(--text-secondary);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .modal-spec-list {
      background: var(--bg-recessed);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 16px;
      margin: 18px 0;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .modal-spec-item {
      display: flex;
      justify-content: space-between;
      font-family: var(--font-mono);
      font-size: 0.78rem;
    }

    .modal-spec-item span:first-child {
      color: var(--text-muted);
    }

    .modal-spec-item span:last-child {
      color: var(--accent-mint);
      font-weight: 600;
    }

    /* Bulletproof Responsive Mobile Layout */
    @media (max-width: 860px) {
      .layout {
        padding: 0 16px;
      }

      /* Navbar */
      .navbar {
        height: auto;
        padding: 10px 0;
        margin-bottom: 24px;
      }
      .nav-inner {
        flex-wrap: wrap;
        height: auto;
        gap: 10px;
        justify-content: space-between;
      }
      .brand-title {
        font-size: 0.95rem;
      }
      .nav-status {
        display: none;
      }
      .btn-primary {
        padding: 6px 12px;
        font-size: 0.76rem;
      }
      .nav-links {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 16px;
        padding: 8px 0 2px;
        border-top: 1px solid var(--border-subtle);
        -webkit-overflow-scrolling: touch;
      }
      .nav-item {
        font-size: 0.8rem;
        white-space: nowrap;
      }

      /* Hero */
      .hero-section {
        padding: 12px 0 20px;
      }
      .hero-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
        margin-bottom: 12px;
        max-width: 100%;
      }
      .hero-headline {
        font-size: 1.85rem;
        line-height: 1.18;
        margin-bottom: 10px;
      }
      .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
      }

      /* KPI Grid */
      .kpi-section {
        margin: 20px 0 24px;
      }
      .kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
      }
      .kpi-card {
        padding: 12px 14px;
      }
      .kpi-label {
        font-size: 0.62rem;
      }
      .kpi-value {
        font-size: 1.25rem;
      }
      .kpi-subtext {
        font-size: 0.75rem;
      }
      .kpi-meta {
        font-size: 0.68rem;
      }

      /* Command Console */
      .console-section {
        margin-bottom: 28px;
      }
      .console-chrome {
        padding: 0 12px;
        height: 38px;
      }
      .console-title {
        display: none;
      }
      .console-body {
        grid-template-columns: 1fr;
      }
      .pane-signals {
        border-right: none;
        border-bottom: 1px solid var(--border-card);
        padding: 14px 12px;
      }
      .signal-item {
        padding: 10px 12px;
        gap: 8px;
      }
      .sig-info {
        min-width: 0;
        flex: 1;
      }
      .sig-title {
        font-size: 0.8rem;
        word-break: break-word;
      }
      .sig-desc {
        font-size: 0.68rem;
        word-break: break-word;
      }
      .tag-penalty {
        font-size: 0.62rem;
        padding: 3px 6px;
        flex-shrink: 0;
      }
      .pane-inspector {
        padding: 14px 12px;
        min-width: 0;
      }
  
        .recessed-code-area {
        padding: 12px;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
      }
      .endpoint-bar {
        flex-wrap: wrap;
        gap: 6px;
      }
      .url {
        word-break: break-all;
        font-size: 0.68rem;
      }
      pre {
        font-size: 0.72rem;
        min-width: 0;
        overflow-x: auto;
      }

      /* Pillars */
      .pillars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .feature-card {
        padding: 18px 16px;
      }
      .card-action-link {
        margin-top: 10px;
      }

      /* Integration Card */
      .integration-card {
        flex-direction: column;
        padding: 20px 16px;
        text-align: center;
        gap: 16px;
      }
      .int-text h3 {
        font-size: 1.05rem;
      }
      .int-text p {
        font-size: 0.82rem;
      }

      /* Footer */
      .footer {
        padding: 24px 0 32px;
      }
      .footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
      }
      .footer-left, .footer-right {
        flex-wrap: wrap;
        justify-content: center;
      }

      /* Modals on mobile */
      .modal-backdrop {
        padding: 12px;
      }
      .modal-card {
        padding: 22px 16px;
        max-height: 90vh;
      }
      .modal-card h2 {
        font-size: 1.2rem;
        padding-right: 28px;
      }
      .modal-spec-item {
        flex-direction: column;
        gap: 2px;
      }
    }

    @media (max-width: 420px) {
      .kpi-grid {
        grid-template-columns: 1fr;
      }
      .hero-headline {
        font-size: 1.6rem;
      }
    }