/* 1. Global Typography & Metrics */
  .hero-heading {
    letter-spacing: -0.02em;
  }

  .hud-metric-pill {
    background: rgba(0, 240, 255, 0.08) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    color: #e2e8f0 !important;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.02em;
  }

  /* 2. Cyber Corner Brackets */
  .corner-bracket {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: #00f0ff;
    pointer-events: none;
  }

  .corner-bracket-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid #00f0ff;
    border-left: 2px solid #00f0ff;
  }

  .corner-bracket-tr {
    top: -1px;
    right: -1px;
    border-top: 2px solid #00f0ff;
    border-right: 2px solid #00f0ff;
  }

  .corner-bracket-bl {
    bottom: -1px;
    left: -1px;
    border-bottom: 2px solid #00f0ff;
    border-left: 2px solid #00f0ff;
  }

  .corner-bracket-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid #00f0ff;
    border-right: 2px solid #00f0ff;
  }

  /* 3. Legal Badge Card */
  .legal-badge-card {
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.28);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 240, 255, 0.08);
  }

  .hover-arrow {
    transition: all 0.2s ease;
  }

  .hover-arrow:hover {
    color: #38bdf8 !important;
    transform: translateX(3px);
  }

  /* 4. Philosophy Cards (Dipa - Swa - Ntara) */
  .philosophy-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }

  .philosophy-card:hover {
    transform: translateY(-6px);
  }

  .card-dipa:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.2) !important;
  }

  .card-swa:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2) !important;
  }

  .card-ntara:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.2) !important;
  }

  .watermark-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    font-weight: 900;
    opacity: 0.03;
    pointer-events: none;
    letter-spacing: 0.1em;
    user-select: none;
  }

  .philosophy-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    transition: transform 0.3s ease;
  }

  .philosophy-card:hover .philosophy-icon-wrap {
    transform: scale(1.08);
  }

  .icon-cyan {
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  }

  .icon-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #f59e0b;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
  }

  .icon-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
  }

  .icon-info {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #0ea5e9;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
  }

  .badge-philosophy {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
  }

  .badge-cyan {
    background: rgba(0, 240, 255, 0.1);
    color: #00f0ff;
    border: 1px solid rgba(0, 240, 255, 0.25);
  }

  .badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
  }

  .badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
  }

  /* 5. Vision Terminal Card */
  .vision-terminal-card {
    background: rgba(8, 13, 22, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.3);
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(0, 240, 255, 0.03);
  }

  .terminal-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
  }

  .dot-red { background: #ef4444; }
  .dot-yellow { background: #eab308; }
  .dot-green { background: #22c55e; }

  /* 6. Mission Stack Card */
  .mission-stack-card {
    background: rgba(8, 13, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  .mission-item {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.25s ease;
  }

  .mission-item:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    transform: translateX(4px);
  }

  .mission-num {
    font-size: 1.1rem;
    line-height: 1.2;
    padding-top: 2px;
  }

  /* 7. Agility & Team Cards */
  .agility-card, .team-card, .career-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  }

  .agility-card:hover, .team-card:hover, .career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.12) !important;
  }

  .agility-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .team-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .team-card:hover .team-icon-wrap {
    transform: scale(1.1);
  }

  /* 8. Career Apply Button */
  .btn-apply-career {
    color: #00f0ff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 4px;
  }

  .btn-apply-career:hover {
    background: rgba(0, 240, 255, 0.12);
    color: #38bdf8;
    transform: translateX(3px);
  }

  /* 9. Talent Protocol Box */
  .talent-protocol-box {
    background: rgba(8, 13, 22, 0.9);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 240, 255, 0.08);
  }

  /* 10. Section 7: Legal HUD Console & Radar Station */
  .legal-hud-container {
    background: linear-gradient(135deg, rgba(8, 15, 26, 0.95) 0%, rgba(5, 9, 16, 0.98) 100%);
    border: 1px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.08);
    background-image: radial-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  .legal-hud-header {
    background: rgba(0, 240, 255, 0.03);
    border-color: rgba(0, 240, 255, 0.18) !important;
  }

  .hq-radar-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 240, 255, 0.25);
    transition: all 0.3s ease;
  }

  .hq-radar-card:hover {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.08);
  }

  .hq-radar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .radar-ping {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1.5px solid #00f0ff;
    animation: radarPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    pointer-events: none;
  }

  @keyframes radarPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
  }

  .legal-mini-pill {
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
  }

  .legal-mini-pill:hover {
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.03);
    transform: translateY(-2px);
  }

  .assurance-tag {
    padding: 5px 12px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 5px;
    color: #cbd5e1;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .consultation-console-card {
    background: rgba(6, 11, 20, 0.88);
    border: 1px solid rgba(0, 240, 255, 0.35);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 240, 255, 0.04);
  }

  .architect-avatar-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ========================================================================
     AUTHENTIC CYBERPUNK HUD BUTTON SYSTEM (TACTICAL ANGULAR CUTS & GLOW)
     ======================================================================== */
  .btn-hud-primary,
  .btn-hero-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00f0ff 0%, #00c8e0 55%, #0284c7 100%) !important;
    color: #030712 !important;
    font-weight: 800 !important;
    font-family: 'Orbitron', 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 0px !important;
    border: none !important;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
  }

  .btn-hud-primary::before,
  .btn-hero-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #38f8ff 0%, #00f0ff 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
  }

  .btn-hud-primary::after,
  .btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
  }

  .btn-hud-primary:hover,
  .btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.75), 0 8px 24px rgba(0, 0, 0, 0.6);
    color: #000000 !important;
  }

  .btn-hud-primary:hover::before,
  .btn-hero-primary:hover::before {
    opacity: 1;
  }

  .btn-hud-primary:hover::after,
  .btn-hero-primary:hover::after {
    left: 140%;
  }

  /* Secondary HUD Button */
  .btn-hud-secondary,
  .btn-hero-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 15, 26, 0.88) !important;
    color: #00f0ff !important;
    font-weight: 700 !important;
    font-family: 'Orbitron', 'JetBrains Mono', monospace !important;
    font-size: 12px !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 0px !important;
    border: 1px solid rgba(0, 240, 255, 0.5) !important;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    backdrop-filter: blur(12px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.12), inset 0 0 14px rgba(0, 240, 255, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
  }

  .btn-hud-secondary::after,
  .btn-hero-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
  }

  .btn-hud-secondary:hover,
  .btn-hero-secondary:hover {
    transform: translateY(-2px);
    border-color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.16) !important;
    color: #ffffff !important;
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.5), inset 0 0 18px rgba(0, 240, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.9);
  }

  .btn-hud-secondary:hover::after,
  .btn-hero-secondary:hover::after {
    left: 140%;
  }

  /* Outline Cyan HUD Button */
  .btn-outline-cyan {
    border: 1px solid rgba(0, 240, 255, 0.45) !important;
    color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.05) !important;
    font-family: 'Orbitron', 'JetBrains Mono', monospace !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em !important;
    border-radius: 0px !important;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .btn-outline-cyan:hover {
    background: #00f0ff !important;
    color: #000000 !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.6) !important;
    transform: translateY(-2px);
  }

  /* Compact HUD Tactical Buttons */
  .btn-hud-tactical-sm {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff !important;
    font-family: 'Orbitron', 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .btn-hud-tactical-sm:hover {
    background: #00f0ff;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
  }

  .btn-hud-outline-xs {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 700;
    color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.3);
    clip-path: polygon(0 0, calc(100% - 5px) 0, 100% 5px, 100% 100%, 5px 100%, 0 calc(100% - 5px));
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .btn-hud-outline-xs:hover {
    background: rgba(0, 240, 255, 0.2);
    border-color: #00f0ff;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
  }

  /* ========================================================================
     LIGHT MODE ADAPTATIONS
     ======================================================================== */
  [data-bs-theme="light"] .text-white {
    color: #0f172a !important;
  }

  [data-bs-theme="light"] .text-secondary {
    color: #475569 !important;
  }

  [data-bs-theme="light"] .hud-metric-pill {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
  }

  [data-bs-theme="light"] .legal-badge-card {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  }

  [data-bs-theme="light"] .cyber-laser-box {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  }

  [data-bs-theme="light"] .cyber-laser-inner {
    background: #ffffff !important;
  }

  [data-bs-theme="light"] .vision-terminal-card,
  [data-bs-theme="light"] .mission-stack-card {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  }

  [data-bs-theme="light"] .mission-item {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
  }

  [data-bs-theme="light"] .mission-item:hover {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
  }

  [data-bs-theme="light"] .talent-protocol-box {
    background: #f8fafc !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
  }

  [data-bs-theme="light"] .legal-hud-container {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.28) !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08) !important;
    background-image: none !important;
  }

  [data-bs-theme="light"] .legal-hud-header {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
  }

  [data-bs-theme="light"] .hq-radar-card {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
  }

  [data-bs-theme="light"] .hq-radar-icon-box {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
  }

  [data-bs-theme="light"] .legal-mini-pill {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
  }

  [data-bs-theme="light"] .legal-mini-pill:hover {
    background: #f0f9ff !important;
    border-color: #0284c7 !important;
  }

  [data-bs-theme="light"] .assurance-tag {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
  }

  [data-bs-theme="light"] .consultation-console-card {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.35) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06) !important;
  }

  [data-bs-theme="light"] .architect-avatar-box {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
  }

  [data-bs-theme="light"] .watermark-bg {
    opacity: 0.05;
    color: #0284c7;
  }

  [data-bs-theme="light"] .btn-hud-primary,
  [data-bs-theme="light"] .btn-hero-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3) !important;
  }

  [data-bs-theme="light"] .btn-hud-primary:hover,
  [data-bs-theme="light"] .btn-hero-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
  }

  [data-bs-theme="light"] .btn-hud-secondary,
  [data-bs-theme="light"] .btn-hero-secondary {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12) !important;
  }

  [data-bs-theme="light"] .btn-hud-secondary:hover,
  [data-bs-theme="light"] .btn-hero-secondary:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3) !important;
    text-shadow: none !important;
  }

  [data-bs-theme="light"] .btn-outline-cyan {
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.06) !important;
  }

  [data-bs-theme="light"] .btn-outline-cyan:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
  }

  [data-bs-theme="light"] .btn-hud-tactical-sm {
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0284c7 !important;
  }

  [data-bs-theme="light"] .btn-hud-tactical-sm:hover {
    background: #0284c7;
    color: #ffffff !important;
  }

  [data-bs-theme="light"] .btn-hud-outline-xs {
    background: rgba(2, 132, 199, 0.06);
    border-color: rgba(2, 132, 199, 0.3);
    color: #0284c7 !important;
  }

  [data-bs-theme="light"] .btn-hud-outline-xs:hover {
    background: #0284c7;
    color: #ffffff !important;
  }