/* ===========================================================
   NorthCompute — Design System (Dark Sci-Tech Theme · ADR-005)
   Deep-blue gradient base, light text, drifting particles,
   glow orbs. Replaces the Light theme.
   =========================================================== */

:root {
  /* Color — Dark sci-tech theme */
  --bg: #070b1f;
  --ease: cubic-bezier(.22,.61,.36,1);
  --bg-alt: #0b1230;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.12);
  --border-soft: rgba(255,255,255,.08);

  --text: #eef3ff;
  --text-dim: #b8c4dd;
  --text-faint: #7a8aa8;

  --accent: #1f6bff;          /* CoreWeave-ish blue */
  --accent-hover: #4f8cff;
  --accent-2: #4f8cff;
  --accent-3: #21d4b4;
  --grad: linear-gradient(120deg, #1f6bff 0%, #4f8cff 60%, #21d4b4 120%);
  --grad-blue: radial-gradient(circle at 30% 30%, #5b9bff, #1f6bff 60%, #0a3fb8);
  --grad-soft: linear-gradient(120deg, rgba(31,107,255,.18), rgba(79,140,255,.10));

  /* Type */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 18px 50px -24px rgba(31,107,255,.55);
  --glow: 0 0 0 1px rgba(31,107,255,.35), 0 18px 44px -20px rgba(31,107,255,.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 15% -5%, rgba(31,107,255,.22), transparent 60%),
    radial-gradient(1000px 600px at 90% 5%, rgba(33,212,180,.10), transparent 55%),
    linear-gradient(180deg, #070b1f 0%, #0b1230 40%, #0a1028 100%);
  background-attachment: fixed;
}

/* Drifting light-particle field (CSS-only) — disabled per user request */
.bg-particles { display: none; }
.bg-particles::before, .bg-particles::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #bfe0ff, transparent),
    radial-gradient(1.5px 1.5px at 28% 62%, #8fb8ff, transparent),
    radial-gradient(1px 1px at 44% 32%, #ffffff, transparent),
    radial-gradient(1.5px 1.5px at 63% 78%, #4f8cff, transparent),
    radial-gradient(1px 1px at 78% 22%, #d8e7ff, transparent),
    radial-gradient(1.5px 1.5px at 88% 56%, #21d4b4, transparent),
    radial-gradient(1px 1px at 8% 88%, #ffffff, transparent),
    radial-gradient(1px 1px at 52% 92%, #8fb8ff, transparent);
  background-size: 100% 100%;
  animation: drift 90s linear infinite;
}
.bg-particles::after { animation-duration: 140s; animation-direction: reverse; opacity: .6; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-40px); } }

main { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 36px; font-size: 17px; font-weight: 700; }
.btn-link { background: transparent; border: none; color: var(--accent-2); font-weight: 600; padding: 18px 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-family: inherit; }
.btn-link:hover { color: #fff; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(31,107,255,.6);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(31,107,255,.06);
  border-color: var(--border);
  color: var(--accent);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(31,107,255,.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,11,31,.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--grad-blue);
  box-shadow: 0 0 16px rgba(31,107,255,.45);
}
.brand-name { font-family: var(--font-display); font-size: 19px; letter-spacing: .2px; color: var(--text); }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ---------- Auth (top-right) ---------- */
.auth-area { position: relative; }
.btn-login { display: none; align-items: center; gap: 8px; }
.btn-login svg { width: 18px; height: 18px; }

.avatar-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
}
.avatar-btn img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.avatar-btn .chev { width: 8px; height: 8px; border-right: 2px solid var(--text-dim); border-bottom: 2px solid var(--text-dim); transform: rotate(45deg); }

.dropdown {
  position: absolute; top: 52px; right: 0;
  min-width: 200px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
}
.dropdown.open { display: block; }
.dropdown .dd-name { font-weight: 600; font-size: 14px; padding: 8px 10px; }
.dropdown .dd-email { color: var(--text-faint); font-size: 12px; padding: 0 10px 8px; border-bottom: 1px solid var(--border-soft); margin-bottom: 6px; }
.dropdown a, .dropdown button {
  display: block; width: 100%; text-align: left;
  font-size: 14px; color: var(--text); background: none; border: 0; cursor: pointer;
  padding: 9px 10px; border-radius: 8px;
}
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); }

/* ---------- Hero (full-bleed bg, cinematic) ---------- */
.hero {
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg-img {
  position: absolute;
  inset: -10% 0;
  width: 100%; height: 120%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(1.18) brightness(1.22) contrast(1.02);
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,11,31,.5) 0%, rgba(7,11,31,.3) 45%, rgba(7,11,31,.15) 75%, rgba(7,11,31,0) 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -160px; right: -60px;
  width: 520px; height: 520px;
  background: var(--grad-blue);
  border-radius: 50%;
  filter: blur(60px);
  opacity: .15;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.eyebrow.eyebrow-brand {
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: .18em; color: var(--accent);
  text-shadow: 0 1px 12px rgba(3,6,15,.6);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06; font-weight: 700; letter-spacing: -.6px;
  color: #fff;
  /* text-shadow: 0 1px 3px rgba(3,6,15,.9), 0 2px 18px rgba(3,6,15,.8), 0 0 40px rgba(3,6,15,.5); */
}
.hero h1 .grad {
  background: linear-gradient(120deg, #ffffff 0%, #bdf3e6 55%, #36e0bd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 4px rgba(3,6,15,.85)) drop-shadow(0 0 18px rgba(3,6,15,.55));
}
.lead { margin: 26px 0 34px; color: #eaf0ff; font-size: 19px; max-width: 620px; text-shadow: 0 1px 3px rgba(3,6,15,.9), 0 1px 16px rgba(3,6,15,.7); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-stats { display: flex; gap: 40px; margin-top: 48px; list-style: none; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 30px; color: var(--text); }
.hero-stats span { color: var(--text-faint); font-size: 13px; }

/* GPU card visual (light) */
.gpu-card {
  width: 100%; max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.gpu-card-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-dim);
  padding-bottom: 14px; border-bottom: 1px solid var(--border-soft);
}
.gpu-card-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.gpu-card-body { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }

/* GPU card used on products.html (Pick the right muscle) */
.gpu-card { display: flex; flex-direction: column; padding: 20px; }
.gpu-card .gpu-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.gpu-card .gpu-specs { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.gpu-card .gpu-specs li { font-size: 13px; color: var(--text-dim); line-height: 1.5; }
.gpu-card .gpu-specs li strong { color: var(--text); font-weight: 700; }
.gpu-card .gpu-cta { margin-top: auto; align-self: stretch; text-align: center; }
.gpu-row { display: flex; justify-content: space-between; font-size: 14px; }
.gpu-row span:first-child { color: var(--text-dim); }
.gpu-row span:last-child { font-weight: 600; color: var(--text); }
.gpu-row.small { font-size: 12px; color: var(--text-faint); }
.gpu-bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.gpu-bar i { display: block; height: 100%; background: var(--grad); border-radius: 999px; }

/* ---------- Trust bar ---------- */
.trustbar { border-bottom: 1px solid var(--border-soft); padding: 26px 0; background: transparent; }
.trustbar-inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.trustbar-inner > span { color: var(--text-faint); font-size: 14px; flex: 0 0 auto; }
.logos { display: flex; gap: 30px; flex-wrap: wrap; }
.logos span { color: var(--text-dim); font-weight: 600; font-family: var(--font-display); opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.4px; margin-bottom: 16px; color: var(--text); }
.section-head p { color: var(--text-dim); font-size: 17px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(31,107,255,.16), transparent 70%);
  opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow); }
.card-accent { background: var(--grad-soft); border-color: rgba(31,107,255,.35); }
.card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.card-icon {
  flex: none;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
  font-size: 20px; color: var(--accent);
}
.card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 0; color: var(--text); }
.split-item .card-icon { margin-bottom: 14px; }
.card p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--text); }
.card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- Split (solutions) ---------- */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.split-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.split-item h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; color: var(--text); }
.split-item p { color: var(--text-dim); font-size: 15px; }

/* ---------- Regions & specs ---------- */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.region {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color .2s ease; box-shadow: var(--shadow-sm);
}
.region:hover { border-color: var(--accent); }
.region-pin { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-blue); margin-bottom: 8px; box-shadow: 0 0 12px rgba(31,107,255,.5); }
.region strong { font-family: var(--font-display); font-size: 18px; color: var(--text); }
.region small { color: var(--text-faint); font-size: 12px; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); }
.spec strong { display: block; font-family: var(--font-display); font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.spec span { color: var(--text-dim); font-size: 14px; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes blockquote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.quotes p { font-size: 16px; color: var(--text); }
.quotes footer { color: var(--text-faint); font-size: 14px; font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; background: linear-gradient(180deg, rgba(31,107,255,.08), rgba(31,107,255,.02)); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 400px; background: radial-gradient(circle, rgba(31,107,255,.22), transparent 60%); filter: blur(40px); }
.cta-inner { position: relative; }
.cta h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; color: var(--text); }
.cta p { color: var(--text-dim); font-size: 18px; margin-bottom: 30px; }
.cta .hero-cta { justify-content: center; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.about-copy h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); margin: 12px 0 16px; line-height: 1.15; color: var(--text); }
.about-copy p { color: var(--text-dim); font-size: 17px; }
.about-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.about-meta div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.about-meta strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--text); }
.about-meta span { color: var(--text-faint); font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { background: rgba(5,8,22,.85); color: #b8c4dd; padding: 60px 0 30px; border-top: 1px solid var(--border-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #8794ab; font-size: 14px; margin-top: 14px; max-width: 260px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: #fff; }
.footer-col a { display: block; color: #aeb9cf; font-size: 14px; margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; color: #7e8aa3; font-size: 13px; }

/* ---------- Page hero (sub-pages, full-bleed bg) ---------- */
.page-hero {
  position: relative;
  padding: 130px 0 90px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,31,.65) 0%, rgba(7,11,31,.25) 45%, rgba(7,11,31,.75) 100%),
    linear-gradient(90deg, rgba(7,11,31,.45) 0%, rgba(7,11,31,.1) 55%, rgba(7,11,31,0) 100%);
  pointer-events: none;
}
.page-hero-glow {
  position: absolute; top: -160px; right: -60px;
  width: 520px; height: 520px;
  background: var(--grad-blue); border-radius: 50%;
  filter: blur(60px); opacity: .15; pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.12; letter-spacing: -.6px; color: #fff;
  text-shadow: 0 1px 3px rgba(3,6,15,.9), 0 2px 18px rgba(3,6,15,.8), 0 0 40px rgba(3,6,15,.5);
}
.page-hero h1 .grad {
  display: inline-block;
  margin-top: .06em;
  background: linear-gradient(120deg, #ffffff 0%, #bdf3e6 55%, #36e0bd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 4px rgba(3,6,15,.85)) drop-shadow(0 0 18px rgba(3,6,15,.55));
}
.page-hero .lead { margin: 32px 0 30px; color: #eaf0ff; font-size: 18px; max-width: 620px; line-height: 1.55; text-shadow: 0 1px 3px rgba(3,6,15,.9), 0 1px 14px rgba(3,6,15,.75); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

/* Product block (products page) — image left, text right */
.product-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.product-block .pb-img { flex: 0 0 42%; max-width: 42%; overflow: hidden; }
.product-block .pb-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-block .pb-body { flex: 1 1 auto; padding: 32px; }
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-head h2 { font-family: var(--font-display); font-size: 26px; color: var(--text); }
.product-block .pb-body p { color: var(--text-dim); font-size: 16px; margin-bottom: 16px; max-width: 720px; }
.product-block .pb-body .btn { margin-top: 6px; }

/* Rate card (price page — one per consumption model) */
.rate-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; margin-bottom: 28px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.rate-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.rate-head h3 { font-family: var(--font-display); font-size: 24px; color: var(--text); }
.rate-tag { color: var(--text-faint); font-size: 13px; font-weight: 500; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 999px; padding: 4px 10px; }
.rate-sub { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; max-width: 720px; }

/* Section media (placeholder images) */
.section-media { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.section-media img { width: 100%; height: 320px; object-fit: cover; }

/* --------- Rich media blocks for content-heavy sections --------- */
/* Visual-first "callout" image — big, soft-bordered, hover zoom, staggered reveal */
.feature-image-block {
  position: relative;
  display: block;
  margin: 0 0 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  isolation: isolate;
}
.feature-image-block .fi-art {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 360px);
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
  filter: saturate(1.04) contrast(1.02);
}
.feature-image-block:hover .fi-art { transform: scale(1.08); filter: saturate(1.08); }
.feature-image-block .fi-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 22px 26px;
  background: linear-gradient(0deg, rgba(7,11,31,.85) 0%, rgba(7,11,31,.45) 60%, rgba(7,11,31,0) 100%);
  color: var(--text);
}
.feature-image-block .fi-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 4px;
}
.feature-image-block .fi-overlay p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  max-width: 720px;
}

/* Image-on-card — adds a full-width header image on top of any .card */
.card-image {
  display: block;
  width: calc(100% + 56px);
  height: 168px;
  margin: -28px -28px 18px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  transition: transform 1.2s var(--ease);
}
.card:hover .card-image { transform: scale(1.04); }

/* Two-column feature row: text + image side-by-side */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: center;
  margin: 0 0 56px;
}
.feature-row.reverse { grid-template-columns: .95fr 1.05fr; }
.feature-row .fr-text h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 12px;
  color: var(--text);
}
.feature-row .fr-text p { color: var(--text-dim); font-size: 16px; margin-bottom: 10px; }
.feature-row .fr-art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  position: relative;
}
.feature-row .fr-art img {
  display: block;
  width: 100%;
  height: clamp(240px, 28vw, 340px);
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.4s var(--ease);
}
.feature-row .fr-art:hover img { transform: scale(1.07); }

/* Subtle Ken-Burns autoplay for hero/banner images */
@keyframes kbZoom {
  0%   { transform: scale(1.04) translateY(0); }
  50%  { transform: scale(1.10) translateY(-1.5%); }
  100% { transform: scale(1.04) translateY(0); }
}
.kb-loop .fi-art,
.kb-loop .hero-bg-img { animation: kbZoom 16s ease-in-out infinite; }

/* Responsive: collapse feature-row & remove negative margins on mobile */
@media (max-width: 860px) {
  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; gap: 20px; }
  .feature-row.reverse .fr-art { order: -1; }
  .card-image { width: calc(100% + 40px); margin: -22px -20px 14px; height: 140px; }
}

/* GPU lineup grid */
.gpu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.gpu-card-product {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gpu-card-product:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow); }
.gpu-badge {
  position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent);
  padding: 4px 9px; border-radius: 999px;
}
.gpu-card-product h3 { font-family: var(--font-display); font-size: 19px; color: var(--text); margin-bottom: 4px; }
.gpu-sub { color: var(--text-faint); font-size: 13px; margin-bottom: 14px; }
.gpu-card-product .card-list { margin-bottom: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* Split tag */
.split-item .card-icon { margin-bottom: 12px; }
.split-tag { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent); background: rgba(31,107,255,.08); display: inline-block; padding: 5px 10px; border-radius: 8px; }

/* About media + figure */
.about-media { display: flex; }
.about-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.about-figure { margin: 18px 0 0; }
.about-figure img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border-soft); }

/* Team cards */
.team { grid-template-columns: repeat(3, 1fr); }
.team-card { padding: 0 0 26px; overflow: hidden; }
.team-photo { height: 160px; background-size: cover; background-position: center; margin-bottom: 18px; border-bottom: 1px solid var(--border-soft); background-color: var(--surface-2); }
.team-card h3 { font-family: var(--font-display); font-size: 18px; color: var(--text); padding: 0 26px; }
.team-role { color: var(--accent); font-size: 13px; font-weight: 600; padding: 4px 26px 0; margin-bottom: 8px; }
.team-card p:last-child { padding: 0 26px; color: var(--text-dim); font-size: 14px; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; min-width: 620px; background: transparent; }
.price-table th, .price-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
.price-table thead th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.price-table thead small { font-weight: 400; color: var(--text-faint); }
.price-table tbody tr:hover { background: var(--surface-2); }
.price-table tbody td:first-child strong { color: var(--accent); }
.table-note { color: var(--text-faint); font-size: 13px; margin-top: 14px; }
.spec-note { color: var(--text-faint); font-size: 13px; line-height: 1.6; margin-top: 18px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); }
.card-note { color: var(--text-faint); font-size: 12px; line-height: 1.5; margin-top: 12px; font-style: italic; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.calc-form select, .calc-form input {
  font: inherit; padding: 11px 12px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg-alt); color: var(--text);
}
.calc-form select:focus, .calc-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,107,255,.25); }
.calc-result {
  background: var(--grad-soft);
  border: 1px solid rgba(31,107,255,.3);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.calc-label { color: var(--text-dim); font-size: 14px; }
.calc-amount { font-family: var(--font-display); font-size: 44px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc-sub { color: var(--text-faint); font-size: 13px; margin-bottom: 10px; }

/* ---------- Resource cards ---------- */
.resource-layout { display: grid; grid-template-columns: 1.5fr .9fr; gap: 36px; align-items: start; }
.resource-col { display: flex; flex-direction: column; gap: 12px; }
.resource-group { font-size: 13px; letter-spacing: .14em; color: var(--text-faint); margin: 18px 0 4px; }
.resource-group:first-child { margin-top: 0; }
.resource-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.resource-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow); }
.rc-icon { font-size: 22px; flex: 0 0 auto; }
.rc-body { display: flex; flex-direction: column; flex: 1; }
.rc-body strong { color: var(--text); font-size: 15px; }
.rc-body small { color: var(--text-dim); font-size: 13px; }
.rc-tag { font-size: 11px; font-weight: 700; color: var(--accent); background: rgba(31,107,255,.1); padding: 4px 8px; border-radius: 6px; }
.resource-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.arena-card { background: var(--grad-blue); color: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.arena-card h4 { font-family: var(--font-display); font-size: 20px; margin-bottom: 8px; }
.arena-card p { font-size: 14px; opacity: .92; margin-bottom: 16px; }
.arena-card .btn-primary { background: #fff; color: var(--accent); }
.arena-card .btn-primary:hover { background: #e8f0ff; }

.arena-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.arena-muted { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

/* ---------- Metrics band ---------- */
.metrics-band .metrics-row,
.bottleneck .metrics-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.metric strong { display: block; font-family: var(--font-display); font-size: 38px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.metric span { color: var(--text-dim); font-size: 15px; }

/* ---------- Showcase (split media) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.showcase-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.showcase-copy h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin: 14px 0 14px; color: var(--text); line-height: 1.2; }
.showcase-copy p { color: var(--text-dim); font-size: 16px; margin-bottom: 18px; }
.showcase-copy .btn { margin-top: 6px; }

/* ---------- Press band ---------- */
.press-band .press-logos { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; }
.press-logos span { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--text-faint); opacity: .8; }

/* ---------- Innovate / newsletter ---------- */
.innovate .cards { margin-top: 0; }
.newsletter { background: var(--grad-blue); color: #fff; }
.newsletter .newsletter-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.newsletter-copy h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.newsletter-copy p { opacity: .9; margin-bottom: 22px; }
.newsletter-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.newsletter-form input { font: inherit; padding: 13px 16px; border-radius: 10px; border: none; min-width: 260px; }
.newsletter-note { margin-top: 14px; font-size: 14px; opacity: .9; }

/* ---------- Bottleneck grid ---------- */
.bottleneck .bottleneck-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }

/* ---------- Workflow ---------- */
.workflow-diagram { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.workflow-img img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.workflow-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 18px; }
.workflow-steps li { counter-increment: step; position: relative; padding-left: 56px; }
.workflow-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.workflow-steps strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 17px; margin-bottom: 2px; }
.workflow-steps span { color: var(--text-dim); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.faq-list details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px; }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--text); font-size: 16px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--accent); font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { color: var(--text-dim); font-size: 15px; margin-top: 10px; }

/* ---------- Resource: flat tiled layout ---------- */
.resource-flat { display: flex; flex-direction: column; gap: 8px; }
.resource-flat .resource-group { margin: 28px 0 14px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  color: var(--text); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.resource-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow); }
.rc-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.rc-body { display: block; padding: 18px 20px 22px; }
.rc-body strong { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 6px; color: var(--text); }
.rc-body small { color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.arena-wide { margin-top: 40px; grid-column: 1 / -1; text-align: center; }
.arena-wide .btn { display: inline-block; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.6fr .8fr; gap: 40px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--text-dim); }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 10px; background: var(--bg-alt); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,107,255,.25); }
.gpu-types { border: none; padding: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 14px; color: var(--text-dim); }
.chip:has(input:checked) { border-color: var(--accent); background: var(--grad-soft); color: var(--accent); font-weight: 600; }
.chip input { accent-color: var(--accent); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.form-note { margin-top: 16px; color: var(--accent); font-size: 14px; }
.contact-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }

/* Contact info display (replaces the form) */
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; align-items: flex-start; gap: 16px; box-shadow: var(--shadow-sm);
}
.cc-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--grad-soft); border: 1px solid var(--border-soft); color: var(--accent-2); }
.cc-body { flex: 1 1 auto; min-width: 0; }
.cc-body h3 { font-family: var(--font-display); font-size: 16px; margin-bottom: 8px; color: var(--text); }
.cc-text { color: var(--text-dim); font-size: 14px; margin-bottom: 6px; }
.cc-link { display: inline-block; color: var(--accent-2); font-weight: 600; font-size: 15px; word-break: break-all; }
.cc-link:hover { color: #fff; }
.cc-note { color: var(--text-faint); font-size: 13px; margin-top: 6px; line-height: 1.4; }
.cc-cta { display: inline-block; margin-top: 12px; color: var(--accent-2); font-weight: 700; font-size: 14px; text-decoration: none; }
.cc-cta:hover { color: #fff; text-decoration: underline; }
.contact-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cp-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.cp-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 8px; }
.cp-item p { color: var(--text); font-size: 15px; line-height: 1.45; font-weight: 500; }
.contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cm-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.cm-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.cm-block p { color: var(--text-dim); font-size: 15px; line-height: 1.5; }

/* ---------- Scroll reveal (mirrors aidc-infra-site) ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.25s var(--ease), transform 1.25s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal-center { opacity: 0; transform: scale(.94); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); will-change: opacity, transform; }
.reveal-center.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-56px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); will-change: opacity, transform; }
.reveal-right { opacity: 0; transform: translateX(56px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); will-change: opacity, transform; }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-center, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .cards, .split, .quotes { grid-template-columns: 1fr; }
  .regions, .specs { grid-template-columns: repeat(2, 1fr); }
  .gpu-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .calc { grid-template-columns: 1fr; }
  .resource-layout { grid-template-columns: 1fr; }
  .resource-aside { position: static; }
  .showcase, .workflow-diagram, .metrics-band .metrics-row, .bottleneck .metrics-row,
  .bottleneck .bottleneck-grid, .resource-grid, .contact-layout, .form-grid { grid-template-columns: 1fr; }
  .contact-cards, .contact-meta { grid-template-columns: 1fr; }
  .contact-promises { grid-template-columns: repeat(2, 1fr); }
  .resource-nav { position: static; }
  .product-block { flex-direction: column; }
  .product-block .pb-img { flex-basis: auto; max-width: none; }
  .product-block .pb-img img { height: 200px; }
  .product-block .pb-body { padding: 24px; }
}
@media (max-width: 560px) {
  .regions, .specs, .about-meta, .footer-grid { grid-template-columns: 1fr; }
  .contact-promises { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
.site-header.menu-open .nav-links {
  display: flex; position: absolute; top: 68px; left: 0; right: 0;
  flex-direction: column; gap: 0; background: var(--bg-alt);
  border-bottom: 1px solid var(--border); padding: 12px 24px;
}
.site-header.menu-open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
