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

:root {
  --bg:        #0d1117;
  --surface:   #161b22;
  --border:    #30363d;
  --text:      #c9d1d9;
  --muted:     #8b949e;
  --accent:    #4a9eff;
  --green:     #2ea043;
  --green-bg:  #238636;
  --orange:    #e3b341;
  --red:       #ff6b6b;
  --radius:    8px;
  --max:       1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

/* ── Nav ────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; flex: 1; }
.nav-links a { color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }
.nav-cta {
  margin-left: auto;
  background: var(--green-bg);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-cta:hover { background: #2ea043; text-decoration: none !important; }

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, #0e1c35 0%, var(--bg) 70%);
}
.hero-badge {
  display: inline-block;
  background: #0e1c35;
  border: 1px solid #1a3a6e;
  color: var(--accent);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: .4px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  color: #e6edf3;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.btn:hover { opacity: .85; text-decoration: none; }
.btn-primary { background: var(--green-bg); color: #fff; }
.btn-outline  {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── Screenshot placeholder ──────────────────────────────────────────────── */
.screenshot-wrap {
  max-width: 900px;
  margin: 56px auto 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.screenshot-bar {
  background: #161b22;
  padding: 10px 14px;
  display: flex;
  gap: 7px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.screenshot-body {
  background: #0d1117;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 13px;
  letter-spacing: .5px;
}

/* ── Feature grid ────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-icon { font-size: 26px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #e6edf3; }
.feature-card p  { font-size: 14px; color: var(--muted); }

/* ── Section headings ───────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 8px; }
.section-header h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: #e6edf3; }
.section-header p  { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ── Pricing ─────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-name  { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.pricing-price { font-size: 42px; font-weight: 800; color: #e6edf3; line-height: 1; }
.pricing-price sup { font-size: 20px; vertical-align: super; }
.pricing-price sub { font-size: 14px; color: var(--muted); font-weight: 400; }
.pricing-desc  { font-size: 13px; color: var(--muted); }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pricing-features li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.pricing-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { text-align: center; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 680px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 0; }
details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  color: #e6edf3;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 20px; flex-shrink: 0; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── Support ─────────────────────────────────────────────────────────────── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.support-card .icon { font-size: 32px; margin-bottom: 14px; }
.support-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: #e6edf3; }
.support-card p  { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }

/* ── Page header (inner pages) ───────────────────────────────────────────── */
.page-header {
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 100% at 50% 0%, #0e1c35 0%, var(--bg) 80%);
}
.page-header h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #e6edf3; margin-bottom: 12px; }
.page-header p  { color: var(--muted); font-size: 16px; max-width: 500px; margin: 0 auto; }

/* ── Divider label ───────────────────────────────────────────────────────── */
.divider-label {
  display: flex; align-items: center; gap: 16px;
  color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px;
  margin: 48px 0 32px;
}
.divider-label::before, .divider-label::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}
