/* ===== GREINGO DITHER RETRO STYLESHEET ===== */
/* Palette: #00FF41 green | #0FE8B8 teal | #0A3D0A dark-green | #0A0A0A black */
/* Fonts: IBM Plex Mono (headings) | DM Sans (body) */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --gg-black: #0A0A0A;
  --gg-dark: #0A3D0A;
  --gg-green: #00FF41;
  --gg-teal: #0FE8B8;
  --gg-dim: rgba(0, 255, 65, 0.5);
  --gg-faint: rgba(0, 255, 65, 0.08);
  --gg-teal-dim: rgba(15, 232, 184, 0.5);
  --gg-text: #C8FFD6;
  --gg-text-dim: #5A8A6A;
  --gg-border: rgba(0, 255, 65, 0.15);
  --gg-border-strong: rgba(0, 255, 65, 0.3);
  --gg-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --gg-sans: 'DM Sans', system-ui, sans-serif;
  --gg-radius: 2px;
  --gg-transition: 0.2s ease;
  --gg-green-deep: #0A3D0A;

  /* Backward-compatible aliases for migrated pages */
  --bg-primary: var(--gg-black);
  --bg-secondary: #111111;
  --bg-card: rgba(0, 255, 65, 0.06);
  --bg-card-hover: rgba(0, 255, 65, 0.12);
  --green-primary: var(--gg-green);
  --green-bright: var(--gg-green);
  --green-glow: rgba(0, 255, 65, 0.35);
  --green-glow-strong: rgba(0, 255, 65, 0.55);
  --green-dark: var(--gg-green-deep);
  --text-primary: var(--gg-text);
  --text-secondary: var(--gg-text-dim);
  --text-muted: #4a6a54;
  --border-subtle: var(--gg-border);
  --border-green: var(--gg-border-strong);
  --radius-sm: 4px;
  --radius-md: var(--gg-radius);
  --radius-lg: var(--gg-radius);
  --radius-xl: 4px;
  --transition-fast: var(--gg-transition);
  --transition-smooth: 0.4s ease;
  --transition-slow: 0.6s ease;
  --accent: var(--gg-green);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--gg-black);
  color: var(--gg-text);
  font-family: var(--gg-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ===== CRT SCANLINE OVERLAY ===== */
.crt-scanlines {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0) 0px,
    rgba(0, 0, 0, 0) 1px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 3px
  );
}

/* Exclude screenshots and buttons from scanline visual interference */
.dither-img,
.browser-screen,
.catalog-shot,
.btn-primary,
.btn-secondary,
.rack-plan-btn,
.game-menu-btn,
.tracker-menu {
  position: relative;
  z-index: 9999;
}

.crt-vignette {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
}

/* ===== DITHER BACKGROUND PATTERN ===== */
.dither-bg {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
  background-image: var(--dither-pattern, none);
  background-repeat: repeat;
  mix-blend-mode: screen;
}

/* ===== CRT FLICKER ===== */
@keyframes crtFlicker {
  0% { opacity: 1; }
  3% { opacity: 0.97; }
  6% { opacity: 1; }
  7% { opacity: 0.95; }
  8% { opacity: 1; }
  60% { opacity: 1; }
  62% { opacity: 0.98; }
  63% { opacity: 1; }
  100% { opacity: 1; }
}

body.crt-flicker {
  animation: crtFlicker 6s infinite;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gg-border);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--gg-border-strong);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--gg-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--gg-green);
}

.nav-logo {
  width: 24px; height: 24px;
  image-rendering: pixelated;
}
.nav-logo.spinning {
  animation: logoSpin 0.6s ease-in-out;
}
@keyframes logoSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.nav-brand-text { letter-spacing: -0.5px; }

.nav-cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--gg-green);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--gg-text-dim);
  text-decoration: none;
  padding: 6px 14px;
  position: relative;
  transition: var(--gg-transition);
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gg-green);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: var(--gg-green);
}

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

.nav-cta {
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gg-black);
  background: var(--gg-green);
  padding: 8px 18px;
  text-decoration: none;
  border-radius: var(--gg-radius);
  transition: var(--gg-transition);
  letter-spacing: 0.5px;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--gg-teal);
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.4);
}

/* Language selector */
.lang-selector { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--gg-border);
  color: var(--gg-text-dim);
  padding: 5px 10px;
  cursor: pointer;
  font-family: var(--gg-mono);
  font-size: 12px;
  border-radius: var(--gg-radius);
}
.lang-btn:hover { border-color: var(--gg-border-strong); color: var(--gg-green); }
.lang-dropdown {
  position: absolute; top: 100%; right: 0;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid var(--gg-border);
  min-width: 100px;
  display: none;
  flex-direction: column;
  border-radius: var(--gg-radius);
}
.lang-selector:hover .lang-dropdown,
.lang-selector.open .lang-dropdown { display: flex; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-option {
  padding: 6px 12px;
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
  text-decoration: none;
}
.lang-option .lang-flag {
  margin-right: 6px;
}
.lang-option:hover { color: var(--gg-green); background: var(--gg-faint); }

.nav-toggle { display: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--gg-border-strong);
  border-radius: 100px;
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-green);
  margin-bottom: 24px;
  background: var(--gg-faint);
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gg-green);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--gg-green); }
  50% { opacity: 0.4; box-shadow: 0 0 8px var(--gg-green); }
}

.hero-left h1 {
  font-family: var(--gg-mono);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--gg-text);
  min-height: 2.3em;
}

.hero-left h1 .highlight {
  color: var(--gg-green);
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
}

.typewriter-cursor {
  display: inline-block;
  width: 10px; height: 0.9em;
  background: var(--gg-green);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}

.hero-subtitle {
  font-family: var(--gg-sans);
  font-size: 17px;
  color: var(--gg-text-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 0;
}

.hero-action-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--gg-black);
  background: var(--gg-green);
  border: none;
  border-radius: var(--gg-radius);
  text-decoration: none;
  transition: var(--gg-transition);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--gg-teal);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
  transform: translateY(-1px);
}

.btn-primary svg { width: 16px; height: 16px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--gg-green);
  background: transparent;
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  text-decoration: none;
  transition: var(--gg-transition);
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  background: var(--gg-faint);
  border-color: var(--gg-green);
}

/* Trial strip */
.trial-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trial-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--gg-border);
  border-radius: 100px;
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
  background: rgba(10, 61, 10, 0.15);
}

.trial-pill strong { color: var(--gg-green); font-weight: 600; }

/* Hero globe */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
}

.globe-canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 30px rgba(0, 255, 65, 0.15));
  animation: globeFloat 6s ease-in-out infinite;
}

@keyframes globeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

.globe-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* ===== MARQUEE (Tracker sample list) ===== */
.marquee {
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid var(--gg-border);
  border-bottom: 1px solid var(--gg-border);
  background: rgba(10, 61, 10, 0.06);
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
  padding: 0 16px;
  letter-spacing: 1px;
}

.marquee-item .diamond {
  color: var(--gg-green);
  margin-right: 6px;
  font-size: 8px;
}

/* ===== GENERAL SECTION ===== */
.section {
  padding: 90px 0;
  position: relative;
}

.text-center { text-align: center; }

.section-title {
  font-family: var(--gg-mono);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--gg-text);
}

.section-title .highlight {
  color: var(--gg-green);
  text-shadow: 0 0 16px rgba(0, 255, 65, 0.3);
}

.section-subtitle {
  font-family: var(--gg-sans);
  font-size: 16px;
  color: var(--gg-text-dim);
  line-height: 1.7;
  max-width: 600px;
}

.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== DITHER DIVIDER ===== */
.dither-divider {
  height: 6px;
  width: 100%;
  background-image:
    repeating-linear-gradient(90deg,
      var(--gg-green) 0px, var(--gg-green) 2px,
      var(--gg-dark) 2px, var(--gg-dark) 4px,
      var(--gg-teal) 4px, var(--gg-teal) 6px,
      var(--gg-black) 6px, var(--gg-black) 8px,
      var(--gg-dark) 8px, var(--gg-dark) 10px,
      var(--gg-green) 10px, var(--gg-green) 12px,
      var(--gg-black) 12px, var(--gg-black) 16px
    );
  opacity: 0.4;
  border-top: 1px solid var(--gg-border);
  border-bottom: 1px solid var(--gg-border);
}

/* ===== BROWSER SCREENSHOT ===== */
#browser {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 20, 10, 0.4) 100%);
}

.browser-screen {
  margin-top: 48px;
  border-radius: var(--gg-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 255, 65, 0.05);
}

/* Theme screenshot slider — horizontal right-to-left */
.theme-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.theme-track {
  display: flex;
  width: 100%;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
}

.theme-track .theme-slide {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
}

.browser-screen img,
.browser-screen canvas {
  width: 100%;
  height: auto;
  display: block;
}

.dither-img {
  image-rendering: pixelated;
}

/* ===== HI-FI CATALOG (Spotlight) ===== */
#stems {
  background: linear-gradient(180deg, rgba(10, 20, 10, 0.4) 0%, rgba(10, 10, 15, 0.8) 100%);
}

/* ===== STEM SPLIT SCROLL ANIMATION ===== */
.stem-split-section {
  position: relative;
}

.stem-split-scroll {
  position: relative;
  height: 280vh;
}

.stem-split-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 40px;
}

.stem-split-header {
  text-align: center;
  margin-bottom: 16px;
  z-index: 2;
}

.stem-split-canvas {
  width: 100%;
  max-width: 900px;
  flex: 1 1 auto;
  min-height: 0;
  display: block;
}

.stem-split-labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 900px;
  margin-top: 12px;
  z-index: 2;
}

.stem-label {
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  color: var(--stem-color, var(--gg-green));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 0 8px color-mix(in srgb, var(--stem-color, var(--gg-green)) 30%, transparent);
}

.stem-label.visible {
  opacity: 1;
  transform: translateY(0);
}

.stem-split-tagline {
  text-align: center;
  max-width: 640px;
  margin-top: 16px;
  z-index: 2;
}

.stem-split-tagline p {
  font-family: var(--gg-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--gg-text-dim);
}

.stem-split-cta {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gg-teal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--gg-transition);
}

.stem-split-cta:hover {
  color: var(--gg-green);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

@media (max-width: 768px) {
  .stem-split-scroll { height: 240vh; }
  .stem-split-labels { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stem-label { font-size: 10px; }
  .stem-split-tagline p { font-size: 13px; }
}

.catalog-pages {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.catalog-page {
  position: relative;
  padding: 40px 44px;
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  overflow: hidden;
}

.catalog-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--dither-pattern, none);
  background-repeat: repeat;
  opacity: 0.1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.catalog-model {
  font-family: var(--gg-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gg-green);
  padding: 4px 12px;
  border: 1px solid var(--gg-border-strong);
  border-radius: 100px;
  background: var(--gg-faint);
}

.catalog-tag {
  font-family: var(--gg-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--gg-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.catalog-title {
  font-family: var(--gg-mono);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--gg-text);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.catalog-title svg {
  color: var(--gg-green);
  flex-shrink: 0;
}

.catalog-desc {
  font-family: var(--gg-sans);
  color: var(--gg-text-dim);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.catalog-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.spec-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--gg-mono);
  font-size: 13px;
}

.spec-name {
  color: var(--gg-text-dim);
  flex-shrink: 0;
}

.spec-dots {
  flex: 1;
  border-bottom: 1px dotted var(--gg-border-strong);
  min-width: 20px;
  height: 0;
  position: relative;
  top: -3px;
}

.spec-val {
  color: var(--gg-text);
  flex-shrink: 0;
  text-align: right;
}

.catalog-shot {
  width: 100%;
  border-radius: var(--gg-radius);
  border: 1px solid var(--gg-border);
  display: block;
  position: relative;
  z-index: 1;
}

.catalog-ref {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gg-teal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: var(--gg-transition);
}

.catalog-ref:hover {
  color: var(--gg-green);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

/* ===== TRACKER INTERFACE (Features) ===== */
#features {
  background: linear-gradient(180deg, rgba(10, 10, 20, 0.6) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.tracker-ch {
  padding: 24px 20px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  transition: var(--gg-transition);
  position: relative;
  overflow: hidden;
}

.tracker-ch::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-dither, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.tracker-ch > * {
  position: relative;
  z-index: 1;
}

.tracker-ch:hover {
  border-color: var(--gg-green);
  background: rgba(10, 61, 10, 0.1);
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.06);
}

/* ===== CARD EMOJI DITHER ===== */
.card-emoji-dither {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: 14px;
  border-radius: var(--gg-radius);
  background: rgba(10, 10, 10, 0.3);
}

/* (tracker-ch-header and ch-icon removed — emojis now only in dither canvas) */

/* (tracker-seq styles removed — replaced by card-emoji-dither) */

.tracker-name {
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gg-text);
}

.tracker-name .new-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  background: var(--gg-faint);
  border: 1px solid var(--gg-border-strong);
  border-radius: 100px;
  font-size: 8px;
  font-weight: 700;
  color: var(--gg-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  vertical-align: middle;
  margin-left: 4px;
}

.tracker-desc {
  font-family: var(--gg-sans);
  font-size: 13px;
  color: var(--gg-text-dim);
  line-height: 1.6;
}

.tracker-menu {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--gg-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--gg-teal);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--gg-transition);
}

.tracker-menu:hover {
  color: var(--gg-green);
  text-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
}

/* ===== MATRIX RAIN (How It Works) ===== */
#how-it-works {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 30, 10, 0.6) 100%);
}

.matrix-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.matrix-step {
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  background: rgba(10, 10, 10, 0.4);
  transition: var(--gg-transition);
  overflow: hidden;
}

.matrix-step:hover {
  border-color: var(--gg-green);
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.08);
}

.matrix-rain-canvas {
  width: 100%;
  height: 160px;
  display: block;
  margin-bottom: 16px;
  border-radius: var(--gg-radius);
  background: rgba(10, 10, 10, 0.6);
}

.matrix-step h3 {
  font-family: var(--gg-mono);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gg-green);
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

.matrix-step p {
  font-family: var(--gg-sans);
  font-size: 14px;
  color: var(--gg-text-dim);
  line-height: 1.6;
}

/* ===== GALACTIC PLANET SYSTEM (Audience) ===== */
#audience {
  background: #020302;
  perspective: 800px;
  position: relative;
  overflow: hidden;
}

.vinyl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  border-radius: 0;
  cursor: pointer;
  background: #020302;
  z-index: 0;
}

#audience .container {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

#audience .container .vinyl-info,
#audience .container .text-center {
  pointer-events: auto;
}

#audience .section-title,
#audience .section-subtitle {
  text-shadow: 0 0 14px rgba(0, 0, 0, 1), 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* Spacer to give planets room between title and cards */
#audience .vinyl-info {
  margin-top: 48vh;
}

.vinyl-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.vinyl-label {
  padding: 16px 14px;
  border-radius: var(--gg-radius);
  background: rgba(5, 8, 5, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gg-border);
  transition: var(--gg-transition);
  cursor: pointer;
  text-align: center;
}

.vinyl-label:hover,
.vinyl-label.active {
  border-color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
}

.vinyl-label h3 {
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gg-green);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.vinyl-label p {
  font-family: var(--gg-sans);
  font-size: 12px;
  color: var(--gg-text-dim);
  line-height: 1.5;
}

/* ===== 3D AUDIO WAVE ===== */
.audio-wave-3d {
  width: 100%;
  height: 200px;
  display: block;
  margin: 32px 0;
  border-radius: var(--gg-radius);
  background: rgba(10, 10, 10, 0.4);
}

/* ===== BANNER DITHER SCENE ===== */
.whale-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.whale-section .banner-dither {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #050505;
  border-radius: 0;
  margin: 0;
  z-index: 0;
}

.whale-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.whale-overlay .section-title {
  color: #FFFFFF;
  text-shadow: 0 0 16px rgba(0, 0, 0, 1), 0 0 32px rgba(0, 0, 0, 0.9), 0 3px 10px rgba(0, 0, 0, 1);
}

.whale-overlay .section-title .highlight {
  color: #00FF41;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.8), 0 0 40px rgba(0, 0, 0, 1), 0 3px 10px rgba(0, 0, 0, 1);
}

.whale-overlay .section-subtitle {
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(0, 0, 0, 1), 0 0 28px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 1);
}

/* ===== RACK GEAR (Pricing) ===== */
#pricing {
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
}

.rack-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 48px auto 0;
  align-items: stretch;
}

.rack-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  transition: var(--gg-transition);
}

.rack-plan:hover {
  border-color: var(--gg-border-strong);
  transform: translateY(-3px);
}

.rack-plan--featured {
  border-color: var(--gg-green);
  background: linear-gradient(180deg, rgba(0, 255, 65, 0.03), rgba(10, 10, 10, 0.5));
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.06);
}

.rack-plan-led {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: var(--gg-black);
  border: 1px solid var(--gg-green);
  border-radius: 100px;
  font-family: var(--gg-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--gg-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.led-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gg-green);
  box-shadow: 0 0 6px rgba(0, 255, 65, 0.6);
  animation: ledPulse 2s ease-in-out infinite;
}

@keyframes ledPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.rack-plan-label {
  font-family: var(--gg-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gg-green);
  margin-bottom: 4px;
}

.rack-plan-readout {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  padding: 8px 12px;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
}

.readout-amount {
  font-family: var(--gg-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--gg-green);
  letter-spacing: -1px;
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
}

.readout-period {
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
}

.rack-plan-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  flex: 1;
  margin-top: 20px;
}

.rack-plan-btn {
  display: block;
  text-align: center;
  padding: 12px 22px;
  border-radius: var(--gg-radius);
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--gg-border-strong);
  color: var(--gg-text);
  background: rgba(10, 61, 10, 0.1);
  transition: var(--gg-transition);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rack-plan-btn:hover {
  background: var(--gg-faint);
  border-color: var(--gg-green);
  box-shadow: 0 2px 12px rgba(0, 255, 65, 0.1);
  transform: translateY(1px);
}

.rack-plan-btn--primary {
  background: var(--gg-green);
  border-color: var(--gg-green);
  color: var(--gg-black);
}

.rack-plan-btn--primary:hover {
  background: var(--gg-teal);
  border-color: var(--gg-teal);
  color: var(--gg-black);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.3);
}

.rack-plan-trial {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-family: var(--gg-mono);
  font-size: 11px;
  color: var(--gg-text-dim);
  text-decoration: none;
  transition: var(--gg-transition);
}

.rack-plan-trial:hover { color: var(--gg-teal); }

.plans-footnote {
  text-align: center;
  margin-top: 28px;
  font-family: var(--gg-sans);
  font-size: 14px;
  color: var(--gg-text-dim);
  line-height: 1.7;
}

.plans-footnote strong { color: var(--gg-text); font-weight: 600; }

/* Trial card */
.trial-card {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 32px 36px;
  background: rgba(10, 61, 10, 0.08);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  position: relative;
  overflow: hidden;
}

.trial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--dither-pattern, none);
  background-repeat: repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
  pointer-events: none;
}

.trial-card h3 {
  font-family: var(--gg-mono);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  color: var(--gg-text);
  position: relative;
  z-index: 1;
}

.trial-card > p {
  text-align: center;
  font-family: var(--gg-sans);
  color: var(--gg-text-dim);
  font-size: 14px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.trial-limits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.trial-limit {
  text-align: center;
  padding: 20px 14px;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
}

.trial-limit .num {
  display: block;
  font-family: var(--gg-mono);
  font-size: 32px;
  font-weight: 700;
  color: var(--gg-green);
  letter-spacing: -1px;
  margin-bottom: 4px;
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}

.trial-limit .label {
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
  line-height: 1.4;
}

/* ===== GAME UI (Final CTA) ===== */
.final-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 3px,
      rgba(0, 255, 65, 0.03) 3px, rgba(0, 255, 65, 0.03) 4px
    );
  pointer-events: none;
}

.game-border {
  position: absolute;
  top: 20px; left: 20px; right: 20px; bottom: 20px;
  border: 2px solid var(--gg-border-strong);
  border-radius: 8px;
  pointer-events: none;
}

.game-border::before,
.game-border::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid var(--gg-green);
}

.game-border::before {
  top: -2px; left: -2px;
  border-right: none;
  border-bottom: none;
}

.game-border::after {
  bottom: -2px; right: -2px;
  border-left: none;
  border-top: none;
}

.cta-pulse {
  animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { text-shadow: 0 0 16px rgba(0, 255, 65, 0.2); }
  50% { text-shadow: 0 0 32px rgba(0, 255, 65, 0.5), 0 0 8px rgba(0, 255, 65, 0.3); }
}

.final-cta h2 {
  font-family: var(--gg-mono);
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--gg-text);
  position: relative;
  z-index: 1;
}

.final-cta h2 .highlight {
  color: var(--gg-green);
}

.final-cta p {
  font-family: var(--gg-sans);
  font-size: 16px;
  color: var(--gg-text-dim);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.game-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--gg-mono);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--gg-green);
  border-radius: 4px;
  color: var(--gg-green);
  background: rgba(10, 10, 10, 0.6);
  transition: var(--gg-transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-menu-btn:hover {
  background: var(--gg-green);
  color: var(--gg-black);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.game-menu-btn--secondary {
  border-color: var(--gg-border-strong);
  color: var(--gg-text);
}

.game-menu-btn--secondary:hover {
  border-color: var(--gg-teal);
  background: var(--gg-teal);
  color: var(--gg-black);
}

.game-cursor {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.game-menu-btn:hover .game-cursor {
  transform: translateX(3px);
}

/* ===== TRACKER (Footer) ===== */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--gg-border);
  background: rgba(10, 61, 10, 0.03);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand-col { max-width: 280px; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 22px; height: 22px;
  image-rendering: pixelated;
}

.footer-brand-text {
  font-family: var(--gg-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--gg-green);
}

.footer-tagline {
  font-family: var(--gg-sans);
  font-size: 13px;
  color: var(--gg-text-dim);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--gg-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gg-green);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gg-border);
}

.footer-link {
  display: block;
  font-family: var(--gg-mono);
  font-size: 13px;
  color: var(--gg-text-dim);
  text-decoration: none;
  padding: 4px 0;
  transition: var(--gg-transition);
}

.footer-link:hover {
  color: var(--gg-green);
  text-shadow: 0 0 6px rgba(0, 255, 65, 0.2);
}

.footer-bottom {
  border-top: 1px solid var(--gg-border);
  padding-top: 20px;
}

.footer-copy {
  font-family: var(--gg-mono);
  font-size: 11px;
  color: var(--gg-text-dim);
  text-align: center;
  letter-spacing: 1px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.45s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-left { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { max-width: 100%; }
  .tracker-grid { grid-template-columns: 1fr 1fr; }
  .vinyl-info { grid-template-columns: 1fr 1fr; }
  .matrix-steps { grid-template-columns: 1fr; }
  .rack-plans { grid-template-columns: 1fr; max-width: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 768px) {
  .hero { padding: 90px 0 40px; }
  .hero-split { gap: 30px; }
  .hero-action-bar { flex-direction: column; width: 100%; }
  .hero-action-bar .btn-primary,
  .hero-action-bar .btn-secondary { width: 100%; justify-content: center; }
  .tracker-grid { grid-template-columns: 1fr; }
  .vinyl-info { grid-template-columns: 1fr; }
  .matrix-steps { grid-template-columns: 1fr; }
  .trial-limits { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--gg-border);
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .nav-toggle span {
    width: 22px; height: 2px;
    background: var(--gg-green);
    transition: 0.2s;
  }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
  .lang-selector { display: block; margin-right: 4px; }
  .lang-btn { padding: 5px 8px; font-size: 11px; }
  .lang-text { display: none; }
  .lang-current .lang-flag { font-size: 16px; }
  .game-border { top: 10px; left: 10px; right: 10px; bottom: 10px; }
}

/* ===== SOUNDMAP SECTION ===== */
.soundmap-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0d2818;
  min-height: 100vh;
}

.soundmap-canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.soundmap-header {
  position: relative;
  z-index: 2;
  padding: 60px 0 20px;
  text-align: center;
}

.soundmap-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 24px;
  background: transparent;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.soundmap-axis-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.soundmap-axis-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gg-accent);
  text-transform: uppercase;
}

.soundmap-select {
  background: rgba(5, 8, 5, 0.75);
  backdrop-filter: blur(4px);
  color: var(--gg-green);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  padding: 10px 36px 10px 16px;
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  outline: none;
  transition: var(--gg-transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2339E87A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}

.soundmap-select:hover {
  border-color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.4);
}

.soundmap-select:focus {
  border-color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
}

.soundmap-select option {
  background: #0d1117;
  color: #fff;
}

.soundmap-info-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  max-width: 520px;
  align-items: center;
}

.soundmap-info-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  background: rgba(5, 8, 5, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  font-size: 12px;
  color: var(--gg-text-dim);
  font-family: var(--gg-sans);
  transition: var(--gg-transition);
  width: fit-content;
}

.soundmap-info-card:hover {
  border-color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
}

.soundmap-info-icon {
  font-size: 14px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(57, 232, 122, 0.5));
}

@media (max-width: 768px) {
  .soundmap-section { min-height: 60vh; }
  .soundmap-controls {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    padding: 12px 16px;
  }
  .soundmap-axis-group { flex: 1; min-width: 130px; }
  .soundmap-select { padding: 8px 28px 8px 12px; font-size: 12px; }
  .soundmap-info-bar { display: none; }
  .soundmap-canvas {
    min-height: 300px;
    position: relative;
  }
  .soundmap-header { padding: 30px 0 10px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .crt-scanlines, .crt-vignette { display: none; }
  body.crt-flicker { animation: none; }
  .globe-canvas { animation: none; }
  .cta-pulse { animation: none; }
  .led-dot { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ===================================================================
   TOOL PAGES (stem-separation, analysis, converter, soundmap)
   =================================================================== */
.tool-hero {
  position: relative;
  padding: 140px 0 60px;
  overflow: hidden;
}
.tool-hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.tool-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--gg-faint);
  border: 1px solid var(--gg-border-strong);
  border-radius: 100px;
  font-family: var(--gg-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--gg-green);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tool-hero h1 {
  font-family: var(--gg-mono);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--gg-text);
}
.tool-hero h1 .highlight {
  background: linear-gradient(100deg, var(--gg-green), var(--gg-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tool-hero p.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gg-text-dim);
  margin-bottom: 28px;
  max-width: 540px;
}
.tool-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--gg-text-dim);
  margin-bottom: 24px;
  font-family: var(--gg-mono);
}
.breadcrumb a { color: var(--gg-text-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--gg-green); }
.tool-visual {
  position: relative;
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 10px;
  min-height: 300px;
  overflow: hidden;
}
.tool-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, var(--gg-faint), transparent 60%);
  pointer-events: none;
}
.tool-section { padding: 64px 0; }
.tool-section.alt { background: rgba(10, 20, 10, 0.3); }
.section-label {
  display: inline-block;
  font-family: var(--gg-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gg-teal);
  margin-bottom: 12px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.benefit {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 24px;
  transition: var(--gg-transition);
}
.benefit:hover { border-color: var(--gg-green); transform: translateY(-2px); }
.benefit-ic {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--gg-faint);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  margin-bottom: 16px;
}
.benefit h3 { font-family: var(--gg-mono); font-size: 1.05rem; margin-bottom: 8px; color: var(--gg-text); }
.benefit p { color: var(--gg-text-dim); line-height: 1.6; font-size: 0.92rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.step { position: relative; padding: 24px; background: rgba(10, 61, 10, 0.06); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); }
.step-num {
  font-family: var(--gg-mono);
  font-size: 12px; font-weight: 600;
  color: var(--gg-green);
  margin-bottom: 10px;
}
.step h3 { font-family: var(--gg-mono); font-size: 1rem; margin-bottom: 6px; color: var(--gg-text); }
.step p { color: var(--gg-text-dim); font-size: 0.9rem; line-height: 1.6; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 32px; background: rgba(10, 61, 10, 0.06); border-radius: var(--gg-radius); overflow: hidden; border: 1px solid var(--gg-border-strong); }
.spec-table td { padding: 14px 20px; border-bottom: 1px solid var(--gg-border); font-size: 0.92rem; font-family: var(--gg-mono); }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--gg-text-dim); width: 38%; }
.spec-table td:last-child { color: var(--gg-text); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 36px; }
.related-card { display: block; padding: 22px; background: rgba(10, 61, 10, 0.06); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); text-decoration: none; transition: var(--gg-transition); }
.related-card:hover { border-color: var(--gg-green); transform: translateY(-2px); }
.related-card .ic { font-size: 26px; margin-bottom: 10px; }
.related-card h4 { color: var(--gg-text); font-family: var(--gg-mono); font-size: 1rem; margin-bottom: 5px; }
.related-card p { color: var(--gg-text-dim); font-size: 0.86rem; line-height: 1.5; }
.related-card .arrow { color: var(--gg-teal); font-size: 12px; margin-top: 10px; display: inline-block; font-family: var(--gg-mono); }
.format-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.format-pill {
  padding: 6px 14px;
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: 100px;
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text);
}
.format-pill b { color: var(--gg-green); }
.camelot-wheel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 32px; }
.camelot-key {
  aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: var(--gg-radius);
  font-family: var(--gg-mono);
  font-weight: 600;
  font-size: 12px;
  border: 1px solid var(--gg-border-strong);
  background: rgba(10, 61, 10, 0.06);
  transition: var(--gg-transition);
  color: var(--gg-text);
}
.camelot-key:hover { transform: scale(1.06); border-color: var(--gg-green); }
.camelot-key small { font-size: 9px; color: var(--gg-text-dim); font-weight: 400; }
.readout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.readout-cell { background: rgba(0,0,0,0.25); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); padding: 16px 18px; }
.readout-cell .lbl { font-family: var(--gg-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--gg-text-dim); }
.readout-cell .val { font-size: 1.6rem; font-weight: 700; margin-top: 4px; color: var(--gg-text); font-family: var(--gg-mono); }
.readout-cell .val small { font-size: 0.85rem; color: var(--gg-green); font-weight: 500; }
.energy-meter { display: flex; gap: 3px; margin-top: 10px; align-items: flex-end; height: 36px; }
.energy-meter span { flex: 1; background: linear-gradient(180deg, var(--gg-green), var(--gg-green-deep)); border-radius: 2px 2px 0 0; opacity: 0.85; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--gg-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--gg-transition);
  cursor: pointer;
  border: 1px solid var(--gg-border-strong);
  background: rgba(10, 61, 10, 0.06);
  color: var(--gg-text);
}
.btn-ghost:hover { border-color: var(--gg-green); background: var(--gg-faint); }

@media (max-width: 900px) {
  .tool-hero .container { grid-template-columns: 1fr; gap: 32px; }
  .tool-hero { padding: 120px 0 40px; }
  .camelot-wheel { grid-template-columns: repeat(4, 1fr); }
}

/* ===================================================================
   PRICING PAGE (plans-grid system)
   =================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1000px;
  margin: 44px auto 0;
}
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 30px;
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  transition: var(--gg-transition);
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--gg-green); }
.plan-card--featured {
  background: linear-gradient(170deg, var(--gg-faint), rgba(255, 255, 255, 0.01));
  border-color: var(--gg-green);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #03150c;
  background: var(--gg-green);
  font-family: var(--gg-mono);
}
.plan-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--gg-green);
  font-family: var(--gg-mono);
}
.plan-desc { margin-top: 4px; font-size: 13px; color: var(--gg-text-dim); }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 20px 0 2px; }
.plan-price .amount { font-size: 40px; font-weight: 800; letter-spacing: -1px; color: var(--gg-text); font-family: var(--gg-mono); line-height: 1; }
.plan-price .period { font-size: 14px; color: var(--gg-text-dim); }
.plan-note { font-size: 12px; color: var(--gg-text-dim); margin-bottom: 22px; }
.plan-note .save { color: var(--gg-green); font-weight: 600; }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.plan-feature { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gg-text-dim); }
.plan-feature .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 10px; font-weight: 700;
  color: var(--gg-green);
  background: var(--gg-faint);
  border: 1px solid var(--gg-border-strong);
}
.plan-cta {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--gg-radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--gg-text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gg-border-strong);
  transition: var(--gg-transition);
  font-family: var(--gg-mono);
}
.plan-cta:hover { border-color: var(--gg-green); color: var(--gg-green); background: var(--gg-faint); }
.plan-cta--primary { background: var(--gg-green); border-color: transparent; color: #03150c; }
.plan-cta--primary:hover { background: var(--gg-teal); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
.plan-trial-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gg-text-dim);
  text-decoration: none;
  transition: var(--gg-transition);
  font-family: var(--gg-mono);
}
.plan-trial-link:hover { color: var(--gg-green); }
.plans-footnote {
  max-width: 740px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--gg-text-dim);
}
.plans-footnote strong { color: var(--gg-text); }
@media (max-width: 880px) { .plans-grid { grid-template-columns: 1fr; max-width: 440px; } }

/* ===================================================================
   AUTH PAGES (login, register, account)
   =================================================================== */
.auth-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
  position: relative;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 36px 32px;
  position: relative;
  z-index: 1;
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo img { width: 40px; height: 40px; }
.auth-logo span { font-family: var(--gg-mono); font-size: 18px; font-weight: 600; color: var(--gg-text); margin-left: 8px; vertical-align: middle; }
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  overflow: hidden;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gg-text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--gg-transition);
  text-decoration: none;
}
.auth-tab.active { color: var(--gg-green); background: var(--gg-faint); }
.auth-sub { font-size: 13px; color: var(--gg-text-dim); margin-bottom: 20px; }
.text-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  color: var(--gg-text);
  font-family: var(--gg-mono);
  font-size: 14px;
  outline: none;
  transition: var(--gg-transition);
}
.text-input:focus { border-color: var(--gg-green); }
.text-input::placeholder { color: var(--gg-text-dim); }
.auth-submit {
  width: 100%;
  padding: 12px;
  background: var(--gg-green);
  color: #03150c;
  border: none;
  border-radius: var(--gg-radius);
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gg-transition);
}
.auth-submit:hover { background: var(--gg-teal); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
.auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-footnote {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: var(--gg-text-dim);
}
.auth-footnote a { color: var(--gg-green); text-decoration: none; }
.auth-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.auth-step-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gg-border-strong); }
.auth-step-dot.active { background: var(--gg-green); }
.auth-step-line { flex: 1; height: 1px; background: var(--gg-border-strong); }
.auth-step-panel { display: none; }
.auth-step-panel.active { display: block; }
.auth-success { text-align: center; padding: 20px 0; }
.auth-success .success-icon { font-size: 48px; margin-bottom: 16px; }
.auth-success h3 { font-family: var(--gg-mono); color: var(--gg-green); margin-bottom: 8px; }
.auth-success p { color: var(--gg-text-dim); font-size: 14px; }
.pw-reqs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 16px; }
.pw-req { font-size: 11px; font-family: var(--gg-mono); color: var(--gg-text-dim); padding: 3px 8px; border: 1px solid var(--gg-border-strong); border-radius: 100px; }
.pw-req.met { color: var(--gg-green); border-color: var(--gg-green); }
.plan-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.plan-option {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  cursor: pointer;
  transition: var(--gg-transition);
}
.plan-option:hover { border-color: var(--gg-green); }
.plan-option.selected { border-color: var(--gg-green); background: var(--gg-faint); }
.plan-opt { width: 16px; height: 16px; flex-shrink: 0; }
.plan-summary { font-size: 13px; color: var(--gg-text-dim); margin-top: 12px; font-family: var(--gg-mono); }
.code-inputs { display: flex; gap: 8px; justify-content: center; margin: 16px 0; }
.code-input {
  width: 44px; height: 52px;
  text-align: center;
  font-family: var(--gg-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--gg-text);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  outline: none;
}
.code-input:focus { border-color: var(--gg-green); }
.code-resend { text-align: center; margin-top: 12px; font-size: 12px; color: var(--gg-text-dim); }
.code-resend a { color: var(--gg-green); text-decoration: none; }
.captcha-row { display: flex; gap: 10px; align-items: center; }
.captcha-img-wrap { flex-shrink: 0; }
.captcha-input-col { flex: 1; }

/* Account page */
.acct-wrap { padding: 100px 0 60px; min-height: 100vh; }
.acct-head { margin-bottom: 32px; }
.acct-head h1 { font-family: var(--gg-mono); font-size: 1.6rem; color: var(--gg-text); }
.acct-head p { color: var(--gg-text-dim); font-size: 14px; margin-top: 4px; }
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.acct-card {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 24px;
}
.acct-card h3 { font-family: var(--gg-mono); font-size: 1rem; color: var(--gg-text); margin-bottom: 12px; }
.acct-card p { color: var(--gg-text-dim); font-size: 13px; line-height: 1.6; }
.acct-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.portal-card {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 24px;
  margin-bottom: 16px;
}
.portal-card h3 { font-family: var(--gg-mono); font-size: 1rem; color: var(--gg-text); margin-bottom: 8px; }
.portal-card p { color: var(--gg-text-dim); font-size: 13px; }
.portal-btn {
  display: inline-block;
  padding: 8px 16px;
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--gg-radius);
  border: 1px solid var(--gg-border-strong);
  color: var(--gg-text);
  background: transparent;
  transition: var(--gg-transition);
  cursor: pointer;
}
.portal-btn:hover { border-color: var(--gg-green); color: var(--gg-green); }
.portal-btn-primary { background: var(--gg-green); color: #03150c; border-color: transparent; }
.portal-btn-primary:hover { background: var(--gg-teal); }
.portal-btn-danger { color: #ff6b6b; border-color: rgba(255, 107, 107, 0.3); }
.portal-btn-danger:hover { border-color: #ff6b6b; background: rgba(255, 107, 107, 0.08); }
.portal-alert { padding: 14px 18px; border-radius: var(--gg-radius); font-size: 13px; margin-bottom: 16px; }
.portal-alert-warn { background: rgba(255, 193, 7, 0.08); border: 1px solid rgba(255, 193, 7, 0.25); color: #ffc107; }
.po-body { display: flex; flex-direction: column; gap: 10px; }
.po-detail { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-family: var(--gg-mono); }
.po-name { color: var(--gg-text-dim); }
.po-price { color: var(--gg-text); }
.po-radio { width: 16px; height: 16px; }
.po-tag { font-size: 10px; font-family: var(--gg-mono); color: var(--gg-teal); text-transform: uppercase; }
.ps-change { margin-top: 12px; }

/* ===================================================================
   BLOG
   =================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 40px; }
.blog-card {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  overflow: hidden;
  text-decoration: none;
  transition: var(--gg-transition);
  display: block;
}
.blog-card:hover { border-color: var(--gg-green); transform: translateY(-2px); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(10, 10, 10, 0.5);
  border-bottom: 1px solid var(--gg-border);
}
.blog-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card-img-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--gg-faint); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.blog-card-body { padding: 20px; }
.blog-card-meta { font-family: var(--gg-mono); font-size: 11px; color: var(--gg-text-dim); margin-top: 10px; display: flex; gap: 8px; align-items: center; }
.blog-card-meta span + span::before { content: '·'; margin-right: 8px; color: var(--gg-border-strong); }
.blog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.blog-tag { font-family: var(--gg-mono); font-size: 10px; padding: 2px 8px; border: 1px solid var(--gg-border-strong); border-radius: 100px; color: var(--gg-teal); }
.blog-card-title { font-family: var(--gg-mono); font-size: 1.05rem; color: var(--gg-text); margin-bottom: 8px; }
.blog-card-excerpt { color: var(--gg-text-dim); font-size: 0.88rem; line-height: 1.6; }
.page-hero {
  position: relative;
  padding: 140px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--gg-mono);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--gg-text);
}
.page-hero h1 .highlight {
  background: linear-gradient(100deg, var(--gg-green), var(--gg-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gg-text-dim);
  max-width: 560px;
  margin: 0 auto;
}
.blog-filters {
  display: block;
  margin-bottom: 32px;
  padding: 0 20px;
  text-align: center;
}
.blog-filters .container {
  display: flex;
  justify-content: center;
}
.blog-filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-chip {
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  background: rgba(10, 10, 10, 0.4);
  color: var(--gg-text-dim);
  cursor: pointer;
  transition: var(--gg-transition);
  position: relative;
  overflow: hidden;
}
.filter-chip:hover {
  border-color: var(--gg-green);
  color: var(--gg-text);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.06);
}
.filter-chip.active {
  border-color: var(--gg-green);
  background: var(--gg-faint);
  color: var(--gg-green);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.2);
}
.blog-filter-chips .blog-tag { cursor: pointer; transition: var(--gg-transition); }
.blog-filter-chips .blog-tag.active { background: var(--gg-faint); border-color: var(--gg-green); color: var(--gg-green); }
.blog-empty { text-align: center; padding: 40px; color: var(--gg-text-dim); font-family: var(--gg-mono); }
.blog-back-link { font-family: var(--gg-mono); font-size: 13px; color: var(--gg-green); text-decoration: none; }
.blog-back-link:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }
.blog-post-page { max-width: 760px; margin: 0 auto; padding: 100px 20px 60px; }
.blog-post-header { margin-bottom: 28px; }
.blog-post-title { font-family: var(--gg-mono); font-size: clamp(1.6rem, 3.5vw, 2.2rem); color: var(--gg-text); margin-bottom: 12px; }
.blog-post-meta { font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); }
.blog-post-meta-sep { margin: 0 8px; }
.blog-post-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.blog-post-content { color: var(--gg-text-dim); line-height: 1.8; font-size: 15px; }
.blog-post-content h2 { font-family: var(--gg-mono); color: var(--gg-text); margin: 28px 0 12px; font-size: 1.3rem; }
.blog-post-content h3 { font-family: var(--gg-mono); color: var(--gg-text); margin: 24px 0 10px; font-size: 1.1rem; }
.blog-post-content p { margin-bottom: 16px; }
.blog-post-content ul, .blog-post-content ol { margin-bottom: 16px; padding-left: 24px; }
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content code { font-family: var(--gg-mono); background: var(--gg-faint); padding: 2px 6px; border-radius: 2px; font-size: 0.9em; color: var(--gg-green); }
.blog-post-content pre { background: rgba(0,0,0,0.3); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); padding: 16px; overflow-x: auto; margin-bottom: 16px; }
.blog-post-content pre code { background: none; padding: 0; }
.blog-post-content a { color: var(--gg-green); text-decoration: none; }
.blog-post-content a:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }
.blog-post-content img { width: 100%; border-radius: var(--gg-radius); margin: 16px 0; }
.blog-post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.blog-post-content th { font-family: var(--gg-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gg-green); padding: 10px 12px; border-bottom: 2px solid var(--gg-border-strong); text-align: left; }
.blog-post-content td { padding: 10px 12px; border-bottom: 1px solid var(--gg-border); color: var(--gg-text-dim); }
.blog-post-content tr:hover td { background: rgba(0, 255, 65, 0.03); }
.blog-post-content blockquote { border-left: 2px solid var(--gg-green); padding: 8px 16px; margin: 16px 0; background: rgba(0, 255, 65, 0.03); color: var(--gg-text-dim); font-style: italic; }
.blog-post-loading { text-align: center; padding: 60px; color: var(--gg-text-dim); font-family: var(--gg-mono); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq-page { max-width: 800px; margin: 0 auto; padding: 100px 20px 60px; }
.faq-item {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 20px;
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--gg-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--gg-transition);
}
.faq-question:hover { color: var(--gg-green); }
.faq-item.collapsed .faq-answer { display: none; }
.faq-answer { padding: 0 20px 16px; color: var(--gg-text-dim); font-size: 14px; line-height: 1.7; }
.faq-answer p { margin: 0; }
.choice-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.choice-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  text-decoration: none;
  transition: var(--gg-transition);
}
.choice-item:hover { border-color: var(--gg-green); }
.choice-icon-box { font-size: 22px; flex-shrink: 0; }
.choice-text { flex: 1; }
.choice-title { font-family: var(--gg-mono); font-size: 14px; color: var(--gg-text); margin-bottom: 4px; }
.choice-text p { color: var(--gg-text-dim); font-size: 13px; margin: 0; }
.choice-arrow { color: var(--gg-green); font-family: var(--gg-mono); font-size: 14px; flex-shrink: 0; }

/* ===================================================================
   UPDATES / CHANGELOG
   =================================================================== */
.release-history { max-width: 800px; margin: 0 auto; padding-top: 40px; }
.release-history-title { font-family: var(--gg-mono); font-size: 1.3rem; color: var(--gg-text); margin-bottom: 24px; }
.release-entry {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 24px;
  margin-bottom: 16px;
}
.release-entry-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.version-tag { font-family: var(--gg-mono); font-size: 16px; font-weight: 700; color: var(--gg-green); }
.date-tag { font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); }
.release-label {
  font-family: var(--gg-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.release-label--new { background: var(--gg-faint); color: var(--gg-green); border: 1px solid var(--gg-border-strong); }
.release-label--fix { background: rgba(255, 193, 7, 0.08); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.25); }
.release-label--improved { background: rgba(15, 232, 184, 0.08); color: var(--gg-teal); border: 1px solid rgba(15, 232, 184, 0.25); }
.updates-notes ul { list-style: none; padding: 0; }
.updates-notes li { padding: 6px 0; font-size: 14px; color: var(--gg-text-dim); line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.updates-current {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-green);
  border-radius: var(--gg-radius);
  padding: 24px;
  margin-bottom: 32px;
}
.updates-current-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.updates-current-info { flex: 1; }
.updates-download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--gg-green);
  color: #03150c;
  border: none;
  border-radius: var(--gg-radius);
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--gg-transition);
}
.updates-download-btn:hover { background: var(--gg-teal); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }

/* ===================================================================
   DOWNLOAD
   =================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.download-card {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--gg-transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.download-card:hover { border-color: var(--gg-green); box-shadow: 0 0 24px rgba(0, 255, 65, 0.06); }
.download-card--available { border-color: var(--gg-green); }
.download-card--soon { opacity: 0.85; }
.download-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--gg-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.download-card-badge--live { background: var(--gg-faint); color: var(--gg-green); border: 1px solid var(--gg-green); }
.download-card-badge--soon { background: rgba(255, 193, 7, 0.08); color: #ffc107; border: 1px solid rgba(255, 193, 7, 0.3); }
.download-card-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gg-green);
  display: inline-block;
}
.download-card-icon {
  color: var(--gg-text-dim);
  margin-bottom: 16px;
}
.download-card-icon svg { display: block; }
.download-card h3 {
  font-family: var(--gg-mono);
  font-size: 1.3rem;
  color: var(--gg-text);
  margin-bottom: 6px;
}
.download-card-version {
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
  margin-bottom: 16px;
}
.download-card-reqs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.download-card-reqs span {
  font-family: var(--gg-mono);
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  color: var(--gg-text-dim);
}
.download-card-note {
  font-family: var(--gg-mono);
  font-size: 11px;
  color: var(--gg-text-dim);
  margin-top: 12px;
}
.ms-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--gg-mono);
  font-size: 11px;
  color: var(--gg-text-dim);
  text-decoration: none;
  transition: var(--gg-transition);
}
.ms-store-badge:hover { color: var(--gg-text); }
.download-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: var(--gg-green);
  color: #03150c;
  border: none;
  border-radius: var(--gg-radius);
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--gg-transition);
}
.download-btn:hover { background: var(--gg-teal); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
.platform-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.platform-badge {
  font-family: var(--gg-mono);
  font-size: 12px;
  padding: 6px 14px;
  border: 1px solid var(--gg-border-strong);
  border-radius: 100px;
  color: var(--gg-text-dim);
}
.platform-badge--active { color: var(--gg-green); border-color: var(--gg-green); }

/* Notify form for coming-soon platforms */
.download-notify {
  width: 100%;
  margin-top: 8px;
}
.download-notify-text {
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-text-dim);
  margin-bottom: 10px;
}
.download-notify-form {
  display: flex;
  gap: 8px;
}
.download-notify-input {
  flex: 1;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  color: var(--gg-text);
  font-family: var(--gg-mono);
  font-size: 13px;
  outline: none;
  transition: var(--gg-transition);
}
.download-notify-input:focus { border-color: var(--gg-green); }
.download-notify-input::placeholder { color: var(--gg-text-dim); }
.download-notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--gg-faint);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  color: var(--gg-green);
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gg-transition);
  white-space: nowrap;
}
.download-notify-btn:hover { border-color: var(--gg-green); background: rgba(0, 255, 65, 0.12); }
.download-notify-success {
  font-family: var(--gg-mono);
  font-size: 12px;
  color: var(--gg-green);
  margin-top: 8px;
}

/* 3 info cards as dither rectangulars */
.download-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.download-info-card {
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  background: rgba(10, 10, 10, 0.4);
  transition: var(--gg-transition);
  overflow: hidden;
}
.download-info-card:hover {
  border-color: var(--gg-green);
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.08);
}
.download-info-card h4 {
  font-family: var(--gg-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--gg-green);
  margin-bottom: 10px;
  text-shadow: 0 0 12px rgba(0, 255, 65, 0.2);
}
.download-info-card p {
  font-family: var(--gg-sans);
  font-size: 13px;
  color: var(--gg-text-dim);
  line-height: 1.6;
}

/* ===================================================================
   LEGAL PAGES (privacy, terms, refund)
   =================================================================== */
.legal-page, .privacy-policy, .terms-of-service, .refund-policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}
.legal-page h1, .privacy-policy h1, .terms-of-service h1, .refund-policy h1 {
  font-family: var(--gg-mono);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--gg-text);
  margin-bottom: 24px;
}
.legal-page h2, .privacy-policy h2, .terms-of-service h2, .refund-policy h2 {
  font-family: var(--gg-mono);
  font-size: 1.2rem;
  color: var(--gg-text);
  margin: 28px 0 12px;
}
.legal-page h3, .privacy-policy h3, .terms-of-service h3, .refund-policy h3 {
  font-family: var(--gg-mono);
  font-size: 1rem;
  color: var(--gg-green);
  margin: 20px 0 8px;
}
.legal-page p, .privacy-policy p, .terms-of-service p, .refund-policy p {
  color: var(--gg-text-dim);
  line-height: 1.8;
  font-size: 14px;
  margin-bottom: 14px;
}
.legal-page ul, .privacy-policy ul, .terms-of-service ul, .refund-policy ul {
  color: var(--gg-text-dim);
  line-height: 1.8;
  font-size: 14px;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-page li, .privacy-policy li, .terms-of-service li, .refund-policy li { margin-bottom: 6px; }
.legal-page strong, .privacy-policy strong, .terms-of-service strong, .refund-policy strong { color: var(--gg-text); }
.legal-page a, .privacy-policy a, .terms-of-service a, .refund-policy a { color: var(--gg-green); text-decoration: none; }
.legal-page a:hover, .privacy-policy a:hover, .terms-of-service a:hover, .refund-policy a:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }
.legal-page code, .privacy-policy code, .terms-of-service code, .refund-policy code {
  font-family: var(--gg-mono);
  background: var(--gg-faint);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.9em;
  color: var(--gg-green);
}

/* ===================================================================
   404 PAGE
   =================================================================== */
.error-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-404 h1 {
  font-family: var(--gg-mono);
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--gg-green);
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
  margin-bottom: 16px;
}
.error-404 h2 {
  font-family: var(--gg-mono);
  font-size: 1.4rem;
  color: var(--gg-text);
  margin-bottom: 12px;
}
.error-404 p { color: var(--gg-text-dim); font-size: 15px; margin-bottom: 24px; }

/* ===================================================================
   SHARED UTILITIES
   =================================================================== */
.spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--gg-border-strong);
  border-top-color: var(--gg-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.status-icon-wrap { font-size: 40px; margin-bottom: 16px; }
.status-title { font-family: var(--gg-mono); font-size: 1.2rem; color: var(--gg-text); margin-bottom: 8px; }
.status-sub { color: var(--gg-text-dim); font-size: 14px; }
.success-icon { color: var(--gg-green); }
.danger { color: #ff6b6b; }
.success { color: var(--gg-green); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.badge {
  font-family: var(--gg-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.bg-glow-1 { width: 400px; height: 400px; background: var(--gg-faint); top: 10%; left: -100px; }
.bg-glow-2 { width: 300px; height: 300px; background: rgba(15, 232, 184, 0.05); bottom: 10%; right: -50px; }
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--gg-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--gg-border) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.3;
}
.code-box {
  font-family: var(--gg-mono);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 16px;
  font-size: 13px;
  color: var(--gg-green);
  margin: 12px 0;
}
.code-email-note { font-size: 12px; color: var(--gg-text-dim); margin-bottom: 12px; }
.ci-check { color: var(--gg-green); }
.req-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gg-green); margin-right: 6px; }
.btn-text {
  font-family: var(--gg-mono);
  font-size: 13px;
  color: var(--gg-green);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
.btn-text:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; font-family: var(--gg-mono); font-size: 13px; font-weight: 600; text-decoration: none; border-radius: var(--gg-radius); transition: var(--gg-transition); cursor: pointer; border: 1px solid var(--gg-border-strong); color: var(--gg-text); background: rgba(10, 61, 10, 0.06); }
.btn:hover { border-color: var(--gg-green); color: var(--gg-green); }
.sub { font-size: 13px; color: var(--gg-text-dim); margin-top: 4px; }
.amount { font-family: var(--gg-mono); font-weight: 700; color: var(--gg-text); }
.value { color: var(--gg-text); }
.screen { display: none; }
.screen.active { display: block; }
.show { display: block !important; }
.disabled { opacity: 0.5; pointer-events: none; }
.done { color: var(--gg-green); }
.primary { color: var(--gg-green); }

/* ===================================================================
   FEATURE CARDS (FAQ, tool pages)
   =================================================================== */
.feature-card {
  background: rgba(10, 61, 10, 0.06);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 20px 24px;
  transition: var(--gg-transition);
}
.feature-card:hover { border-color: var(--gg-green); }
.feature-card h3 { font-family: var(--gg-mono); font-size: 1rem; color: var(--gg-text); margin-bottom: 8px; }
.feature-card p { color: var(--gg-text-dim); font-size: 14px; line-height: 1.7; margin: 0; }
.feature-card a { color: var(--gg-green); text-decoration: none; }
.feature-card a:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }

/* ===================================================================
   FORM ELEMENTS
   =================================================================== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-error { color: #ff6b6b; font-size: 12px; font-family: var(--gg-mono); margin-top: 4px; }
.form-msg { display: none; padding: 10px 14px; border-radius: var(--gg-radius); font-size: 13px; font-family: var(--gg-mono); margin-top: 12px; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(0, 255, 65, 0.08); border: 1px solid rgba(0, 255, 65, 0.3); color: var(--gg-green); }
.form-msg.err { background: rgba(255, 107, 107, 0.08); border: 1px solid rgba(255, 107, 107, 0.3); color: #ff6b6b; }
.form-input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  color: var(--gg-text);
  font-family: var(--gg-mono);
  font-size: 14px;
  outline: none;
  transition: var(--gg-transition);
}
.form-input:focus { border-color: var(--gg-green); }
.form-input::placeholder { color: var(--gg-text-dim); }

/* ===================================================================
   MODAL
   =================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--gg-black);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  position: relative;
}
.modal h2 { font-family: var(--gg-mono); font-size: 1.2rem; color: var(--gg-text); margin-bottom: 12px; }
.modal p { color: var(--gg-text-dim); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--gg-text-dim);
  font-size: 20px;
  cursor: pointer;
  transition: var(--gg-transition);
}
.modal-close:hover { color: var(--gg-text); }
.modal-confirm {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--gg-green);
  color: #03150c;
  border: none;
  border-radius: var(--gg-radius);
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--gg-transition);
  margin-top: 16px;
}
.modal-confirm:hover { background: var(--gg-teal); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }

/* ===================================================================
   LOADER
   =================================================================== */
.loader {
  width: 28px; height: 28px;
  border: 2px solid var(--gg-border-strong);
  border-top-color: var(--gg-green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ===================================================================
   MAP DEMO (soundmap page)
   =================================================================== */
.map-demo {
  position: relative;
  width: 100%;
  height: 400px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  overflow: hidden;
}

/* ===================================================================
   MISC UTILITIES
   =================================================================== */
.num { font-family: var(--gg-mono); font-weight: 700; color: var(--gg-text); }
.period { font-size: 14px; color: var(--gg-text-dim); }
.save { color: var(--gg-green); font-weight: 600; }
.home { color: var(--gg-green); text-decoration: none; }
.home:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }
.fingerprint-helper { font-size: 12px; color: var(--gg-text-dim); margin-top: 8px; font-family: var(--gg-mono); }
.fingerprint-helper-text { font-size: 12px; color: var(--gg-text-dim); font-family: var(--gg-mono); }

@media (max-width: 768px) {
  .auth-card { padding: 28px 22px; }
  .acct-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .readout { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .download-info { grid-template-columns: 1fr; }
  .download-notify-form { flex-direction: column; }
}

/* ===================================================================
   LANG SELECTOR PARTS
   =================================================================== */
.lang-arrow { transition: var(--gg-transition); }
.lang-btn.open .lang-arrow { transform: rotate(180deg); }
.lang-text { font-family: var(--gg-mono); font-size: 12px; }

/* ===================================================================
   FOOTER COL
   =================================================================== */
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-title { font-family: var(--gg-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gg-text); margin-bottom: 4px; }

/* ===================================================================
   404 ERROR PAGE
   =================================================================== */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.error-content { max-width: 480px; }
.error-code { font-family: var(--gg-mono); font-size: clamp(4rem, 12vw, 8rem); font-weight: 700; color: var(--gg-green); line-height: 1; text-shadow: 0 0 40px rgba(0, 255, 65, 0.2); margin-bottom: 16px; }
.error-title { font-family: var(--gg-mono); font-size: 1.4rem; color: var(--gg-text); margin-bottom: 12px; }
.error-text { font-family: var(--gg-sans); font-size: 15px; color: var(--gg-text-dim); line-height: 1.6; margin-bottom: 28px; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--gg-green); color: #03150c; border: none; border-radius: var(--gg-radius); font-family: var(--gg-mono); font-size: 14px; font-weight: 700; text-decoration: none; transition: var(--gg-transition); }
.error-btn-primary:hover { background: var(--gg-teal); box-shadow: 0 0 20px rgba(0, 255, 65, 0.3); }
.error-btn-secondary { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: transparent; color: var(--gg-text-dim); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); font-family: var(--gg-mono); font-size: 14px; text-decoration: none; transition: var(--gg-transition); }
.error-btn-secondary:hover { border-color: var(--gg-green); color: var(--gg-green); }

/* ===================================================================
   AUTH PANEL (login)
   =================================================================== */
.auth-panel { display: flex; gap: 0; max-width: 900px; margin: 0 auto; border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); overflow: hidden; }
@media (max-width: 768px) { .auth-panel { flex-direction: column; } }

/* ===================================================================
   FORM ELEMENTS (license portal, account, auth)
   =================================================================== */
.form-header { margin-bottom: 24px; }
.form-title { font-family: var(--gg-mono); font-size: 1.3rem; color: var(--gg-text); margin-bottom: 6px; }
.form-subtitle { font-family: var(--gg-sans); font-size: 14px; color: var(--gg-text-dim); }
.form-desc { font-family: var(--gg-sans); font-size: 14px; color: var(--gg-text-dim); line-height: 1.6; margin-bottom: 16px; }
.form-label { display: block; font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--gg-mono); font-size: 13px; color: var(--gg-green); text-decoration: none; margin-bottom: 20px; }
.form-back:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }
.input-group { display: flex; gap: 0; margin-bottom: 16px; }
.input-key { flex: 1; padding: 12px 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius) 0 0 var(--gg-radius); color: var(--gg-text); font-family: var(--gg-mono); font-size: 14px; outline: none; transition: var(--gg-transition); }
.input-key:focus { border-color: var(--gg-green); }
.input-key::placeholder { color: var(--gg-text-dim); }
.input-group .btn-primary { border-radius: 0 var(--gg-radius) var(--gg-radius) 0; }

/* ===================================================================
   LICENSE PORTAL
   =================================================================== */
.choice-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 20px; background: rgba(10, 61, 10, 0.06); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); color: var(--gg-text); font-family: var(--gg-mono); font-size: 14px; cursor: pointer; transition: var(--gg-transition); text-align: left; }
.choice-btn:hover { border-color: var(--gg-green); }
.portal-btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: transparent; border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); color: var(--gg-text-dim); font-family: var(--gg-mono); font-size: 13px; text-decoration: none; transition: var(--gg-transition); }
.portal-btn-outline:hover { border-color: var(--gg-green); color: var(--gg-green); }
.info-box { background: rgba(0, 255, 65, 0.04); border: 1px solid var(--gg-border); border-radius: var(--gg-radius); padding: 16px 20px; margin: 16px 0; }
.info-box-title { font-family: var(--gg-mono); font-size: 13px; color: var(--gg-green); margin-bottom: 6px; }
.info-box-content { font-family: var(--gg-sans); font-size: 13px; color: var(--gg-text-dim); line-height: 1.6; }
.fingerprint-helper-title { font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); margin-top: 12px; margin-bottom: 4px; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gg-border-strong); display: flex; align-items: center; justify-content: center; font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); flex-shrink: 0; }
.step-dot.active { border-color: var(--gg-green); color: var(--gg-green); background: var(--gg-faint); }
.step-line { flex: 1; height: 1px; background: var(--gg-border-strong); margin: 0 8px; }
.icon { display: inline-flex; align-items: center; justify-content: center; color: var(--gg-text-dim); }
.icon-lg { width: 48px; height: 48px; }
.icon-xl { width: 64px; height: 64px; }

/* ===================================================================
   ACCOUNT PAGE
   =================================================================== */
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gg-border); }
.info-row:last-child { border-bottom: none; }
.info-row .label { font-family: var(--gg-mono); font-size: 12px; color: var(--gg-text-dim); text-transform: uppercase; letter-spacing: 0.5px; }
.info-row .value { font-family: var(--gg-mono); font-size: 14px; color: var(--gg-text); }
.loading-state { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px; color: var(--gg-text-dim); font-family: var(--gg-mono); font-size: 14px; }
.po-sub { font-family: var(--gg-sans); font-size: 13px; color: var(--gg-text-dim); }

/* ===================================================================
   REGISTER MODAL
   =================================================================== */
.modal-head { margin-bottom: 20px; }
.modal-sub { font-family: var(--gg-sans); font-size: 14px; color: var(--gg-text-dim); margin-bottom: 16px; }
.ps-name { font-family: var(--gg-mono); font-size: 1.1rem; color: var(--gg-text); margin-bottom: 4px; }
.ps-price { font-family: var(--gg-mono); font-size: 1.5rem; color: var(--gg-green); margin-bottom: 8px; }
.ps-detail { font-family: var(--gg-sans); font-size: 13px; color: var(--gg-text-dim); line-height: 1.5; }

/* ===================================================================
   STEM DEMO
   =================================================================== */
.stem-demo { position: relative; width: 100%; border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); overflow: hidden; background: rgba(0, 0, 0, 0.3); }

/* ===================================================================
   LEGAL CARDS
   =================================================================== */
.legal-card { background: rgba(10, 61, 10, 0.06); border: 1px solid var(--gg-border-strong); border-radius: var(--gg-radius); padding: 24px 28px; margin-bottom: 20px; }
.legal-content { color: var(--gg-text-dim); line-height: 1.8; font-size: 14px; }
.legal-content h2 { font-family: var(--gg-mono); font-size: 1.1rem; color: var(--gg-text); margin: 24px 0 10px; }
.legal-content h3 { font-family: var(--gg-mono); font-size: 1rem; color: var(--gg-text); margin: 20px 0 8px; }
.legal-content p { margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin-bottom: 12px; padding-left: 24px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--gg-green); text-decoration: none; }
.legal-content a:hover { text-shadow: 0 0 8px rgba(0, 255, 65, 0.3); }

/* ===================================================================
   ANALYSIS OF GREENGO (Radar Chart)
   =================================================================== */
.analysis-section { padding: 60px 0; }
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}
.analysis-radar {
  width: 100%;
  height: 360px;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}
.analysis-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.analysis-param {
  padding: 10px 14px;
  border-radius: var(--gg-radius);
  background: rgba(5, 8, 5, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gg-border);
  transition: var(--gg-transition);
  cursor: pointer;
  text-align: center;
}
.analysis-param:hover,
.analysis-param.active {
  border-color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
}
.analysis-param-name {
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gg-green);
  margin-bottom: 6px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.analysis-param-value {
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gg-teal);
  text-shadow: 0 0 8px rgba(15, 232, 184, 0.3);
}
.analysis-param-bar {
  height: 3px;
  background: rgba(0, 255, 65, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}
.analysis-param--batch .analysis-param-bar,
.analysis-param--auto .analysis-param-bar { display: none; }
.analysis-param-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gg-green), var(--gg-teal));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.analysis-param.revealed .analysis-param-fill { width: var(--param-w); }
.analysis-param-desc {
  font-family: var(--gg-sans);
  font-size: 11px;
  color: var(--gg-text-dim);
  line-height: 1.4;
}
.analysis-footer {
  text-align: center;
  margin-top: 28px;
}
.analysis-footer p {
  font-family: var(--gg-sans);
  font-size: 14px;
  color: var(--gg-text-dim);
  margin-bottom: 16px;
}
.analysis-cta {
  display: inline-block;
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--gg-green);
  text-decoration: none;
  letter-spacing: 1px;
  padding: 10px 24px;
  border: 1px solid var(--gg-border-strong);
  border-radius: var(--gg-radius);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.analysis-cta:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.2);
}
@media (max-width: 860px) {
  .analysis-grid { grid-template-columns: 1fr; gap: 24px; }
  .analysis-radar { height: 300px; }
  .analysis-params { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .analysis-params { grid-template-columns: 1fr; }
}

/* ===================================================================
   PAGE-SPECIFIC RADAR SECTIONS
   =================================================================== */
.page-radar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
}
.page-radar-canvas {
  width: 100%;
  height: 360px;
  max-width: 420px;
  margin: 0 auto;
  display: block;
}
.page-radar-params {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.page-radar-param {
  padding: 10px 14px;
  border-radius: var(--gg-radius);
  background: rgba(5, 8, 5, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gg-border);
  transition: var(--gg-transition);
  cursor: pointer;
  text-align: center;
}
.page-radar-param:hover,
.page-radar-param.active {
  border-color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.08);
}
.page-radar-param-name {
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gg-green);
  margin-bottom: 6px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.page-radar-param-value {
  font-family: var(--gg-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gg-teal);
  text-shadow: 0 0 8px rgba(15, 232, 184, 0.3);
}
.page-radar-param-bar {
  height: 3px;
  background: rgba(0, 255, 65, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 5px;
}
.page-radar-param--nofill .page-radar-param-bar { display: none; }
.page-radar-param-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gg-green), var(--gg-teal));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-radar-param.revealed .page-radar-param-fill { width: var(--param-w); }
.page-radar-param-desc {
  font-family: var(--gg-sans);
  font-size: 11px;
  color: var(--gg-text-dim);
  line-height: 1.4;
}
@media (max-width: 860px) {
  .page-radar-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-radar-canvas { height: 300px; }
  .page-radar-params { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .page-radar-params { grid-template-columns: 1fr; }
}

/* ===================================================================
   PAGE-SPECIFIC FEATURE ANIMATIONS
   =================================================================== */

/* --- Stem Waveform (stem-separation.html) --- */
.page-stem-wrap {
  margin-top: 32px;
  text-align: center;
}
.page-stem-canvas {
  width: 100%;
  max-width: 800px;
  height: 320px;
  display: block;
  margin: 0 auto;
}
.page-stem-labels {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.page-stem-label {
  font-family: var(--gg-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--stem-color, var(--gg-green));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-shadow: 0 0 8px color-mix(in srgb, var(--stem-color, var(--gg-green)) 30%, transparent);
}
.page-stem-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- SoundMap Scatter (soundmap.html) --- */
.page-soundmap-wrap {
  margin-top: 32px;
}
.page-soundmap-canvas {
  width: 100%;
  max-width: 800px;
  height: 360px;
  display: block;
  margin: 0 auto;
}
.page-soundmap-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.page-soundmap-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--gg-mono);
  font-size: 11px;
  color: var(--gg-text-dim);
  letter-spacing: 0.5px;
}
.page-soundmap-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}

/* --- Converter Flow (converter.html) --- */
.page-converter-wrap {
  margin-top: 32px;
  text-align: center;
}
.page-converter-canvas {
  width: 100%;
  max-width: 800px;
  height: 240px;
  display: block;
  margin: 0 auto;
}
.page-converter-formats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.page-converter-fmt {
  font-family: var(--gg-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border: 1px solid var(--gg-border);
  border-radius: var(--gg-radius);
  background: rgba(5, 8, 5, 0.75);
  color: var(--gg-text-dim);
  transition: var(--gg-transition);
}
.page-converter-fmt.active {
  border-color: var(--gg-green);
  color: var(--gg-green);
  background: rgba(5, 25, 8, 0.85);
  box-shadow: 0 0 16px rgba(0, 255, 65, 0.15);
}

@media (max-width: 768px) {
  .page-stem-canvas { height: 240px; }
  .page-soundmap-canvas { height: 280px; }
  .page-converter-canvas { height: 180px; }
  .page-stem-labels { gap: 12px; }
  .page-stem-label { font-size: 10px; }
  .page-soundmap-legend { gap: 12px; }
  .page-converter-formats { gap: 6px; }
  .page-converter-fmt { font-size: 11px; padding: 4px 10px; }
}

/* ===================================================================
   DOWNLOAD NOTIFY (error/suggestion states)
   =================================================================== */
.download-notify-error { font-family: var(--gg-mono); font-size: 12px; color: #ff6b6b; margin-top: 6px; }
.download-notify-suggestion { font-family: var(--gg-mono); font-size: 12px; color: var(--gg-green); margin-top: 4px; }
.download-notify-suggestion a { color: var(--gg-green); text-decoration: underline; }
