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

:root {
  --cyan: #00e5ff;
  --bg: #07070f;
  --bg2: #0a0a18;
  --bg3: #0d0d20;
  --text: #e0e0f0;
  --muted: rgba(0,229,255,0.4);
  --border: rgba(0,229,255,0.1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  background: rgba(7,7,15,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0,229,255,0.4);
  text-decoration: none;
}

.nav-logo { width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(0,229,255,0.6)); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.nav-btn {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--cyan);
  transition: border-color 0.2s, background 0.2s;
}
.nav-links a.nav-btn:hover { border-color: var(--cyan); background: rgba(0,229,255,0.06); }
.nav-links a.nav-btn.active { border-color: var(--cyan); color: var(--cyan); }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  background: var(--cyan);
  color: #07070f;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover { box-shadow: 0 0 28px rgba(0,229,255,0.5); transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid rgba(0,229,255,0.3);
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0,229,255,0.05); }
.btn-ghost:disabled { opacity: 0.3; cursor: not-allowed; }
.full { width: 100%; text-align: center; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0,229,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-logo {
  width: 120px; height: 120px;
  filter: drop-shadow(0 0 32px rgba(0,229,255,0.5));
  animation: float 4s ease-in-out infinite;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: 16px;
  color: #fff;
  text-shadow: 0 0 60px rgba(0,229,255,0.25);
  margin-bottom: 14px;
}

.tagline {
  font-size: 14px;
  letter-spacing: 5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 60px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,229,255,0.02);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-val { font-size: 22px; font-weight: 700; color: var(--cyan); }
.stat-label { font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,0.3); text-transform: uppercase; }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* ── Section shared ── */
.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

/* ── Features ── */
.features {
  padding: 100px 48px;
  text-align: center;
  background: var(--bg2);
}

.features h2, .how h2, .cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 60px;
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,229,255,0.02);
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 15px; letter-spacing: 1px; margin-bottom: 10px; color: #fff; }
.feature-card p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.8; }
.badge { font-size: 9px; letter-spacing: 1px; padding: 2px 7px; background: rgba(0,229,255,0.1); color: var(--cyan); border-radius: 20px; vertical-align: middle; margin-left: 6px; }

/* ── How it works ── */
.how {
  padding: 100px 48px;
  text-align: center;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0,229,255,0.02);
  text-align: left;
}
.step-num { font-size: 36px; font-weight: 800; color: rgba(0,229,255,0.15); margin-bottom: 16px; }
.step h3 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.8; }
.step-arrow { font-size: 24px; color: rgba(0,229,255,0.25); flex-shrink: 0; }

/* ── CTA ── */
.cta {
  position: relative;
  padding: 100px 48px;
  text-align: center;
  background: var(--bg2);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0,229,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta p { color: rgba(255,255,255,0.35); margin-bottom: 36px; font-size: 15px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  position: relative;
  padding: 140px 48px 80px;
  text-align: center;
  overflow: hidden;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p { font-size: 14px; color: rgba(255,255,255,0.35); letter-spacing: 2px; }

/* ── Pricing ── */
.pricing-section { padding: 60px 48px 100px; }

.pricing-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto 48px;
}

.pricing-card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  position: relative;
}
.pricing-card.featured {
  border-color: rgba(0,229,255,0.4);
  background: rgba(0,229,255,0.03);
  box-shadow: 0 0 40px rgba(0,229,255,0.06);
}

.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #07070f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
}
.plan-name { font-size: 13px; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; margin-bottom: 16px; }
.plan-price { margin-bottom: 12px; }
.price-val { font-size: 52px; font-weight: 800; color: #fff; }
.price-per { font-size: 13px; color: rgba(255,255,255,0.3); margin-left: 4px; }
.plan-desc { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 28px; }

.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { font-size: 13px; color: rgba(255,255,255,0.6); padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.plan-features li.muted { color: rgba(255,255,255,0.2); }

.pay-methods { display: flex; gap: 8px; margin-top: 12px; }
.pay-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pay-btn svg { width: 28px; height: 28px; border-radius: 4px; }
.pay-btn:hover { border-color: var(--cyan); background: rgba(0,229,255,0.05); color: #fff; }

.pay-note { text-align: center; font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 1px; margin-bottom: 60px; }

/* Compare table */
.compare-wrap { max-width: 700px; margin: 0 auto; }
.compare-wrap h3 { font-size: 16px; letter-spacing: 2px; color: #fff; margin-bottom: 20px; text-align: center; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th { padding: 12px 20px; text-align: left; font-size: 11px; letter-spacing: 2px; color: var(--cyan); border-bottom: 1px solid var(--border); }
.compare-table td { padding: 12px 20px; color: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(255,255,255,0.04); }
.compare-table tr:hover td { background: rgba(0,229,255,0.02); }

/* ── Download ── */
.download-section { padding: 40px 48px 100px; }

.dl-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto 60px;
}

.dl-card {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  text-align: center;
}
.dl-card.featured { border-color: rgba(0,229,255,0.4); background: rgba(0,229,255,0.03); }
.dl-card.disabled { opacity: 0.45; }
.dl-os-icon { font-size: 40px; margin-bottom: 16px; }
.dl-card h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.dl-version { font-size: 12px; color: var(--cyan); letter-spacing: 1px; margin-bottom: 6px; }
.dl-req { font-size: 11px; color: rgba(255,255,255,0.25); margin-bottom: 20px; }
.dl-size { font-size: 11px; color: rgba(255,255,255,0.2); margin-top: 10px; }

.dl-info { max-width: 700px; margin: 0 auto 60px; display: flex; flex-direction: column; gap: 16px; }
.dl-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg2);
}
.dl-info-icon { font-size: 22px; flex-shrink: 0; }
.dl-info-card strong { display: block; color: #fff; margin-bottom: 4px; font-size: 14px; }
.dl-info-card p { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; }

.changelog { max-width: 700px; margin: 0 auto; }
.changelog h3 { font-size: 16px; letter-spacing: 2px; color: #fff; margin-bottom: 20px; }
.changelog-entry { padding: 20px 24px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg2); }
.changelog-ver { font-size: 13px; font-weight: 700; color: var(--cyan); margin-bottom: 4px; }
.changelog-date { font-size: 11px; color: rgba(255,255,255,0.25); margin-bottom: 12px; }
.changelog-entry ul { list-style: none; }
.changelog-entry li { font-size: 13px; color: rgba(255,255,255,0.5); padding: 4px 0; }
.changelog-entry li::before { content: '+ '; color: var(--cyan); }

/* ── Auth / Login ── */
.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  overflow: hidden;
}

.auth-box {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  position: relative;
  z-index: 1;
}
.auth-logo { text-align: center; margin-bottom: 20px; filter: drop-shadow(0 0 16px rgba(0,229,255,0.4)); }
.auth-box h2 { font-size: 22px; color: #fff; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 13px; color: rgba(255,255,255,0.3); text-align: center; margin-bottom: 32px; }

.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.form-group input {
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus { border-color: rgba(0,229,255,0.4); }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 56px; }
.show-btn {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(0,229,255,0.5); font-size: 11px;
  cursor: pointer; letter-spacing: 1px;
}
.show-btn:hover { color: var(--cyan); }

.form-row { display: flex; justify-content: space-between; align-items: center; }
.checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.35); cursor: pointer; }
.form-link { font-size: 12px; color: rgba(0,229,255,0.6); text-decoration: none; }
.form-link:hover { color: var(--cyan); }
.auth-submit { margin-top: 8px; }

.auth-divider { text-align: center; margin: 20px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { position: relative; background: var(--bg2); padding: 0 12px; font-size: 11px; color: rgba(255,255,255,0.2); }

.auth-coming { text-align: center; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: rgba(0,229,255,0.02); }
.auth-coming p { font-size: 13px; color: rgba(255,255,255,0.4); }

.auth-switch { text-align: center; font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 20px; }
.auth-switch a { color: var(--cyan); text-decoration: none; }

/* ── Modal ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg2);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 12px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: rgba(255,255,255,0.3);
  font-size: 18px; cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.modal p { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.coming-soon-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 20px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 16px;
}
.modal-sub { font-size: 12px; color: rgba(255,255,255,0.25); }
.modal-sub a { color: var(--cyan); text-decoration: none; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-logo-text { font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--cyan); }
.footer-brand span:last-child { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 1px; transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { font-size: 11px; color: rgba(255,255,255,0.15); letter-spacing: 1px; text-align: center; }

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
