:root {
  --bg: #0a0e1a;
  --bg-card: #111726;
  --bg-card-hover: #161e30;
  --border: #1e293b;
  --border-hover: #2d3b52;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-glow: rgba(20, 184, 166, 0.15);
  --amber: #f59e0b;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 60px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 18px; color: var(--text);
}
.nav-logo svg { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
  display: none; background: none; border: none; color: var(--text);
  cursor: pointer; padding: 4px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 10px 20px; border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer; transition: all .2s;
}
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.nav-links .btn {
  background: var(--accent); color: #0a0e1a;
  border-color: var(--accent);
}
.nav-links .btn:hover {
  background: var(--accent-bright); border-color: var(--accent-bright);
}
.hero-cta .btn {
  background: var(--accent); color: #0a0e1a;
  border-color: var(--accent);
}
.hero-cta .btn:hover {
  background: var(--accent-bright); border-color: var(--accent-bright);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-hover);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}
.cta-section .btn {
  background: var(--accent); color: #0a0e1a;
  border-color: var(--accent);
}
.cta-section .btn:hover {
  background: var(--accent-bright); border-color: var(--accent-bright);
  box-shadow: 0 0 32px var(--accent-glow);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 24px 60px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  opacity: .5;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto; text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.accent { color: var(--accent-bright); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-cta {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.hero-stats {
  display: flex; gap: 32px; justify-content: center;
  flex-wrap: wrap;
}
.hero-stats > div {
  text-align: center;
}
.hero-stats strong {
  display: block; font-size: 1.6rem; font-weight: 700;
  color: var(--accent-bright);
}
.hero-stats span {
  font-size: 0.8rem; color: var(--text-dim);
}

/* ---- Sections ---- */
.section-title {
  text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; margin-bottom: 8px;
}
.section-desc {
  text-align: center; color: var(--text-muted);
  margin-bottom: 48px; font-size: 1.05rem;
}

/* ---- Features ---- */
.features {
  max-width: 1100px; margin: 0 auto;
  padding: 80px 24px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, background .2s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow);
  border-radius: 10px; margin-bottom: 16px;
  color: var(--accent-bright);
}
.feature-card h3 {
  font-size: 1.1rem; margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-muted); font-size: 0.92rem;
}

/* ---- Screenshots ---- */
.screenshots {
  max-width: 1100px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.shot-card:hover { border-color: var(--border-hover); }
.shot-placeholder {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.shot-placeholder span {
  color: var(--text-dim); font-size: 0.9rem;
}
.shot-card p {
  padding: 16px; font-size: 0.88rem; color: var(--text-muted);
}

/* ---- How it works ---- */
.how-it-works {
  max-width: 900px; margin: 0 auto;
  padding: 60px 24px 80px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-glow); color: var(--accent-bright);
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- CTA ---- */
.cta-section {
  padding: 80px 24px;
}
.cta-box {
  max-width: 600px; margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px;
}
.cta-box h2 {
  font-size: 1.6rem; margin-bottom: 8px;
}
.cta-box p {
  color: var(--text-muted); margin-bottom: 24px;
}

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand { max-width: 300px; }
.footer-logo {
  font-weight: 700; font-size: 1.1rem;
}
.footer-brand p {
  color: var(--text-dim); font-size: 0.85rem;
  margin-top: 4px;
}
.footer-links {
  display: flex; gap: 48px;
}
.footer-links h4 {
  font-size: 0.85rem; color: var(--text);
  margin-bottom: 12px;
}
.footer-links a {
  display: block; color: var(--text-dim);
  font-size: 0.88rem; padding: 4px 0;
  transition: color .2s;
}
.footer-links a:hover { color: var(--text-muted); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px; gap: 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .hero-stats { gap: 20px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; flex-wrap: wrap; }
}
