/* =====================================================================
   DOREVIX GLOBAL RETAIL LTD
   "Aurora Light-Tech" design system — premium electronics storefront
   Author: handcrafted, no framework. Vanilla CSS.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b0e14;
  --ink-soft: #353b48;
  --muted: #6b7280;
  --line: rgba(11, 14, 20, 0.09);
  --line-strong: rgba(11, 14, 20, 0.16);

  --bg: #f4f6f9;
  --bg-2: #eaeef4;
  --surface: #ffffff;
  --surface-2: #fbfcfe;

  --accent: #2347ff;        /* electric cobalt */
  --accent-press: #1733cc;
  --accent-2: #00ccc0;      /* teal */
  --accent-3: #8b5cf6;      /* violet (aurora only) */
  --accent-ink: #16267a;
  --accent-soft: rgba(35, 71, 255, 0.10);

  --ok: #16a34a;
  --warn: #d97706;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;

  --shadow-xs: 0 1px 2px rgba(13, 22, 51, 0.06);
  --shadow-sm: 0 4px 14px rgba(13, 22, 51, 0.07);
  --shadow: 0 18px 44px -18px rgba(13, 22, 51, 0.22);
  --shadow-lg: 0 40px 90px -32px rgba(13, 22, 51, 0.34);
  --shadow-accent: 0 22px 50px -18px rgba(35, 71, 255, 0.45);

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --font-display: "Clash Display", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Page atmosphere: aurora mesh + grain ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(40% 50% at 12% 8%, rgba(35, 71, 255, 0.14), transparent 70%),
    radial-gradient(38% 44% at 92% 4%, rgba(0, 204, 192, 0.14), transparent 70%),
    radial-gradient(50% 55% at 80% 92%, rgba(139, 92, 246, 0.10), transparent 70%),
    radial-gradient(45% 50% at 5% 88%, rgba(0, 204, 192, 0.08), transparent 70%);
  pointer-events: none;
}

/* subtle film grain overlay for texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse-dot 2.4s var(--ease) infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 7px rgba(35,71,255,0.02); }
}

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.display {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.section-title { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-soft); }

.text-grad {
  background: linear-gradient(105deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease), background 0.3s;
  will-change: transform;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
}
.btn--primary:hover { background: var(--accent-press); transform: translateY(-3px); }
.btn--primary:hover::after { left: 130%; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }

.btn--lg { --pad-y: 18px; --pad-x: 34px; font-size: 1.05rem; }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 0.88rem; }
.btn--block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent-ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  z-index: 1000;
  transition: width 0.1s linear;
}

.nav {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px -22px rgba(13,22,51,0.5);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(140deg, var(--ink), #2a3350);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.brand__mark::before {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 0deg, transparent, rgba(35,71,255,0.9), var(--accent-2), transparent 60%);
  animation: spin 6s linear infinite;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 2px; border-radius: 9px;
  background: linear-gradient(140deg, #11151f, #232c45);
}
.brand__mark svg { position: relative; z-index: 2; width: 20px; height: 20px; color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

.brand__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.18rem; letter-spacing: -0.01em;
  line-height: 1;
}
.brand__name small {
  display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: 9px; letter-spacing: 0.32em; color: var(--muted);
  margin-top: 3px;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; padding: 9px 15px; border-radius: 100px;
  font-weight: 500; font-size: 0.95rem; color: var(--ink-soft);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--ink); background: rgba(11,14,20,0.04); }
.nav__links a.active { color: var(--accent-ink); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}

.nav__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px 11px 16px; border-radius: 100px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 0.92rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cart-btn svg { width: 18px; height: 18px; }
.cart-count {
  min-width: 21px; height: 21px; padding: 0 6px; border-radius: 100px;
  background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease-out);
}
.cart-count.bump { animation: bump 0.45s var(--ease-out); }
@keyframes bump { 0%{transform:scale(1)} 40%{transform:scale(1.5)} 100%{transform:scale(1)} }

.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface);
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 880;
  background: rgba(244,246,249,0.96);
  backdrop-filter: blur(20px);
  padding: 30px var(--gut);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: 0.4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 500;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 70px); overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero__copy { position: relative; z-index: 3; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { max-width: 30ch; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero__stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero__stat .num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 2px;
}
.hero__stat .lbl { font-size: 0.85rem; color: var(--muted); }

/* hero visual stage */
.hero__stage { position: relative; z-index: 2; aspect-ratio: 1/1; }
.hero__device {
  position: relative; z-index: 4; width: 100%; height: 100%;
  display: grid; place-items: center;
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 50px 60px rgba(13,22,51,0.28));
}
.hero__device img { width: 86%; object-fit: contain; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-22px) rotate(1deg); }
}
.hero__halo {
  position: absolute; inset: 6% 6%; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(35,71,255,0.20), rgba(0,204,192,0.12) 45%, transparent 68%);
  filter: blur(10px);
  animation: pulse-halo 7s ease-in-out infinite;
}
@keyframes pulse-halo { 0%,100%{ transform: scale(0.95); opacity:.85 } 50%{ transform: scale(1.06); opacity:1 } }

/* orbiting ring + chips around hero device */
.hero__ring {
  position: absolute; inset: -2%; z-index: 2; border-radius: 50%;
  border: 1px dashed rgba(35,71,255,0.28);
  animation: spin 28s linear infinite;
}
.hero__ring::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px;
  border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 14px var(--accent-2);
}
.hero__ring--2 { inset: 9%; border-color: rgba(0,204,192,0.25); animation-duration: 20s; animation-direction: reverse; }

.chip-float {
  position: absolute; z-index: 5;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 100px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  font-size: 0.85rem; font-weight: 600;
  animation: floaty 6s ease-in-out infinite;
}
.chip-float i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22,163,74,0.16); }
.chip-float.tl { top: 8%; left: -4%; animation-delay: -1s; }
.chip-float.br { bottom: 12%; right: -5%; animation-delay: -3s; }
.chip-float.bl { bottom: 28%; left: -6%; animation-delay: -2s; }

/* floating particles layer */
.particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute; bottom: -10px; border-radius: 50%;
  background: var(--accent); opacity: 0.18;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 0.35; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-110vh) translateX(40px) scale(0.4); opacity: 0; }
}

/* faint moving grid background for hero/sections */
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11,14,20,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,14,20,0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 75%);
  animation: grid-pan 22s linear infinite;
}
@keyframes grid-pan { to { background-position: 54px 54px; } }

/* ---------- Brand marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--surface-2);
  padding-block: 22px; overflow: hidden; position: relative;
}
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 500;
  color: var(--ink); opacity: 0.55; transition: opacity 0.3s;
  white-space: nowrap;
}
.marquee__item:hover { opacity: 1; }
.marquee__item svg { width: 22px; height: 22px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--surface-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--surface-2), transparent); }

/* ---------- Product cards / grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease), border-color 0.4s;
  will-change: transform;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  background:
    radial-gradient(120% 100% at 50% 0%, #fff, var(--bg-2));
  aspect-ratio: 1/1; display: grid; place-items: center;
  margin-bottom: 16px;
}
.card__media img {
  width: 82%; object-fit: contain;
  transition: transform 0.6s var(--ease-out);
  filter: drop-shadow(0 22px 26px rgba(13,22,51,0.16));
}
.card:hover .card__media img { transform: scale(1.07) translateY(-4px); }
.card__media::after { /* shimmer sweep on hover */
  content: ""; position: absolute; top: 0; left: -150%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); transition: left 0.8s var(--ease);
}
.card:hover .card__media::after { left: 160%; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 100px;
  background: var(--ink); color: #fff;
}
.badge--accent { background: var(--accent); }

.card__brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.card__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin: 4px 0 6px; }
.card__name a:hover { color: var(--accent); }
.card__desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; }
.price__old { font-family: var(--font-body); font-size: 0.92rem; font-weight: 500; color: var(--muted); text-decoration: line-through; margin-left: 7px; }

.add-btn {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.add-btn svg { width: 20px; height: 20px; }
.add-btn:hover { background: var(--accent); color: #fff; transform: translateY(-3px) rotate(90deg); }

.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.rating svg { width: 14px; height: 14px; color: #f5a623; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip {
  padding: 10px 18px; border-radius: 100px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  transition: 0.3s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Feature / value props ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--accent-soft), rgba(0,204,192,0.12));
  color: var(--accent-ink);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.22rem; margin-bottom: 9px; }
.feature p { font-size: 0.94rem; color: var(--muted); }

/* spinning conic ring inside icon for one variant */
.feature__icon.spin-ring { position: relative; overflow: hidden; }
.feature__icon.spin-ring::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(35,71,255,0.5), transparent 55%);
  animation: spin 4s linear infinite;
}
.feature__icon.spin-ring svg { position: relative; z-index: 2; }

/* ---------- Stats band ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px); position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 12% 0%, rgba(35,71,255,0.45), transparent 60%),
             radial-gradient(50% 120% at 90% 100%, rgba(0,204,192,0.35), transparent 60%);
}
.stat { position: relative; z-index: 2; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.02em; }
.stat .lbl { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Split / showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.showcase__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #fff, var(--bg-2));
  aspect-ratio: 4/3; display: grid; place-items: center;
  border: 1px solid var(--line);
}
.showcase__media img { width: 74%; filter: drop-shadow(0 30px 40px rgba(13,22,51,0.2)); animation: floaty 8s ease-in-out infinite; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink), #1a2240);
  color: #fff; border-radius: var(--radius-xl);
  padding: clamp(44px, 7vw, 90px);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 90% at 20% 10%, rgba(35,71,255,0.5), transparent 60%),
             radial-gradient(40% 90% at 85% 90%, rgba(0,204,192,0.4), transparent 60%);
  animation: hue 12s ease-in-out infinite alternate;
}
@keyframes hue { to { filter: hue-rotate(40deg); } }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 50ch; margin: 0 auto 32px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); margin-top: 40px; position: relative; }
.footer__line { height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent)); background-size: 200% 100%; animation: slide-grad 8s linear infinite; }
@keyframes slide-grad { to { background-position: 200% 0; } }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
  padding-block: clamp(48px, 6vw, 80px);
}
.footer__about p { color: var(--muted); font-size: 0.94rem; margin-top: 18px; max-width: 34ch; }
.footer h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; color: var(--ink-soft); font-size: 0.95rem; transition: color 0.25s, transform 0.25s; }
.footer__col a:hover { color: var(--accent); transform: translateX(4px); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-block: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem; color: var(--muted);
}
.footer__reg { font-family: var(--font-mono); font-size: 0.78rem; }

/* ---------- Product detail page (PDP) ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #fff, var(--bg-2));
  aspect-ratio: 1/1; display: grid; place-items: center;
  border: 1px solid var(--line);
}
.pdp__stage img { width: 80%; filter: drop-shadow(0 36px 44px rgba(13,22,51,0.22)); transition: transform 0.2s var(--ease-out); }
.pdp__halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(35,71,255,0.14), transparent 65%); animation: pulse-halo 7s ease-in-out infinite; }
.pdp__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pdp__thumb {
  width: 78px; height: 78px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: radial-gradient(120% 100% at 50% 0%, #fff, var(--bg-2));
  display: grid; place-items: center; overflow: hidden; transition: 0.3s;
}
.pdp__thumb img { width: 70%; }
.pdp__thumb.active, .pdp__thumb:hover { border-color: var(--accent); transform: translateY(-2px); }

.pdp__info .price { font-size: 2.1rem; }
.pdp__title { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 10px 0 14px; }
.pdp__tagline { color: var(--accent-ink); font-weight: 600; font-style: italic; margin-bottom: 18px; }
.pdp__short { font-size: 1.06rem; color: var(--ink-soft); margin-bottom: 26px; }

.swatches { display: flex; gap: 10px; margin: 8px 0 26px; flex-wrap: wrap; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--line-strong);
  position: relative; transition: transform 0.25s;
}
.swatch:hover { transform: scale(1.1); }
.swatch.active { box-shadow: 0 0 0 2px var(--accent); }
.swatch.active::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed var(--accent); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 100px; overflow: hidden; }
.qty button { width: 44px; height: 46px; font-size: 1.2rem; color: var(--ink-soft); transition: background 0.2s; }
.qty button:hover { background: var(--bg-2); color: var(--accent); }
.qty span { min-width: 40px; text-align: center; font-weight: 600; }

.pdp__buy { display: flex; gap: 12px; align-items: center; margin: 6px 0 28px; flex-wrap: wrap; }

.pdp__meta { display: flex; gap: 24px; flex-wrap: wrap; padding: 20px 0; border-block: 1px solid var(--line); margin-bottom: 26px; }
.pdp__meta div { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.pdp__meta svg { width: 20px; height: 20px; color: var(--accent); }

.highlights li {
  display: flex; gap: 12px; align-items: flex-start; padding: 9px 0;
  font-size: 0.98rem; color: var(--ink-soft);
}
.highlights svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* specs */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.spec {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.spec dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spec dd { font-weight: 600; font-size: 0.98rem; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: 32px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
  animation: pop-in 0.5s var(--ease-out) both;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cart-item__media {
  width: 96px; height: 96px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #fff, var(--bg-2));
  display: grid; place-items: center;
}
.cart-item__media img { width: 76%; }
.cart-item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.cart-item__brand { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cart-item__remove { color: var(--muted); font-size: 0.84rem; margin-top: 8px; display: inline-flex; gap: 5px; align-items: center; transition: color 0.2s; }
.cart-item__remove:hover { color: #dc2626; }
.cart-item__right { text-align: right; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

.summary {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px;
}
.summary h3 { font-size: 1.4rem; margin-bottom: 20px; }
.summary__row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); font-size: 0.96rem; }
.summary__row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-size: 1.3rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input.invalid { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,0.12); }
.field .err { color: #dc2626; font-size: 0.78rem; margin-top: 6px; display: none; }
.field.show-err .err { display: block; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .orbit { width: 120px; height: 120px; margin: 0 auto 24px; position: relative; }

/* order success */
.order-success { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.success-check {
  width: 92px; height: 92px; margin: 0 auto 26px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-accent);
  animation: pop-in 0.6s var(--ease-out) both;
}
.success-check svg { width: 44px; height: 44px; }

/* confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 1200; overflow: hidden; }
.confetti i {
  position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px;
  animation: fall linear forwards;
}
@keyframes fall {
  to { transform: translateY(110vh) rotate(720deg); opacity: 0.9; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card__icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center;
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.info-card p, .info-card a { font-weight: 500; }

/* animated radar pin */
.radar { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; }
.radar__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.radar__ring { position: absolute; border: 1px solid rgba(35,71,255,0.3); border-radius: 50%; animation: radar 3.4s var(--ease-out) infinite; }
@keyframes radar { 0% { width: 30px; height: 30px; opacity: 0.9; } 100% { width: 320px; height: 320px; opacity: 0; } }
.radar__pin { position: relative; z-index: 3; color: var(--accent); }
.radar__pin svg { width: 46px; height: 46px; filter: drop-shadow(0 8px 12px rgba(35,71,255,0.4)); }
.radar__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(35,71,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(35,71,255,0.06) 1px, transparent 1px); background-size: 28px 28px; }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc a { display: block; padding: 8px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 0.9rem; transition: 0.25s; }
.toc a:hover { color: var(--ink); border-color: var(--line-strong); }
.toc a.active { color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.7rem; margin: 44px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose ul li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* page hero (inner pages) */
.page-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 18px 0 14px; }
.page-hero p { color: var(--ink-soft); max-width: 56ch; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* floating deco shapes (used across inner pages) */
.deco { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(2px); opacity: 0.5; }
.deco--ring { border: 1.5px solid var(--accent); background: transparent; opacity: 0.18; filter: none; animation: floaty 9s ease-in-out infinite; }
.deco--dot { background: var(--accent-2); animation: floaty 7s ease-in-out infinite; }
.deco--plus { width: 26px; height: 26px; opacity: 0.25; filter: none;
  background:
    linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center/2px 100% no-repeat;
  animation: spin 16s linear infinite;
}

/* ---------- Toast ---------- */
.toast-host { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 100px;
  box-shadow: var(--shadow-lg); font-weight: 600; font-size: 0.92rem;
  animation: toast-in 0.4s var(--ease-out) both;
}
.toast.out { animation: toast-out 0.35s var(--ease) forwards; }
.toast svg { width: 18px; height: 18px; color: var(--accent-2); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(20px) scale(0.9); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

/* cursor glow */
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(35,71,255,0.10), transparent 60%);
  transform: translate(-50%, -50%); transition: opacity 0.4s; opacity: 0;
  mix-blend-mode: multiply;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.hide { display: none !important; }
.grad-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.pill-note { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft); box-shadow: var(--shadow-xs); }
.pill-note svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .hero__stage { max-width: 460px; margin-inline: auto; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__gallery { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc a { border-left: none; border: 1px solid var(--line); border-radius: 100px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .cart-btn span.lbl { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card { padding: 12px; }
  .card__name { font-size: 1rem; }
  .price { font-size: 1.15rem; }
  .add-btn { width: 40px; height: 40px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
