:root {
  --bg:       #030508;
  --bg2:      #070b14;
  --surface:  rgba(0,240,255,0.03);
  --border:   rgba(0,240,255,0.10);
  --border-h: rgba(0,240,255,0.30);
  --cyan:     #00F0FF;
  --amber:    #FF7A1A;
  --green:    #00FF88;
  --text:     #c8dde8;
  --dim:      #3a5568;
  --muted:    #131e28;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grid background */
body::before {
  content:'';
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(rgba(0,240,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.025) 1px, transparent 1px);
  background-size: 62px 62px;
  pointer-events:none;
  z-index:0;
}

/* Scanlines */
body::after {
  content:'';
  position:fixed;
  inset:0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.12) 3px, rgba(0,0,0,0.12) 4px
  );
  pointer-events:none;
  z-index:999;
  opacity:0.5;
}

/* ── Link ── */
.sv a {
  color: var(--cyan); /* or whatever fits your theme */
  text-decoration: none;
  font-weight: 500;
}

.sv a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.system-grid .feature {
  grid-column: span 2;
}


/* ── HERO ── */
.hero {
  position:relative;
  height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:52px;
  z-index:1;
}

.hero-eyebrow {
  font-size:12px;
  letter-spacing:0.35em;
  color:var(--cyan);
  opacity:0.6;
  margin-bottom:36px;
  animation: fadeUp .7s ease both;
}

.hero-title {
  font-family:'Orbitron',monospace;
  font-size: clamp(68px,8vw,90px);
  font-weight:900;
  color:#fff;
  letter-spacing:-0.03em;
  line-height:0.88;
  animation: fadeUp .7s .1s ease both;
}

.hero-title .glow {
  color:var(--cyan);
  text-shadow: 0 0 40px rgba(0,240,255,.55), 0 0 100px rgba(0,240,255,.2);
}

.hero-sub {
  margin-top:28px;
  font-size:13px;
  letter-spacing:0.22em;
  color:var(--dim);
  animation: fadeUp .7s .2s ease both;
}

.hero-stats {
  display:flex;
  gap:0;
  margin-top:36px;
  animation: fadeUp .7s .3s ease both;
  flex-wrap:wrap;
  justify-content:center;
  border:1px solid var(--border);
  border-radius:6px;
  overflow:hidden;
}

.h-stat {
  padding:20px 36px;
  text-align:center;
  border-right:1px solid var(--border);
}
.h-stat:last-child{border-right:none;}

.h-stat-v {
  font-family:'Orbitron',monospace;
  font-size:26px;
  font-weight:700;
  color:var(--cyan);
}
.h-stat-k {
  font-size:10px;
  letter-spacing:0.18em;
  color:var(--dim);
  margin-top:6px;
}

.scroll-cue {
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  font-size:20px;
  letter-spacing:0.25em;
  color:var(--dim);
  animation: fadeUp .7s .55s ease both, bob 2s 1.5s ease infinite;
}

/* ── NAV ── */
nav {
  position:sticky;
  top:0;
  z-index:100;
  background: rgba(3,5,8,.93);
  backdrop-filter:blur(24px);
  border-bottom:1px solid var(--border);
  padding:0 62px;
  display:flex;
  overflow-x:auto;
}

nav a {
  font-family:'Orbitron',monospace;
  font-size:10px;
  font-weight:700;
  letter-spacing:0.22em;
  color:var(--dim);
  text-decoration:none;
  padding:20px 28px;
  border-bottom:2px solid transparent;
  transition:all .2s;
  white-space:nowrap;
}
nav a:hover, nav a.active {
  color:var(--cyan);
  border-bottom-color:var(--cyan);
}

/* ── SECTIONS ── */
.section-wrap {
  position:relative;
  z-index:1;
  padding:52px 62px;
  max-width:1240px;
  margin:0 auto;
}

.sh { margin-bottom:36px; }

.sh-tag {
  font-size:10px;
  letter-spacing:0.35em;
  color:var(--cyan);
  opacity:.55;
  margin-bottom:8px;
}

.sh-title {
  font-family:'Orbitron',monospace;
  font-size:clamp(39px,5vw,68px);
  font-weight:900;
  color:#fff;
  letter-spacing:-0.025em;
  line-height:1;
}
.sh-title .ca { color:var(--cyan); }
.sh-title .co { color:var(--amber); }

.sh-bar {
  width:62px;
  height:2px;
  background:linear-gradient(90deg,var(--cyan),transparent);
  margin-top:14px;
}
.sh-bar.amber-bar { background:linear-gradient(90deg,var(--amber),transparent); }

.sep {
  max-width:1240px;
  margin:0 auto;
  padding:0 62px;
  border-top:1px solid var(--border);
}

/* ── CARDS ── */
.g4 { display:grid; grid-template-columns:repeat(auto-fit,minmax(286px,1fr)); gap:8px; }
.g3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(351px,1fr)); gap:8px; }
.g2 { display:grid; grid-template-columns:repeat(auto-fit,minmax(442px,1fr)); gap:8px; }
.g1 { display:grid; grid-template-columns:1fr; gap:8px; }

.card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:6px;
  padding:20px;
  position:relative;
  overflow:hidden;
  transition:transform .3s, border-color .3s, background .3s;
}

.card::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--c-accent,var(--cyan)),transparent);
  opacity:0;
  transition:opacity .3s;
}

.card:hover {
  border-color:var(--border-h);
  background:rgba(0,240,255,.05);
  transform:translateY(-3px);
}
.card:hover::before { opacity:1; }

.card.am  { --c-accent:var(--amber); }
.card.gr  { --c-accent:var(--green); }
.card.am:hover { background:rgba(255,122,26,.04); border-color:rgba(255,122,26,.3); }
.card.gr:hover { background:rgba(0,255,136,.04); border-color:rgba(0,255,136,.3); }

.c-tag {
  font-size:10px;
  font-weight:600;
  letter-spacing:0.25em;
  color:var(--c-accent,var(--cyan));
  margin-bottom:12px;
  display:flex;
  align-items:center;
  gap:8px;
}

.c-name {
  font-family:'Orbitron',monospace;
  font-size:17px;
  font-weight:700;
  color:#fff;
  line-height:1.35;
  margin-bottom:10px;
}

.c-div {
  height:1px;
  background:var(--border);
  margin-bottom:10px;
}

.sr {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  padding:3px 0;
  font-size:14px;
  gap:13px;
  border-bottom:1px solid rgba(255,255,255,0.025);
}
.sr:last-child{border-bottom:none;}

.sk { color:var(--dim); flex-shrink:0; }
.sv { color:var(--text); font-weight:600; text-align:right; font-size:14px; }

.corner {
  position:absolute;
  top:17px;right:18px;
  font-size:10px;
  letter-spacing:0.15em;
  color:var(--c-accent,var(--cyan));
  font-style:italic;
}

.dot {
  display:inline-block;
  width:8px;height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 6px var(--green);
  animation:pulse 2s ease infinite;
}

/* ── MONITOR DIAGRAM ── */
.mon-diagram {
  background:rgba(0,240,255,.02);
  border:1px solid var(--border);
  border-radius:8px;
  padding:28px 24px 20px;
  margin-bottom:24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}

.mon-row {
  display:flex;
  align-items:flex-end;
  gap:18px;
  justify-content:center;
}

.mon {
  border:1px solid rgba(0,240,255,.45);
  border-radius:3px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  background:rgba(0,240,255,.03);
  position:relative;
  transition:all .3s;
}
.mon:hover {
  border-color:var(--cyan);
  background:rgba(0,240,255,.07);
  box-shadow:0 0 16px rgba(0,240,255,.15);
}

.mon.primary {
  width:246px; height:150px;
  border-color:var(--cyan);
  box-shadow:0 0 14px rgba(0,240,255,.18);
}
.mon.top    { width:166px; height:109px; }
.mon.vert   { width:94px;  height:154px; border-color:rgba(0,240,255,.35); }

.mon-hz {
  font-family:'Orbitron',monospace;
  font-size:16px;
  font-weight:700;
  color:var(--cyan);
}
.mon-id { font-size:10px; color:var(--dim); }

.mon-label {
  font-size:10px;
  color:var(--dim);
  text-align:center;
  margin-top:8px;
  letter-spacing:0.12em;
  line-height:1.5;
}

.mon-stand {
  width:30px;height:8px;
  background:var(--muted);
  border-radius:2px;
  margin-top:2px;
}

/* ── CHASSIS BAR ── */
.chassis-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  padding:14px 20px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:6px;
  margin-top:8px;
}

.chassis-right {
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}

/* ── DASHED PLACEHOLDER ── */
.card.dash {
  border-style:dashed;
  border-color:var(--muted);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  min-height:160px;
}

.dash-body {
  font-size:14px;
  color:var(--dim);
  line-height:2;
  margin-top:8px;
}

/* ── CARD IMAGE SLOT ── */
.card-img {
  display: none; /* shown when img src is populated */
  position: relative;
  height: 150px;
  overflow: hidden;
  margin: -20px -20px 14px;
  border-radius: 5px 5px 0 0;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

/* scanline texture over image */
.card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px
  );
  z-index: 2;
  pointer-events: none;
}

/* cyan colour overlay */
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,240,255,0.12);
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}

/* ── CARD IMAGE SLOT ── */
.card-img-1 {
  display: none; /* shown when img src is populated */
  position: relative;
  height: 270px;
  overflow: hidden;
  margin: -20px -20px 14px;
  border-radius: 5px 5px 0 0;
}

.card-img-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

/* scanline texture over image */
.card-img-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px
  );
  z-index: 2;
  pointer-events: none;
}

/* cyan colour overlay */
.card-img-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,240,255,0.12);
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}

/* ── HERO IMAGE ZONE ── */
.hero-img {
  display: none; /* shown when img src is populated */
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 300px;
  overflow: hidden;
  margin: 28px 0;
  border-radius: 6px;
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 55%, transparent 100%);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

.hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px
  );
  z-index: 2;
  pointer-events: none;
}

.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,240,255,0.12);
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}

/* ── SYSTEM SECTION LAYOUT ── */
.system-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.system-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pc-img-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255,122,26,0.3);
  background: var(--surface);
  min-height: 200px;
  transition: border-color .3s;
}

.pc-img-card:hover { border-color: rgba(255,122,26,0.6); }

.pc-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.1) brightness(0.9);
}

/* scanlines */
.pc-img-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 3px,
    rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px
  );
  z-index: 2;
  pointer-events: none;
}

/* cyan overlay */
.pc-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,240,255,0.12);
  mix-blend-mode: color;
  z-index: 1;
  pointer-events: none;
}

.pc-hud-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 3;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-shadow: 0 0 12px rgba(255,122,26,0.7);
}

.pc-hud-link {
  position: absolute;
  bottom: 14px;
  right: 16px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0,240,255,0.5);
  transition: opacity .2s;
}

.pc-hud-link:hover { opacity: 0.75; text-decoration: underline; }

@media(max-width:900px){
  .system-layout { grid-template-columns: 1fr; }
  .pc-img-card { min-height: 220px; }
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from{opacity:0;transform:translateY(22px)}
  to  {opacity:1;transform:translateY(0)}
}
@keyframes pulse {
  0%,100%{opacity:1} 50%{opacity:.35}
}
@keyframes bob {
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%    {transform:translateX(-50%) translateY(7px)}
}

/* ── RESPONSIVE ── */
@media(max-width:640px){
  .section-wrap{padding:40px 20px;}
  nav{padding:0 28px;}
  .hero{padding:28px;}
  .hero-stats{gap:0;}
  .h-stat{padding:15px 20px;}
}
