/* ============================================================
   nutcracker.sh — stylesheet
   ============================================================ */

/* ── Reset & tokens ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #00ff41;
  --green-dim:  #00cc33;
  --green-glow: rgba(0, 255, 65, 0.18);
  --green-faint:rgba(0, 255, 65, 0.06);
  --bg:         #0a0a0a;
  --bg-card:    #111213;
  --bg-card2:   #141618;
  --border:     rgba(0, 255, 65, 0.15);
  --border-dim: rgba(255, 255, 255, 0.06);
  --text:       #d4d4d4;
  --text-dim:   #7a7a7a;
  --text-bright:#f0f0f0;
  --warn:       #f0a500;
  --red:        #ff4545;
  --font-mono:  'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius:     8px;
  --radius-lg:  14px;
  --nav-h:      64px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.accent { color: var(--green); }

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Blink cursor ───────────────────────────────────────────── */
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
  z-index: 100;
  transition: border-color var(--transition), background var(--transition);
}
#navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  white-space: nowrap;
  letter-spacing: -0.02em;
}
.logo-icon { font-size: 1.25rem; color: var(--green); }
.logo-icon-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  flex-shrink: 0;
  filter: hue-rotate(-26deg) saturate(4) brightness(1.4);
}
.logo-text .accent { letter-spacing: -0.03em; }
.logo-name-img {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
  filter: hue-rotate(-26deg) saturate(4) brightness(1.4);
}
.logo-tld {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-bright);
  opacity: 0.7;
  margin-left: -13px;
  letter-spacing: 0;
  position: relative;
  top: 3px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link:hover { color: var(--text-bright); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--green); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 12px; right: 12px;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.nav-gh {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  border: 1px solid var(--border);
  color: var(--green) !important;
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  padding: 6px 14px !important;
}
.nav-gh:hover {
  background: var(--green-glow) !important;
  border-color: var(--green) !important;
  color: var(--green) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,65,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,65,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.mountains {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
}
.mountains svg { width: 100%; height: 200px; }

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  background: var(--green-faint);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.hero-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #000;
}
.btn-primary:hover {
  background: #1aff5c;
  box-shadow: 0 0 20px rgba(0,255,65,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-bright);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-faint);
}

.btn-icon {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green);
}

/* ── Terminal window ─────────────────────────────────────────── */
.hero-terminal {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.terminal-window {
  background: #0d0f0d;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow:
    0 0 0 1px rgba(0,255,65,0.08),
    0 24px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(0,255,65,0.05);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #151715;
  border-bottom: 1px solid rgba(0,255,65,0.1);
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.terminal-body {
  padding: 14px 16px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  min-height: 260px;
}

/* ── Nutcracker banner (matches real terminal output) ────────── */
.nut-banner {
  border: 1px solid #cc3300;
  border-radius: 6px;
  background: #000;
  margin-bottom: 14px;
  padding: 14px 18px;
  box-shadow: 0 0 12px rgba(204, 51, 0, 0.2), inset 0 0 20px rgba(0,0,0,0.5);
}

.nut-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nut-char {
  flex-shrink: 0;
}

.nut-logo-img {
  height: 100px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

.nut-logo-fallback {
  font-size: 3.5rem;
  line-height: 1;
}

.nut-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}

.nut-title {
 font-family:var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 2px #cc3300;
  text-stroke: 2px #cc3300;
  line-height: 1.1;
  user-select: none;
}

.nut-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #e0e0e0;
  letter-spacing: 0.04em;

}

.nut-star {
  color: var(--green);
}

.nut-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-dim);
  letter-spacing: 0.03em;
  white-space: normal;
  word-break: break-all;
}

.t-line {
  display: flex;
  gap: 8px;
  color: var(--text);
  min-height: 1.4em;
  white-space: normal;
  word-break: break-word;
  flex-wrap: wrap;
}
.t-line.output { color: #9a9a9a; }

.prompt { color: var(--green); font-weight: 700; }
.cmd { color: var(--text-bright); }
.warn { color: var(--warn); }
.success { color: var(--green); }
.path { color: #7dcfff; }

/* ── Hero stats ─────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 32px 24px 48px;
  flex-wrap: wrap;
  position: relative;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border-dim);
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
section { padding: 80px 0; }

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

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-line {
  width: 40px;
  height: 3px;
  background: var(--green);
  margin: 0 auto;
  border-radius: 2px;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg-card); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px var(--green-faint);
}

.feature-icon {
  width: 44px; height: 44px;
  background: var(--green-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.feature-card code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--green);
  background: var(--green-faint);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ── Feature detail list ───────────────────────────────────── */
.features-detail {
  background: var(--bg-card2);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.detail-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--green);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.features-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}

.feature-list {
  min-width: 0;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: 0.875rem;
  color: var(--text-dim);
  display: block;
  padding-left: 20px;
  position: relative;
}
.li-accent {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-top: 4px;
  position: absolute;
  left: 0;
  top: 0;
}
.feature-list code {
  font-family: var(--font-mono);
  font-size: 0.8em;
  color: var(--green);
  background: var(--green-faint);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ============================================================
   CODE BLOCKS
   ============================================================ */
.code-block {
  background: #0d0e0d;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
}

.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: #141514;
  border-bottom: 1px solid var(--border-dim);
}

.code-lang {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-dim);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all var(--transition);
}
.copy-btn:hover {
  border-color: var(--green);
  color: var(--green);
}
.copy-btn.copied {
  border-color: var(--green);
  color: var(--green);
}

.code-block pre {
  padding: 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
  width: 100%;
  box-sizing: border-box;
  display: block;
}

.code-block.small-code pre { padding: 14px; font-size: 0.78rem; }

/* syntax colors */
.c-comment { color: #546e61; }
.c-cmd     { color: #7ee787; }
.c-url     { color: #79c0ff; }
.c-str     { color: #a5d6ff; }
.c-bool    { color: #ff7b72; }

/* ============================================================
   INSTALLATION
   ============================================================ */
.installation { background: var(--bg); }

.install-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-dim);
  padding-bottom: 0;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}
.tab-btn:hover { color: var(--text-bright); background: rgba(255,255,255,0.03); }
.tab-btn.active {
  color: var(--green);
  background: rgba(0,255,65,0.05);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--green);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   USAGE
   ============================================================ */
.usage { background: var(--bg-card); overflow: hidden; }

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.usage-block {
  min-width: 0;
}

.usage-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   DOCS
   ============================================================ */
.docs { background: var(--bg); }

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

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--transition);
}
.doc-card:hover { border-color: var(--border); }

.doc-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-bright);
}
.doc-card h3 svg { color: var(--green); flex-shrink: 0; }

.doc-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.doc-desc code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--green);
  background: var(--green-faint);
  padding: 1px 5px;
  border-radius: 3px;
}

.doc-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  text-decoration: none;
  margin-top: auto;
}
.doc-link:hover { text-decoration: underline; }

/* ── Pipeline diagram ──────────────────────────────────────── */
.pipeline-diagram {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pipeline-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0,255,65,0.08);
  border: 1px solid var(--border);
  color: var(--green);
  white-space: nowrap;
  min-width: 56px;
  text-align: center;
}
.accent-step {
  background: var(--green);
  color: #000;
  border-color: var(--green);
}

.pipeline-arrow {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.4;
  padding-left: 20px;
}

/* ── Report sections ──────────────────────────────────────── */
.report-sections {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.report-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0,255,65,0.06);
  border: 1px solid var(--border-dim);
  color: var(--green-dim);
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
}

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--bg-card); padding: 60px 0; }

.cta-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: 0 0 40px var(--green-faint);
  flex-wrap: wrap;
}

.cta-icon {
  width: 60px; height: 60px;
  background: var(--green-faint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.cta-text { flex: 1; min-width: 200px; }
.cta-text h2 {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 4px;
}
.cta-text p { font-size: 0.875rem; color: var(--text-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border-dim);
  padding: 24px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--green);
  font-family: var(--font-mono);
}
.footer-dev {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-bright);
  opacity: 0.85;
  margin-top: 2px;
}
.footer-dev a {
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-dev a:hover { opacity: 0.7; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--green);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-bright); }
.footer-links span { color: var(--text-dim); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 40px;
  }
  .hero-terminal { order: -1; }
  .terminal-window { max-width: 100%; }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .usage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-link.active::after { display: none; }
  .nav-link { padding: 10px 12px; }
  .nav-toggle { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .features-list-grid { grid-template-columns: 1fr; }
  .stat { padding: 8px 20px; }

  .hero-stats {
    gap: 0;
  }
  .stat-sep { display: none; }

  .install-tabs { gap: 0; }
  .tab-btn { padding: 10px 12px; font-size: 0.78rem; }

  .cta-card { flex-direction: column; text-align: center; }
  .cta-icon { margin: 0 auto; }

  .footer .container { flex-direction: column; text-align: center; }

  /* nut-banner mobile */
  .nut-logo-img { height: 70px; width: auto; }
  .nut-title { font-size: 1.1rem; }
  .nut-sub { font-size: 0.68rem; }
  .nut-url { font-size: 0.65rem; }
  .nut-banner { padding: 10px 12px; }
  .nut-banner-inner { gap: 12px; }
}

/* ── Fade-in animation for sections ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── Selection ───────────────────────────────────────────────── */
::selection {
  background: rgba(0,255,65,0.25);
  color: var(--text-bright);
}
