:root {
  --bg: #0a0e1a;
  --bg2: #0f1525;
  --bg3: #141929;
  --border: #1e2d4a;
  --accent: #4f8ef7;
  --accent2: #7c3aed;
  --green: #22d3a5;
  --red: #f87171;
  --yellow: #fbbf24;
  --text: #e2e8f0;
  --text2: #94a3b8;
  --text3: #64748b;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #fff; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,14,26,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 22px; }
.logo-text { font-size: 18px; font-weight: 700; color: #fff; }
.logo-version {
  font-size: 11px; background: var(--border);
  color: var(--accent); padding: 2px 8px; border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text2); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.btn-nav-download {
  background: var(--accent); color: #fff;
  padding: 8px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: all 0.2s;
}
.btn-nav-download:hover { background: #3b7de8; transform: translateY(-1px); }

/* HERO */
.hero {
  min-height: 100vh; padding: 120px 24px 80px;
  display: flex; align-items: center; justify-content: center;
  gap: 60px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-inner { max-width: 560px; position: relative; }
.hero-badge {
  display: inline-block;
  background: rgba(79,142,247,0.12);
  border: 1px solid rgba(79,142,247,0.3);
  color: var(--accent); font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px; color: var(--text2); line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all 0.2s; display: inline-block;
  box-shadow: 0 4px 24px rgba(79,142,247,0.3);
}
.btn-primary:hover { background: #3b7de8; transform: translateY(-2px); color: #fff; }
.btn-large { padding: 16px 36px; font-size: 17px; }
.btn-secondary {
  background: transparent; color: var(--text);
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 500;
  border: 1px solid var(--border); transition: all 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.hero-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-meta span { font-size: 13px; color: var(--text3); }

/* TERMINAL */
.hero-terminal {
  width: 460px; min-width: 300px;
  background: #0d1117; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
}
.terminal-bar {
  background: #161b22; padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title { font-size: 12px; color: var(--text3); margin-left: 8px; font-family: 'JetBrains Mono', monospace; }
.terminal-body {
  padding: 20px; font-family: 'JetBrains Mono', monospace;
  font-size: 13px; line-height: 2;
}
.t-green { color: var(--green); }
.t-blue  { color: var(--accent); }
.t-red   { color: var(--red); }
.t-yellow{ color: var(--yellow); }
.t-white { color: #fff; }
.t-cursor { animation: blink 1s infinite; color: var(--green); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* STATS */
.stats-bar {
  display: flex; justify-content: center; gap: 0;
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  flex: 1; max-width: 200px; text-align: center;
  padding: 32px 16px; border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num { display: block; font-size: 36px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text2); margin-top: 4px; display: block; }

/* SECTIONS */
.section { padding: 100px 24px; }
.section-dark { background: var(--bg2); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  color: #fff; margin-bottom: 60px; line-height: 1.2;
}

/* FEATURES GRID */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* MODULES */
.modules-list { display: flex; flex-direction: column; gap: 2px; }
.module-item {
  display: flex; align-items: center; gap: 20px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 20px 24px;
  transition: border-color 0.2s;
}
.module-item:hover { border-color: var(--accent); }
.module-icon { font-size: 28px; width: 48px; text-align: center; flex-shrink: 0; }
.module-info { flex: 1; }
.module-info h4 { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.module-info p { font-size: 13px; color: var(--text2); }
.module-tag {
  font-size: 11px; font-weight: 600;
  background: rgba(79,142,247,0.1); color: var(--accent);
  border: 1px solid rgba(79,142,247,0.2);
  padding: 4px 12px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}

/* REQUIREMENTS */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.req-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
}
.req-card-highlight { border-color: var(--accent); background: rgba(79,142,247,0.05); }
.req-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.req-card ul { list-style: none; }
.req-card li { font-size: 14px; color: var(--text2); padding: 6px 0; border-bottom: 1px solid var(--border); }
.req-card li::before { content: "→ "; color: var(--accent); }
.req-card li:last-child { border-bottom: none; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, rgba(79,142,247,0.08), rgba(124,58,237,0.08));
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 100px 24px; text-align: center;
}
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-section h2 { font-size: 42px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-section p { font-size: 18px; color: var(--text2); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { font-size: 13px; color: var(--text3); }

/* FOOTER */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 48px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a { font-size: 14px; color: var(--text2); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--text3); }

@media (max-width: 768px) {
  .hero { flex-direction: column; padding-top: 100px; }
  .hero-terminal { width: 100%; }
  .nav-links { display: none; }
  .stats-bar { flex-wrap: wrap; }
  .stat { min-width: 50%; }
}
