/* ========================================================================
     CYBERPUNK HUD BUTTON ENGINE
     ======================================================================== */
  .btn-hero-primary,
  .btn-hud-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: 11px 22px;
    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;
  }

  .btn-hero-primary::after,
  .btn-hud-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-hero-primary:hover,
  .btn-hud-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-hero-primary:hover::after,
  .btn-hud-primary:hover::after {
    left: 140%;
  }

  .btn-hud-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 15, 26, 0.9) !important;
    color: #00f0ff !important;
    font-weight: 700 !important;
    font-family: 'Orbitron', 'JetBrains Mono', monospace !important;
    font-size: 11.5px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase;
    padding: 10px 20px;
    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);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .btn-hud-secondary:hover {
    transform: translateY(-2px);
    border-color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.15) !important;
    color: #ffffff !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.45);
  }

  .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: 10.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em !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;
  }

  .btn-outline-cyan:hover {
    background: rgba(0, 240, 255, 0.22) !important;
    border-color: #00f0ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
  }

  .hud-btn-prefix {
    color: rgba(0, 0, 0, 0.65);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0;
  }

  .hud-btn-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  .btn-hero-primary:hover .hud-btn-arrow,
  .btn-outline-cyan:hover .hud-btn-arrow {
    transform: translateX(4px);
  }

  /* HUD Specific Badges */
  .badge-hud-cyan {
    background: rgba(0, 240, 255, 0.12) !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
  }
  .badge-hud-amber {
    background: rgba(255, 183, 3, 0.15) !important;
    color: #ffb703 !important;
    border: 1px solid rgba(255, 183, 3, 0.4) !important;
  }
  .badge-hud-rose {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
  }
  .badge-hud-emerald {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
  }

  /* ========================================================================
     HUD TAB QUICK JUMP FILTER
     ======================================================================== */
  .hud-filter-scroll-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  @media (max-width: 991.98px) {
    .hud-filter-scroll-wrapper {
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 6px;
      scrollbar-width: thin;
    }
    .hud-tab-filter {
      flex-shrink: 0;
      white-space: nowrap;
    }
  }

  .hud-tab-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(15, 23, 42, 0.6);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .hud-tab-filter:hover {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(0, 240, 255, 0.08);
    transform: translateY(-1px);
  }

  .hud-tab-filter.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.2) 0%, rgba(2, 132, 199, 0.3) 100%);
    color: #ffffff;
    border-color: #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
    font-weight: 700;
  }

  /* ========================================================================
     SERVICE HUD CARDS
     ======================================================================== */
  .service-card-wrapper {
    scroll-margin-top: 100px;
  }

  .service-hud-card {
    background: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    scroll-margin-top: 100px;
  }

  .service-hud-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.12);
  }

  .service-hud-card.card-highlight {
    animation: pulseBorder 1.5s ease 2;
  }

  @keyframes pulseBorder {
    0% { border-color: rgba(0, 240, 255, 0.9); box-shadow: 0 0 35px rgba(0, 240, 255, 0.5); }
    50% { border-color: rgba(0, 240, 255, 0.3); box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
    100% { border-color: rgba(0, 240, 255, 0.9); box-shadow: 0 0 35px rgba(0, 240, 255, 0.5); }
  }

  .tech-tag-chip {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(0, 240, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(0, 240, 255, 0.18);
    border-radius: 4px;
    transition: all 0.2s ease;
  }

  .tech-tag-chip:hover {
    background: rgba(0, 240, 255, 0.15);
    color: #00f0ff;
    border-color: #00f0ff;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
  }

  .sidebar-card {
    transition: border-color 0.25s ease, transform 0.2s ease;
  }

  .sidebar-card:hover {
    border-color: rgba(0, 240, 255, 0.35) !important;
    transform: translateY(-2px);
  }

  /* Spec Box & Deliverables List Spacing */
  .spec-box {
    padding: 1.2rem 1.35rem !important;
  }
  .spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
  }
  .spec-list li i {
    flex-shrink: 0;
    margin-top: 0.15em;
    margin-right: 0 !important;
  }
  .spec-list li span {
    flex: 1 1 auto;
    min-width: 0;
  }
  .spec-list li:last-child {
    margin-bottom: 0;
  }

  /* Tech Stack Mini List (Hanging Indent) */
  .tech-stack-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
  }
  .tech-stack-list li strong {
    flex-shrink: 0;
    line-height: 1.3;
    font-size: 13px;
  }
  .tech-stack-list li span {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.5;
  }

  .space-y-2 > * + * {
    margin-top: 0.5rem;
  }

  /* ========================================================================
     LIGHT MODE ADAPTATION
     ======================================================================== */
  [data-bs-theme="light"] h1.text-white,
  [data-bs-theme="light"] h2.text-white,
  [data-bs-theme="light"] h3.text-white,
  [data-bs-theme="light"] h4.text-white,
  [data-bs-theme="light"] .service-hud-card h3,
  [data-bs-theme="light"] .service-hud-card .text-white,
  [data-bs-theme="light"] .sidebar-card .text-white,
  [data-bs-theme="light"] .cyber-laser-box h2 {
    color: #0f172a !important;
  }

  [data-bs-theme="light"] .text-secondary {
    color: #475569 !important;
  }

  [data-bs-theme="light"] .filter-station {
    background: rgba(255, 255, 255, 0.95) !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"] .hud-tab-filter {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
  }

  [data-bs-theme="light"] .hud-tab-filter.active {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(2, 132, 199, 0.3) 100%);
    color: #0369a1;
    border-color: #0284c7;
  }

  [data-bs-theme="light"] .service-hud-card,
  [data-bs-theme="light"] .sidebar-card {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  }

  [data-bs-theme="light"] .service-hud-card .spec-box {
    background: #f8fafc !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
  }

  [data-bs-theme="light"] .service-hud-card:hover,
  [data-bs-theme="light"] .sidebar-card:hover {
    border-color: rgba(2, 132, 199, 0.4) !important;
    box-shadow: 0 16px 32px rgba(2, 132, 199, 0.12) !important;
  }

  [data-bs-theme="light"] .tech-tag-chip {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
  }

  [data-bs-theme="light"] .tech-tag-chip:hover {
    background: #e2e8f0 !important;
    color: #0284c7 !important;
    border-color: #0284c7 !important;
  }

  [data-bs-theme="light"] .cyber-laser-box {
    background: #ffffff !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
  }

  [data-bs-theme="light"] .btn-hero-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
  }

  [data-bs-theme="light"] .btn-outline-cyan {
    border-color: rgba(2, 132, 199, 0.4) !important;
    color: #0284c7 !important;
    background: rgba(2, 132, 199, 0.05) !important;
  }

  [data-bs-theme="light"] .btn-outline-cyan:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
  }

  [data-bs-theme="light"] .btn-hud-secondary {
    background: #ffffff !important;
    border-color: #0284c7 !important;
    color: #0284c7 !important;
  }

  [data-bs-theme="light"] .btn-hud-secondary:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
  }

  [data-bs-theme="light"] .service-hud-card.card-highlight {
    animation: pulseBorderLight 1.5s ease 2 !important;
  }

  @keyframes pulseBorderLight {
    0% { border-color: rgba(2, 132, 199, 0.9) !important; box-shadow: 0 0 35px rgba(2, 132, 199, 0.4) !important; }
    50% { border-color: rgba(2, 132, 199, 0.25) !important; box-shadow: 0 0 15px rgba(2, 132, 199, 0.15) !important; }
    100% { border-color: rgba(2, 132, 199, 0.9) !important; box-shadow: 0 0 35px rgba(2, 132, 199, 0.4) !important; }
  }
