/* Product listing + detail page styles */

/* PRODUCT LISTING */
.product-hero {
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.product-hero::before {
  content: "";
  position: absolute;
  inset: -200px -200px auto auto;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, oklch(0.48 0.20 255 / 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.product-hero__inner { position: relative; z-index: 1; }
.product-hero h1 {
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-top: 22px;
}
.product-hero h1 .italic-accent { color: var(--brand); }
.product-hero p.lede { margin-top: 24px; }

/* Category tabs */
.cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.cat-tabs a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--bg-subtle);
  color: var(--ink-2);
  border: 1px solid transparent;
}
.cat-tabs a:hover { color: var(--ink); border-color: var(--border); }
.cat-tabs a.active { background: var(--ink); color: var(--bg); }

/* ===== PRODUCT DETAIL ===== */
.pd-hero {
  padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 64px);
  position: relative;
}
.pd-hero__grid {
  display: grid; gap: 48px; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 920px) {
  .pd-hero__grid { grid-template-columns: 1fr 1fr; }
}
.pd-hero__title {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-top: 18px;
}
.pd-hero__title .italic-accent { color: var(--brand); display: block; font-size: .9em; }
.pd-hero__copy { margin-top: 22px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 52ch; line-height: 1.5; }
.pd-hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.pd-shot {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-subtle));
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  min-height: 380px;
  display: grid;
  gap: 14px;
}
.pd-shot__chip {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--brand-ink); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.pd-shot__bar {
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; gap: 6px; align-items: center;
  padding: 0 12px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}
.pd-shot__bar::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand);
}
.pd-shot__split { display: grid; gap: 14px; grid-template-columns: 1.2fr 1fr; }
.pd-shot__pane {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  display: grid; gap: 8px;
}
.pd-shot__pane h6 {
  margin: 0;
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em;
}
.pd-shot__metric { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; line-height: 1; }
.pd-shot__sub { color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); }

.pd-shot__row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 12.5px;
}
.pd-shot__row:last-child { border-bottom: 0; }
.pd-shot__row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pd-shot__row .dot.muted { background: var(--border-strong); }
.pd-shot__row .tag {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--brand); background: var(--brand-soft);
  padding: 3px 8px; border-radius: 100px;
  letter-spacing: 0.04em;
}
.pd-shot__row .tag.muted { color: var(--muted); background: var(--bg-subtle); }

/* Pull quote */
.pull {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pull__quote {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.25;
  max-width: 36ch;
}
.pull__quote::before, .pull__quote::after { color: var(--brand); }
.pull__quote::before { content: "“"; }
.pull__quote::after { content: "”"; }

/* Feature blocks */
.features {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .features { grid-template-columns: 1fr 1fr 1fr; } }
.feature {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.feature:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.feature__ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--bg-subtle);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.feature__t { margin-top: 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.feature__c { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Use cases / industries */
.uc-row {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 720px) { .uc-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .uc-row { grid-template-columns: repeat(4, 1fr); } }
.uc {
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 180px;
  display: flex; flex-direction: column;
}
.uc__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.uc__t { margin-top: 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.uc__c { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }

/* CTA contact form (compact) */
.cta-compact {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}
.cta-compact::after {
  content: "";
  position: absolute;
  inset: auto -150px -150px auto;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.48 0.20 255 / 0.35), transparent 70%);
  pointer-events: none;
}
.cta-compact__inner { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 880px) { .cta-compact__inner { grid-template-columns: 1.2fr 1fr; } }
.cta-compact h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.cta-compact h2 .italic-accent { color: oklch(0.85 0.10 255); }
.cta-compact p { color: oklch(0.78 0.01 250); margin-top: 16px; max-width: 48ch; font-size: 17px; line-height: 1.5; }

.cta-form { display: grid; gap: 12px; }
.cta-form .field input, .cta-form .field select, .cta-form .field textarea {
  background: oklch(0.22 0.02 250);
  border-color: oklch(0.30 0.02 250);
  color: white;
}
.cta-form .field input::placeholder, .cta-form .field textarea::placeholder { color: oklch(0.55 0.01 250); }
.cta-form .field label { color: oklch(0.78 0.01 250); }
.cta-form .field input:focus, .cta-form .field textarea:focus, .cta-form .field select:focus {
  border-color: white;
  box-shadow: 0 0 0 4px rgba(255,255,255,.08);
}

/* Specs strip */
.specs {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.spec {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.spec:last-child { border-right: 0; }
.spec__l { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.spec__v { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-top: 6px; }
