/*
  Nexus System Template
  https://Overklok Computing Systems Layout
*/

:root {
  --titanium: #F4F5F6; /* brushed titanium, cool metallic light grey */
  --carbon: #0D0E15; /* carbon matte, deep light-absorbing dark */
  --volt: #D1FF00; /* acid volt, electric neon accent */
  --steel: #D9E0E4; /* muted steel lines and borders */
  --graphite: #1A1D1A; /* deep graphite grey with a whisper of green */
  --white: #FFFFFF;
  --hud-h: 60px;
  --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: auto; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--titanium);
  color: var(--carbon);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- scroll spacer creates the 400vh track ---------- */
.scroll-spacer { height: 400vh; }

/* ---------- z-depth card engine ---------- */
.zcard {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  transform-origin: top center;
  will-change: transform, opacity;
  overflow: hidden;
}

.zcard[data-card="1"] { z-index: 10; }
.zcard[data-card="2"] { z-index: 20; transform: translateY(100%); }
.zcard[data-card="3"] { z-index: 30; transform: translateY(100%); }
.zcard[data-card="4"] { z-index: 40; transform: translateY(100%); }

/* ---------- card 1: the floating hero ---------- */
.card-hero {
  background: var(--titanium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage {
  position: relative;
  text-align: center;
  z-index: 5;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--carbon);
  background: var(--volt);
  display: inline-block;
  padding: 7px 14px 7px 18px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(56px, 13vw, 180px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--carbon);
}

.hero-sub {
  margin: 32px auto 0;
  max-width: 480px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #4B515C;
}

.hero-scroll-hint {
  position: absolute;
  bottom: calc(var(--hud-h) + 28px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6A7077;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll-hint::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--carbon), transparent);
  animation: hint-drop 2.2s var(--ease-silk) infinite;
}

@keyframes hint-drop {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* floating translucent glass shapes */
.glass-shape {
  position: absolute;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--steel);
  z-index: 2;
}

.glass-a {
  width: 220px;
  height: 220px;
  top: 12%;
  left: 8%;
  border-radius: 32px;
  animation: bob-a 9s ease-in-out infinite;
}

.glass-b {
  width: 150px;
  height: 150px;
  bottom: 18%;
  right: 10%;
  border-radius: 50%;
  animation: bob-b 7s ease-in-out infinite;
}

.glass-c {
  width: 110px;
  height: 110px;
  top: 20%;
  right: 22%;
  border-radius: 20px;
  transform: rotate(18deg);
  animation: bob-c 11s ease-in-out infinite;
}

@keyframes bob-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}

@keyframes bob-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(22px); }
}

@keyframes bob-c {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50% { transform: translateY(-18px) rotate(24deg); }
}

/* faint engineering grid behind the hero */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--steel) 1px, transparent 1px), linear-gradient(90deg, var(--steel) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.35;
  z-index: 1;
}

/* ---------- card 2: the engineered image overlay ---------- */
.card-macro { background: var(--carbon); }

.macro-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.macro-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13, 14, 21, 0.25), rgba(13, 14, 21, 0.05) 40%, rgba(13, 14, 21, 0.35));
}

.crosshair-v, .crosshair-h { position: absolute; background: rgba(255, 255, 255, 0.4); }

.crosshair-v { top: 0; bottom: 0; left: 62%; width: 1px; }

.crosshair-h { left: 0; right: 0; top: 40%; height: 1px; }

.node-dot {
  position: absolute;
  left: 62%;
  top: 40%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--volt);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(209, 255, 0, 0.25), 0 0 24px 4px rgba(209, 255, 0, 0.8);
  animation: node-pulse 2.6s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(209, 255, 0, 0.25), 0 0 24px 4px rgba(209, 255, 0, 0.8); }
  50% { box-shadow: 0 0 0 12px rgba(209, 255, 0, 0.12), 0 0 36px 8px rgba(209, 255, 0, 0.95); }
}

.node-box {
  position: absolute;
  left: calc(62% + 28px);
  top: calc(40% + 28px);
  width: 280px;
  max-width: calc(100vw - 48px);
  background: rgba(13, 14, 21, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 224, 228, 0.3);
  color: var(--titanium);
  padding: 20px;
}

.node-box-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--volt);
  margin-bottom: 14px;
}

.node-stat {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(217, 224, 228, 0.15);
}

.node-stat:last-child { border-bottom: none; }

.node-stat span:last-child { color: #E3FF7A; }

.macro-caption {
  position: absolute;
  left: 40px;
  bottom: calc(var(--hud-h) + 36px);
  color: var(--titanium);
  max-width: 420px;
}

.macro-caption .mono {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #E3FF7A;
  display: block;
  margin-bottom: 14px;
}

.macro-caption h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ---------- card 3: the kinetic accordion fold ---------- */
.card-fold { background: var(--white); display: flex; flex-direction: column; }

.fold-head {
  padding: 28px 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.fold-head h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; }

.fold-head .mono { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: #6A7077; }

.accordion {
  flex: 1;
  display: flex;
  width: 100%;
  margin-top: 24px;
  border-top: 1px solid var(--steel);
}

.slice {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid var(--steel);
  background: var(--white);
  transition: flex-grow 1.2s var(--ease-silk);
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.slice:last-child { border-right: none; }

.slice.active { flex-grow: 3.7; }

.slice-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s var(--ease-silk), transform 1.2s var(--ease-silk);
}

.slice.active .slice-img { opacity: 1; transform: scale(1); }

.slice-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 14, 21, 0.75), rgba(13, 14, 21, 0) 55%);
  opacity: 0;
  transition: opacity 1.2s var(--ease-silk);
}

.slice.active .slice-shade { opacity: 1; }

.slice-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 0 calc(var(--hud-h) + 28px);
  align-items: center;
  transition: opacity 0.6s var(--ease-silk);
}

.slice.active .slice-idle { opacity: 0; }

.slice-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--carbon);
  letter-spacing: 0.2em;
}

.slice-idle-title {
  writing-mode: vertical-rl;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--carbon);
}

.slice-reveal {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: calc(var(--hud-h) + 28px);
  color: var(--titanium);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.2s var(--ease-silk), transform 1.2s var(--ease-silk);
}

.slice.active .slice-reveal { opacity: 1; transform: translateY(0); }

.slice-reveal .mono {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #E3FF7A;
  display: block;
  margin-bottom: 10px;
}

.slice-reveal h3 { font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 10px; white-space: nowrap; }

.slice-reveal p { font-size: 14px; line-height: 1.6; max-width: 380px; color: rgba(244, 245, 246, 0.85); }

.slice:focus-visible { outline: 2px solid var(--carbon); outline-offset: -2px; }

/* ---------- card 4: the matrix tabs and signature ---------- */
.card-matrix {
  background: var(--graphite);
  color: var(--titanium);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.matrix-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(28px, 5vw, 80px) calc(var(--hud-h) + 40px);
}

.matrix-left .mono-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 20px;
}

.matrix-left h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 40px;
}

.matrix-tab {
  display: block;
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  border-left: 2px solid rgba(217, 224, 228, 0.2);
  transition: border-color 0.5s var(--ease-silk), background 0.5s var(--ease-silk);
}

.matrix-tab .tab-line {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.matrix-tab .tab-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #6A7077;
  transition: color 0.5s var(--ease-silk);
}

.matrix-tab .tab-name {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 245, 246, 0.55);
  transition: color 0.5s var(--ease-silk);
}

.matrix-tab p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 245, 246, 0.6);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s var(--ease-silk), opacity 0.7s var(--ease-silk);
}

.matrix-tab.active {
  border-left-color: var(--volt);
  background: rgba(209, 255, 0, 0.08);
}

.matrix-tab.active .tab-num { color: var(--volt); }

.matrix-tab.active .tab-name { color: var(--titanium); }

.matrix-tab.active p { max-height: 120px; opacity: 1; }

.matrix-tab:focus-visible { outline: 2px solid var(--volt); outline-offset: -2px; }

.matrix-right { position: relative; overflow: hidden; }

.matrix-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s var(--ease-silk), transform 1.4s var(--ease-silk);
}

.matrix-img.active { opacity: 1; transform: scale(1); }

.matrix-img-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 29, 26, 0.55), rgba(26, 29, 26, 0) 45%);
  pointer-events: none;
}

.matrix-caption {
  position: absolute;
  right: 28px;
  bottom: calc(var(--hud-h) + 24px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--titanium);
  background: rgba(26, 29, 26, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 224, 228, 0.25);
  padding: 10px 16px;
}

/* ---------- the permanent hud signature bar ---------- */
.hud {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--hud-h);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 40px);
  background: rgba(244, 245, 246, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--steel);
}

.hud-brand {
  font-weight: 300;
  letter-spacing: 0.22em;
  font-size: 13px;
  color: var(--carbon);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.hud-brand .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 1px rgba(13, 14, 21, 0.35);
}

.hud-credit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #6A7077;
  white-space: nowrap;
}

.hud-credit a { color: var(--carbon); border-bottom: 1px solid var(--volt); padding-bottom: 1px; }

.hud-progress {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hud-track {
  flex: 1;
  height: 2px;
  background: var(--steel);
  position: relative;
  overflow: hidden;
}

.hud-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--volt);
}

.hud-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--carbon);
  min-width: 44px;
  text-align: right;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 20px;
  border-left: 1px solid var(--steel);
}

.hud-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--steel);
  background: var(--white);
  color: var(--carbon);
  transition: background 0.4s var(--ease-silk), border-color 0.4s var(--ease-silk), color 0.4s var(--ease-silk), opacity 0.4s var(--ease-silk);
}

.hud-arrow svg { width: 14px; height: 14px; display: block; }

.hud-arrow:hover:not(:disabled) {
  background: var(--volt);
  border-color: var(--carbon);
  color: var(--carbon);
}

.hud-arrow:disabled { opacity: 0.3; cursor: default; }

.hud-arrow:focus-visible { outline: 2px solid var(--carbon); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .glass-a { width: 140px; height: 140px; left: 4%; }
  .glass-b { width: 100px; height: 100px; right: 6%; }
  .glass-c { width: 80px; height: 80px; right: 12%; }
  .crosshair-v { left: 50%; }
  .node-dot { left: 50%; }
  .node-box { left: 24px; right: 24px; width: auto; top: calc(40% + 28px); }
  .macro-caption { left: 24px; right: 24px; }
  .accordion { flex-direction: column; }
  .slice { border-right: none; border-bottom: 1px solid var(--steel); }
  .slice:last-child { border-bottom: none; }
  .slice-idle { flex-direction: row; align-items: center; justify-content: space-between; padding: 0 24px; }
  .slice-idle-title { writing-mode: horizontal-tb; letter-spacing: 0.08em; }
  .slice-reveal { left: 24px; right: 24px; bottom: 20px; }
  .slice-reveal h3 { white-space: normal; }
  .fold-head { padding: 20px 24px 0; flex-direction: column; gap: 6px; }
  .accordion { margin-top: 16px; }
  .card-matrix { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .matrix-left { padding: 40px 24px 24px; justify-content: flex-start; }
  .matrix-left h2 { margin-bottom: 20px; }
  .matrix-tab { padding: 14px 16px; }
  .matrix-caption { right: 16px; bottom: calc(var(--hud-h) + 16px); }
  .hud-credit { display: none; }
  .hud-pct { display: none; }
}

@media (max-height: 540px) {
  .hero-title { font-size: clamp(40px, 10vh, 90px); }
  .hero-sub { display: none; }
  .matrix-tab p { display: none; }
}

/* ---------- reduced motion: collapse to a calm static document ---------- */
@media (prefers-reduced-motion: reduce) {
  .scroll-spacer { display: none; }
  .zcard {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    transform: none !important;
    opacity: 1 !important;
  }
  .glass-a, .glass-b, .glass-c, .node-dot, .hero-scroll-hint::after { animation: none !important; }
  .slice, .slice-img, .slice-shade, .slice-reveal, .matrix-img, .matrix-tab p { transition: none !important; }
  .card-macro, .matrix-right { min-height: 100vh; }
}


/* ==========================================================================
   Overklok Computing Systems - Top HUD Navigation, Subpages & Interactive Widgets
   ========================================================================== */

/* Top Navigation Bar */
.tech-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(13, 14, 21, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 224, 228, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease;
}

.tech-header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.tech-brand-dot {
  width: 10px;
  height: 10px;
  background: var(--volt);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--volt);
  animation: pulseVolt 2s infinite ease-in-out;
}

@keyframes pulseVolt {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.tech-brand-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  background: rgba(209, 255, 0, 0.12);
  color: var(--volt);
  border: 1px solid rgba(209, 255, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.tech-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.tech-nav a {
  font-size: 0.92rem;
  color: var(--steel);
  transition: color 0.2s ease;
  font-weight: 500;
}

.tech-nav a:hover {
  color: var(--volt);
}

.tech-nav-dropdown {
  position: relative;
}

.tech-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--carbon);
  border: 1px solid rgba(209, 255, 0, 0.25);
  min-width: 290px;
  padding: 12px 0;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  list-style: none;
  z-index: 1010;
}

.tech-nav-dropdown:hover .tech-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(6px);
}

.tech-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--steel);
  transition: all 0.2s ease;
}

.tech-dropdown-menu li a:hover {
  background: rgba(209, 255, 0, 0.08);
  color: var(--volt);
  padding-left: 24px;
}

.tech-nav-cta {
  background: var(--volt) !important;
  color: var(--carbon) !important;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  transition: all 0.2s ease !important;
}

.tech-nav-cta:hover {
  background: #E5FF4D !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(209, 255, 0, 0.3);
}

/* Mobile Toggle */
.tech-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.tech-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--steel);
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .tech-nav { display: none; }
  .tech-menu-btn { display: flex; }
}

/* Mobile Drawer */
.tech-mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--carbon);
  border-left: 1px solid rgba(217, 224, 228, 0.2);
  z-index: 1999;
  padding: 80px 30px 40px;
  transition: right 0.4s ease;
  overflow-y: auto;
}

.tech-mobile-nav.active {
  right: 0;
}

.tech-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tech-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.tech-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-mobile-links a {
  font-size: 1.05rem;
  color: var(--steel);
  text-decoration: none;
  display: block;
}

.tech-mobile-links a:hover {
  color: var(--volt);
}

/* Subpage Hero */
.subpage-tech-hero {
  padding-top: 150px;
  padding-bottom: 70px;
  background: linear-gradient(180deg, #090A0E 0%, #151821 100%);
  color: #FFFFFF;
  text-align: center;
  border-bottom: 1px solid rgba(217, 224, 228, 0.15);
  position: relative;
}

.subpage-tech-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.subpage-tech-hero .lead {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

.subpage-breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--steel);
  margin-bottom: 1.25rem;
}

.subpage-breadcrumbs a {
  color: var(--volt);
  text-decoration: none;
}

/* Container & Sections */
.tech-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.tech-section {
  padding: 80px 0;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* Tech Cards */
.tech-card {
  background: var(--carbon);
  color: var(--titanium);
  border: 1px solid rgba(217, 224, 228, 0.15);
  border-radius: 8px;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  border-color: var(--volt);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.tech-card h3 {
  font-size: 1.45rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.tech-card p {
  color: var(--steel);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.tech-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(217, 224, 228, 0.1);
}

/* Tables */
.tech-table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid rgba(217, 224, 228, 0.2);
  border-radius: 8px;
  background: var(--carbon);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tech-table th {
  background: #141721;
  color: var(--volt);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  padding: 16px 20px;
  border-bottom: 2px solid var(--volt);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(217, 224, 228, 0.1);
  color: var(--steel);
  font-size: 0.95rem;
}

.tech-table tr:hover td {
  background: rgba(209, 255, 0, 0.03);
  color: #FFFFFF;
}

/* Configurator Widget */
.configurador-box {
  background: var(--carbon);
  border: 1px solid rgba(209, 255, 0, 0.3);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  margin: 30px 0;
}

.cfg-group {
  margin-bottom: 24px;
}

.cfg-label {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.cfg-select, .cfg-input {
  width: 100%;
  padding: 14px 18px;
  background: #141721;
  border: 1px solid rgba(217, 224, 228, 0.25);
  border-radius: 6px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.cfg-select:focus, .cfg-input:focus {
  outline: none;
  border-color: var(--volt);
}

.cfg-result {
  background: #141721;
  border-left: 4px solid var(--volt);
  padding: 24px;
  border-radius: 6px;
  margin-top: 28px;
  text-align: center;
}

.cfg-total-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--volt);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.cfg-total-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
}

/* Accordion for FAQ */
.tech-faq-item {
  background: var(--carbon);
  border: 1px solid rgba(217, 224, 228, 0.15);
  border-radius: 6px;
  margin-bottom: 16px;
  overflow: hidden;
}

.tech-faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #141721;
  transition: background 0.2s ease;
}

.tech-faq-header:hover {
  background: #1B1E2B;
}

.tech-faq-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.tech-faq-icon {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  color: var(--volt);
  transition: transform 0.3s ease;
}

.tech-faq-body {
  padding: 20px 24px;
  color: var(--steel);
  font-size: 0.98rem;
  line-height: 1.8;
  display: none;
  border-top: 1px solid rgba(217, 224, 228, 0.1);
}

.tech-faq-item.active .tech-faq-body {
  display: block;
}

.tech-faq-item.active .tech-faq-icon {
  transform: rotate(45deg);
}

/* Extended Subpage Footer */
.tech-footer {
  background: #07080B;
  border-top: 1px solid rgba(217, 224, 228, 0.15);
  color: var(--steel);
  padding: 60px 0 30px;
}

.tech-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(217, 224, 228, 0.1);
}

@media (max-width: 992px) {
  .tech-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .tech-footer-grid { grid-template-columns: 1fr; }
}

.tech-footer-col h4 {
  color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(209, 255, 0, 0.3);
  padding-bottom: 8px;
  display: inline-block;
}

.tech-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-footer-links a {
  color: var(--steel);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.tech-footer-links a:hover {
  color: var(--volt);
}

.tech-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(217, 224, 228, 0.6);
}

@media (max-width: 768px) {
  .tech-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}


/* ---------------------------------------------
   OVERKLOK WORKSTATION CONFIGURATOR FORM CONTROLS
--------------------------------------------- */
.configurador-box {
  background: #0f121a !important;
  border: 1px solid rgba(217, 224, 228, 0.12) !important;
  border-radius: 8px !important;
  padding: 30px !important;
}

.tech-form-group {
  margin-bottom: 20px !important;
  width: 100% !important;
}

.tech-form-group label {
  display: block !important;
  color: #a0aec0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 8px !important;
  font-family: 'JetBrains Mono', monospace !important;
}

.tech-form-control {
  width: 100% !important;
  background-color: #141721 !important;
  border: 1px solid rgba(217, 224, 228, 0.16) !important;
  border-radius: 6px !important;
  color: #e2e8f0 !important;
  font-size: 0.9rem !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  padding: 12px 16px !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  display: block !important;
}

.tech-form-control:focus {
  border-color: #c6ff00 !important;
  box-shadow: 0 0 0 2px rgba(198, 255, 0, 0.15) !important;
  background-color: #161a26 !important;
}

select.tech-form-control {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c6ff00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
  cursor: pointer !important;
}

select.tech-form-control option {
  background-color: #0e1118 !important;
  color: #e2e8f0 !important;
  padding: 10px !important;
}

textarea.tech-form-control {
  resize: vertical !important;
  min-height: 80px !important;
}

.tech-card .grid-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

@media (max-width: 600px) {
  .tech-card .grid-2 {
    grid-template-columns: 1fr !important;
  }
}

.tech-form-submit {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #c6ff00 !important;
  color: #0b0d12 !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 15px 24px !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  margin-top: 15px !important;
}

.tech-form-submit:hover {
  background: #d4ff33 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(198, 255, 0, 0.3) !important;
}


/* Standard Dropdown Sub-menu Rules */
.nav li, .navbar-nav .nav-item {
  position: relative;
}
.sub-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 240px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  padding: 10px 0 !important;
  list-style: none !important;
  margin: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
  transition: all 0.25s ease !important;
  z-index: 10000 !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
.nav li:hover .sub-menu, .navbar-nav .nav-item:hover .sub-menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
.sub-menu li a {
  display: block !important;
  padding: 9px 20px !important;
  color: #1e293b !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: background 0.2s, color 0.2s !important;
}
.sub-menu li a:hover {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
}
