:root {
  --bg: #0b0d12;
  --bg-alt: #11141c;
  --card: #161a23;
  --border: #232838;
  --text: #e7e9ee;
  --text-dim: #9aa1b1;
  --accent: #6c5ce7;
  --accent-2: #00d2a8;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; color: var(--text-dim); }
ul { color: var(--text-dim); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.brand {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-block;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
}

/* HERO */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(108,92,231,0.35), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--text-dim);
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8a7cf0);
  color: #fff;
  box-shadow: 0 8px 24px rgba(108,92,231,0.35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { font-size: 17px; padding: 16px 36px; }
.btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* FEATURES */
.features, .steps, .requirements, .faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
}
.features h2, .steps h2, .requirements h2, .faq h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 18px; }
.card p { margin: 0; font-size: 14px; }

/* DOWNLOAD */
.download {
  padding: 40px 24px 80px;
}
.download-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--card), var(--bg-alt));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}
.download-card h2 { font-size: 28px; }
.download-sub { font-size: 14px; margin-bottom: 32px; }

.agree-box { margin-bottom: 28px; text-align: left; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-dim);
}
.checkbox input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.link-btn {
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.hint.ok { color: var(--accent-2); }

.checksum {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-dim);
}
.checksum code {
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--text);
}

/* STEPS */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { font-size: 16px; }
.step p { font-size: 14px; margin: 0; }

/* REQUIREMENTS */
.requirements ul { padding-left: 20px; }
.requirements li { margin-bottom: 8px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 { font-size: 16px; }
.faq-item p { margin: 0; font-size: 14px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
}
.footer-links {
  margin-top: 10px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { margin: 0; }
.modal-close {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { color: var(--text); }
.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
}
.modal-body h4 { color: var(--text); margin: 20px 0 6px; font-size: 15px; }
.modal-note {
  margin-top: 24px;
  padding: 12px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  font-style: italic;
  color: #f0b429;
}

@media (max-width: 600px) {
  .hero { padding: 70px 20px 60px; }
  .download-card { padding: 32px 24px; }
}
