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

:root {
  --bg:         #0a0c10;
  --bg-2:       #0e1118;
  --bg-3:       #141821;
  --bg-card:    #111520;
  --border:     rgba(255,255,255,0.07);
  --border-2:   rgba(255,255,255,0.12);
  --green:      #00e676;
  --green-dim:  #00c853;
  --cyan:       #18ffff;
  --cyan-dim:   #00bcd4;
  --purple:     #7c3aed;
  --purple-2:   #a855f7;
  --blue:       #3b82f6;
  --text:       #e2e8f0;
  --text-2:     #94a3b8;
  --text-3:     #64748b;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.7);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(124,58,237,.35); color: #fff; }

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

img { display: block; max-width: 100%; }

/* ── UTILITIES ─────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple-2) 60%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 96px 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(24,255,255,.08);
  border: 1px solid rgba(24,255,255,.18);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 56px;
}

/* ── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple));
  color: #fff;
  box-shadow: 0 0 28px rgba(0,188,212,.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(0,188,212,.5);
}

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-2px);
}

/* ── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
.navbar.scrolled {
  background: rgba(10,12,16,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.nav-logo strong { color: var(--cyan); }
.logo-icon {
  font-size: 1.4rem;
  color: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 7px 15px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text-2);
  transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-gh {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07) !important;
  border: 1px solid var(--border-2) !important;
  color: var(--text) !important;
  padding: 7px 14px !important;
  border-radius: 8px;
}
.nav-gh:hover { background: rgba(255,255,255,.12) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all .2s;
}

/* ── HERO ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,188,212,.18) 0%, transparent 70%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  bottom: 0; right: 10%;
}
.glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,230,118,.1) 0%, transparent 70%);
  bottom: 0; left: 10%;
}

.hero-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,230,118,.08);
  border: 1px solid rgba(0,230,118,.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .75rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-2);
}

/* ── HERO TERMINAL ─────────────────────────────────── */
.hero-terminal {
  margin-top: 64px;
  max-width: 560px;
  width: 100%;
}
.terminal-window {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
}
.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-red    { background: #ff5f57; }
.t-yellow { background: #ffbd2e; }
.t-green  { background: #28ca41; }
.t-title {
  margin-left: auto;
  margin-right: auto;
  font-size: .78rem;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}
.terminal-body {
  padding: 20px 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  line-height: 1.8;
  min-height: 130px;
}
.t-line { display: flex; align-items: flex-start; }
.t-prompt { color: var(--green); margin-right: 4px; }
.t-cmd { color: var(--text); }
.t-output { color: var(--text-2); font-size: .82rem; }
.t-success { color: var(--green); }
.t-info    { color: var(--cyan);  }
.cursor-blink::after {
  content: '▋';
  color: var(--cyan);
  animation: blink .8s step-start infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── DEMO VIDEO ─────────────────────────────────────── */
.demo-section { background: var(--bg-2); }
.video-wrapper { position: relative; }
.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,188,212,.1);
}
.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .85rem;
  color: var(--text-3);
}
.video-caption svg { color: var(--cyan); }

/* ── FEATURES GRID ─────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all .3s;
  opacity: 0;
  transform: translateY(24px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  border-color: rgba(24,255,255,.25);
  background: rgba(24,255,255,.03);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: .9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── INSTALL SECTION ───────────────────────────────── */
.install-section { background: var(--bg-2); }
.install-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 36px;
  margin-bottom: 24px;
  transition: border-color .3s;
}
.install-step:hover { border-color: var(--border-2); }

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}
.step-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  min-width: 68px;
  letter-spacing: -.05em;
}
.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.run-once-badge {
  font-size: .7rem;
  font-weight: 700;
  background: rgba(0,230,118,.12);
  color: var(--green);
  border: 1px solid rgba(0,230,118,.25);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.step-desc {
  font-size: .9rem;
  color: var(--text-2);
}
.step-desc code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85em;
  background: rgba(255,255,255,.07);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--cyan);
}

/* App cards */
.app-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s;
  cursor: pointer;
}
.app-card:hover {
  border-color: rgba(24,255,255,.3);
  background: rgba(24,255,255,.04);
  transform: translateY(-2px);
}
.app-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}
.termux-icon { background: linear-gradient(135deg,#1de9b6,#00bcd4); color: #000; }
.x11-icon    { background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; }
.widget-icon { background: linear-gradient(135deg,#f59e0b,#ef4444); color: #fff; }
.app-name { font-weight: 700; font-size: .95rem; }
.app-desc { font-size: .78rem; color: var(--text-3); margin-top: 2px; }
.app-links { margin-left: auto; }
.app-link-badge {
  font-size: .72rem;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--text-3);
  white-space: nowrap;
}

/* Code blocks */
.code-block {
  background: #0d111a;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.code-lang {
  font-size: .72rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-3);
  background: none;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.copy-btn:hover { color: var(--text); border-color: var(--border-2); }
.copy-btn.copied { color: var(--green); border-color: rgba(0,230,118,.3); }

pre {
  padding: 20px 22px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: .84rem;
  line-height: 1.75;
  color: var(--text);
}
code { font-family: inherit; }
.c-comment { color: #546e7a; }
.c-cmd     { color: var(--cyan); }
.c-file    { color: #f59e0b; }

/* Install note */
.install-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(59,130,246,.07);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 10px;
  font-size: .85rem;
  color: var(--text-2);
}
.install-note svg { color: #3b82f6; flex-shrink: 0; margin-top: 2px; }

/* Packages table */
.packages-table-wrap { overflow-x: auto; }
.packages-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.packages-table th, .packages-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.packages-table th {
  color: var(--text-3);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 600;
}
.packages-table td:first-child code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  color: var(--cyan);
  background: rgba(24,255,255,.07);
  padding: 2px 8px;
  border-radius: 5px;
}
.packages-table td { color: var(--text-2); }
.packages-table tr:hover td { background: rgba(255,255,255,.02); }
.packages-table tr:last-child td { border-bottom: none; }

/* Widget steps */
.widget-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.widget-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ws-num {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.widget-step p { font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.widget-step strong { color: var(--text); }

/* ── MODES SECTION ─────────────────────────────────── */
.modes-section { background: var(--bg); }

.launcher-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 56px;
  overflow-x: auto;
}
.launcher-ascii {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-2);
  white-space: pre;
}
.lp-green { color: var(--green); }
.lp-cyan  { color: var(--cyan); font-weight: 700; }
.lp-blink {
  color: var(--cyan);
  animation: blink .8s step-start infinite;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.mode-a::before { background: linear-gradient(90deg, var(--cyan), var(--cyan-dim)); }
.mode-b::before { background: linear-gradient(90deg, var(--purple), var(--purple-2)); }
.mode-c::before { background: linear-gradient(90deg, var(--blue), #60a5fa); }

.mode-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
  border-color: var(--border-2);
}

.mode-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.mode-icon { font-size: 2.2rem; margin-bottom: 12px; }
.mode-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.mode-desc { font-size: .9rem; color: var(--text-2); line-height: 1.6; margin-bottom: 20px; }
.mode-pros {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mode-pros li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .87rem;
  color: var(--text-2);
}
.mode-pros li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: .8rem;
}
.mode-how {
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .83rem;
  color: var(--text-2);
  line-height: 1.5;
}
.mode-how strong { color: var(--text); }
.mode-how code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .8em;
  background: rgba(255,255,255,.07);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--cyan);
}

/* ── LAUNCH SECTION ────────────────────────────────── */
.launch-section { background: var(--bg-2); }
.launch-options {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.launch-opt {
  flex: 1;
  min-width: 240px;
}
.launch-opt h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.launch-opt p { font-size: .9rem; color: var(--text-2); line-height: 1.6; }
.launch-opt strong { color: var(--text); }
.lo-icon { font-size: 2rem; margin-bottom: 10px; }
.launch-divider {
  font-size: .85rem;
  color: var(--text-3);
  font-weight: 600;
  padding: 0 8px;
  flex-shrink: 0;
}

/* ── PERFORMANCE SECTION ───────────────────────────── */
.perf-section { background: var(--bg); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 0;
}
.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: all .25s;
}
.tip-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
}
.tip-icon { font-size: 1.7rem; margin-bottom: 12px; }
.tip-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.tip-card p  { font-size: .85rem; color: var(--text-2); line-height: 1.6; }
.tip-card code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85em;
  background: rgba(255,255,255,.07);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--cyan);
}

/* ── WORKFLOW SECTION ──────────────────────────────── */
.workflow-section { background: var(--bg-2); }
.workflow-tree {
  max-width: 640px;
  margin: 0 auto;
}
.wt-root { text-align: center; margin-bottom: 24px; }
.wt-root-node {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, rgba(0,188,212,.15), rgba(124,58,237,.15));
  border: 1px solid rgba(24,255,255,.25);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
}
.wt-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
}
.wt-branches::before {
  content: '';
  position: absolute;
  top: -24px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 24px;
  background: var(--border-2);
}
.wt-branch { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.wt-node {
  padding: 11px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  position: relative;
}
.wt-node::before {
  content: '';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 12px;
  background: var(--border-2);
}
.wt-children {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.wt-leaf {
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .82rem;
  color: var(--text-2);
  text-align: center;
  transition: all .2s;
}
.wt-leaf:hover { border-color: rgba(24,255,255,.2); color: var(--text); }

/* ── FILES SECTION ─────────────────────────────────── */
.files-section { background: var(--bg); }
.files-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.files-detail { display: flex; flex-direction: column; gap: 16px; }
.file-item {
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s;
}
.file-item:hover { border-color: var(--border-2); }
.file-name {
  margin-bottom: 8px;
}
.file-name code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .88rem;
  color: var(--cyan);
  background: rgba(24,255,255,.07);
  padding: 3px 10px;
  border-radius: 6px;
}
.file-item p { font-size: .86rem; color: var(--text-2); line-height: 1.6; }

/* ── CTA SECTION ───────────────────────────────────── */
.cta-section { background: var(--bg-2); }
.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,188,212,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  position: relative;
}
.cta-box p {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
}

/* ── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  font-weight: 600;
}
.footer-brand strong { color: var(--cyan); }
.footer-credit {
  font-size: .85rem;
  color: var(--text-3);
}
.footer-credit a { color: var(--text-2); }
.footer-credit a:hover { color: var(--text); }
.footer-gh {
  color: var(--text-3);
  transition: color .2s;
}
.footer-gh:hover { color: var(--text); }

/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  .files-box { grid-template-columns: 1fr; }
  .wt-branches { grid-template-columns: 1fr; }
  .wt-branches::before { display: none; }
  .step-num { font-size: 2rem; min-width: 50px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(10,12,16,.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px;
  }
  .hero-terminal { display: none; }
  .install-step { padding: 24px 20px; }
  .step-header { flex-direction: column; gap: 10px; }
  .step-num { font-size: 1.6rem; min-width: auto; }
  .launch-options { flex-direction: column; }
  .launch-divider { align-self: center; }
}

@media (max-width: 540px) {
  .hero-stats { gap: 20px; }
  .cta-box { padding: 48px 24px; }
  .modes-grid, .features-grid { grid-template-columns: 1fr; }
}
