/* ============================================================
   Nexa Computers — Landing page prototype
   styles.css : tokens -> base -> layout -> components -> responsive
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg:            #070a12;
  --bg-alt:        #0b101c;
  --surface:       #111827;
  --surface-2:     #151e30;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);
  --text:          #e9eef7;
  --text-dim:      #97a3b8;
  --text-faint:    #6b7789;

  --brand:         #5b8cff;
  --brand-2:       #a855f7;
  --brand-3:       #22d3ee;
  --accent-grad:   linear-gradient(120deg, #5b8cff 0%, #a855f7 55%, #22d3ee 100%);
  --success:       #34d399;
  --danger:        #fb7185;

  --radius:        18px;
  --radius-sm:     12px;
  --radius-lg:     26px;
  --shadow:        0 20px 45px -20px rgba(0,0,0,.75);
  --shadow-lg:     0 40px 80px -30px rgba(0,0,0,.85);
  --glow:          0 0 0 1px rgba(91,140,255,.35), 0 18px 50px -12px rgba(91,140,255,.45);

  --container:     1200px;
  --header-h:      74px;
  --ease:          cubic-bezier(.22,.9,.3,1);
}

[data-theme="light"] {
  --bg:            #f6f8fc;
  --bg-alt:        #ffffff;
  --surface:       #ffffff;
  --surface-2:     #f1f4fa;
  --line:          rgba(9,16,32,.10);
  --line-strong:   rgba(9,16,32,.20);
  --text:          #0d1424;
  --text-dim:      #4a5568;
  --text-faint:    #78849a;
  --shadow:        0 20px 45px -24px rgba(15,30,70,.28);
  --shadow-lg:     0 40px 80px -34px rgba(15,30,70,.34);
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* `hidden` must win over any class-level display. Without this, a full-screen
   fixed overlay (the modal backdrop) stays in the layout and silently swallows
   every click on the page even while transparent. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
body.locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: 'Sora', system-ui, sans-serif;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(91,140,255,.35); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. LAYOUT PRIMITIVES ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 820px; }

.section { padding: clamp(64px, 9vw, 118px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin: 0 0 clamp(36px, 5vw, 58px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-sub { color: var(--text-dim); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand-3);
  margin-bottom: .85rem;
}

.grad-text { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4. BUTTONS ---------- */
.btn {
  --btn-pad: 13px 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--btn-pad);
  border: 1px solid transparent;
  border-radius: 100px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background .22s var(--ease), border-color .22s var(--ease);
}
.btn-sm { --btn-pad: 9px 18px; font-size: .87rem; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }

.btn-primary { background: var(--accent-grad); color: #fff; box-shadow: 0 12px 30px -12px rgba(91,140,255,.75); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(91,140,255,.9); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--brand); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--brand); transform: translateY(-2px); }

[data-theme="dark"] .ico-sun { display: block; }
[data-theme="dark"] .ico-moon { display: none; }
[data-theme="light"] .ico-sun { display: none; }
[data-theme="light"] .ico-moon { display: block; }
.ico-sun, .ico-moon { grid-area: 1 / 1; }
/* ---------- 5. HEADER & NAV ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -22px rgba(0,0,0,.9);
}
.header-inner { display: flex; align-items: center; gap: 22px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: 'Sora', sans-serif; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--accent-grad);
  color: #fff; font-size: 1.15rem;
  box-shadow: 0 8px 20px -8px rgba(91,140,255,.9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.02rem; }
.brand-text em { font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 9px 15px;
  border-radius: 100px;
  font-size: .93rem; font-weight: 500;
  color: var(--text-dim);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--surface-2); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute; left: 15px; right: 15px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: var(--accent-grad);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .2s;
}
.cart-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cart-btn:hover { color: var(--text); border-color: var(--brand); transform: translateY(-2px); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 100px;
  background: var(--brand-2); color: #fff;
  font-size: .68rem; font-weight: 800;
  transform: scale(0);
  transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 0%,100%{transform:scale(1)} 35%{transform:scale(1.45)} 70%{transform:scale(.9)} }

.burger { display: none; width: 42px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; margin: 3.5px auto; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 0;
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(91,140,255,.8);
  transition: width .1s linear;
}
/* ---------- 6. HERO ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 7vw, 84px)) 0 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 78%);
  opacity: .8;
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-1 { width: 520px; height: 520px; top: -140px; left: -120px; background: radial-gradient(circle, #5b8cff, transparent 68%); animation: float1 16s ease-in-out infinite; }
.orb-2 { width: 480px; height: 480px; top: 40px; right: -140px; background: radial-gradient(circle, #a855f7, transparent 68%); animation: float2 20s ease-in-out infinite; }
.orb-3 { width: 420px; height: 420px; bottom: -80px; left: 38%; background: radial-gradient(circle, #22d3ee, transparent 68%); animation: float1 24s ease-in-out infinite reverse; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,40px) scale(1.12)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-70px,50px) scale(1.08)} }

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 7vw, 88px);
}
.hero-copy .lead { font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--text-dim); max-width: 54ch; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: .84rem; font-weight: 500; color: var(--text-dim);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52,211,153,.65);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--text-dim); font-size: .9rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { fill: none; stroke: var(--success); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- hero PC rig card ---- */
.hero-visual { position: relative; }
.rig-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg), var(--glow);
  overflow: hidden;
}
.rig-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.dots i:nth-child(1) { background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.rig-title { font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--text-dim); }
.live-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--success); }

.rig-body { display: grid; grid-template-columns: 200px 1fr; gap: 22px; padding: 22px; }
.case {
  position: relative;
  aspect-ratio: 3 / 4.4;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(91,140,255,.16), transparent 55%), var(--surface-2);
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(91,140,255,.14);
}
.rgb-strip {
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--accent-grad);
  box-shadow: 0 0 22px 3px rgba(168,85,247,.85);
  animation: hue 5s linear infinite;
}
@keyframes hue { 0%{filter:hue-rotate(0deg)} 100%{filter:hue-rotate(360deg)} }

.case-fan {
  position: absolute;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
  background: conic-gradient(from 0deg, rgba(34,211,238,.22), transparent 40%, rgba(168,85,247,.28), transparent 75%, rgba(91,140,255,.25));
}
.case-fan::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.16);
}
.f1 { top: 26px; left: 50%; margin-left: -29px; animation: spin 3.4s linear infinite; }
.f2 { top: 104px; left: 50%; margin-left: -29px; animation: spin 3.9s linear infinite reverse; }
.f3 { top: 182px; left: 50%; margin-left: -29px; animation: spin 4.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.gpu-bar {
  position: absolute;
  left: 16px; right: 16px; bottom: 18px;
  height: 42px; border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(90deg, rgba(91,140,255,.4), rgba(168,85,247,.35));
  box-shadow: 0 0 22px rgba(91,140,255,.5), inset 0 1px 0 rgba(255,255,255,.25);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 0%,100%{ opacity:.75 } 50%{ opacity:1 } }
.spec-readout { display: flex; flex-direction: column; gap: 8px; }
.spec-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  font-size: .78rem;
}
.spec-row span { color: var(--text-faint); font-weight: 700; letter-spacing: .07em; }
.spec-row b { font-size: .8rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spec-row em { font-style: normal; color: var(--brand-3); font-size: .72rem; font-weight: 600; }

.meters { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.meter { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; align-items: center; font-size: .75rem; color: var(--text-dim); }
.meter .bar { grid-column: 1 / -1; height: 6px; border-radius: 100px; background: var(--surface); overflow: hidden; border: 1px solid var(--line); }
.meter .bar i { display: block; height: 100%; border-radius: 100px; background: var(--accent-grad); box-shadow: 0 0 10px rgba(91,140,255,.8); }
.meter b { color: var(--text); }

.rig-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.price-tag { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800; }

/* ---- marquee ---- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 15px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  font-family: 'Sora', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  color: var(--text-faint);
  animation: scroll 32s linear infinite;
}
.marquee-track .dot { color: var(--brand); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- 7. STATS STRIP ---------- */
.stats-strip { padding: clamp(30px, 4vw, 46px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  text-align: center;
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s;
}
.stat:hover { transform: translateY(-4px); border-color: var(--brand); }
.stat b {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1.1;
}
.stat span { font-size: .86rem; color: var(--text-dim); }

/* ---------- 8. CARDS / SERVICES ---------- */
.card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91,140,255,.16), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.service-card .card-icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 18px;
  border-radius: 15px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 1.55rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .35s var(--ease);
}
.service-card:hover .card-icon { transform: scale(1.1) rotate(-6deg); }
.service-card p { color: var(--text-dim); font-size: .95rem; }

.tick-list { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; }
.tick-list li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--text-dim); }
.tick-list li::before {
  content: '';
  position: absolute; left: 0; top: .52em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--success) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--success) 55%, transparent);
}
.tick-list li::after {
  content: '';
  position: absolute; left: 4.4px; top: .72em;
  width: 6px; height: 3px;
  border-left: 1.8px solid var(--success);
  border-bottom: 1.8px solid var(--success);
  transform: rotate(-45deg);
}

.card-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 20px;
  font-weight: 600; font-size: .92rem;
  color: var(--brand-3);
  transition: gap .25s var(--ease);
}
.card-link:hover { gap: 13px; }
/* ---------- 9. PRODUCTS ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-dim);
  font-size: .89rem; font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filter-btn:hover { color: var(--text); border-color: var(--brand); transform: translateY(-2px); }
.filter-btn.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 10px 26px -12px rgba(91,140,255,.85); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 22px; }
.product {
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s, opacity .3s;
}
.product:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-lg); }
.product.hide { display: none; }
.product-media {
  position: relative;
  display: grid; place-items: center;
  height: 152px; font-size: 3.4rem;
  background: radial-gradient(circle at 50% 40%, rgba(91,140,255,.24), transparent 70%), var(--surface-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.product-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.product:hover .product-media::after { transform: translateX(120%); }
.product-media .p-emoji { transition: transform .4s var(--ease); }
.product:hover .product-media .p-emoji { transform: scale(1.12) translateY(-4px); }
.badge {
  position: absolute; top: 11px; left: 11px; z-index: 1;
  padding: 4px 11px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--line-strong);
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand-3);
}
.badge.hot { color: var(--danger); }
.badge.new { color: var(--success); }

.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.product h3 { font-size: 1.05rem; margin-bottom: 6px; }
.product-desc { font-size: .86rem; color: var(--text-dim); margin-bottom: 14px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.product-specs span {
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  font-size: .73rem; color: var(--text-dim);
}
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.product-price { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 800; }
.product-actions { display: flex; gap: 7px; }
.product-actions .btn { --btn-pad: 8px 14px; font-size: .8rem; }
.icon-only {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-dim);
  cursor: pointer; font-size: .9rem;
  transition: all .22s var(--ease);
}
.icon-only:hover { color: var(--text); border-color: var(--brand); transform: translateY(-2px); }
.empty-note { text-align: center; color: var(--text-dim); padding: 40px 0; }
/* ---------- 10. PC BUILDER ---------- */
.builder-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.builder-controls { display: flex; flex-direction: column; gap: 22px; }
.control-block {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.control-title {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 16px;
}

.tier-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier {
  display: flex; flex-direction: column; gap: 3px;
  padding: 15px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer; text-align: left;
  transition: all .25s var(--ease);
}
.tier b { font-family: 'Sora', sans-serif; font-size: 1rem; }
.tier span { font-size: .78rem; color: var(--text-dim); }
.tier:hover { border-color: var(--brand); transform: translateY(-3px); }
.tier.active { border-color: transparent; background: var(--accent-grad); color: #fff; box-shadow: 0 14px 30px -14px rgba(91,140,255,.9); }
.tier.active span { color: rgba(255,255,255,.82); }

.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: .89rem; font-weight: 600;
  cursor: pointer;
  transition: all .22s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--brand); }
.chip.active { background: var(--surface); border-color: var(--brand); color: var(--text); box-shadow: var(--glow); }

.addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  cursor: pointer;
  transition: all .22s var(--ease);
}
.addon + .addon { margin-top: 10px; }
.addon:hover { border-color: var(--line-strong); }
.addon:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface-2)); }
.addon input { width: 19px; height: 19px; accent-color: var(--brand); cursor: pointer; }
.addon span { display: flex; flex-direction: column; }
.addon b { font-size: .93rem; }
.addon em { font-style: normal; font-size: .78rem; color: var(--text-dim); }
.addon-price { font-weight: 700; color: var(--brand-3); font-size: .9rem; }

/* ---- summary panel ---- */
.builder-summary {
  position: sticky; top: calc(var(--header-h) + 20px);
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg), var(--glow);
}
.summary-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.summary-head h3 { margin: 0; font-size: 1.05rem; }
.tier-badge {
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-grad);
  color: #fff;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .05em;
}
.summary-list { display: flex; flex-direction: column; gap: 1px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.summary-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px;
  background: var(--surface-2);
  font-size: .87rem;
  animation: slideIn .35s var(--ease);
}
.summary-list li + li { border-top: 1px solid var(--line); }
.summary-list li span { color: var(--text-dim); }
.summary-list li b { font-weight: 600; text-align: right; }
.summary-list li.head { background: var(--surface); }
.summary-list li.head span { color: var(--text); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
@keyframes slideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.perf-block { margin: 20px 0 4px; }
.perf-row { display: flex; align-items: baseline; justify-content: space-between; font-size: .82rem; color: var(--text-dim); margin-bottom: 7px; }
.perf-row b { font-family: 'Sora', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--text); }
.perf-bar { height: 8px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.perf-bar i {
  display: block; height: 100%;
  border-radius: 100px;
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(91,140,255,.8);
  transition: width .55s var(--ease);
}
.perf-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .78rem; color: var(--text-dim); }
.perf-meta b { color: var(--text); }

.summary-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.summary-total span { font-size: .9rem; color: var(--text-dim); }
.summary-total b {
  font-family: 'Sora', sans-serif;
  font-size: 1.9rem; font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.summary-note { font-size: .76rem; color: var(--text-faint); margin: 6px 0 4px; }
/* ---------- 11. PROCESS STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-5px); border-color: var(--brand); }
.step::after {
  content: '';
  position: absolute; top: 46px; right: -13px;
  width: 12px; height: 2px;
  background: var(--line-strong);
}
.step:last-child::after { display: none; }
.step-num {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 2rem; font-weight: 800;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: .88rem; color: var(--text-dim); margin: 0; }

/* ---------- 12. REVIEWS CAROUSEL ---------- */
.carousel { position: relative; display: flex; align-items: center; gap: 14px; }
.car-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.car-track { display: flex; transition: transform .55s var(--ease); }
.review {
  flex: 0 0 100%;
  padding: 34px clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.stars { display: flex; gap: 4px; margin-bottom: 14px; color: #fbbf24; font-size: 1.05rem; }
.review blockquote { font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.7; margin: 0 0 20px; }
.review-author { display: flex; align-items: center; gap: 13px; }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.review-author b { display: block; font-size: .95rem; }
.review-author em { font-style: normal; font-size: .8rem; color: var(--text-dim); }
.car-nav {
  display: grid; place-items: center;
  width: 46px; height: 46px; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.car-nav:hover { background: var(--accent-grad); color: #fff; border-color: transparent; transform: scale(1.08); }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.car-dot {
  width: 8px; height: 8px;
  border: 0; border-radius: 100px; padding: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: all .3s var(--ease);
}
.car-dot.active { width: 28px; background: var(--accent-grad); }

/* ---------- 13. PRICING PLANS ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.plan.featured {
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--accent-grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-lg), var(--glow);
}
.plan-flag {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 100px;
  background: var(--accent-grad);
  color: #fff;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 2px; }
.plan-desc { font-size: .86rem; color: var(--text-dim); margin-bottom: 16px; }
.plan-price { font-family: 'Sora', sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 6px; }
.plan-price span { font-size: .9rem; font-weight: 600; color: var(--text-dim); font-family: 'Inter', sans-serif; }
.plan .tick-list { margin-bottom: 22px; }

/* ---------- 14. ACCORDION (FAQ) ---------- */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s;
}
.acc-item[open] { border-color: var(--brand); }
.acc-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600; font-size: .98rem;
  list-style: none;
  transition: background .2s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: var(--surface-2); }
.acc-icon {
  position: relative;
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform .3s var(--ease), border-color .3s;
}
.acc-icon::before, .acc-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.8px;
  border-radius: 2px;
  background: var(--text);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-item[open] .acc-icon { transform: rotate(90deg); border-color: var(--brand); }
.acc-item[open] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-body { padding: 0 20px 20px; color: var(--text-dim); font-size: .93rem; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 2px; }
/* ---------- 15. CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: clamp(46px, 6vw, 70px) 0;
  background: var(--accent-grad);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 75%);
}
.cta-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 26px;
}
.cta-inner h2 { margin: 0 0 6px; color: #fff; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.88); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: #1a1f3d; box-shadow: 0 16px 36px -14px rgba(0,0,0,.6); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* ---------- 16. CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-info p { color: var(--text-dim); }
.info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.info-list li { display: flex; align-items: flex-start; gap: 14px; }
.info-ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.1rem;
}
.info-list b { display: block; font-size: .82rem; color: var(--text-faint); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.info-list em { font-style: normal; font-size: .96rem; color: var(--text); }

.contact-form {
  padding: clamp(24px, 3.5vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  font-size: .94rem;
  transition: border-color .22s, box-shadow .22s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(91,140,255,.18);
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(251,113,133,.15); }
.err { display: none; color: var(--danger); font-size: .78rem; margin-top: 5px; }
.field.invalid .err { display: block; }

.range-wrap { display: flex; align-items: center; gap: 16px; }
.range-wrap input[type="range"] { flex: 1; padding: 0; height: 6px; border: 0; border-radius: 100px; background: var(--surface-2); appearance: none; cursor: pointer; }
.range-wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-grad);
  border: 2px solid var(--bg);
  box-shadow: 0 3px 10px rgba(0,0,0,.4);
  cursor: pointer;
}
.range-wrap input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #5b8cff; border: 2px solid var(--bg); cursor: pointer; }
.range-wrap output {
  min-width: 82px; text-align: center;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem;
}
.form-msg { min-height: 20px; margin: 12px 0 0; font-size: .87rem; text-align: center; color: var(--text-dim); }
.form-msg.ok { color: var(--success); }
.form-msg.bad { color: var(--danger); }
/* ---------- 17. FOOTER ---------- */
.site-footer { padding: clamp(50px, 6vw, 76px) 0 0; border-top: 1px solid var(--line); background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 40px; }
.footer-brand p { color: var(--text-dim); font-size: .9rem; margin-top: 16px; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 4px; }
.footer-col a { font-size: .9rem; color: var(--text-dim); transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--brand-3); transform: translateX(3px); }
.footer-small { font-size: .87rem; color: var(--text-dim); }
.news-form { display: flex; gap: 8px; margin-top: 4px; }
.news-form input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--surface); font-size: .87rem; }
.news-form input:focus { outline: none; border-color: var(--brand); }
.news-form .btn { --btn-pad: 10px 20px; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--text-faint);
}
.footer-legal a:hover { color: var(--brand-3); }

/* ---------- 18. OVERLAYS: DRAWER / MODAL / TOASTS ---------- */
.drawer-backdrop, .modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,7,14,.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.drawer-backdrop.show, .modal-backdrop.show { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 210;
  width: min(410px, 100%);
  display: flex; flex-direction: column;
  background: var(--bg-alt);
  border-left: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .38s var(--ease);
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; color: var(--text-dim); padding: 50px 10px; }
.cart-empty span { display: block; font-size: 2.6rem; margin-bottom: 10px; }
.cart-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center; gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  animation: slideIn .3s var(--ease);
}
.cart-item .ci-emoji { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--surface-2); font-size: 1.4rem; }
.cart-item b { display: block; font-size: .88rem; }
.cart-item small { color: var(--text-dim); font-size: .76rem; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.ci-price { font-family: 'Sora', sans-serif; font-weight: 800; font-size: .92rem; }
.qty { display: flex; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 100px; padding: 2px; background: var(--surface-2); }
.qty button {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--text-dim);
  font-size: .85rem; line-height: 1;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.qty button:hover { background: var(--brand); color: #fff; }
.qty span { min-width: 20px; text-align: center; font-size: .82rem; font-weight: 700; }
.ci-remove { border: 0; background: none; color: var(--text-faint); font-size: .74rem; cursor: pointer; text-decoration: underline; }
.ci-remove:hover { color: var(--danger); }
.cart-foot { padding: 20px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.cart-total b { font-family: 'Sora', sans-serif; font-size: 1.6rem; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cart-note { font-size: .76rem; color: var(--text-faint); margin: 0 0 6px; }
/* only lay the modal out as a centring grid once it is shown, so the global
   [hidden] rule keeps it fully out of the layout (and out of the hit-test) */
.modal-backdrop:not([hidden]) { display: grid; place-items: center; padding: 20px; }
.modal {
  position: relative;
  width: min(460px, 100%);
  padding: 32px 28px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transform: scale(.92) translateY(14px);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.modal-backdrop.show .modal { transform: none; opacity: 1; }
.modal-close { position: absolute; top: 14px; right: 14px; }
.modal-emoji { font-size: 3rem; margin-bottom: 10px; }
.modal h3 { font-size: 1.35rem; margin-bottom: 6px; }
.modal > p { color: var(--text-dim); font-size: .92rem; }
.modal .tick-list { text-align: left; margin: 18px 0; }
.modal-price { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px; margin-bottom: 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.modal-price b { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 800; }

.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 11px;
  min-width: 260px; max-width: 360px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: .89rem;
  animation: toastIn .35s var(--ease);
}
.toast.hide { animation: toastOut .3s var(--ease) forwards; }
.toast .t-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--success) 20%, transparent); color: var(--success); font-size: .8rem; flex-shrink: 0; }
.toast.warn .t-ico { background: color-mix(in srgb, var(--danger) 20%, transparent); color: var(--danger); }
.toast b { display: block; }
.toast small { color: var(--text-dim); font-size: .78rem; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-grad); color: #fff; border-color: transparent; }

/* ---------- 19. SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
/* ---------- 20. MOBILE NAV ---------- */
@media (max-width: 1080px) {
  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 18px 24px 26px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .38s var(--ease);
    margin-left: 0;
  }
  .nav.open { transform: none; }
  .nav-link { padding: 13px 16px; font-size: 1rem; }
  .nav-link.active::after { display: none; }
  .nav-link.active { background: var(--surface-2); border-left: 3px solid var(--brand); border-radius: 4px 12px 12px 4px; }
  .burger { display: block; }
  .header-cta { display: none; }
}

/* ---------- 21. RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .pill { margin-inline: auto; }
  .hero-visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .builder-wrap { grid-template-columns: 1fr; }
  .builder-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { padding-inline: 18px; }
  .rig-body { grid-template-columns: 1fr; }
  .case { max-width: 190px; margin-inline: auto; width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .tier-row { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 8px 15px; font-size: .82rem; }
  .carousel { flex-direction: column; padding-bottom: 66px; }
  .car-viewport { width: 100%; }
  .car-nav { position: absolute; bottom: -62px; }
  .car-nav.prev { left: 50%; margin-left: -54px; }
  .car-nav.next { left: 50%; margin-left: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .toast-stack { left: 16px; right: 16px; }
  .toast { min-width: 0; max-width: none; }
  .to-top { display: none; }
  .review { padding: 26px 20px; }
  .stats-grid { gap: 12px; }
  .product-actions .btn { padding: 8px 11px; font-size: .76rem; }
  .modal { padding: 28px 20px 22px; }
  .addon { grid-template-columns: auto 1fr; }
  .addon-price { grid-column: 2; text-align: right; }
}










