/* ==========================================================================
   TOH BORCOCOH — Design System & Styles
   ========================================================================== */

:root {
  --bg: #07090d;
  --bg-elevated: #0c1017;
  --panel: #101621;
  --panel-2: #0b0f16;
  --text: #f4f7fb;
  --text-soft: #cfd7e3;
  --muted: #9aa5b5;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #62e6ff;
  --accent-2: #8b7cff;
  --emerald: #34d399;
  --amber: #fbbf24;
  --danger: #fb7185;
  --max: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-card: 0 20px 50px -24px rgba(0, 0, 0, 0.75);
  --shadow-glow: 0 0 40px -10px rgba(98, 230, 255, 0.25);
  --font-sans: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 82% 6%, rgba(98, 230, 255, 0.12) 0%, transparent 34%),
    radial-gradient(circle at 14% 22%, rgba(139, 124, 255, 0.1) 0%, transparent 36%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: #071018;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top announcement strip */
.topbar {
  background: linear-gradient(90deg, rgba(98, 230, 255, 0.08), rgba(139, 124, 255, 0.08));
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-soft);
}

.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 6px 0;
  text-align: center;
}

.topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
  display: inline-block;
  flex-shrink: 0;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.25);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.94);
  border-bottom-color: var(--line-strong);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  font-size: 15px;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(10, 14, 21, 0.98);
  padding: 16px 24px 22px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-links {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.mobile-drawer-links a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  font-weight: 600;
  color: var(--text-soft);
}

.mobile-drawer-links a:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
  background: rgba(16, 23, 34, 0.85);
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.btn.primary {
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061018;
  box-shadow: 0 10px 26px -12px rgba(98, 230, 255, 0.65);
}

.btn.primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 32px -10px rgba(98, 230, 255, 0.78);
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
}

.btn.sm {
  padding: 9px 13px;
  font-size: 13px;
  border-radius: 10px;
}

/* Common Typography & Section Layout */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(98, 230, 255, 0.08);
  border: 1px solid rgba(98, 230, 255, 0.22);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent) 52%, var(--accent-2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

section {
  padding: 88px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 10px 0 0;
}

.section-head p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 230, 255, 0.55), rgba(139, 124, 255, 0.55), transparent);
  opacity: 0.55;
}

/* Hero */
.hero {
  padding: 76px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(46px, 7.2vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 18px 0 22px;
}

.hero-desc {
  max-width: 580px;
  color: var(--muted);
  font-size: 18.5px;
  line-height: 1.65;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-metric strong {
  display: block;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

/* Hero Interactive Diagnostic Card */
.hero-showcase {
  background: linear-gradient(170deg, rgba(20, 28, 42, 0.92), rgba(10, 14, 22, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(98, 230, 255, 0.14), transparent 45%);
  pointer-events: none;
}

.showcase-tabs {
  display: flex;
  gap: 6px;
  background: rgba(7, 9, 13, 0.65);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 5px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.showcase-tab {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.showcase-tab.active {
  background: linear-gradient(135deg, rgba(98, 230, 255, 0.18), rgba(139, 124, 255, 0.2));
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(98, 230, 255, 0.35);
}

.showcase-stage {
  position: relative;
  z-index: 1;
  background: rgba(7, 9, 13, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.showcase-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.grade-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(52, 211, 153, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.grade-tag.neuf {
  background: rgba(98, 230, 255, 0.14);
  color: var(--accent);
  border-color: rgba(98, 230, 255, 0.32);
}

.grade-tag.grade-a {
  background: rgba(139, 124, 255, 0.16);
  color: #c4b5fd;
  border-color: rgba(139, 124, 255, 0.35);
}

.sku-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.showcase-visual {
  height: 155px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.showcase-title {
  margin: 0 0 4px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.showcase-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.showcase-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 10px;
}

.check-pill svg {
  color: var(--emerald);
  flex-shrink: 0;
}

.showcase-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price-block strong {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.price-block span {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 8px;
}

/* Value Pillars Strip */
.pillars-section {
  padding: 36px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pillar-card {
  background: rgba(13, 18, 27, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(98, 230, 255, 0.1);
  border: 1px solid rgba(98, 230, 255, 0.25);
  color: var(--accent);
  flex-shrink: 0;
}

.pillar-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Catalogue Section */
.catalog-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: rgba(98, 230, 255, 0.05);
  border: 1px solid rgba(98, 230, 255, 0.16);
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--text-soft);
}

.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text-soft);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.18s ease;
}

.cat-tab:hover {
  border-color: var(--accent);
  color: var(--text);
}

.cat-tab.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071018;
  border-color: transparent;
  font-weight: 700;
}

.cat-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  opacity: 0.8;
}

.search-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.search-box {
  position: relative;
  flex: 1 1 260px;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.input, .select, .textarea {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(98, 230, 255, 0.14);
}

.search-box .input {
  padding-left: 40px;
  padding-right: 36px;
}

.clear-search {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: none;
  place-items: center;
  font-size: 14px;
}

.clear-search.visible {
  display: grid;
}

.select {
  width: auto;
  min-width: 175px;
}

.catalog-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: linear-gradient(180deg, rgba(18, 25, 37, 0.92), rgba(10, 14, 21, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(98, 230, 255, 0.35);
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.status-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.status-pill.last {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.3);
}

.status-pill.incoming {
  background: rgba(139, 124, 255, 0.14);
  color: #c4b5fd;
  border-color: rgba(139, 124, 255, 0.3);
}

.product-visual {
  height: 132px;
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(98, 230, 255, 0.08), rgba(7, 9, 13, 0.65));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.product-cat {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 5px;
}

.product-card h3 {
  margin: 0 0 5px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.product-sub {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 13.5px;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.spec-pill {
  font-size: 12px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
}

.product-foot {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-pricing {
  display: flex;
  flex-direction: column;
}

.price-now {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-save {
  font-size: 12px;
  color: var(--muted);
}

.price-save s {
  margin-right: 6px;
}

.save-badge {
  color: var(--emerald);
  font-weight: 700;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(11, 15, 22, 0.7);
}

.empty-state h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.empty-state p {
  margin: 0 0 18px;
  color: var(--muted);
}

.sourcing-banner {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 90% 20%, rgba(98, 230, 255, 0.12), transparent 45%), var(--panel-2);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sourcing-banner h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.sourcing-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Buyback Simulator */
.buyback-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

.buyback-card {
  background: linear-gradient(180deg, rgba(16, 22, 33, 0.94), rgba(10, 14, 21, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.step-block {
  margin-bottom: 24px;
}

.step-block:last-child {
  margin-bottom: 0;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(98, 230, 255, 0.14);
  color: var(--accent);
  border: 1px solid rgba(98, 230, 255, 0.3);
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-btn {
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  color: var(--text-soft);
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.16s ease;
}

.choice-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.choice-btn.active {
  background: rgba(98, 230, 255, 0.15);
  border-color: var(--accent);
  color: var(--text);
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.quick-chip {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.quick-chip:hover,
.quick-chip.active {
  border-color: var(--accent-2);
  color: var(--text);
  background: rgba(139, 124, 255, 0.15);
}

.buyback-inputs {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.condition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.condition-card {
  text-align: left;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  border-radius: 14px;
  padding: 13px 14px;
  transition: all 0.16s ease;
}

.condition-card:hover {
  border-color: var(--accent);
}

.condition-card.active {
  border-color: var(--accent);
  background: rgba(98, 230, 255, 0.1);
}

.condition-card strong {
  display: block;
  font-size: 14px;
  margin-bottom: 3px;
}

.condition-card span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
}

.accessory-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--panel-2);
  font-size: 13px;
  cursor: pointer;
}

.check-toggle input {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.buyback-summary {
  position: sticky;
  top: 96px;
  background: radial-gradient(circle at 85% 10%, rgba(98, 230, 255, 0.16), transparent 50%), var(--panel);
  border: 1px solid rgba(98, 230, 255, 0.3);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.estimate-eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.estimate-value {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 10px 0 6px;
}

.estimate-note {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 18px;
  line-height: 1.5;
}

.estimate-recap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 18px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.recap-row span {
  color: var(--muted);
}

.recap-row strong {
  text-align: right;
}

.summary-actions {
  display: grid;
  gap: 10px;
}

/* Process & 32-Point Control */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.process-card {
  background: linear-gradient(180deg, rgba(16, 22, 32, 0.94), rgba(10, 14, 21, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.process-num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(98, 230, 255, 0.1);
  border: 1px solid rgba(98, 230, 255, 0.25);
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 18px;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.checklist-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: var(--panel-2);
  padding: 26px;
}

.checklist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.checklist-head h3 {
  margin: 0 0 4px;
  font-size: 21px;
}

.checklist-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.checklist-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.checklist-group {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.checklist-group h4 {
  margin: 0 0 12px;
  font-size: 14.5px;
  color: var(--accent);
}

.checklist-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.checklist-group li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-soft);
}

.checklist-group li svg {
  color: var(--emerald);
  margin-top: 2px;
  flex-shrink: 0;
}

.grades-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.grade-box {
  border: 1px solid var(--line);
  background: rgba(13, 18, 27, 0.72);
  border-radius: var(--radius-md);
  padding: 16px;
}

.grade-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14.5px;
}

.grade-box p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.about-grid h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 12px 0 16px;
}

.about-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(180deg, rgba(16, 22, 33, 0.9), rgba(10, 14, 21, 0.95));
}

.stat-card strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  color: var(--accent);
}

.stat-card span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.stat-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--panel-2);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: rgba(98, 230, 255, 0.4);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(98, 230, 255, 0.16);
  border-color: var(--accent);
  color: var(--accent);
}

.faq-panel {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-item.open .faq-panel {
  display: block;
}

/* Contact Hub */
.contact-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  background: radial-gradient(circle at 92% 10%, rgba(98, 230, 255, 0.14), transparent 44%), var(--panel-2);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  margin: 10px 0 12px;
}

.contact-info p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-mini {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.contact-mini small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.contact-mini strong {
  font-size: 14.5px;
}

.contact-form {
  background: rgba(7, 9, 13, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 30px;
  background: rgba(5, 7, 10, 0.85);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  max-width: 360px;
  margin: 12px 0 0;
}

.footer-col h4,
.footer-col h2 {
  margin: 0 0 12px;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col a,
.footer-col button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-link:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 5, 9, 0.78);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  background: #0d121b;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-header h3 {
  margin: 0;
  font-size: 22px;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--text);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.modal-body h4 {
  margin: 18px 0 8px;
  font-size: 15px;
  color: var(--accent);
}

.modal-body p,
.modal-body li {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.modal-body ul {
  padding-left: 18px;
}

.modal-body a {
  color: var(--accent);
  text-decoration: underline;
}

.modal-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 18px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* Toast Notification */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  background: #0f1724;
  border: 1px solid rgba(98, 230, 255, 0.45);
  color: var(--text);
  padding: 13px 18px;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reveal helper */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.js-ready [data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1040px) {
  .hero-grid,
  .buyback-shell,
  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .pillars-grid,
  .grades-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid,
  .process-grid,
  .checklist-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .buyback-summary {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 60px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  .hero-metrics,
  .pillars-grid,
  .catalog-grid,
  .process-grid,
  .checklist-groups,
  .grades-grid,
  .condition-grid,
  .buyback-inputs,
  .form-row,
  .showcase-checks {
    grid-template-columns: 1fr;
  }

  .contact-shell,
  .buyback-card,
  .buyback-summary {
    padding: 20px;
  }

  .select {
    width: 100%;
  }

  .topbar-sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
