/* ============================================================
   NEXORA — Sections & Pages
   ============================================================ */

/* ==================== HOME: Cinematic hero ==================== */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: flex; align-items: center;
  padding: calc(var(--head-h) + 60px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: -3; }
.hero-video-wrap video, .hero-video-wrap img.poster {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.hero-overlay { position: absolute; inset: 0; z-index: -2; }
.hero-overlay::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,6,12,.75) 0%, rgba(4,6,12,.35) 40%, rgba(4,6,12,.92) 100%),
    radial-gradient(1000px 500px at 20% 20%, rgba(46,107,255,.22), transparent 60%);
}
.hero-overlay::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("../Images/backgrounds/particles.webp");
  background-size: 1200px;
  opacity: .25; mix-blend-mode: screen;
  animation: nxDrift 90s linear infinite;
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("../Images/backgrounds/circuit.webp");
  background-size: 1400px; background-position: center;
  opacity: .07; mix-blend-mode: screen;
}

.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; width: 100%; }
.hero-copy { max-width: 640px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 99px;
  border: 1px solid rgba(93, 141, 255, .35);
  background: rgba(46, 107, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #b8d0ff;
  margin-bottom: 26px;
}
.hero-kicker .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: nxPulse 2.4s ease-in-out infinite; }

.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: nxWordIn 1s var(--ease) both; animation-delay: var(--wd, 0s); }

/* rotating word (extra specificity so it beats .hero h1 .line > span) */
.word-swap, .hero h1 .line > .word-swap { display: inline-grid; grid-auto-flow: column; position: relative; color: var(--cyan); }
.word-swap .w {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(60%);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(60,197,255,.35));
  white-space: nowrap;
}
.word-swap .w.on { opacity: 1; transform: none; }

.hero .lead { margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--cyan); }

.hero-stats { margin-top: 46px; }

/* floating device stage */
.hero-stage { position: relative; height: min(620px, 70vh); }
.f-card {
  position: absolute;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow: var(--shadow-2), 0 0 50px rgba(46, 107, 255, .14);
  background: #0a0f1c;
  animation: nxFloat var(--fdur, 7s) ease-in-out infinite;
  animation-delay: var(--fdel, 0s);
  will-change: transform;
  transition: box-shadow .5s var(--ease);
}
.f-card img { width: 100%; height: 100%; object-fit: cover; }
.f-card::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,.1), transparent 30%);
  pointer-events: none;
}
.f-card:hover { box-shadow: var(--shadow-2), 0 0 70px rgba(60,197,255,.3); }
.f-card .f-tag {
  position: absolute; left: 12px; bottom: 12px;
  padding: 5px 12px; border-radius: 99px;
  background: rgba(5, 8, 16, .75);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 11px; font-weight: 600; letter-spacing: .06em;
  color: #cfe0ff;
}
.f-main   { width: 62%; aspect-ratio: 3/2; top: 22%; left: 16%; z-index: 3; --rot: -2deg; --fdur: 8s; }
.f-phone  { width: 30%; aspect-ratio: 3/4; top: 2%;  right: 2%; z-index: 2; --rot: 3deg; --fdur: 7s; --fdel: .8s; }
.f-watch  { width: 27%; aspect-ratio: 1;   bottom: 4%; left: 2%; z-index: 4; --rot: -4deg; --fdur: 6.4s; --fdel: 1.4s; }
.f-audio  { width: 30%; aspect-ratio: 1;   bottom: 0; right: 8%; z-index: 2; --rot: 4deg; --fdur: 7.6s; --fdel: .4s; }
.hero-glow-img {
  position: absolute; inset: -12%; z-index: 0;
  opacity: .55; pointer-events: none;
  animation: nxPulse 7s ease-in-out infinite;
}
.hero-glow-img img { width: 100%; height: 100%; object-fit: contain; }

.hero-scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.hero-scroll-hint .rail {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--accent-2), transparent);
  animation: nxPulse 2s ease-in-out infinite;
}

/* ==================== Brand strip ==================== */
.brand-strip { padding: clamp(40px, 5vw, 64px) 0; }
.brand-tile {
  position: relative; flex: none;
  width: 168px; height: 84px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all .5s var(--ease);
  isolation: isolate;
}
.brand-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.4) brightness(.6) contrast(1.05);
  transition: all .5s var(--ease);
}
.brand-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,6,12,.25), rgba(4,6,12,.55));
  transition: opacity .5s;
}
.brand-tile:hover { border-color: rgba(93,141,255,.5); box-shadow: 0 0 34px rgba(46,107,255,.25); transform: translateY(-4px); }
.brand-tile:hover img { filter: grayscale(0) brightness(.85) contrast(1.05); transform: scale(1.06); }
.brand-tile:hover::after { opacity: .4; }

/* ==================== Category universe ==================== */
.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  gap: 18px;
}
.cat-card {
  position: relative;
  grid-column: span 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  isolation: isolate;
  transform-style: preserve-3d;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; align-items: flex-end;
}
.cat-card.wide { grid-column: span 6; }
.cat-card.tall { grid-row: span 2; }
.cat-card > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* radial vignette also masks baked-in edge artifacts in the source renders */
  background:
    radial-gradient(130% 105% at 50% 42%, transparent 34%, rgba(4, 6, 12, .68) 82%),
    linear-gradient(180deg, rgba(4,6,12,.12) 30%, rgba(4,6,12,.9) 100%);
}
.cat-card:hover { border-color: rgba(93, 141, 255, .55); box-shadow: 0 24px 60px rgba(2,6,18,.6), 0 0 44px rgba(46,107,255,.18); }
.cat-card:hover > img { transform: scale(1.08); }
.cat-card .inner { padding: 18px 20px; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.cat-card .n { font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.cat-card .c { font-size: 12px; color: var(--ink-2); }
.cat-card .go {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2);
  background: rgba(5, 8, 16, .6);
  color: var(--ink-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all .4s var(--ease);
}
.cat-card .go svg { width: 15px; height: 15px; }
.cat-card:hover .go { background: var(--grad-accent); color: #fff; border-color: transparent; transform: rotate(-45deg); }

/* ==================== Split banner sections (gaming/apple/samsung/…) ==================== */
.split-sec { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-sec.rev > .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  aspect-ratio: 5 / 4;
  isolation: isolate;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.split-media:hover img { transform: scale(1.05); }
.split-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(140% 115% at 50% 45%, transparent 45%, rgba(4, 6, 12, .5) 92%);
}
.split-media .float-chip { z-index: 2; }
.split-media .float-chip {
  position: absolute;
  padding: 12px 18px;
  border-radius: var(--r-md);
  background: rgba(6, 9, 18, .82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-1);
  animation: nxFloatSoft 6s ease-in-out infinite;
}
.split-media .float-chip .t { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.split-media .float-chip .s { font-size: 11.5px; color: var(--ink-2); }
.split-copy .feature-list { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 14px; }
.split-copy .feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.split-copy .feature-list svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 2px; }
.split-copy .feature-list strong { color: var(--ink); font-weight: 600; }

/* Gaming RGB accent */
.gaming-sec .split-media { box-shadow: 0 30px 80px rgba(2,6,18,.7), 0 0 70px rgba(120, 60, 255, .18); }
.gaming-sec .eyebrow { color: #b088ff; }
.gaming-sec .eyebrow::before { background: linear-gradient(90deg, #7c3aed, #3cc5ff); box-shadow: 0 0 12px #7c3aed; }
.rgb-line {
  height: 2px; border: 0; border-radius: 99px; margin: 22px 0;
  background: linear-gradient(90deg, #ff4d6d, #7c3aed, #2e6bff, #3cc5ff);
  background-size: 300% 100%;
  animation: nxGradShift 5s ease infinite;
}

/* ==================== AI assistant section ==================== */
.ai-sec .chat-mock {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(14, 20, 38, .8), rgba(8, 12, 23, .9));
  overflow: hidden;
  box-shadow: var(--shadow-2), 0 0 60px rgba(46,107,255,.12);
}
.chat-mock .chat-top {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: rgba(46, 107, 255, .07);
}
.chat-mock .ai-orb {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-accent);
  box-shadow: 0 0 24px rgba(60, 197, 255, .5);
  display: inline-flex; align-items: center; justify-content: center;
  animation: nxPulse 3.4s ease-in-out infinite;
}
.chat-mock .ai-orb svg { width: 19px; height: 19px; color: #fff; }
.chat-body { padding: 22px; display: flex; flex-direction: column; gap: 13px; min-height: 300px; }
.chat-b {
  max-width: 82%;
  padding: 13px 17px;
  font-size: 14px; line-height: 1.55;
  border-radius: 18px 18px 18px 6px;
  background: rgba(158, 180, 224, .09);
  color: var(--ink-2);
  opacity: 0;
}
.chat-b.user {
  align-self: flex-end;
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(120deg, rgba(46,107,255,.35), rgba(30,73,200,.3));
  color: #dce8ff;
}
.chat-b.in { animation: nxRise .6s var(--ease) both; }
.chat-rec {
  display: flex; gap: 12px; align-items: center;
  padding: 11px; border-radius: 14px;
  background: rgba(5, 8, 16, .6);
  border: 1px solid var(--line);
  margin-top: 10px;
  transition: border-color .3s, transform .3s;
}
.chat-rec:hover { border-color: rgba(93,141,255,.5); transform: translateX(4px); }
.chat-rec img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.chat-rec .n { font-size: 13px; font-weight: 600; color: var(--ink); }
.chat-rec .p { font-size: 12.5px; color: var(--accent-2); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; padding: 14px 17px; }
.typing i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
  animation: nxPulse 1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }

/* ==================== Search showcase ==================== */
.search-demo {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: rgba(8, 12, 23, .8);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.search-demo .demo-input {
  display: flex; align-items: center; gap: 13px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 16px;
}
.search-demo .demo-input svg { width: 19px; height: 19px; color: var(--accent-2); }
.search-demo .caret { display: inline-block; width: 2px; height: 20px; background: var(--cyan); animation: nxBlink 1s step-end infinite; }
.trend-tags { display: flex; flex-wrap: wrap; gap: 9px; padding: 18px 22px; }

/* ==================== Trade-in estimator ==================== */
.estimator {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(14, 20, 38, .75), rgba(8, 12, 23, .92));
  padding: clamp(22px, 3.4vw, 38px);
  box-shadow: var(--shadow-2);
}
.estimator::before {
  content: ""; position: absolute; inset: -60px; z-index: -1; pointer-events: none;
  background: url("../Images/backgrounds/glow.webp") center / contain no-repeat;
  opacity: .45;
}
.estimator .est-value {
  text-align: center;
  padding: 26px;
  border-radius: var(--r-md);
  background: radial-gradient(400px 160px at 50% 0%, rgba(46,107,255,.22), transparent 70%), rgba(5,8,16,.5);
  border: 1px solid rgba(93, 141, 255, .35);
  margin-top: 22px;
}
.estimator .est-value .v {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 48px); font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.estimator .est-value .l { font-size: 13px; color: var(--ink-2); }

/* ==================== Deals ==================== */
.deal-card .p-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(300px 200px at 80% 20%, rgba(255,100,115,.14), transparent 60%);
  pointer-events: none;
}
.countdown { display: flex; gap: 10px; }
.countdown .cd {
  min-width: 62px; text-align: center;
  padding: 10px 8px;
  border-radius: var(--r-sm);
  background: rgba(5, 8, 16, .7);
  border: 1px solid var(--line-2);
}
.countdown .cd b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; }
.countdown .cd span { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ==================== Services / trust ==================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(93, 141, 255, .4); }
.svc-card img {
  width: 76px; height: 76px; flex: none;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 1px solid var(--line);
}
.svc-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.svc-card p { font-size: 13.5px; color: var(--ink-2); }

/* ==================== Testimonials ==================== */
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.testi-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.testi-card .quote-mark { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--accent); opacity: .7; }
.testi-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 13px; }
.testi-card .who img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(93, 141, 255, .4);
  box-shadow: 0 0 20px rgba(46,107,255,.2);
}
.testi-card .who .n { font-size: 14px; font-weight: 600; color: var(--ink); }
.testi-card .who .r { font-size: 12px; color: var(--ink-3); }
.testi-card .bought { font-size: 11.5px; color: var(--accent-2); border-top: 1px solid var(--line); padding-top: 13px; }

/* ==================== VIP / newsletter ==================== */
.vip-sec {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-2);
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
}
.vip-sec > img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.vip-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 400px at 50% 100%, rgba(46,107,255,.3), transparent 70%), rgba(4, 6, 12, .72);
}
.vip-form {
  display: flex; gap: 10px;
  max-width: 480px; margin: 30px auto 16px;
}
.vip-form input {
  flex: 1; min-width: 0; height: 54px; padding: 0 20px;
  border-radius: 99px;
  background: rgba(5, 8, 16, .65);
  border: 1px solid var(--line-2);
  color: var(--ink); font-size: 14.5px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.vip-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,107,255,.2); }
.vip-perks { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.vip-perks span { display: inline-flex; align-items: center; gap: 7px; }
.vip-perks svg { width: 14px; height: 14px; color: var(--cyan); }

/* VIP tiers */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier-card { position: relative; padding: 34px 30px; text-align: left; overflow: hidden; }
.tier-card.hot { border-color: rgba(93, 141, 255, .55); box-shadow: 0 0 60px rgba(46, 107, 255, .18); }
.tier-card .tier-tag { position: absolute; top: 18px; right: 18px; }
.tier-card h3 { font-size: 22px; margin: 10px 0 4px; }
.tier-card .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; margin-bottom: 20px; }
.tier-card .price small { font-size: 13px; color: var(--ink-3); font-weight: 400; }
.tier-card ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.tier-card ul li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.tier-card ul svg { width: 16px; height: 16px; color: var(--good); flex: none; margin-top: 2px; }

/* ==================== SHOP page ==================== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.shop-side { position: sticky; top: calc(var(--head-h) + 20px); display: flex; flex-direction: column; gap: 22px; }
.filter-block { padding: 20px; }
.filter-block h4 {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.filter-block .f-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 2px;
  font-size: 14px; color: var(--ink-2);
  cursor: pointer;
  transition: color .25s;
}
.filter-block .f-opt:hover { color: var(--ink); }
.filter-block .f-opt input {
  appearance: none;
  width: 18px; height: 18px; border-radius: 6px;
  border: 1px solid var(--line-2);
  background: rgba(158,180,224,.05);
  display: inline-grid; place-content: center;
  transition: all .25s;
  cursor: pointer;
  flex: none;
}
.filter-block .f-opt input::before {
  content: ""; width: 9px; height: 9px; border-radius: 3px;
  background: var(--grad-accent);
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.filter-block .f-opt input:checked { border-color: var(--accent); box-shadow: 0 0 12px rgba(46,107,255,.3); }
.filter-block .f-opt input:checked::before { transform: scale(1); }
.filter-block .f-opt .cnt { margin-left: auto; font-size: 12px; color: var(--ink-3); }

.price-range input[type="range"] {
  width: 100%; accent-color: var(--accent);
}

.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.shop-toolbar .res { font-size: 14px; color: var(--ink-2); }
.shop-toolbar .res b { color: var(--ink); }
.sort-select {
  height: 44px; padding: 0 40px 0 16px;
  border-radius: 12px;
  background: rgba(158,180,224,.05);
  border: 1px solid var(--line);
  color: var(--ink); font-size: 13.5px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a7b1c6' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer;
}
.sort-select option { background: var(--bg-2); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-filters .chip svg { width: 12px; height: 12px; }

/* ==================== PRODUCT page ==================== */
.pd-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 4.5vw, 64px); align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--head-h) + 20px); }
.pd-main-img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd-main-img:hover img { transform: scale(1.6); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumbs button {
  width: 82px; height: 66px;
  border-radius: 13px; overflow: hidden;
  border: 1px solid var(--line);
  opacity: .55;
  transition: all .35s var(--ease);
}
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button.on, .pd-thumbs button:hover { opacity: 1; border-color: var(--accent-2); box-shadow: 0 0 18px rgba(46,107,255,.25); }

.pd-info { display: flex; flex-direction: column; gap: 20px; }
.pd-price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pd-price-row .now { font-family: var(--font-display); font-size: 36px; font-weight: 700; }
.pd-price-row .was { font-size: 18px; color: var(--ink-3); text-decoration: line-through; }
.pd-fin {
  font-size: 13.5px; color: var(--ink-2);
  padding: 12px 16px; border-radius: var(--r-md);
  background: rgba(46, 107, 255, .08);
  border: 1px solid rgba(93, 141, 255, .3);
}
.pd-fin b { color: var(--accent-2); }
.pd-opt-label { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; display: flex; justify-content: space-between; }
.pd-opt-label span { color: var(--ink); }
.pd-configs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-configs .chip { padding: 11px 18px; border-radius: 13px; }
.pd-buy-row { display: flex; gap: 12px; align-items: stretch; }
.pd-buy-row .btn { flex: 1; }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-perk {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(158, 180, 224, .04);
  font-size: 12.5px; color: var(--ink-2);
}
.pd-perk svg { width: 19px; height: 19px; color: var(--cyan); flex: none; }
.pd-perk b { color: var(--ink); display: block; font-size: 13px; }

/* Sticky ATC bar */
.sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  background: rgba(6, 9, 18, .92);
  border-top: 1px solid var(--line-2);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
  padding: 12px 0;
}
.sticky-atc.show { transform: none; }
.sticky-atc .wrap { display: flex; align-items: center; gap: 18px; }
.sticky-atc img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.sticky-atc .n { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; }
.sticky-atc .p { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.sticky-atc .btn { margin-left: auto; }

/* Feature storytelling band */
.story-band {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  display: flex; align-items: center;
  isolation: isolate;
}
.story-band img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.story-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4, 6, 12, .93) 30%, rgba(4,6,12,.2));
}
.story-band .inner { padding: clamp(28px, 5vw, 64px); max-width: 560px; }

/* Reviews */
.review-summary { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: center; }
.review-summary .big {
  font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bars .rb { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-3); }
.rating-bars .track { flex: 1; height: 6px; border-radius: 99px; background: rgba(158,180,224,.1); overflow: hidden; }
.rating-bars .fill { height: 100%; border-radius: 99px; background: var(--grad-accent); width: 0; transition: width 1.2s var(--ease) .3s; }
.review-card { padding: 22px; }
.review-card .rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.review-card .rv-name { font-weight: 600; font-size: 14px; }
.review-card .rv-date { font-size: 12px; color: var(--ink-3); }
.review-card p { font-size: 14px; color: var(--ink-2); }
.review-card .verified { font-size: 11px; color: var(--good); display: inline-flex; gap: 5px; align-items: center; margin-top: 10px; }

/* ==================== COMPARE page ==================== */
.compare-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.compare-table { min-width: 760px; width: 100%; border-collapse: collapse; background: rgba(8, 12, 23, .6); }
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(158,180,224,.08);
  border-right: 1px solid rgba(158,180,224,.06);
  text-align: left; font-size: 14px;
  vertical-align: top;
}
.compare-table thead th { background: rgba(14, 20, 38, .8); }
.compare-table tbody th { color: var(--ink-3); font-weight: 500; white-space: nowrap; width: 160px; }
.compare-table td { color: var(--ink-2); }
.compare-table td.best { color: var(--ink); position: relative; }
.compare-table td.best::before {
  content: "★"; color: var(--cyan); margin-right: 7px;
}
.cmp-prod { display: flex; flex-direction: column; gap: 10px; min-width: 190px; }
.cmp-prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }

/* ==================== CHECKOUT ==================== */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.co-steps { display: flex; gap: 6px; margin-bottom: 34px; flex-wrap: wrap; }
.co-steps .st {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: 99px;
  font-size: 13px; color: var(--ink-3);
  border: 1px solid var(--line);
}
.co-steps .st b {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-grid; place-content: center;
  background: rgba(158,180,224,.1);
  font-size: 11.5px;
}
.co-steps .st.on { color: var(--ink); border-color: rgba(93,141,255,.5); background: rgba(46,107,255,.08); }
.co-steps .st.on b { background: var(--grad-accent); color: #fff; }
.co-panel { padding: clamp(20px, 3vw, 32px); margin-bottom: 22px; }
.co-panel h3 { font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 11px; }
.co-panel h3 svg { width: 20px; height: 20px; color: var(--accent-2); }
.co-summary { position: sticky; top: calc(var(--head-h) + 20px); }
.co-summary .co-line { display: flex; gap: 13px; padding: 12px 0; border-bottom: 1px solid rgba(158,180,224,.07); }
.co-summary .co-line img { width: 58px; height: 58px; border-radius: 11px; object-fit: cover; border: 1px solid var(--line); }
.co-summary .co-line .n { font-size: 13px; font-weight: 600; }
.co-summary .co-line .q { font-size: 12px; color: var(--ink-3); }
.co-summary .co-line .p { margin-left: auto; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.promo-row { display: flex; gap: 9px; margin: 16px 0; }
.promo-row input {
  flex: 1; min-width: 0; height: 44px; padding: 0 14px;
  border-radius: 11px;
  background: rgba(158,180,224,.05);
  border: 1px solid var(--line);
  color: var(--ink); font-size: 13.5px;
}
.secure-note {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; padding: 13px 16px;
  border-radius: var(--r-md);
  background: rgba(52, 211, 162, .07);
  border: 1px solid rgba(52, 211, 162, .25);
  font-size: 12.5px; color: var(--ink-2);
}
.secure-note img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }

/* Success state */
.order-success { text-align: center; max-width: 560px; margin-inline: auto; padding: 40px 0; }
.order-success .ok-ring {
  width: 92px; height: 92px; margin: 0 auto 26px;
  border-radius: 50%;
  display: grid; place-content: center;
  background: rgba(52, 211, 162, .12);
  border: 1px solid rgba(52, 211, 162, .45);
  box-shadow: 0 0 50px rgba(52, 211, 162, .25);
  animation: nxPulse 3s ease-in-out infinite;
}
.order-success .ok-ring svg { width: 40px; height: 40px; color: var(--good); }

/* ==================== 404 ==================== */
.err-page {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}
.err-page img {
  width: min(440px, 84%);
  margin: 0 auto 10px;
  filter: saturate(.9) contrast(1.05);
  /* fade the artwork's baked checkerboard edges into the void */
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 96%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 96%);
}

/* ==================== Account ==================== */
.acct-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.acct-nav { padding: 14px; position: sticky; top: calc(var(--head-h) + 20px); }
.acct-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; border-radius: 12px;
  font-size: 14px; color: var(--ink-2);
  transition: all .3s;
}
.acct-nav a svg { width: 18px; height: 18px; }
.acct-nav a:hover { background: rgba(158,180,224,.06); color: var(--ink); }
.acct-nav a.on { background: rgba(46,107,255,.12); color: var(--ink); border: 1px solid rgba(93,141,255,.3); }
.order-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 18px 20px;
}
.order-row img { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; border: 1px solid var(--line); }
.order-row .st-pill {
  padding: 5px 13px; border-radius: 99px; font-size: 11.5px; font-weight: 600;
  background: rgba(52, 211, 162, .12); color: #8ceec9; border: 1px solid rgba(52,211,162,.3);
}
.order-row .st-pill.transit { background: rgba(60,197,255,.1); color: #7fd9ff; border-color: rgba(60,197,255,.3); }

/* ==================== Support ==================== */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ==================== Setup builder ==================== */
.builder-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.builder-stage { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: start; }
.builder-list { display: flex; flex-direction: column; gap: 12px; }
.builder-item {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px;
}
.builder-item img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.builder-item .n { font-size: 14px; font-weight: 600; }
.builder-item .r { font-size: 12px; color: var(--ink-3); }
.builder-item .p { margin-left: auto; font-family: var(--font-display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.builder-total {
  padding: 24px;
  position: sticky; top: calc(var(--head-h) + 20px);
}
.builder-total .t-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--ink-2); }
.builder-total .t-line.total { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }

/* ==================== Quiz (AI finder) ==================== */
.quiz-card { max-width: 760px; margin-inline: auto; padding: clamp(26px, 4vw, 46px); }
.quiz-progress { height: 5px; border-radius: 99px; background: rgba(158,180,224,.1); overflow: hidden; margin-bottom: 34px; }
.quiz-progress .fill { height: 100%; background: var(--grad-accent); border-radius: 99px; transition: width .6s var(--ease); box-shadow: 0 0 14px rgba(46,107,255,.5); }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 26px; }
.quiz-opt {
  padding: 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(158,180,224,.04);
  text-align: left;
  transition: all .35s var(--ease);
  font-size: 15px; font-weight: 500;
  display: flex; flex-direction: column; gap: 5px;
}
.quiz-opt small { color: var(--ink-3); font-weight: 400; font-size: 12.5px; }
.quiz-opt:hover { border-color: rgba(93,141,255,.55); background: rgba(46,107,255,.09); transform: translateY(-3px); box-shadow: 0 12px 34px rgba(2,6,18,.5); }

/* ==================== Responsive ==================== */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stage { display: none; }
  .split-sec { grid-template-columns: 1fr; }
  .split-sec.rev > .split-media { order: 0; }
  .svc-grid, .support-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-auto-rows: 130px; }
  .cat-card { grid-column: span 4; }
  .cat-card.wide { grid-column: span 8; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .shop-side .filter-block { flex: 1 1 240px; }
  .pd-hero { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .checkout-layout { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .tier-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .builder-stage { grid-template-columns: 1fr; }
  .builder-total { position: static; }
  .acct-layout { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; }
  .acct-nav a { white-space: nowrap; }
  .review-summary { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 620px) {
  .cat-grid { gap: 12px; grid-auto-rows: 118px; }
  .cat-card { grid-column: span 6; }
  .cat-card.wide { grid-column: span 12; }
  .svc-grid, .support-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .quiz-opts { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .stat-row { gap: 20px; }
  .vip-form { flex-direction: column; }
  .vip-form .btn { width: 100%; }
  .pd-buy-row { flex-direction: column; }
  .sticky-atc .n { font-size: 12.5px; }
  .sticky-atc .btn { padding: 11px 18px; font-size: 13px; }
  .compare-table tbody th { width: 110px; }
}
