/* ============================================================
   SECUREBOOST — styles.css
   Deep space glassmorphism + emerald green accent
   ============================================================ */

/* ----------------------------------------
   1. CUSTOM PROPERTIES
   ---------------------------------------- */
:root {
  /* Backgrounds */
  --bg-base:    #0a0c0e;
  --bg-surface: #0d1117;

  /* Glassmorphism */
  --glass-bg:           rgba(255, 255, 255, 0.04);
  --glass-bg-hover:     rgba(255, 255, 255, 0.08);
  --glass-border:       rgba(0, 255, 136, 0.18);
  --glass-border-hover: rgba(0, 255, 136, 0.55);

  /* Accent — Emerald Green */
  --accent:             #00ff88;
  --accent-dim:         #10b981;
  --accent-glow:        rgba(0, 255, 136, 0.30);
  --accent-glow-strong: rgba(0, 255, 136, 0.60);

  /* Theme system */
  --accent-rgb:  0, 255, 136;
  --btn-text:    #0a0c0e;

  /* Terminal (CRT green — distinct from site accent) */
  --terminal-accent:  #00ff66;
  --terminal-glow:    rgba(0, 255, 102, 0.55);
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Text */
  --text-primary:   #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted:     #484f58;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  --space-4xl: 7rem;

  /* Border Radius */
  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1.25rem;
  --radius-xl:   1.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   400ms ease;
  --t-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index stack */
  --z-base:  1;
  --z-card:  10;
  --z-nav:   100;
}

/* ----------------------------------------
   THEME PRESETS
   Override the key accent/bg variables per data-theme attribute.
   ---------------------------------------- */

@property --chroma-hue {
  syntax: '<angle>';
  inherits: true;
  initial-value: 150deg;
}

/* ── Midnight Script (Cyberpunk: Purple + Cyan) ──────────── */
[data-theme="midnight"] {
  --bg-base:            #050505;
  --bg-surface:         #0d0916;
  --accent:             #b026ff;
  --accent-dim:         #7c3aed;
  --accent-glow:        rgba(176, 38, 255, 0.30);
  --accent-glow-strong: rgba(176, 38, 255, 0.60);
  --glass-border:       rgba(176, 38, 255, 0.18);
  --glass-border-hover: rgba(176, 38, 255, 0.55);
  --terminal-accent:    #00f0ff;
  --terminal-glow:      rgba(0, 240, 255, 0.55);
  --accent-rgb:         176, 38, 255;
  --btn-text:           #f0f6fc;
}

/* ── Liquid Cooled (Ice Blue + Crisp White) ──────────────── */
[data-theme="liquid"] {
  --bg-base:            #0b1320;
  --bg-surface:         #0f1929;
  --accent:             #00d2ff;
  --accent-dim:         #0891b2;
  --accent-glow:        rgba(0, 210, 255, 0.30);
  --accent-glow-strong: rgba(0, 210, 255, 0.60);
  --glass-border:       rgba(0, 210, 255, 0.18);
  --glass-border-hover: rgba(0, 210, 255, 0.55);
  --terminal-accent:    #e8f4ff;
  --terminal-glow:      rgba(232, 244, 255, 0.55);
  --accent-rgb:         0, 210, 255;
  --btn-text:           #0b1320;
}

/* ── Redline (Crimson + Deep Orange) ─────────────────────── */
[data-theme="redline"] {
  --bg-base:            #000000;
  --bg-surface:         #0a0000;
  --accent:             #ff003c;
  --accent-dim:         #cc0030;
  --accent-glow:        rgba(255, 0, 60, 0.30);
  --accent-glow-strong: rgba(255, 0, 60, 0.60);
  --glass-border:       rgba(255, 0, 60, 0.18);
  --glass-border-hover: rgba(255, 0, 60, 0.55);
  --terminal-accent:    #ff4a00;
  --terminal-glow:      rgba(255, 74, 0, 0.55);
  --accent-rgb:         255, 0, 60;
  --btn-text:           #f0f6fc;
}

/* ── Sunset Drift (Hot Pink + Mango Orange) ──────────────── */
[data-theme="sunset"] {
  --bg-base:            #110c1c;
  --bg-surface:         #180f26;
  --accent:             #ff007f;
  --accent-dim:         #c0005e;
  --accent-glow:        rgba(255, 0, 127, 0.30);
  --accent-glow-strong: rgba(255, 0, 127, 0.60);
  --glass-border:       rgba(255, 0, 127, 0.18);
  --glass-border-hover: rgba(255, 0, 127, 0.55);
  --terminal-accent:    #ff8a00;
  --terminal-glow:      rgba(255, 138, 0, 0.55);
  --accent-rgb:         255, 0, 127;
  --btn-text:           #f0f6fc;
}

/* ── Chroma (Animated RGB rainbow via @property) ─────────── */
[data-theme="chroma"] {
  --chroma-hue:         150deg;
  animation:            chroma-cycle 8s linear infinite;
  --accent:             hsl(var(--chroma-hue) 100% 65%);
  --accent-dim:         hsl(var(--chroma-hue) 80% 45%);
  --accent-glow:        hsla(var(--chroma-hue), 100%, 65%, 0.30);
  --accent-glow-strong: hsla(var(--chroma-hue), 100%, 65%, 0.60);
  --glass-border:       hsla(var(--chroma-hue), 100%, 65%, 0.18);
  --glass-border-hover: hsla(var(--chroma-hue), 100%, 65%, 0.55);
  --terminal-accent:    hsl(var(--chroma-hue) 100% 65%);
  --terminal-glow:      hsla(var(--chroma-hue), 100%, 65%, 0.55);
  --btn-text:           #0a0c0e;
}

@keyframes chroma-cycle {
  from { --chroma-hue: 150deg; }
  to   { --chroma-hue: 510deg; }
}

/* ----------------------------------------
   2. CSS RESET + BASE
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -5%,
      rgba(0, 255, 136, 0.09) 0%,
      transparent 65%);
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ----------------------------------------
   3. LAYOUT
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ----------------------------------------
   4. GLASSMORPHISM UTILITY
   ---------------------------------------- */
.glass {
  /* Solid fallback for browsers without backdrop-filter */
  background: rgba(13, 17, 23, 0.88);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
  }
}

/* ----------------------------------------
   5. TYPOGRAPHY HELPERS
   ---------------------------------------- */
.accent {
  color: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subheading {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ----------------------------------------
   6. KEYFRAME ANIMATIONS
   ---------------------------------------- */
@keyframes glow-pulse {
  0%, 100% {
    text-shadow:
      0 0 8px var(--accent),
      0 0 22px var(--accent-glow);
  }
  50% {
    text-shadow:
      0 0 18px var(--accent),
      0 0 50px var(--accent-glow),
      0 0 80px var(--accent-glow);
  }
}

@keyframes border-glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 10px var(--accent-glow),
      0 0 0 2px transparent;
  }
  50% {
    box-shadow:
      0 0 28px var(--accent-glow-strong),
      0 0 55px var(--accent-glow);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1.04); }
  50%       { transform: translateY(-9px) scale(1.04); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(35px, -25px) scale(1.06); }
  66%       { transform: translate(-25px, 18px) scale(0.94); }
}

@keyframes hero-entrance {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes terminal-dot-pulse {
  0%, 100% {
    box-shadow:
      0 0 4px var(--terminal-accent),
      0 0 0 2px rgba(0, 255, 102, 0.20);
  }
  50% {
    box-shadow:
      0 0 10px var(--terminal-accent),
      0 0 18px rgba(0, 255, 102, 0.45);
  }
}

@keyframes terminal-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ----------------------------------------
   7. SCROLL REVEAL
   ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
   8. NAVBAR
   ---------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding: var(--space-md) 0;
  transition:
    background var(--t-slow),
    border-color var(--t-slow),
    box-shadow var(--t-slow);
}

.navbar.scrolled {
  background: rgba(10, 12, 14, 0.88);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .navbar.scrolled {
    background: rgba(10, 12, 14, 0.70);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
  animation: glow-pulse 4s ease-in-out infinite;
  transition: opacity var(--t-base);
  flex-shrink: 0;
}

.nav-brand:hover {
  opacity: 0.8;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--t-base);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  transform: scaleX(1);
}

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------
   9. BUTTON
   ---------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  will-change: transform, box-shadow;
  /* Sweep fill via background-size transition */
  background: linear-gradient(var(--accent) 0 0) no-repeat left / 0% 100%;
  box-shadow: 0 0 12px var(--accent-glow);
  transition:
    color var(--t-fast),
    background-size var(--t-base),
    transform var(--t-bounce),
    box-shadow var(--t-base);
}

.btn-primary:hover {
  color: var(--btn-text);
  background-size: 100% 100%;
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 0 30px var(--accent-glow-strong),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* ----------------------------------------
   10. HERO
   ---------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

/* Ambient glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: orb-drift 18s ease-in-out infinite;
}

.hero-orb--1 {
  width: 600px;
  height: 600px;
  top: -15%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.11) 0%, transparent 70%);
  filter: blur(60px);
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 450px;
  height: 450px;
  bottom: 5%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
  filter: blur(70px);
  animation-delay: -7s;
}

.hero-orb--3 {
  width: 320px;
  height: 320px;
  top: 45%;
  left: 38%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
  filter: blur(80px);
  animation-delay: -13s;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3xl);
  position: relative;
  z-index: var(--z-base);
}

.hero-content {
  flex: 1;
  max-width: 600px;
  animation: hero-entrance 0.9s ease both;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(0, 255, 136, 0.10);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero-headline {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.headline-accent {
  color: var(--accent);
  display: inline-block;
  animation: glow-pulse 3s ease-in-out infinite;
}

.hero-subheadline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

/* Floating stat card */
.hero-graphic {
  flex-shrink: 0;
  width: 200px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  animation: hero-entrance 0.9s 0.2s ease both, float 7s 1.2s ease-in-out infinite;
}

.hero-stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  animation: glow-pulse 3.5s ease-in-out infinite;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-stat-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ----------------------------------------
   11. FEATURES / TRUST BANNER
   ---------------------------------------- */
.features {
  padding: var(--space-2xl) 0;
}

.features-row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-xl);
  transition:
    transform var(--t-bounce),
    border-color var(--t-base),
    box-shadow var(--t-base);
}

.feature-pill:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.4),
    0 0 22px var(--accent-glow);
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ----------------------------------------
   12. PRODUCTS
   ---------------------------------------- */
.products {
  padding: var(--space-4xl) 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  align-items: start;
}

.product-card {
  position: relative;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  will-change: transform, box-shadow;
  transition:
    transform var(--t-bounce),
    box-shadow var(--t-base),
    border-color var(--t-base);
}

/* Top accent line — hidden by default, shown on hover and for featured */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent) 40%,
    var(--accent) 60%,
    transparent
  );
  opacity: 0;
  transition: opacity var(--t-base);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px var(--accent-glow);
}

/* Featured (centre) card */
.product-card.featured {
  border-color: rgba(0, 255, 136, 0.42);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 0 28px var(--accent-glow);
  animation: float 7s ease-in-out infinite;
}

.product-card.featured::before {
  opacity: 1;
}

.product-card.featured:hover {
  transform: translateY(-10px) scale(1.03);
  animation: none;
}

/* "Most Popular" pill anchored to card top */
.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--btn-text);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 0.28rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  white-space: nowrap;
  z-index: 2;
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.card-title {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.card-duration {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.check {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.price {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  animation: glow-pulse 4.5s ease-in-out infinite;
  line-height: 1;
}

.btn-purchase {
  width: 100%;
}

/* ----------------------------------------
   13. PAYMENT METHODS
   ---------------------------------------- */
.payments {
  padding: var(--space-3xl) 0;
}

.payment-row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.payment-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 155px;
  justify-content: center;
  transition:
    transform var(--t-bounce),
    border-color var(--t-base),
    box-shadow var(--t-base);
}

.payment-badge:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border-hover);
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.4),
    0 0 22px var(--accent-glow);
}

.payment-icon {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

/* ----------------------------------------
   14. FAQ
   ---------------------------------------- */
.faq {
  padding: var(--space-4xl) 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.faq-item[open] {
  border-color: var(--glass-border-hover);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.3),
    0 0 18px var(--accent-glow);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--t-base);
}

/* Remove default marker */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

/* Plus / X indicator */
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--t-base), color var(--t-base);
}

.faq-item[open] .faq-question {
  color: var(--accent);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-md);
}

/* ----------------------------------------
   15. TOS
   ---------------------------------------- */
.tos {
  padding: var(--space-3xl) 0;
}

.tos-card {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-xl);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ----------------------------------------
   16. FOOTER
   ---------------------------------------- */
.footer {
  padding: var(--space-xl) 0;
  margin-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
  transition: color var(--t-base);
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t-base);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-link:hover::after {
  transform: scaleX(1);
}

/* ----------------------------------------
   17. PRIVACY BANNER
   ---------------------------------------- */
.privacy-banner {
  padding: var(--space-2xl) 0;
}

.privacy-card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: rgba(13, 17, 23, 0.88);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  transition: box-shadow var(--t-base);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .privacy-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
  }
}

.privacy-icon {
  flex-shrink: 0;
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transition: filter var(--t-base);
}

.privacy-card:hover .privacy-icon {
  filter: drop-shadow(0 0 14px var(--accent-glow-strong));
}

.privacy-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.privacy-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.privacy-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----------------------------------------
   18. RECENT VOUCHES (DISCORD CHANNEL)
   ---------------------------------------- */
.vouches {
  padding: var(--space-4xl) 0;
}

.discord-channel {
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: #313338;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem var(--space-lg);
  background: #2b2d31;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-hash {
  color: #80848e;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.discord-channel-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f2f3f5;
  letter-spacing: 0.01em;
}

.discord-messages {
  display: flex;
  flex-direction: column;
  padding: var(--space-md) var(--space-lg) var(--space-xl);
  gap: 0;
}

.discord-message {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: 0.35rem 0;
  border-radius: 4px;
  transition: background var(--t-fast);
}

.discord-message:hover {
  background: rgba(255, 255, 255, 0.03);
}

.discord-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
  user-select: none;
}

.discord-avatar--red   { background: #ed4245; }
.discord-avatar--blue  { background: #5865f2; }
.discord-avatar--green { background: #3ba55d; }

.discord-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.discord-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  line-height: 1;
}

.discord-username {
  font-size: 0.95rem;
  font-weight: 600;
  cursor: default;
  user-select: none;
}

.discord-username--green  { color: #00ff66; }
.discord-username--yellow { color: #f0b132; }
.discord-username--purple { color: #c9a8fb; }

.discord-bot-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 0.3rem;
  height: 1.1rem;
  background: var(--accent-dim);
  color: #fff;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  line-height: 1;
  user-select: none;
}

.discord-timestamp {
  font-size: 0.72rem;
  color: #80848e;
  font-weight: 400;
}

.discord-text {
  font-size: 0.95rem;
  color: #dbdee1;
  line-height: 1.4;
  word-break: break-word;
}

/* ----------------------------------------
   19. NETWORK STATUS WIDGET
   ---------------------------------------- */
.network-status {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.network-terminal {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 255, 102, 0.25);
  background: rgba(6, 9, 12, 0.82);
  box-shadow:
    0 0 0 1px rgba(0, 255, 102, 0.08) inset,
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 255, 102, 0.06);
  overflow: hidden;
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .network-terminal {
    background: rgba(6, 9, 12, 0.55);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
  }
}

.terminal-scanlines {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  z-index: 0;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(0, 255, 102, 0.15);
  position: relative;
  z-index: 1;
}

.terminal-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terminal-accent);
  flex-shrink: 0;
  animation: terminal-dot-pulse 2.4s ease-in-out infinite;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--terminal-accent);
  text-shadow: 0 0 8px rgba(0, 255, 102, 0.50);
}

.terminal-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.terminal-line {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
}

.terminal-label {
  color: rgba(0, 255, 102, 0.55);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 4.5rem;
  text-align: right;
}

.terminal-sep {
  color: rgba(0, 255, 102, 0.35);
  flex-shrink: 0;
}

.terminal-value {
  color: var(--terminal-accent);
  text-shadow: 0 0 8px var(--terminal-glow);
  font-weight: 400;
}

.terminal-line--cursor {
  margin-top: 0.2rem;
}

.terminal-cursor {
  display: inline-block;
  color: var(--terminal-accent);
  text-shadow: 0 0 8px var(--terminal-glow);
  font-weight: 700;
  animation: terminal-cursor-blink 1s step-end infinite;
  will-change: opacity;
}

/* ----------------------------------------
   18. PRODUCTS PAGE — group headers + "View All" CTA
   ---------------------------------------- */
.products-group-header {
  margin: var(--space-3xl) 0 var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--glass-border);
}

/* First group needs no top margin since section already has padding */
.products-group-header:first-of-type {
  margin-top: 0;
}

.products-group-title {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.products-group-sub {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0;
}


.products-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--t-base), border-color var(--t-base), transform var(--t-bounce);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* ----------------------------------------
   19. INNER PAGE HERO
   ---------------------------------------- */
.hero--inner {
  min-height: 34vh;
  padding: 6.5rem 0 3rem;
}

.hero--inner .hero-inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: var(--space-md);
}

.hero--inner .hero-content {
  max-width: 100%;
  text-align: left;
  animation: hero-entrance 0.7s ease both;
}

.hero--inner .hero-headline {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
}

.hero--inner .hero-subheadline {
  max-width: 580px;
}

/* Breadcrumb trail */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--t-base);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span[aria-current] {
  color: var(--accent);
  font-weight: 500;
}

/* ----------------------------------------
   20. ORDER STEPS PROGRESS BAR
   ---------------------------------------- */
.order-steps-section {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  max-width: 400px;
  margin: 0 auto;
  gap: 0;
}

.order-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  position: relative;
}

/* Connector line */
.order-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 17px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.order-step--done:not(:last-child)::after,
.order-step--current:not(:last-child)::after {
  background: var(--accent-dim);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.order-step--done .step-number {
  border-color: var(--accent-dim);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-dim);
}

.order-step--current .step-number {
  border-color: var(--accent);
  background: rgba(0, 255, 136, 0.12);
  color: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}

.step-label {
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.order-step--done .step-label  { color: var(--accent-dim); }
.order-step--current .step-label { color: var(--accent); }

/* ----------------------------------------
   21. CHECKOUT PAGE
   ---------------------------------------- */
.checkout-section {
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Left: order summary card */
.order-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.order-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-card-footer {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.order-secure-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Right: sticky action column */
.checkout-action {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: sticky;
  top: 6rem;
}

.checkout-price-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.checkout-total-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.checkout-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.checkout-payment-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--accent);
  background: var(--glass-bg);
  flex-shrink: 0;
}

/* "What happens next" block */
.next-steps {
  padding: var(--space-xl);
}

.next-steps-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
}

.next-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.next-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 255, 136, 0.10);
  border: 1px solid var(--glass-border);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.next-steps-list strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.next-steps-list p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ----------------------------------------
   22. SUCCESS PAGE
   ---------------------------------------- */
@keyframes success-pop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes check-draw {
  from { opacity: 0; transform: rotate(45deg) scale(0.5) translateY(-4px); }
  to   { opacity: 1; transform: rotate(45deg) scale(1) translateY(-4px); }
}

.success-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--accent-glow);
  animation: success-pop 0.65s var(--t-bounce) both;
}

.success-checkmark {
  width: 36px;
  height: 21px;
  border-bottom: 3.5px solid var(--accent);
  border-right: 3.5px solid var(--accent);
  animation: check-draw 0.4s 0.4s ease both;
}

.success-heading {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  animation: hero-entrance 0.7s 0.2s ease both;
}

.success-subtext {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  animation: hero-entrance 0.7s 0.3s ease both;
}

.success-card {
  width: 100%;
  padding: var(--space-xl);
  text-align: left;
  animation: hero-entrance 0.7s 0.4s ease both;
}

.success-steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
  margin-top: var(--space-lg);
}

.success-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.success-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  animation: hero-entrance 0.7s 0.5s ease both;
}

.success-support {
  font-size: 0.85rem;
  color: var(--text-muted);
  animation: hero-entrance 0.7s 0.6s ease both;
}

.support-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-base);
}

.support-link:hover {
  color: var(--text-primary);
}

/* ----------------------------------------
   23. PAGE-ACTIVE NAV STATE
   ---------------------------------------- */
.navbar-links a.page-active {
  color: var(--accent);
}

.navbar-links a.page-active::after {
  transform: scaleX(1);
}

/* ----------------------------------------
   17. RESPONSIVE BREAKPOINTS
   ---------------------------------------- */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-graphic {
    width: 175px;
  }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Disable float animation on tablet to prevent layout shifts */
  .product-card.featured {
    animation: none;
    transform: none;
  }

  .product-card.featured:hover {
    transform: translateY(-10px) scale(1.01);
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-graphic {
    width: auto;
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-lg) var(--space-2xl);
    animation: hero-entrance 0.9s 0.2s ease both;
  }

  .hero-stat-number {
    font-size: 2.5rem;
  }

  .hero-stat-label,
  .hero-stat-sub {
    text-align: left;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --space-4xl: 4.5rem;
    --space-3xl: 3.5rem;
  }

  .container {
    padding: 0 var(--space-md);
  }

  /* Stack to single column */
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Show hamburger, hide desktop links */
  .nav-burger {
    display: flex;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-xl);
    gap: var(--space-lg);
    background: rgba(10, 12, 14, 0.97);
    border-bottom: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
  }

  @supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .navbar-links {
      background: rgba(10, 12, 14, 0.88);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    font-size: 1rem;
    padding: var(--space-xs) 0;
  }

  /* Shrink hero on mobile */
  .hero {
    min-height: auto;
    padding: 5rem 0 3.5rem;
  }

  .hero-graphic {
    display: none;
  }

  /* Stack features vertically */
  .features-row {
    flex-direction: column;
  }

  /* Stack payments vertically */
  .payment-row {
    flex-direction: column;
    align-items: center;
  }

  .payment-badge {
    width: 100%;
    max-width: 280px;
  }

  /* Stack footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  /* Checkout grid: stack on mobile */
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-action {
    position: static;
  }

  /* Inner hero: left-align text stays left on mobile */
  .hero--inner .hero-content {
    text-align: left;
  }

  /* Success actions: stack vertically */
  .success-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Privacy banner: stack on mobile */
  .privacy-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-md);
  }

  /* Discord channel: tighter padding */
  .discord-messages {
    padding: var(--space-sm) var(--space-md) var(--space-lg);
  }

  .discord-header {
    padding: 0.6rem var(--space-md);
  }

  .discord-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .discord-text,
  .discord-username {
    font-size: 0.88rem;
  }

  /* Network status terminal */
  .network-terminal {
    padding: var(--space-lg) var(--space-md);
  }

  .terminal-title {
    font-size: 0.60rem;
    letter-spacing: 0.10em;
  }

  .terminal-line {
    font-size: 0.76rem;
  }

  .terminal-label {
    min-width: 3.5rem;
  }
}

/* ----------------------------------------
   THEME SWITCHER
   ---------------------------------------- */
.nav-theme-item {
  display: flex;
  align-items: center;
  list-style: none;
}

.theme-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.theme-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: var(--sw-bg);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  outline: none;
  flex-shrink: 0;
}

.theme-swatch:hover {
  transform: scale(1.4);
  box-shadow: 0 0 8px var(--sw-glow, rgba(255,255,255,0.50));
}

.theme-swatch.active {
  border-color: rgba(255, 255, 255, 0.80);
  box-shadow: 0 0 6px var(--sw-glow, rgba(255,255,255,0.40));
  transform: scale(1.15);
}

.theme-swatch[data-theme="emerald"]  { --sw-bg: #00ff88;  --sw-glow: rgba(0,255,136,0.70); }
.theme-swatch[data-theme="midnight"] { background: linear-gradient(135deg, #b026ff, #00f0ff); --sw-glow: rgba(176,38,255,0.70); }
.theme-swatch[data-theme="liquid"]   { background: linear-gradient(135deg, #00d2ff, #e8f4ff); --sw-glow: rgba(0,210,255,0.70); }
.theme-swatch[data-theme="redline"]  { background: linear-gradient(135deg, #ff003c, #ff4a00); --sw-glow: rgba(255,0,60,0.70); }
.theme-swatch[data-theme="sunset"]   { background: linear-gradient(135deg, #ff007f, #ff8a00); --sw-glow: rgba(255,0,127,0.70); }
.theme-swatch[data-theme="chroma"]   { background: conic-gradient(from 0deg, #ff0000, #ff8800, #ffff00, #00ff88, #00ffff, #0000ff, #ff00ff, #ff0000); --sw-glow: rgba(255,255,255,0.50); }

@media (max-width: 640px) {
  .theme-switcher { padding: 4px 6px; gap: 4px; }
  .theme-swatch   { width: 12px; height: 12px; }
}
