/* ════════════════════════════════════════════════════════════════════
   PRISMSCRIPTS · design system
   Quasar visual language (background, hero, nav, feature cards) +
   Marcinhu product cards. Black base, cyan accent, graffiti texture.
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* ── Surfaces ─────────────────────────────────────────── */
  --bg:              #000000;
  --bg-card:         #0a0c10;
  --bg-card-hover:   #0e1116;
  --bg-elevate:      #14171d;
  --bg-faq:          #14171d;
  --bg-pill:         #131720;

  /* ── Text ─────────────────────────────────────────────── */
  --text:            #f5f7fa;
  --text-secondary:  #c8ccd2;
  --text-muted:      #9aa0a8;
  --text-soft:       #6b7280;
  --text-dim:        #4a5058;

  /* ── Lines ────────────────────────────────────────────── */
  --line:            #1a1f28;
  --line-bright:     #262d39;

  /* ── Accent (Quasar cyan) ─────────────────────────────── */
  --cyan:            #00b4ff;
  --cyan-bright:     #34c6ff;
  --cyan-deep:       #0090d9;
  --cyan-glow:       rgba(0, 180, 255, 0.45);
  --cyan-glow-soft:  rgba(0, 180, 255, 0.16);
  --cyan-bg:         rgba(0, 180, 255, 0.10);

  /* ── Prism multi-color (for product art only) ─────────── */
  --p-pink:    #ff4d8d;
  --p-orange:  #ff9248;
  --p-yellow:  #ffd23f;
  --p-green:   #2ee59d;
  --p-blue:    #00b4ff;
  --p-violet:  #9b6dff;

  /* ── Status ───────────────────────────────────────────── */
  --green:   #2ee59d;
  --amber:   #ffb547;
  --red:     #ff4d6d;
  --star:    #ffc83d;

  /* ── CTA inversion ────────────────────────────────────── */
  --cta-bg:        #f5f7fa;
  --cta-bg-hover:  #ffffff;
  --cta-text:      #0a0c10;

  /* ── Type ─────────────────────────────────────────────── */
  --font:      'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* ── Shape ────────────────────────────────────────────── */
  --r-xs:    6px;
  --r-sm:    10px;
  --r:       14px;
  --r-md:    18px;
  --r-lg:    24px;
  --r-pill:  999px;

  /* ── Motion ───────────────────────────────────────────── */
  --t-snap: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-soft: 320ms cubic-bezier(0.16, 1, 0.3, 1);

  --max: 1320px;
}

/* ════════ Reset ════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; background: none; border: none; outline: none; }
::selection { background: var(--cyan); color: var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-bright); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-soft); }
*:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px;
}

/* ════════════════════════════════════════════════════════════════════
   BACKGROUND TEXTURE — graffiti / spray-paint (Quasar signature)
   ════════════════════════════════════════════════════════════════════ */
.bg-layer {
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none;
  background: var(--bg);
}

/* Layer 1: spray-paint splatters via radial gradients */
.bg-splatter {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,180,255,0.06) 0%, transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(255,255,255,0.025) 0%, transparent 25%),
    radial-gradient(circle at 75% 65%, rgba(0,180,255,0.045) 0%, transparent 28%),
    radial-gradient(circle at 20% 85%, rgba(255,255,255,0.02) 0%, transparent 22%),
    radial-gradient(circle at 50% 50%, rgba(0,180,255,0.025) 0%, transparent 40%);
}

/* Layer 2: subtle scribble / graffiti pattern via SVG (low opacity) */
.bg-scribble {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'><defs><filter id='roughen'><feTurbulence baseFrequency='0.6' numOctaves='2' seed='5'/><feDisplacementMap in='SourceGraphic' scale='3'/></filter></defs><g fill='none' stroke='%23ffffff' stroke-opacity='0.025' stroke-linecap='round' filter='url(%23roughen)'><path d='M40 120 Q 160 60, 280 140 T 520 100 T 760 180' stroke-width='2'/><path d='M80 300 Q 200 240, 340 320 T 600 280 T 780 360' stroke-width='1.5'/><path d='M20 480 Q 180 420, 300 500 T 560 460 T 780 540' stroke-width='2.5'/><path d='M60 660 Q 220 600, 360 680 T 620 640 T 780 720' stroke-width='1.8'/><circle cx='120' cy='200' r='30' stroke-width='1'/><circle cx='620' cy='420' r='45' stroke-width='1.5'/><circle cx='340' cy='620' r='25' stroke-width='0.8'/><text x='160' y='90' font-family='Impact,sans-serif' font-size='42' font-weight='900' fill='%23ffffff' fill-opacity='0.018' transform='rotate(-8 160 90)'>SCRIPTS</text><text x='460' y='250' font-family='Impact,sans-serif' font-size='38' font-weight='900' fill='%23ffffff' fill-opacity='0.015' transform='rotate(6 460 250)'>PRISM</text><text x='80' y='540' font-family='Impact,sans-serif' font-size='44' font-weight='900' fill='%23ffffff' fill-opacity='0.012' transform='rotate(-5 80 540)'>FIVEM</text><text x='540' y='720' font-family='Impact,sans-serif' font-size='40' font-weight='900' fill='%23ffffff' fill-opacity='0.015' transform='rotate(9 540 720)'>PRISM</text></g></svg>");
  background-size: 800px 800px;
}

/* Top thin glow line */
.top-glow {
  position: fixed; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--cyan) 30%,
    var(--cyan-bright) 50%,
    var(--cyan) 70%,
    transparent 100%);
  box-shadow: 0 0 12px var(--cyan), 0 0 32px var(--cyan-glow);
  z-index: 200;
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
   NAV — brand left, links center, socials + sign-in right
   ════════════════════════════════════════════════════════════════════ */
nav.bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  padding: 18px 36px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.brand-logo svg { width: 36px; height: 36px; }
.brand-logo::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 65%);
  z-index: -1;
}
.brand-name {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-links {
  display: flex; align-items: center;
  gap: 4px;
  justify-content: center;
}
.nav-links a {
  position: relative;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  transition: color var(--t-snap);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 16px; right: 16px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.nav-links a.external svg {
  display: inline-block;
  width: 11px; height: 11px;
  margin-left: 5px;
  vertical-align: 1px;
  opacity: 0.7;
}

.nav-actions { display: inline-flex; align-items: center; gap: 12px; }
.socials { display: inline-flex; align-items: center; gap: 4px; }
.social {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-snap);
}
.social:hover { color: var(--cyan); background: var(--cyan-bg); }
.social svg { width: 16px; height: 16px; }

/* ── Language / Currency dual-toggle pills ─────────────────── */
.toggle-pill {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.toggle-opt {
  padding: 6px 11px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: all var(--t-snap);
  border: none;
  background: none;
  cursor: pointer;
}
.toggle-opt:hover { color: var(--text); }
.toggle-opt.active {
  background: var(--cyan-bg);
  color: var(--cyan-bright);
  box-shadow: inset 0 0 0 1px rgba(0, 180, 255, 0.32);
}

.signin {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text);
  transition: all var(--t-snap);
}
.signin:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--cyan-glow-soft);
}
.signin .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-elevate);
  border: 1px solid var(--line-bright);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--text-muted);
}

.burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

@media (max-width: 1280px) {
  .socials { display: none; }
}
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .signin span:last-child { display: none; }
  .signin { padding: 9px; }
}
@media (max-width: 720px) {
  nav.bar { padding: 14px 16px; gap: 8px; }
  .toggle-pill { padding: 2px; }
  .toggle-opt { padding: 5px 8px; font-size: 10px; }
}
@media (max-width: 540px) {
  .signin { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════════════ */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
section { position: relative; }
section.block { padding: 100px 0; }

/* ════════════════════════════════════════════════════════════════════
   HERO — Quasar style: discount pill + text left + MASSIVE brand right
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}

.discount-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 14px;
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--text-secondary);
  transition: all var(--t-snap);
  margin-bottom: 40px;
}
.discount-pill:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-glow-soft);
}
.discount-pill .fire {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
}
.discount-pill strong { color: var(--text); font-weight: 700; }
.discount-pill .arrow {
  width: 14px; height: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 50px; } }

.hero-text { display: flex; flex-direction: column; gap: 32px; }

.hero h1 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}
.hero h1 .accent {
  color: var(--cyan);
  text-shadow: 0 0 24px var(--cyan-glow);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

.btn-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--t-snap);
}
.btn-cta:hover {
  background: var(--cta-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 247, 250, 0.18);
}
.btn-cta svg {
  width: 14px; height: 14px;
  transition: transform var(--t-snap);
}
.btn-cta:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--line-bright);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--t-snap);
}
.btn-ghost:hover {
  border-color: var(--cyan);
  background: var(--bg-card-hover);
}
.btn-ghost svg {
  width: 14px; height: 14px;
  transition: transform var(--t-snap);
}
.btn-ghost:hover svg { transform: translateX(3px); }

/* Hero brand mark — massive glowing wordmark with prism */
.hero-mark {
  position: relative;
  aspect-ratio: 1.1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.hero-mark::before {
  content: '';
  position: absolute;
  inset: 5%;
  background:
    radial-gradient(circle at 50% 50%, var(--cyan-glow) 0%, transparent 55%),
    radial-gradient(circle at 30% 30%, rgba(155, 109, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(46, 229, 157, 0.10) 0%, transparent 50%);
  filter: blur(40px);
  z-index: 0;
}
.hero-mark svg {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  /* NO global filter — glow is handled inside the SVG with separate
     blurred layers behind the sharp text/prism. */
}

/* ════════════════════════════════════════════════════════════════════
   FEATURE CARDS — 4 cards (Quasar style: full cards, not inline)
   ════════════════════════════════════════════════════════════════════ */
.features {
  padding: 0 0 100px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 540px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all var(--t-soft);
}
.feature-card:hover {
  border-color: var(--line-bright);
  transform: translateY(-3px);
}
.feature-ic {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: var(--cyan-bg);
  border: 1px solid rgba(0, 180, 255, 0.24);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan);
}
.feature-ic svg { width: 22px; height: 22px; }
.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ════════════════════════════════════════════════════════════════════
   SECTION HEAD — Marcinhu/Quasar style centered eyebrow+heading
   ════════════════════════════════════════════════════════════════════ */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.eyebrow {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow svg { width: 12px; height: 12px; color: var(--cyan); }
.section-head h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.section-head p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════════
   FEATURED PRODUCTS — Marcinhu style cards
   ════════════════════════════════════════════════════════════════════ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .featured-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

.pcard {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--t-soft);
}
.pcard:hover {
  background: var(--bg-card-hover);
  border-color: var(--line-bright);
  transform: translateY(-6px);
}

.pcard-art {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Themed art per product */
.art-admin {
  background:
    radial-gradient(circle at 75% 30%, rgba(0, 180, 255, 0.30) 0%, transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(155, 109, 255, 0.20) 0%, transparent 55%),
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    #06090f;
}
.art-jobs {
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 146, 72, 0.30) 0%, transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(255, 77, 109, 0.18) 0%, transparent 55%),
    repeating-linear-gradient(-45deg, transparent 0, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    #100905;
}
.art-handling {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 77, 109, 0.30) 0%, transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(255, 146, 72, 0.18) 0%, transparent 55%),
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    #100509;
}
.art-mafia {
  background:
    radial-gradient(circle at 70% 30%, rgba(46, 229, 157, 0.26) 0%, transparent 55%),
    radial-gradient(circle at 25% 80%, rgba(155, 109, 255, 0.22) 0%, transparent 55%),
    repeating-linear-gradient(-45deg, transparent 0, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    #050f08;
}
.art-police {
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 180, 255, 0.32) 0%, transparent 55%),
    radial-gradient(circle at 75% 80%, rgba(255, 77, 109, 0.22) 0%, transparent 55%),
    repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    #050810;
}

.art-title {
  position: relative;
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text);
  text-align: center;
  padding: 0 20px;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.45),
    0 8px 24px rgba(0,0,0,0.65),
    0 0 40px rgba(255,255,255,0.06);
  z-index: 1;
}
.art-title .sub {
  display: block;
  font-size: 0.26em;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--cyan-bright);
  margin-top: 10px;
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--cyan-glow);
}

.pcard-tag {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  z-index: 2;
}
.pcard-tag svg { width: 11px; height: 11px; color: var(--star); }
.pcard-tag.popular svg { color: var(--p-orange); }
.pcard-tag.featured svg { color: var(--cyan); }

.pcard-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.pcard h3 {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--text);
  text-transform: uppercase;
}
.pcard p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.pcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.pcard-price {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.pcard-price small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  margin-right: 5px;
  vertical-align: 4px;
}

.pcard-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-elevate);
  border: 1px solid var(--line-bright);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: all var(--t-snap);
}
.pcard:hover .pcard-arrow {
  background: var(--cta-bg);
  color: var(--cta-text);
  border-color: var(--cta-bg);
}
.pcard-arrow svg { width: 14px; height: 14px; transition: transform var(--t-snap); }
.pcard:hover .pcard-arrow svg { transform: translateX(2px); }

.view-all {
  display: flex; justify-content: center;
  margin-top: 48px;
}
.view-all-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  color: var(--text);
  transition: all var(--t-snap);
}
.view-all-btn:hover { background: var(--bg-card-hover); border-color: var(--cyan); }
.view-all-btn svg { width: 13px; height: 13px; transition: transform var(--t-snap); }
.view-all-btn:hover svg { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr; gap: 48px; } }
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat-num {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-feature-settings: 'tnum';
}
.stat-label { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ════════════════════════════════════════════════════════════════════
   REVIEWS
   ════════════════════════════════════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .reviews-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }

.review {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-stars { display: inline-flex; gap: 3px; }
.review-stars svg { width: 16px; height: 16px; color: var(--star); fill: var(--star); }
.review-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}
.review-by {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--p-violet));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
  color: var(--bg);
  flex-shrink: 0;
}
.review-by-info { display: flex; flex-direction: column; }
.review-name { font-size: 13.5px; font-weight: 700; color: var(--text); }
.review-meta { font-size: 11.5px; color: var(--text-soft); }

/* ════════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq {
  background: var(--bg-faq);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t-snap);
}
.faq:hover { border-color: var(--line-bright); }
.faq.open { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-glow-soft); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 15px; font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.faq-q .chev {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-soft);
}
.faq.open .faq-q .chev { transform: rotate(180deg); color: var(--cyan); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-soft); }
.faq.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 14px; line-height: 1.65;
}
.faq-a-inner code {
  font-family: var(--font-mono); font-size: 12.5px;
  padding: 2px 6px;
  background: var(--cyan-bg);
  color: var(--cyan);
  border-radius: 4px;
}

/* ════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.foot-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
@media (max-width: 760px) { .foot-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .foot-main { grid-template-columns: 1fr; gap: 28px; } }

.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand .copy {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}
.foot-brand .not-affil {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.55;
}

.foot-col h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; padding: 0; }
.foot-col li + li { margin-top: 10px; }
.foot-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--t-snap);
}
.foot-col a:hover { color: var(--cyan); }

.foot-band {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-soft);
}
.foot-band .right { display: inline-flex; gap: 18px; }
.foot-band .right a { color: var(--text-soft); }
.foot-band .right a:hover { color: var(--text); }

/* ════════════════════════════════════════════════════════════════════
   COOKIE
   ════════════════════════════════════════════════════════════════════ */
.cookie {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--line-bright);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  z-index: 90;
  max-width: 640px;
  width: calc(100% - 32px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.6);
}
.cookie .ic {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-elevate);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text);
}
.cookie .ic svg { width: 16px; height: 16px; }
.cookie .txt { flex: 1; min-width: 0; }
.cookie .txt strong { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.cookie .txt p { font-size: 11.5px; color: var(--text-muted); line-height: 1.45; }
.cookie .actions { display: inline-flex; gap: 6px; flex-shrink: 0; }
.cookie button { padding: 8px 14px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; }
.cookie .decline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--line-bright);
}
.cookie .decline:hover { color: var(--text); }
.cookie .accept { background: var(--cta-bg); color: var(--cta-text); }
.cookie .accept:hover { background: var(--cta-bg-hover); }
.cookie.hidden { display: none; }

@media (max-width: 540px) {
  .cookie { flex-wrap: wrap; }
  .cookie .actions { width: 100%; justify-content: flex-end; }
}

/* ════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: revealIn 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal.d1 { animation-delay: 100ms; }
.reveal.d2 { animation-delay: 200ms; }
.reveal.d3 { animation-delay: 300ms; }
@keyframes revealIn { to { opacity: 1; transform: translateY(0); } }

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