/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0f12;
  --bg2:       #13161b;
  --bg3:       #1a1e26;
  --border:    rgba(255,255,255,.07);
  --accent:    #5b8dee;
  --accent2:   #7c6fdf;
  --text:      #e2e6f0;
  --muted:     #6b7280;
  --green:     #34d399;
  --red:       #f87171;
  --orange:    #fb923c;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 20px 60px rgba(0,0,0,.55);
  --font:      -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }

/* ─── Layout ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ─── Nav ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,15,18,.85);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; color: var(--text);
}
.nav-brand svg { width: 28px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links .btn-nav {
  background: var(--accent); color: #fff; padding: 7px 18px;
  border-radius: 20px; font-size: 14px;
}
.nav-links .btn-nav:hover { background: #4a7de0; text-decoration: none; }

/* ─── Hero ─── */
.hero {
  padding: 110px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91,141,238,.12) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(91,141,238,.12); border: 1px solid rgba(91,141,238,.25);
  color: var(--accent); font-size: 13px; font-weight: 600;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  color: #fff; margin-bottom: 22px;
}
.hero h1 span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p {
  font-size: clamp(16px, 2vw, 19px); color: var(--muted);
  max-width: 520px; margin: 0 auto 40px;
}
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  padding: 13px 28px; border-radius: 28px; border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(91,141,238,.35);
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(91,141,238,.45); text-decoration: none; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); color: var(--text); font-weight: 600; font-size: 15px;
  padding: 13px 28px; border-radius: 28px; border: 1px solid var(--border);
  transition: border-color .15s, background .15s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.2); background: #1f2330; text-decoration: none; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ─── Screenshot ─── */
.screenshot-wrap {
  margin: 60px auto 0; max-width: 900px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04);
}
.screenshot-wrap img { width: 100%; }

/* ─── Section ─── */
section { padding: 90px 0; }
.section-label {
  text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700;
  color: var(--accent); margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.5px; color: #fff; margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 520px; }

/* ─── Features grid ─── */
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-sub { margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(91,141,238,.3); transform: translateY(-3px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: rgba(91,141,238,.12);
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── Screenshots gallery ─── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 16px; }
.gallery-item {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.6); }
.gallery-item img { width: 100%; }
.gallery-caption { background: var(--bg2); padding: 10px 14px; font-size: 13px; color: var(--muted); }

/* ─── Requirements ─── */
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 40px; }
.req-item {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 20px;
}
.req-item .req-icon { font-size: 28px; margin-bottom: 10px; }
.req-item h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.req-item p { font-size: 13px; color: var(--muted); }

/* ─── CTA ─── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(91,141,238,.1) 0%, transparent 70%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-section h2 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--muted); font-size: 17px; margin-bottom: 36px; }

/* ─── Footer ─── */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand p { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 260px; }
.footer-links h5 { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--muted); }

/* ─── Page hero (inner pages) ─── */
.page-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-hero p { color: var(--muted); font-size: 16px; }

/* ─── Prose (policy/terms) ─── */
.prose { padding: 60px 0 100px; }
.prose h2 { font-size: 22px; font-weight: 700; color: #fff; margin: 40px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 28px 0 8px; }
.prose p { color: #a0a8b8; margin-bottom: 16px; line-height: 1.75; }
.prose ul, .prose ol { color: #a0a8b8; padding-left: 22px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; line-height: 1.7; }
.prose a { color: var(--accent); }
.prose strong { color: var(--text); }
.prose .last-updated { font-size: 13px; color: var(--muted); margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }

/* ─── Support ─── */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; margin-top: 48px; }
.support-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; text-align: center;
}
.support-card .s-icon { font-size: 36px; margin-bottom: 16px; }
.support-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.support-card p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.support-card a.btn-primary { font-size: 14px; padding: 10px 22px; }

.faq { margin-top: 64px; }
.faq h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 32px; }
.faq-item { border-top: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.faq-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ─── Responsive ─── */
@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn-nav) { display: none; }
  .hero { padding: 80px 0 60px; }
  section { padding: 60px 0; }
}
