/* ============================================================
   CSS Variables — Modern 2026 Dark Gaming Theme
   ============================================================ */
:root {
  --bg-primary:    #050505;
  --bg-secondary:  #080808;
  --bg-tertiary:   #0d0d0d;
  --bg-elevated:   #111111;
  --bg-card:       #0a0a0a;

  --text-primary:   #f5f5f5;
  --text-secondary: #888;
  --text-tertiary:  #444;

  --accent:        #0066ff;
  --accent-light:  #3d8bff;
  --accent-dark:   #0044cc;
  --accent-glow:   rgba(0,102,255,0.35);

  --gradient-blue:    linear-gradient(135deg, #0066ff 0%, #00ccff 100%);
  --gradient-primary: linear-gradient(135deg, #0066ff 0%, #0044cc 100%);
  --gradient-card:    linear-gradient(145deg, rgba(18,18,18,0.9) 0%, rgba(10,10,10,0.95) 100%);

  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,255,255,0.13);
  --border-accent: rgba(0,102,255,0.35);

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.7);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 32px rgba(0,102,255,0.28);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  22px;
  --radius-2xl: 28px;
  --radius-pill: 999px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ============================================================
   Grain Texture
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 200ms ease; }
ul { list-style: none; }

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

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,102,255,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,102,255,0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
  border-color: var(--border);
  backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

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

.btn-large { padding: 14px 32px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-full  { width: 100%; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(42px, 6.5vw, 76px); margin-bottom: 24px; }
h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 14px; }
h3 { font-size: 20px; margin-bottom: 10px; }

.gradient-text {
  color: var(--accent-light); /* solid fallback for all browsers */
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* If browser doesn't support background-clip:text, keep solid color */
@supports not (-webkit-background-clip: text) {
  .gradient-text {
    background: none;
    color: var(--accent-light);
  }
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: clamp(15px, 2vw, 18px);
  margin-bottom: 48px;
  font-weight: 400;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.ico-sm { width: 15px; height: 15px; flex-shrink: 0; }
.mono    { font-family: var(--font-mono); }

/* ============================================================
   Navbar — Floating Island
   ============================================================ */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 1000;
  background: rgba(8,8,10,0.65);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease, top 350ms ease;
  /* Entrance animation */
  animation: nav-drop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateX(-50%) translateY(-20px) scale(0.97); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.navbar.scrolled {
  background: rgba(5,5,7,0.92);
  border-color: rgba(255,255,255,0.11);
  box-shadow: 0 8px 48px rgba(0,0,0,0.7),
              0 1px 0 rgba(255,255,255,0.06) inset,
              0 0 0 1px rgba(0,102,255,0.07);
  top: 10px;
}

/* Subtle top highlight line */
.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15) 50%, transparent);
  border-radius: 1px;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 16px;
  gap: 16px;
}

.nav-left  { display: flex; align-items: center; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border-radius: 12px;
  transition: background 150ms ease;
  text-decoration: none;
}
.nav-logo:hover { background: rgba(255,255,255,0.05); }
.nav-logo:hover .nav-logo-icon { box-shadow: 0 0 0 1px rgba(0,102,255,0.4), 0 0 16px rgba(0,102,255,0.25); }

.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(0,102,255,0.25) 0%, rgba(0,60,180,0.15) 100%);
  border: 1px solid rgba(0,102,255,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 250ms ease;
}
.nav-logo-icon svg { width: 17px; height: 17px; color: var(--accent-light); }

.logo-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.logo-accent {
  color: var(--accent-light);
  margin-left: 1px;
}

/* ── Nav menu ── */
.nav-center { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-link {
  display: block;
  position: relative;
  color: rgba(255,255,255,0.55);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 10px;
  transition: color 200ms ease, background 200ms ease;
  letter-spacing: -0.01em;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--accent-light);
  border-radius: 2px;
  transition: left 250ms cubic-bezier(0.16,1,0.3,1),
              right 250ms cubic-bezier(0.16,1,0.3,1),
              opacity 250ms ease;
  opacity: 0;
}
.nav-link:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
.nav-link:hover::after,
.nav-link.active::after {
  left: 14px; right: 14px;
  opacity: 1;
}
.nav-link.active { color: var(--text-primary); }

/* ── Right side ── */
.nav-version-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0,102,255,0.08);
  border: 1px solid rgba(0,102,255,0.18);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.02em;
  font-family: var(--font-mono);
}
.nav-version-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22d65f;
  box-shadow: 0 0 6px #22d65f;
  animation: version-blink 2.5s ease-in-out infinite;
}
@keyframes version-blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}

.nav-cta {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 11px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Discord button */
.nav-discord {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.28);
  border-radius: 11px;
  color: #8b9cf4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  letter-spacing: -0.01em;
}
.nav-discord:hover {
  background: rgba(88, 101, 242, 0.22);
  border-color: rgba(88, 101, 242, 0.5);
  color: #adb8ff;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.2);
}

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  padding: 9px;
  width: 38px; height: 38px;
  transition: background 150ms ease;
}
.nav-toggle:hover { background: rgba(255,255,255,0.09); }
.tog-line {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(0.16,1,0.3,1),
              opacity 200ms ease,
              width 280ms ease;
  transform-origin: center;
}
.tog-mid { width: 11px; }

/* open state */
.nav-toggle.open .tog-top { transform: translateY(6.5px) rotate(45deg);  width: 16px; }
.nav-toggle.open .tog-mid { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .tog-bot { transform: translateY(-6.5px) rotate(-45deg); width: 16px; }


/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  padding: 180px 0 120px;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* Canvas particle field */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0;
  animation: orb-drift 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.18) 0%, transparent 70%);
  top: -20%; left: -10%;
  animation-duration: 14s;
  animation-delay: 0s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,204,255,0.12) 0%, transparent 70%);
  top: 40%; right: -10%;
  animation-duration: 18s;
  animation-delay: -6s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(61,139,255,0.1) 0%, transparent 70%);
  bottom: 0; left: 30%;
  animation-duration: 10s;
  animation-delay: -3s;
}
@keyframes orb-drift {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  20%  { opacity: 1; }
  50%  { transform: translate(30px, -40px) scale(1.08); opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(0, 0) scale(1); }
}

/* Scan line sweep effect */
.hero-scan-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(0,102,255,0.04) 50%,
    transparent 100%);
  background-size: 100% 200%;
  animation: scan-sweep 8s linear infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0%   { background-position: 0 -100%; }
  100% { background-position: 0 100%; }
}

.hero-gradient {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(0,102,255,0.13) 0%, transparent 68%);
  filter: blur(60px);
  animation: pulse-glow 9s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { opacity: 0.6; transform: translateX(-50%) scale(1);   }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 68%);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px 6px 10px;
  background: rgba(0,102,255,0.08);
  border: 1px solid rgba(0,102,255,0.25);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 32px;
}

.badge-glow {
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: badge-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent-light);
}
@keyframes badge-pulse {
  0%,100% { opacity:1; transform:scale(1);   box-shadow:0 0 8px var(--accent-light); }
  50%      { opacity:.5; transform:scale(1.4); box-shadow:0 0 18px var(--accent-light); }
}

/* Hero title */
.hero h1 { margin-bottom: 28px; }

/* Shimmer sweep on gradient words - triggered by JS */
.hero-word-2,
.hero-word-3 {
  position: relative;
  /* Use clip-path instead of overflow:hidden to avoid clipping descenders */
  isolation: isolate;
}
.hero-word-2::after,
.hero-word-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-200%) skewX(-15deg);
  pointer-events: none;
  clip-path: inset(0);
}
.hero-word-2.shimmer-go::after { animation: shimmer-pass 0.7s ease-out forwards; }
.hero-word-3.shimmer-go::after { animation: shimmer-pass 0.7s ease-out forwards; }
@keyframes shimmer-pass {
  from { transform: translateX(-200%) skewX(-15deg); }
  to   { transform: translateX(300%)  skewX(-15deg); }
}

.text-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.text-line.gradient-text {
  color: var(--accent-light); /* solid fallback */
  background: linear-gradient(120deg, #0066ff 0%, #00ccff 40%, #0066ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
  /* Extra padding so descenders aren't clipped */
  padding-bottom: 0.08em;
}
@supports not (-webkit-background-clip: text) {
  .text-line.gradient-text {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--accent-light);
    animation: none;
  }
}
@keyframes gradient-shift {
  0%,100% { background-position:0% center; }
  50%      { background-position:200% center; }
}

/* Hero subtitle */
.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-secondary);
  margin-bottom: 44px;
  font-weight: 400;
  line-height: 1.7;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1),
              filter 0.8s ease;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.version-badge {
  font-size: 11px;
  background: rgba(255,255,255,0.14);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

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

/* Wrap number + percent on same line, label below */
.hero-stat .stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin-bottom: 6px;
}

.stat-number {
  display: inline;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  color: var(--accent-light); /* fallback */
  background: var(--gradient-blue);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  animation: gradient-shift 4s ease infinite;
}

.stat-percent {
  display: inline;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent-light); /* fallback */
  background: var(--gradient-blue);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@supports not (-webkit-background-clip: text) {
  .stat-number, .stat-percent {
    background: none;
    -webkit-text-fill-color: unset;
    color: var(--accent-light);
    animation: none;
  }
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

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

/* ============================================================
   Preview Section
   ============================================================ */
.preview {
  padding: 120px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.preview-header { margin-bottom: 56px; }

.dashboard-mockup {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,102,255,0.12);
  border: 1px solid var(--border);
  background: var(--bg-card);
  animation: dashboard-float 7s ease-in-out infinite;
}
@keyframes dashboard-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.live-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: live-pulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 6px #22c55e;
}
@keyframes live-pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.4); }
}

.fps-live-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(0,102,255,0.06);
  border: 1px solid rgba(0,102,255,0.15);
  border-radius: var(--radius-md);
}
.fps-live-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.fps-live-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  min-width: 36px;
}
#fps-sparkline {
  display: block;
  border-radius: 4px;
}

.dashboard-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
}
.dashboard-logo svg { color: var(--accent-light); }

.dashboard-version {
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  background: rgba(0,102,255,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.dashboard-content { padding: 20px; }

.dash-grid-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.score-card, .quick-actions {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.card-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.score-ring-wrap {
  position: relative;
  width: 96px; height: 96px;
  margin-bottom: 14px;
}
.score-ring-wrap svg { transform: rotate(-90deg); width: 96px; height: 96px; }
.score-ring-bg   { fill:none; stroke: var(--border); stroke-width:6; }
.score-ring-fill.preview {
  fill:none;
  stroke-width:6;
  stroke-linecap:round;
  stroke-dasharray:314;
  transition: stroke-dashoffset 1s ease;
}
.score-number { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.score-digits { font-family: var(--font-mono); font-size:20px; font-weight:600; color:var(--text-primary); line-height:1; }
.score-den    { font-size:10px; color:var(--text-tertiary); margin-top:2px; }
.score-label-text { font-size:13px; font-weight:600; color:var(--text-primary); margin-bottom:5px; }
.score-desc-text  { font-size:11px; color:var(--text-tertiary); line-height:1.4; }

.action-stack { display:flex; flex-direction:column; gap:10px; }

.stat-row-preview {
  display:flex;
  align-items:center;
  background: var(--bg-tertiary);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:14px 8px;
}
.stat-item { flex:1; padding:4px 12px; }
.stat-item:first-child { padding-left:0; }
.stat-item:last-child  { padding-right:0; }
.stat-divider { width:1px; height:28px; background:var(--border); flex-shrink:0; }
.stat-head    { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:7px; }
.stat-label-txt { font-size:9px; font-weight:600; color:var(--text-tertiary); text-transform:uppercase; letter-spacing:.08em; }
.stat-val       { font-size:12px; font-weight:500; color:var(--text-primary); font-family:var(--font-mono); }
.stat-bar-track { height:3px; background:rgba(255,255,255,0.05); border-radius:99px; overflow:hidden; }
.stat-bar-fill  { height:100%; border-radius:99px; transition: width 0.6s cubic-bezier(0.4,0,0.2,1); }
.stat-bar-fill.cpu  { background: var(--accent); }
.stat-bar-fill.ram  { background: #22c55e; }
.stat-bar-fill.disk { background: #f59e0b; }
.stat-bar-fill.gpu  { background: #ef4444; }
.stat-bar-fill.ping { background: #8b5cf6; }

/* ============================================================
   Features — Bento Grid
   ============================================================ */
.features {
  padding: 140px 0;
  background: var(--bg-primary);
  position: relative;
}

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

/* Base bento card — hidden until JS triggers .in-view */
.bento-card {
  --card-accent: #0066ff;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: opacity 600ms var(--ease-out), transform 360ms var(--ease-out), border-color 360ms ease, box-shadow 360ms ease;
  opacity: 0;
  transform: translateY(32px);
}

/* Animated top accent line */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--card-accent) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.bento-card:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 40px rgba(0,102,255,0.12); }
.bento-card:hover::before { opacity: 1; }

.bento-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out),
              border-color 360ms ease, box-shadow 360ms ease;
}

.bento-card.feature-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 28px;
}

.bento-content { position: relative; z-index: 1; }

.bento-index {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.feature-icon-wrapper {
  --icon-bg:     rgba(0,102,255,0.12);
  --icon-border: rgba(0,102,255,0.22);
  width: 48px; height: 48px;
  background: var(--icon-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--icon-border);
  transition: transform 200ms var(--ease-bounce);
}
.bento-card:hover .feature-icon-wrapper { transform: scale(1.08); }

.feature-icon { width: 24px; height: 24px; filter: drop-shadow(0 0 8px rgba(0,102,255,0.4)); }

.bento-card h3 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.bento-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Bento visual area */
.bento-visual {
  position: relative;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

/* FPS bars */
.fps-visual { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.fps-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fps-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); min-width: 36px; }
.fps-bar {
  flex: 1; height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.fps-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--width);
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  animation: fill-bar 1.2s var(--ease-out) forwards;
}
.fps-bar.accent::after { background: var(--gradient-blue); }
@keyframes fill-bar { from { width: 0; } }
.fps-num { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); min-width: 24px; text-align: right; }
.fps-num.muted { color: var(--text-tertiary); }

/* Ping mini visual */
.ping-mini-visual { margin-top: 20px; }
.ping-tags { display: flex; align-items: center; gap: 10px; }
.ping-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.ping-tag.before { background: rgba(239,68,68,0.12); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.ping-tag.after  { background: rgba(34,197,94,0.12);  color: #22c55e; border: 1px solid rgba(34,197,94,0.2); }
.ping-tags svg   { color: var(--text-tertiary); }

/* Monitor visual */
.monitor-visual { width: 100%; }
.monitor-svg { width: 100%; height: 80px; display: block; }
.monitor-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}
.legend-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   Pricing Cards — Choose Your Plan
   ============================================================ */
.premium {
  padding: 140px 0;
  background: var(--bg-secondary);
  position: relative;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease;
}
.pricing-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

/* Premium card */
.pricing-card-premium {
  border-color: rgba(0,102,255,0.3);
  background: linear-gradient(145deg, rgba(0,40,120,0.15) 0%, rgba(10,10,18,0.95) 100%);
}
.pricing-card-premium:hover {
  border-color: rgba(0,102,255,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 60px rgba(0,102,255,0.18);
}

.pricing-card-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 340px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.2) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.plan-popular-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #0066ff, #00ccff);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,102,255,0.4);
}

.plan-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(0,102,255,0.12);
  border: 1px solid rgba(0,102,255,0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.plan-tier-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.plan-price-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-card-premium .plan-price-value {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.plan-price-main { display: flex; flex-direction: column; gap: 2px; }
.plan-old-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-decoration: line-through;
  line-height: 1;
}
.plan-price-row { display: flex; align-items: baseline; gap: 8px; }
.plan-price-meta { display: flex; flex-direction: column; }
.plan-price-period {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}
.plan-lifetime-label {
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.plan-savings-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}

.plan-urgency {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #f59e0b;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin-bottom: 18px;
  font-weight: 500;
}
.countdown-timer {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: #fbbf24;
  letter-spacing: 0.05em;
}

.plan-btn-premium {
  background: linear-gradient(135deg, #0066ff 0%, #00aaff 100%);
  box-shadow: 0 4px 24px rgba(0,102,255,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  font-size: 14px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}
.plan-btn-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer-btn 3s ease infinite 2s;
}
@keyframes shimmer-btn {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.plan-btn-premium:hover {
  box-shadow: 0 6px 32px rgba(0,102,255,0.6);
  transform: translateY(-2px);
}

.plan-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.proof-avatars { display: flex; }
.proof-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
  margin-left: -6px;
}
.proof-avatars .proof-avatar:first-child { margin-left: 0; }
.proof-text { font-size: 12px; color: var(--text-secondary); }
.proof-text strong { color: var(--text-primary); }

.plan-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 11px;
  color: var(--text-tertiary);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.plan-trust svg { flex-shrink: 0; color: #f59e0b; fill: rgba(245,158,11,0.3); stroke: #f59e0b; }
.plan-price-period {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-btn { width: 100%; }

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.plan-features-list { display: flex; flex-direction: column; gap: 10px; }

.plan-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
}
.plan-features-list li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.feat-yes {
  color: var(--text-primary);
}
.feat-yes::before {
  background-color: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 2.5' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.feat-no {
  color: var(--text-tertiary);
}
.feat-no::before {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l4 4M7 3l-4 4' stroke='%23444' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ============================================================
   Download Section
   ============================================================ */
.download {
  padding: 140px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.download-bg-glow {
  position: absolute;
  bottom: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.1) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.download-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
}

.download-left .section-eyebrow { margin-bottom: 20px; }
.download-left h2 { margin-bottom: 16px; }

.download-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.download-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.download-meta-item { display: flex; flex-direction: column; gap: 3px; }
.meta-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-tertiary); }
.meta-value { font-size: 14px; font-weight: 600; color: var(--text-primary); }

.download-req {
  font-size: 12px;
  color: var(--text-tertiary);
  padding: 10px 16px;
  background: rgba(0,102,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* CTA right column */
.download-right { display: flex; align-items: center; justify-content: center; }

.download-cta-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Animated pulsing rings */
.download-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,102,255,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ring-pulse 3s ease-out infinite;
  pointer-events: none;
}
.ring-1 { width: 180px; height: 180px; animation-delay: 0s; }
.ring-2 { width: 240px; height: 240px; animation-delay: 0.6s; }
.ring-3 { width: 300px; height: 300px; animation-delay: 1.2s; }
@keyframes ring-pulse {
  0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0; }
}

.btn-download {
  position: relative;
  z-index: 1;
  padding: 18px 44px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 1px rgba(0,102,255,0.4), 0 8px 32px rgba(0,102,255,0.45);
  gap: 10px;
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(0,102,255,0.6), 0 12px 40px rgba(0,102,255,0.6);
}

.download-github {
  font-size: 13px;
  padding: 9px 18px;
  gap: 7px;
  border-radius: var(--radius-md);
  position: relative; z-index: 1;
}

/* Section highlight pulse on scroll-to */
.section-highlight {
  animation: section-pulse 0.9s var(--ease-out) forwards;
}
@keyframes section-pulse {
  0%   { box-shadow: inset 0 0 0 0 rgba(0,102,255,0); }
  40%  { box-shadow: inset 0 0 0 3px rgba(0,102,255,0.18); }
  100% { box-shadow: inset 0 0 0 0 rgba(0,102,255,0); }
}

/* ============================================================
   Scroll Reveal — shared class driven by JS IntersectionObserver
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Discord Section
   ============================================================ */
.discord-section {
  padding: 40px 0 60px;
}

.discord-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 44px;
  background: rgba(88, 101, 242, 0.07);
  border: 1px solid rgba(88, 101, 242, 0.22);
  border-radius: 24px;
  overflow: hidden;
}

.discord-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(88,101,242,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.discord-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.discord-icon-wrap {
  width: 68px; height: 68px;
  border-radius: 18px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #8b9cf4;
}

.discord-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.discord-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 480px;
}

.discord-join-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  background: rgba(88, 101, 242, 0.18);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 14px;
  color: #adb8ff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.01em;
  transition: background 220ms ease, border-color 220ms ease,
              color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.discord-join-btn:hover {
  background: rgba(88, 101, 242, 0.3);
  border-color: rgba(88, 101, 242, 0.65);
  color: #fff;
  box-shadow: 0 0 28px rgba(88, 101, 242, 0.3);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .discord-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
  }
  .discord-join-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

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

.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand .logo { color: var(--text-primary); flex-shrink: 0; }
.footer-brand p { color: var(--text-tertiary); font-size: 14px; line-height: 1.6; margin: 0; }

.footer-links h4 {
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links a { color: var(--text-tertiary); font-size: 14px; }
.footer-links a:hover { color: var(--accent-light); }

.footer-bottom {
  text-align: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2,1fr); }
  .bento-card.feature-large { grid-column: span 2; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .pricing-cards { max-width: 700px; }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 768px) {

  /* Base */
  .container { padding: 0 16px; }

  /* Hero */
  .hero {
    padding: 130px 0 60px;
    min-height: auto;
    text-align: center;
  }
  .hero-content { padding: 0 4px; }

  .text-line {
    font-size: clamp(34px, 11vw, 52px);
    letter-spacing: -0.02em;
    line-height: 1.08;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 32px;
    padding: 0 4px;
  }

  .hero-badge { font-size: 12px; padding: 5px 14px 5px 8px; margin-bottom: 24px; }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 14px 20px; }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
  }
  .hero-stat { min-width: 90px; }
  .stat-number { font-size: 36px; }
  .stat-percent { font-size: 30px; }
  .stat-label { font-size: 10px; }

  /* Navbar */
  .navbar { top: 10px; width: calc(100% - 20px); border-radius: 16px; }
  .nav-version-badge { display: none; }
  .nav-discord { display: none; }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: rgba(8,8,12,0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    gap: 2px;
  }
  .nav-menu.active { display: flex; }
  .nav-link { padding: 11px 14px; border-radius: 10px; font-size: 14px; }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  /* Sections */
  section { padding: 60px 0; }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr; gap: 12px; }
  .bento-card.feature-large { grid-column: span 1; grid-template-columns: 1fr; }
  .bento-visual { display: none; }

  /* Pricing */
  .pricing-cards { grid-template-columns: 1fr; max-width: 100%; }

  /* Download */
  .download-layout { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .download-subtitle { margin-left: auto; margin-right: auto; }
  .download-req { display: block; text-align: center; }
  .ring-1 { width: 200px; height: 200px; }
  .ring-2 { width: 260px; height: 260px; }
  .ring-3 { width: 320px; height: 320px; }

  /* Discord */
  .discord-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 20px;
  }
  .discord-join-btn { width: 100%; justify-content: center; }
  .discord-text p { font-size: 14px; }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 48px 0 24px; }
}

/* ============================================================
   Reduced Motion — only disable movement, keep gradients visible
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  /* Kill movement animations but NOT gradient-shift (it's visual, not motion) */
  *:not(.gradient-text):not(.text-line):not(.stat-number):not(.stat-percent),
  *:not(.gradient-text):not(.text-line):not(.stat-number):not(.stat-percent)::before,
  *:not(.gradient-text):not(.text-line):not(.stat-number):not(.stat-percent)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .bento-card { opacity: 1 !important; transform: none !important; }

  /* Keep gradient text ALWAYS visible - freeze the gradient in place instead of hiding it */
  .gradient-text,
  .text-line.gradient-text,
  .stat-number,
  .stat-percent {
    animation: none !important;
    background-position: 0% center !important;
    /* Ensure the gradient still renders */
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    opacity: 1 !important;
  }
}
