:root {
  --bg-void: #070709;
  --bg-surface: #0f1014;
  --bg-elevated: #16171d;
  --bg-glass: rgba(13, 14, 18, 0.86);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --ink-primary: #f5f5f7;
  --ink-secondary: #c8c8d4;
  --ink-muted: #9a9aa8;
  --crimson: #d91c24;
  --crimson-hover: #ef232c;
  --crimson-soft: rgba(217, 28, 36, 0.16);
  --crimson-text: #ff6b72;
  --gold: #d4af37;
  --emerald: #10b981;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
  color: var(--ink-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--ink-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font-family: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink-primary);
  color: var(--bg-void);
  font-weight: 700;
}

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

.container {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

/* =====================================================================
   PREVIEW ATTRIBUTION BAR
   ===================================================================== */
.preview-bar {
  background: #0d0d11;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.preview-bar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.preview-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.preview-credit {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}

.preview-credit:hover {
  opacity: 0.85;
}

.live-dot,
.wa-dot,
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.live-dot,
.wa-dot {
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.75);
}

.eyebrow-dot {
  background: var(--crimson);
  box-shadow: 0 0 10px rgba(217, 28, 36, 0.8);
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-loc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--ink-primary);
}

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

.btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-wa-header:hover {
  border-color: rgba(16, 185, 129, 0.55);
  background: rgba(16, 185, 129, 0.12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

.mobile-drawer {
  border-top: 1px solid var(--border-subtle);
  background: #0c0d11;
}

.mobile-drawer-inner {
  padding: 18px 0 22px;
  display: grid;
  gap: 10px;
}

.drawer-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink-primary);
  font-weight: 500;
  border: 1px solid transparent;
}

.drawer-link:hover {
  background: var(--bg-elevated);
  border-color: var(--border-subtle);
}

.drawer-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

/* =====================================================================
   SHARED BUTTONS & TYPOGRAPHY
   ===================================================================== */
.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
  background: var(--crimson);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(217, 28, 36, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  background: var(--crimson-hover);
  box-shadow: 0 14px 36px rgba(217, 28, 36, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--ink-primary);
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: #1d1f27;
}

.btn-full {
  width: 100%;
}

.btn-magnetic {
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-magnetic::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-125%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}

.btn-magnetic:hover::before {
  transform: translateX(125%) skewX(-20deg);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--crimson-text);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: var(--ink-primary);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.005) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.section-head-split > div {
  max-width: 680px;
}

.section-sub {
  margin: 14px 0 0;
  color: var(--ink-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
}

.inline-link {
  color: var(--ink-primary);
  border-bottom: 1px solid var(--crimson-text);
  font-weight: 600;
}

/* =====================================================================
   SECTION 1: HERO & 3D INTERACTIVE OPTICAL STAGE
   ===================================================================== */
.hero-section {
  position: relative;
  padding: 58px 0 72px;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: -120px 0 auto;
  height: 560px;
  background:
    radial-gradient(620px 340px at 78% 32%, rgba(217, 28, 36, 0.14), transparent 72%),
    radial-gradient(520px 300px at 18% 20%, rgba(255, 255, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--ink-secondary);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.15rem, 4.3vw, 3.55rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 20px;
}

.text-accent {
  background: linear-gradient(135deg, #ffffff 0%, #ffd5d7 42%, #ff5a62 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 1.04rem;
  color: var(--ink-secondary);
  max-width: 560px;
  line-height: 1.68;
}

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

/* 3-Column Hairline Authority Strip (Desktop + Mobile Parity) */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
  gap: 0;
}

.proof-cell {
  padding: 0 16px;
  border-right: 1px solid var(--border-subtle);
}

.proof-cell:first-child {
  padding-left: 0;
}

.proof-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.proof-val {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.star-gold {
  color: var(--gold);
}

.proof-lbl {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 3px;
}

/* 3D Optical Finish Studio Shell */
.stage-shell {
  background: linear-gradient(180deg, #111218 0%, #090a0e 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.stage-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  white-space: nowrap;
  flex-shrink: 0;
}

.stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #060608;
  border: 1px solid rgba(255, 255, 255, 0.1);
  perspective: 1100px;
}

.stage-3d-plane {
  position: relative;
  width: 100%;
  height: 100%;
  transform: scale(1.03) rotateX(var(--srx, 0deg)) rotateY(var(--sry, 0deg));
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

.stage-car-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s var(--ease), transform 0.75s var(--ease);
  pointer-events: none;
}

.stage-car-img.is-active {
  opacity: 1;
  transform: scale(1);
}

.stage-specular {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(420px circle at var(--smx, 52%) var(--smy, 30%), rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.12) 0%, rgba(7, 7, 9, 0) 40%, rgba(7, 7, 9, 0.42) 100%);
  mix-blend-mode: screen;
}

.stage-scan-beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18%;
  width: 18%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 45%, rgba(239, 35, 44, 0.75) 52%, rgba(255, 255, 255, 0.92) 56%, transparent 100%);
}

.stage-scan-beam.is-scanning {
  animation: opticalScan 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes opticalScan {
  0% { left: -18%; opacity: 0.95; }
  85% { opacity: 0.9; }
  100% { left: 105%; opacity: 0; }
}

#ppf-3d-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 4;
  pointer-events: none;
}

.stage-telemetry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  flex-wrap: wrap;
}

.telemetry-spec {
  color: var(--ink-primary);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.telemetry-meta {
  color: var(--ink-muted);
}

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

.finish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.finish-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink-primary);
}

.finish-btn.is-active {
  background: rgba(217, 28, 36, 0.14);
  border-color: var(--crimson);
  color: var(--ink-primary);
}

.swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.swatch-gloss {
  background: linear-gradient(135deg, #ffffff 0%, #3b3e48 45%, #090a0e 100%);
}

.swatch-satin {
  background: linear-gradient(135deg, #4b4e5a 0%, #1d1f26 55%, #0f1014 100%);
}

.swatch-grey {
  background: linear-gradient(135deg, #9fa6b5 0%, #525866 60%, #2a2d36 100%);
}

/* =====================================================================
   AUTHORIZED BRAND STRIP
   ===================================================================== */
.brand-strip-section {
  padding: 28px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #0b0c10;
}

.brand-strip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 18px;
}

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

.brand-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-pill strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
}

.brand-pill span {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* =====================================================================
   SECTION 2: INTERACTIVE 0%-100% GLOSS VS. SATIN STEALTH SLIDER
   ===================================================================== */
.compare-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.compare-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.compare-file {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-pos-readout {
  color: var(--ink-primary);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.ba-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  background: #060608;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  touch-action: none;
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-clip-layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  pointer-events: none;
}

.ba-badge {
  position: absolute;
  top: 16px;
  z-index: 4;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ba-badge-left {
  left: 16px;
  background: rgba(15, 16, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--ink-primary);
}

.ba-badge-right {
  right: 16px;
  background: rgba(185, 28, 28, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: #ffffff;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.75);
}

.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0d0e13;
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
}

.compare-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.preset-group {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}

.preset-btn {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--ink-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.preset-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink-primary);
}

.preset-btn.is-active {
  background: var(--crimson-soft);
  border-color: var(--crimson);
  color: var(--ink-primary);
}

.concept-note {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* =====================================================================
   SECTION 3: 30-SECOND DUBAI PPF & CERAMIC CONFIGURATOR
   ===================================================================== */
.config-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr);
  gap: 28px;
  align-items: start;
}

.config-controls {
  display: grid;
  gap: 24px;
}

.config-block {
  display: grid;
  gap: 12px;
}

.config-step-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
}

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

.opt-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 74px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.opt-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
}

.opt-card.is-active {
  background: rgba(217, 28, 36, 0.14);
  border-color: var(--crimson);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.opt-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.25;
}

.opt-meta {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

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

.addon-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 68px;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.addon-chip:hover {
  border-color: var(--border-strong);
}

.addon-chip.is-active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.65);
}

.addon-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.addon-chip.is-active .addon-check {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #051b11;
}

.addon-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.addon-copy strong {
  font-size: 0.84rem;
  color: var(--ink-primary);
  line-height: 1.25;
}

.addon-copy small {
  font-size: 0.74rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.model-input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-primary);
  font-size: 0.94rem;
}

.model-input::placeholder {
  color: var(--ink-muted);
}

.config-summary {
  position: sticky;
  top: 96px;
  background: linear-gradient(180deg, #13141b 0%, #0d0e13 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.summary-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--crimson-text);
  margin-bottom: 8px;
}

.summary-price {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: var(--ink-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.summary-vat {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 6px 0 20px;
}

.spec-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.spec-v {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.summary-selection {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--ink-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.summary-reassurance {
  margin: 12px 0 0;
  font-size: 0.76rem;
  color: var(--ink-muted);
  text-align: center;
}

/* =====================================================================
   SECTION 4: TPU VS PVC & 6-STAGE BAY PROTOCOL
   ===================================================================== */
.truth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.truth-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.truth-pro {
  background: linear-gradient(180deg, rgba(217, 28, 36, 0.07) 0%, #101117 100%);
  border-color: rgba(217, 28, 36, 0.38);
}

.truth-head {
  margin-bottom: 18px;
}

.truth-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.truth-tag.warn {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-muted);
  border: 1px solid var(--border-subtle);
}

.truth-tag.pro {
  background: rgba(217, 28, 36, 0.18);
  color: #ff8086;
  border: 1px solid rgba(217, 28, 36, 0.45);
}

.truth-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.truth-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

.truth-warn .truth-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--ink-muted);
  font-weight: 700;
}

.truth-pro .truth-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.process-header {
  margin-bottom: 24px;
}

.process-header h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

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

.process-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--crimson-text);
  margin-bottom: 8px;
}

.process-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.process-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* =====================================================================
   SECTION 5: RECENT AL QUOZ BAY BUILDS & 3D SPECULAR TILT CARDS
   ===================================================================== */
.builds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.card-3d {
  position: relative;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
  will-change: transform;
}

.card-3d::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.08), transparent 62%);
}

.card-3d:hover::after {
  opacity: 1;
}

.build-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.build-card:hover {
  border-color: var(--border-strong);
}

.build-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #060608;
}

.build-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.build-card:hover .build-media img {
  transform: scale(1.03);
}

.build-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(9, 10, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--ink-primary);
  backdrop-filter: blur(10px);
}

.build-body {
  padding: 20px 22px 24px;
}

.build-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--crimson-text);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.build-body h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.build-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.service-catalog {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
}

.catalog-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-chips span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

/* =====================================================================
   SECTION 6: REPUTATION CARD
   ===================================================================== */
.reputation-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, #121319 0%, #0b0c10 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.rep-quote {
  margin: 16px 0 24px;
  font-size: 1.05rem;
  color: var(--ink-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.rep-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rep-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 26px 22px;
  text-align: center;
}

.rep-stars {
  color: var(--gold);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.rep-score {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink-primary);
}

.rep-score span {
  font-size: 1.15rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.rep-caption {
  margin-top: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.rep-sync-pill {
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.74rem;
  color: #a7f3d0;
}

/* =====================================================================
   SECTION 7: AL QUOZ LOCATION & FOOTER
   ===================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: stretch;
}

.loc-card,
.bay-blueprint-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin: 24px 0 26px;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.contact-v {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.contact-v a:hover {
  color: var(--crimson-text);
}

.loc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bay-blueprint-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(180deg, #11131a 0%, #0a0b0f 100%);
}

.blueprint-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.blueprint-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6ee7b7;
  font-weight: 700;
  white-space: nowrap;
}

.blueprint-map-visual {
  position: relative;
  flex: 1;
  min-height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 58% 52%, rgba(217, 28, 36, 0.2), #090a0f 70%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
}

.map-road {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  background: rgba(255, 255, 255, 0.07);
  padding: 4px 10px;
  border-radius: 6px;
}

.road-szr {
  top: 22px;
  left: 18px;
}

.road-khail {
  bottom: 22px;
  right: 18px;
}

.map-landmark {
  position: absolute;
  top: 68px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: rgba(15, 16, 20, 0.85);
  color: var(--ink-secondary);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-pin-core {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--crimson);
  border: 3px solid #ffffff;
  box-shadow: 0 0 24px rgba(217, 28, 36, 0.9);
}

.map-pin-pulse {
  position: absolute;
  top: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(217, 28, 36, 0.65);
  animation: pinPulse 2.4s infinite;
}

@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.7); opacity: 0; }
}

.map-pin-label {
  padding: 6px 12px;
  border-radius: 999px;
  background: #0d0e13;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-primary);
  white-space: nowrap;
}

.blueprint-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.blueprint-foot span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.blueprint-foot strong {
  font-size: 0.86rem;
  color: var(--ink-primary);
}

.site-footer {
  padding: 44px 0 36px;
  border-top: 1px solid var(--border-subtle);
  background: #060608;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  max-width: 460px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.footer-links a:hover {
  color: var(--ink-primary);
}

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

.footer-bottom a {
  color: var(--gold);
  font-weight: 600;
}

/* Clean Mobile Sticky Action Bar */
.mobile-action-bar {
  display: none;
}

/* =====================================================================
   RESPONSIVE & MOBILE-FIRST VISUAL PARITY (<= 1024px / <= 780px / 360px)
   ===================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .config-layout,
  .reputation-card,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .config-summary {
    position: static;
  }

  .brand-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .addon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .btn-wa-header {
    display: none;
  }

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

@media (max-width: 780px) {
  .hide-sm {
    display: none;
  }

  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(1240px, 100% - 28px);
  }

  .preview-bar-inner {
    font-size: 0.64rem;
    gap: 8px;
  }

  .preview-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    height: 30px;
  }

  .brand-divider {
    height: 22px;
  }

  .brand-loc {
    font-size: 0.66rem;
  }

  .brand-sub {
    font-size: 0.6rem;
  }

  .hero-section {
    padding: 32px 0 48px;
  }

  .eyebrow-pill {
    font-size: 0.64rem;
    padding: 7px 11px;
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: 2.02rem;
    margin-bottom: 14px;
  }

  .hero-lead {
    font-size: 0.94rem;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 24px;
  }

  /* Keep 3-Column Proof Strip Horizontal & Proportional on Mobile */
  .proof-strip {
    padding: 14px 0;
  }

  .proof-cell {
    padding: 0 8px;
  }

  .proof-val {
    font-size: 1.08rem;
  }

  .proof-lbl {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .stage-shell {
    padding: 12px;
    border-radius: 16px;
  }

  .stage-header {
    font-size: 0.62rem;
    padding: 0 2px 10px;
  }

  .stage-live-tag {
    padding: 3px 8px;
  }

  .stage-telemetry {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 10px 2px 10px;
    font-size: 0.68rem;
  }

  /* Keep 3-Col Finish Switcher Horizontal & Crisp on 360px */
  .finish-switcher {
    gap: 6px;
  }

  .finish-btn {
    padding: 0 6px;
    font-size: 0.72rem;
    gap: 5px;
    min-height: 44px;
  }

  .section {
    padding: 56px 0;
  }

  .section-head,
  .section-head-split {
    margin-bottom: 28px;
  }

  .brand-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .compare-topbar {
    padding: 10px 12px;
    font-size: 0.64rem;
  }

  .ba-stage {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }

  .ba-badge {
    top: 10px;
    padding: 5px 9px;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .ba-badge-left {
    left: 10px;
  }

  .ba-badge-right {
    right: 10px;
  }

  .ba-knob {
    width: 40px;
    height: 40px;
  }

  .compare-footer {
    padding: 12px;
    gap: 10px;
  }

  .preset-group {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .preset-btn {
    padding: 0 6px;
    font-size: 0.7rem;
    min-height: 42px;
  }

  .opt-card {
    min-height: 68px;
    padding: 12px;
  }

  .opt-title {
    font-size: 0.84rem;
  }

  .opt-meta {
    font-size: 0.7rem;
  }

  .config-summary {
    padding: 18px;
  }

  .truth-grid,
  .builds-grid {
    grid-template-columns: 1fr;
  }

  .truth-card {
    padding: 20px;
  }

  /* Keep 6-Step Bay Process a Symmetric 2x3 Grid on Mobile */
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .process-card {
    padding: 14px;
  }

  .process-card h4 {
    font-size: 0.9rem;
  }

  .process-card p {
    font-size: 0.78rem;
  }

  .reputation-card {
    padding: 22px;
    gap: 20px;
  }

  .rep-actions,
  .loc-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .loc-card,
  .bay-blueprint-card {
    padding: 20px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(9, 10, 14, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--border-strong);
  }

  .mab-est,
  .mab-wa {
    min-height: 46px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .mab-est {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    color: var(--ink-primary);
  }

  .mab-wa {
    background: var(--crimson);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
  }
}

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

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