/* =========================================================
   NetSach — Server Rental, Hardware & Network Solutions
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #0b1220;   /* deepest background */
  --ink-2:      #111a2e;   /* dark surfaces */
  --ink-3:      #1b2640;   /* dark borders */
  --paper:      #f5f7fb;   /* light background */
  --white:      #ffffff;
  --line:       #dfe4ee;
  --text:       #1a2233;
  --muted:      #5d6880;
  --muted-dark: #8f9bb6;

  --accent:     #2ef2a0;   /* signal green */
  --accent-ink: #04281a;
  --accent-2:   #3a7bff;   /* link blue */
  --amber:      #ffb547;
  --danger:     #ff5c6c;

  --font:  "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 1px 2px rgba(11,18,32,.06), 0 8px 24px rgba(11,18,32,.06);
  --shadow-lg: 0 20px 50px rgba(11,18,32,.14);
  --max:       1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #5cf7b7; }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.25); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--text); }
.btn--outline:hover { border-color: var(--text); }
.btn--sm { padding: .5rem 1rem; font-size: .875rem; }
.btn--block { width: 100%; }

.link-arrow { color: var(--accent-2); font-weight: 600; font-size: .95rem; }
.link-arrow:hover { text-decoration: underline; }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: .9rem;
}

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--muted-dark); font-size: .8rem; font-family: var(--mono); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; gap: 1rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5rem; }
.topbar a:hover { color: var(--accent); }
.topbar p a { text-decoration: underline; }
.topbar ul { display: flex; gap: 1.5rem; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(46,242,160,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 8px rgba(46,242,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,242,160,0); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-3);
  color: var(--white);
}
.header__inner { display: flex; align-items: center; gap: 2rem; height: 70px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; }
.logo__text span { color: var(--accent); }
.logo__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; }
.logo__mark svg { width: 22px; height: 22px; }
.logo__mark rect { fill: var(--ink); }
.logo__mark circle { fill: var(--accent); }

.nav ul { display: flex; gap: 1.75rem; }
.nav a { font-size: .95rem; color: #c9d2e6; position: relative; padding: .4rem 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s ease;
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { right: 0; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.search input {
  width: 230px;
  padding: .55rem 1rem .55rem 2.3rem;
  border-radius: 999px;
  border: 1px solid var(--ink-3);
  background: var(--ink-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9bb6' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat .8rem center / 16px;
  color: var(--white);
  font-size: .875rem;
  transition: border-color .2s, width .3s;
}
.search input::placeholder { color: var(--muted-dark); }
.search input:focus { outline: none; border-color: var(--accent); width: 270px; }

.icon-btn {
  position: relative;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--ink-3);
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center;
}

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1000px 500px at 85% 20%, rgba(58,123,255,.22), transparent 60%),
              radial-gradient(700px 400px at 10% 90%, rgba(46,242,160,.12), transparent 60%),
              var(--ink);
  color: var(--white);
  padding: 6rem 0 7rem;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.15rem; color: #b6c1da; max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.5rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 2rem; font-size: .9rem; color: var(--muted-dark); }
.hero__badges strong { display: block; font-family: var(--mono); font-size: 1.3rem; color: var(--white); }

.hero__visual { position: relative; min-height: 380px; }
.terminal {
  position: relative; z-index: 2;
  background: rgba(17,26,46,.9);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
  max-width: 470px;
  overflow: hidden;
}
.terminal__bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; border-bottom: 1px solid var(--ink-3); }
.terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: #39445f; }
.terminal__bar i:first-child { background: var(--danger); }
.terminal__bar i:nth-child(2) { background: var(--amber); }
.terminal__bar i:nth-child(3) { background: var(--accent); }
.terminal__bar span { margin-left: auto; font-family: var(--mono); font-size: .75rem; color: var(--muted-dark); }
.terminal pre { margin: 0; padding: 1.2rem 1.3rem 1.4rem; font-family: var(--mono); font-size: .82rem; line-height: 1.85; color: #d9e1f2; white-space: pre-wrap; }
.c-dim { color: #5d6b8c; }
.c-ok { color: var(--accent); }
.caret { display: inline-block; width: 8px; height: 1em; background: var(--accent); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.rack {
  position: absolute; z-index: 1;
  right: 0; bottom: -20px;
  width: 300px;
  padding: 14px;
  background: linear-gradient(#1a2440, #121a30);
  border: 1px solid var(--ink-3);
  border-radius: 12px;
  display: grid; gap: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}
.rack__unit {
  height: 38px; border-radius: 4px;
  background: linear-gradient(#2a3557, #1f2944);
  border: 1px solid #34406a;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
}
.rack__unit .bays {
  flex: 1; height: 16px;
  background: repeating-linear-gradient(90deg, #0f1629 0 26px, transparent 26px 30px);
  border-radius: 2px;
}
.rack__unit--switch .ports {
  flex: 1; height: 14px;
  background: repeating-linear-gradient(90deg, #0b1220 0 9px, transparent 9px 12px);
}

/* LEDs (shared) */
.leds { display: flex; gap: 5px; }
.leds b { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: flicker 2.4s infinite; }
.leds b:nth-child(2) { animation-delay: .6s; }
.leds b:nth-child(3) { animation-delay: 1.3s; }
.leds b.amber { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
@keyframes flicker { 0%, 100% { opacity: 1; } 45% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- Stats strip ---------- */
.stats { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--ink-3); }
.stats__inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats__inner div { padding: 1.6rem 1rem; border-left: 1px solid var(--ink-3); }
.stats__inner div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--mono); font-size: 1.5rem; color: var(--accent); }
.stats span { font-size: .85rem; color: var(--muted-dark); }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { max-width: 680px; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.section__head--row h2 { max-width: 620px; margin-bottom: 0; }

.note { margin-top: 2rem; font-size: .9rem; color: var(--muted); text-align: center; }
.note--dark { color: var(--muted-dark); text-align: left; margin-top: 1rem; }

/* ---------- Tabs (CSS-only) ---------- */
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tabs__labels {
  display: inline-flex; gap: 4px; padding: 5px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  margin-bottom: 2.5rem;
}
.tabs__labels label {
  padding: .6rem 1.4rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--muted);
  cursor: pointer; transition: .2s;
}
.tabs__labels label:hover { color: var(--text); }
.tabs__panel { display: none; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

#tab-vps:checked ~ .tabs__labels label[for="tab-vps"],
#tab-ded:checked ~ .tabs__labels label[for="tab-ded"],
#tab-gpu:checked ~ .tabs__labels label[for="tab-gpu"] { background: var(--ink); color: var(--white); }

#tab-vps:checked ~ .panel-vps,
#tab-ded:checked ~ .panel-ded,
#tab-gpu:checked ~ .panel-gpu { display: block; }

#tab-vps:focus-visible ~ .tabs__labels label[for="tab-vps"],
#tab-ded:focus-visible ~ .tabs__labels label[for="tab-ded"],
#tab-gpu:focus-visible ~ .tabs__labels label[for="tab-gpu"] { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.plans--3 { grid-template-columns: repeat(3, 1fr); }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.plan h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.plan__desc { color: var(--muted); font-size: .9rem; }
.plan--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan--featured .plan__desc, .plan--featured .specs span { color: var(--muted-dark); }
.plan--featured .specs li { border-color: var(--ink-3); }
.plan__tag {
  position: absolute; top: -12px; left: 1.8rem;
  padding: .2rem .7rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.price { font-family: var(--mono); font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; margin: .6rem 0 1.2rem; line-height: 1; }
.price__cur { font-size: 1.2rem; vertical-align: super; margin-right: 2px; }
.price__cur--text { font-size: 2rem; vertical-align: baseline; }
.price__per { font-size: .9rem; font-weight: 400; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.plan--featured .price__per { color: var(--muted-dark); }
.specs { margin-bottom: 1.6rem; flex: 1; }
.specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px dashed var(--line); font-size: .9rem; font-weight: 500; text-align: right; }
.specs span { color: var(--muted); font-weight: 400; text-align: left; }

/* ---------- Shop ---------- */
.shop { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }

.filters {
  position: sticky; top: 90px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.filters h3 { font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 1.4rem 0 .7rem; }
.filters h3:first-child { margin-top: 0; }
.filters li label { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; font-size: .92rem; cursor: pointer; }
.filters li em { margin-left: auto; font-style: normal; font-size: .8rem; color: var(--muted); font-family: var(--mono); }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--ink); width: 16px; height: 16px; }
.filters input[type="range"] { width: 100%; accent-color: var(--ink); }
.range-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); font-family: var(--mono); }

.products__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.products__bar p { margin: 0; color: var(--muted); font-size: .92rem; }
.products__bar strong { color: var(--text); }
.products__bar select, .field select {
  padding: .55rem 2.2rem .55rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6880' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center / 16px;
  appearance: none; cursor: pointer; font-size: .9rem;
}

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.product {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e9eef8, #f6f8fc);
  border-bottom: 1px solid var(--line);
}
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: .2rem .6rem; border-radius: 6px;
  background: var(--ink); color: var(--white);
  font-family: var(--mono); font-size: .7rem; font-weight: 700;
}
.badge--sale { background: var(--danger); }
.badge--out { background: var(--amber); color: #3b2500; }
.product__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-2); margin-bottom: .35rem; }
.product h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.product__spec { font-size: .85rem; color: var(--muted); }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .5rem; }
.product__price { margin: 0; font-family: var(--mono); font-weight: 700; font-size: 1.1rem; }
.product__price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-right: 4px; }

/* CSS-drawn hardware */
.device {
  width: 78%;
  height: 34px;
  border-radius: 5px;
  background: linear-gradient(#2b3657, #1a2340);
  border: 1px solid #3a4775;
  box-shadow: 0 14px 24px rgba(11,18,32,.25), inset 0 1px 0 rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  transform: perspective(500px) rotateX(10deg);
}
.device .bays { flex: 1; height: 16px; background: repeating-linear-gradient(90deg, #0d1426 0 22px, transparent 22px 26px); border-radius: 2px; }
.device .ports { flex: 1; height: 12px; background: repeating-linear-gradient(90deg, #0b1220 0 8px, transparent 8px 11px); }
.device--2u { height: 62px; }
.device--2u .bays { height: 42px; background: repeating-linear-gradient(90deg, #0d1426 0 30px, transparent 30px 34px); }
.device--switch { background: linear-gradient(#e8ecf5, #cdd5e6); border-color: #b9c3d9; }
.device--switch .ports { background: repeating-linear-gradient(90deg, #1a2340 0 8px, transparent 8px 11px); height: 14px; }
.device--sfp .ports { background: repeating-linear-gradient(90deg, #1a2340 0 14px, transparent 14px 19px); height: 10px; }
.device--router { width: 62%; background: linear-gradient(#ffffff, #dfe5f1); border-color: #c2cbe0; }
.device--router .ports { background: repeating-linear-gradient(90deg, #1a2340 0 10px, transparent 10px 14px); }
.device--firewall { background: linear-gradient(#ff7a5c, #e04a3d); border-color: #c63c30; }
.device--firewall .ports { background: repeating-linear-gradient(90deg, #3a0f0a 0 10px, transparent 10px 14px); }
.device--nas { width: 64%; height: 56px; }
.device--nas .bays { height: 38px; background: repeating-linear-gradient(90deg, #0d1426 0 18px, transparent 18px 22px); }
.device--rack {
  width: 92px; height: 140px; padding: 8px;
  flex-direction: column; justify-content: flex-start; gap: 6px;
  background: linear-gradient(90deg, #1a2340, #2b3657 50%, #1a2340);
  transform: none;
}
.device--rack::before {
  content: ""; width: 100%; flex: 1; border-radius: 3px;
  background: repeating-linear-gradient(0deg, #0d1426 0 3px, #2b3657 3px 6px);
  opacity: .8;
}

.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 2.5rem; font-family: var(--mono); font-size: .9rem; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 .8rem; display: grid; place-items: center; border-radius: var(--radius-sm); }
.pagination a { border: 1px solid var(--line); background: var(--white); }
.pagination a:hover { border-color: var(--text); }
.pagination a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.solution {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.solution:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(46,242,160,.15); }
.solution__icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--ink); display: grid; place-items: center;
  margin-bottom: 1.3rem;
}
.solution__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.solution h3 { font-size: 1.2rem; }
.solution p { color: var(--muted); font-size: .95rem; }

.process {
  margin-top: 4rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  counter-reset: none;
}
.process li { padding: 1.8rem; border-left: 1px solid var(--line); position: relative; }
.process li:first-child { border-left: 0; }
.process span { font-family: var(--mono); font-size: .8rem; color: var(--accent-2); }
.process h4 { font-size: 1.15rem; margin: .4rem 0 .3rem; }
.process p { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- Data centers ---------- */
.dc { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.dc .eyebrow { color: var(--accent); }
.dc h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.dc__copy > p:not(.eyebrow):not(.note) { color: #b6c1da; }
.dc__list { margin-top: 2rem; border-top: 1px solid var(--ink-3); }
.dc__list li { display: flex; align-items: center; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--ink-3); }
.dc__list strong { font-family: var(--mono); font-size: .9rem; color: var(--accent); min-width: 56px; }
.dc__list em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: .85rem; color: var(--muted-dark); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.dc__map {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  border: 1px solid var(--ink-3);
  background:
    radial-gradient(circle, rgba(143,155,182,.35) 1.2px, transparent 1.6px) 0 0 / 16px 16px,
    linear-gradient(160deg, var(--ink-2), var(--ink));
  overflow: hidden;
}
.dc__map::before { /* soft glow around Colombo */
  content: ""; position: absolute; left: 66%; top: 70%;
  width: 260px; height: 260px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46,242,160,.18), transparent 65%);
}
.pin {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  padding: .25rem .55rem;
  border-radius: 6px;
  background: var(--ink-3); border: 1px solid #34406a;
  font-family: var(--mono); font-size: .72rem; font-weight: 700; color: var(--white);
  white-space: nowrap;
}
.pin::before {
  content: ""; position: absolute; left: 50%; top: calc(100% + 6px);
  width: 9px; height: 9px; border-radius: 50%; transform: translateX(-50%);
  background: var(--accent-2); box-shadow: 0 0 0 4px rgba(58,123,255,.25);
}
.pin--home { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pin--home::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(46,242,160,.25); animation: pulse 2s infinite; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.why__item { padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.why__item h3 { font-size: 1.1rem; }
.why__item p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.faq__list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: .75rem;
  transition: border-color .2s;
}
.faq__list details[open] { border-color: var(--ink); }
.faq__list summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.3rem;
  font-weight: 600; position: relative;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--accent-2); transition: transform .2s;
}
.faq__list details[open] summary::after { content: "−"; }
.faq__list details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- CTA / Contact ---------- */
.cta {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 3.5rem;
  padding: 3.5rem;
  border-radius: 22px;
  background: radial-gradient(600px 300px at 0% 0%, rgba(46,242,160,.18), transparent 60%), var(--ink);
  color: var(--white);
}
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta__copy p { color: #b6c1da; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted-dark); font-family: var(--mono); }
.field input, .field textarea, .cta .field select {
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ink-3);
  background-color: var(--ink-2);
  color: var(--white);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #5d6b8c; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-dark); padding: 4.5rem 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.8fr repeat(4, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.footer .logo { color: var(--white); margin-bottom: 1rem; }
.footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 1rem; }
.footer li { margin-bottom: .55rem; }
.footer a:hover { color: var(--accent); }
.newsletter { margin-top: 1.5rem; }
.newsletter label { display: block; font-size: .82rem; margin-bottom: .5rem; color: #c9d2e6; }
.newsletter div { display: flex; gap: .5rem; }
.newsletter input {
  flex: 1; min-width: 0;
  padding: .55rem .9rem; border-radius: 999px;
  border: 1px solid var(--ink-3); background: var(--ink-2); color: var(--white);
}
.newsletter input:focus { outline: none; border-color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; border-top: 1px solid var(--ink-3); font-size: .85rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 1.5rem; }

/* ---------- Focus (accessibility) ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, label:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .search { display: none; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .topbar ul li:not(:first-child) { display: none; }

  /* mobile nav */
  .burger { display: flex; }
  .nav {
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-3);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav ul { flex-direction: column; gap: 0; padding: 0 1.25rem; }
  .nav li { border-top: 1px solid var(--ink-3); }
  .nav a { display: block; padding: 1rem 0; }
  .nav a::after { display: none; }
  .nav-toggle:checked ~ .nav { max-height: 400px; }
  .nav-toggle:checked ~ .header__actions .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .header__actions .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header__actions .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 4rem 0 5rem; }
  .hero__inner, .dc, .faq, .cta { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { min-height: 340px; }
  .stats__inner { grid-template-columns: repeat(3, 1fr); }
  .stats__inner div:nth-child(4) { border-left: 0; padding-left: 0; }
  .stats__inner div:nth-child(n+4) { border-top: 1px solid var(--ink-3); }
  .plans--3, .solutions { grid-template-columns: repeat(2, 1fr); }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters ul { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
  .filters li em { margin-left: .3rem; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(3) { border-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .cta { padding: 2.5rem 1.75rem; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .topbar p { font-size: .72rem; }
  .topbar ul { display: none; }
  .header__actions .icon-btn:not(.cart) { display: none; }
  .rack { width: 230px; right: -10px; }
  .terminal pre { font-size: .72rem; }
  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stats__inner div { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--ink-3); }
  .stats__inner div:nth-child(-n+2) { border-top: 0; }
  .tabs__labels { display: flex; }
  .tabs__labels label { flex: 1; text-align: center; padding: .6rem .5rem; }
  .plans, .plans--3, .solutions, .why, .process { grid-template-columns: 1fr; }
  .process li { border-left: 0 !important; border-top: 1px solid var(--line); }
  .process li:first-child { border-top: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .product__foot { flex-direction: column; align-items: stretch; }
  .cta__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
