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

:root {
  --bg: #0c0c0c;
  --border: rgba(255,255,255,0.08);
  --text: #e0e0e0;
  --muted: #555;
  --dim: #2a2a2a;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.btn-nav {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s;
}

.btn-nav:hover { border-color: rgba(255,255,255,0.2); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 11px 24px;
  background: #fff;
  color: #0c0c0c;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.88; }

.btn-text {
  display: inline-block;
  padding: 11px 0;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.15s;
}

.btn-text:hover { color: var(--text); }

/* ── SECTION TITLE ── */
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

/* ── HERO ── */
.hero {
  padding: 140px 0 100px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 600px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── TERMINAL ── */
.terminal {
  margin-top: 8px;
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--dim);
  transition: background 0.2s;
  cursor: pointer;
}

.t-dot:nth-child(1):hover { background: #ff5f56; }
.t-dot:nth-child(2):hover { background: #ffbd2e; }
.t-dot:nth-child(3):hover { background: #27c93f; }

.t-title {
  margin-left: 6px;
  font-size: 11px;
  color: var(--muted);
  font-family: var(--mono);
}

.terminal-body {
  padding: 16px 18px 20px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  min-height: 130px;
}

.t-line { display: flex; gap: 8px; }
.t-prompt { color: var(--muted); }
.t-muted { color: var(--muted); padding-left: 0; }
.t-dim { color: #333; }
.t-ok { color: #5a9e6f; }

.cursor {
  display: inline-block;
  color: var(--muted);
  animation: blink 1s infinite;
  font-family: var(--mono);
  font-size: 13px;
}

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

/* ── STATS ── */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 8px 0;
  border-right: 1px solid var(--border);
  padding-left: 32px;
}

.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }

.stat-num {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ── FEATURES ── */
.features {
  padding: 100px 0;
}

.features .section-title {
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature {
  padding: 32px 28px 32px 0;
  border-top: 1px solid var(--border);
}

.feature:nth-child(3n) { padding-right: 0; }
.feature:nth-child(3n+2) { padding-left: 28px; }
.feature:nth-child(3n+3) { padding-left: 56px; }

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
.how {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.how .section-title {
  margin-bottom: 56px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 560px;
}

.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
}

.step-num {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--muted);
  padding-top: 3px;
}

.step-content h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.code-block {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text);
}

.cb-prompt { color: var(--muted); }

/* ── PRIVACY ── */
.privacy {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.privacy-inner {
  max-width: 560px;
}

.privacy-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.privacy-list li {
  font-size: 14px;
  color: var(--muted);
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.privacy-list li:last-child {
  border-bottom: 1px solid var(--border);
}

/* ── DOWNLOAD ── */
.download {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.download-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 48px;
  margin-top: 8px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.dl-block {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.dl-block:last-child { border-bottom: none; }

.dl-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dl-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dl-cmd {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  flex: 1;
}

.dl-copy {
  background: none;
  border: none;
  font-size: 12px;
  font-family: var(--sans);
  color: var(--muted);
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}

.dl-copy:hover { color: var(--text); }
.dl-copy.copied { color: #5a9e6f; }

.dl-note {
  font-size: 13px;
  color: #333;
}

/* ── FOOTER ── */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-copy {
  font-size: 13px;
  color: #333;
  flex: 1;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 110px 0 72px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--border); }
  .stat:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature { padding: 28px 0 !important; }

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

/* ── SCROLL FADE ── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
