/* ── Reset & base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0c10;
  --bg2:      #0f1117;
  --bg3:      #161b24;
  --border:   #1e2736;
  --text:     #e2e8f0;
  --sub:      #94a3b8;
  --accent:   #3b82f6;
  --accent-h: #2563eb;
  --green:    #22c55e;
  --radius:   12px;
  --font:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Utility ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 38%, #3b82f6 72%, #a78bfa 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset,
              0 2px 14px rgba(59,130,246,0.4),
              0 0 28px rgba(239,68,68,0.18);
  position: relative;
  overflow: hidden;
  transition: filter 0.2s, box-shadow 0.2s, transform 0.1s;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 55%);
  border-radius: inherit;
  pointer-events: none;
}
.btn-primary:hover {
  filter: brightness(1.12) saturate(1.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2) inset,
              0 4px 22px rgba(59,130,246,0.55),
              0 0 40px rgba(239,68,68,0.28);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--sub);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: #475569; }

.btn-lg  { padding: 14px 32px; font-size: 17px; border-radius: 10px; }
.btn-primary.btn-lg { border-radius: 50px; }
.btn-full { width: 100%; }

.section-inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--sub);
  font-size: 18px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.accent { color: var(--accent); }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  flex: 0 0 auto;
  white-space: nowrap;
  z-index: 1;
}
.nav-logo svg { width: 22px; height: 22px; color: var(--accent); }
.nav-logo-img { width: 28px; height: 28px; object-fit: contain; }

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  font-size: 15px;
  color: var(--sub);
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

.nav-actions { margin-left: auto; flex: 0 0 auto; display: flex; align-items: center; z-index: 1; }
.nav-cta { padding: 8px 18px; font-size: 14px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  padding: 100px 24px 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59,130,246,0.12) 0%, transparent 70%);
}

.hero-inner {
  max-width: 920px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  text-wrap: balance;
  background: linear-gradient(140deg, #38bdf8 0%, #818cf8 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--sub);
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 40px;
}
.hero-sub em { color: #c4b5fd; font-style: normal; font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* ── Video placeholder ─────────────────────────────────────────────────── */
.video-placeholder {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--bg2);
  border-radius: 14px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.12),
    0 0 40px rgba(139, 92, 246, 0.25),
    0 0 90px rgba(139, 92, 246, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.5);
}

/* ── App Mockup ────────────────────────────────────────────────────────── */
.app-mockup {
  margin: 56px auto 0;
  max-width: 740px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.55), 0 0 120px rgba(59,130,246,0.06);
  background: var(--bg2);
  text-align: left;
  user-select: none;
}
.app-bar {
  height: 36px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
}
.app-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.app-bar-title { flex: 1; text-align: center; font-size: 12px; color: var(--sub); }
.app-body { display: flex; min-height: 210px; }
.app-sidebar {
  width: 130px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}
.app-nav-item { display: block; padding: 8px 16px; font-size: 13px; color: var(--sub); border-right: 2px solid transparent; }
.app-nav-item.active { color: var(--text); background: rgba(59,130,246,0.08); border-right-color: var(--accent); }
.app-main { flex: 1; padding: 18px 20px; overflow: hidden; }
.app-status-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.app-status-badge {
  background: rgba(34,197,94,0.1);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 100px;
}
.app-status-meta { color: var(--sub); font-size: 12px; }
.app-stat-grid { display: flex; gap: 10px; margin-bottom: 14px; }
.app-stat { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; flex: 1; }
.app-stat-num { font-size: 19px; font-weight: 700; color: var(--text); }
.app-stat-lbl { font-size: 10px; color: var(--sub); margin-top: 2px; }
.app-rows { display: flex; flex-direction: column; gap: 6px; }
.app-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
  font-family: 'SF Mono', Consolas, 'Courier New', monospace;
}
.app-row-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.app-row.safe .app-row-dot { background: var(--green); }
.app-row.warn .app-row-dot { background: #f59e0b; }
.app-row-name { flex: 1; color: var(--text); }
.app-row-badge { font-size: 10px; font-family: var(--font); padding: 2px 8px; border-radius: 100px; font-weight: 600; }
.app-row-badge.safe { background: rgba(34,197,94,0.1); color: var(--green); border: 1px solid rgba(34,197,94,0.2); }
.app-row-badge.warn { background: rgba(245,158,11,0.1); color: #f59e0b; border: 1px solid rgba(245,158,11,0.2); }
.app-row-score { color: var(--sub); font-size: 11px; min-width: 28px; text-align: right; }

/* ── Strip ─────────────────────────────────────────────────────────────── */
.strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  overflow: hidden;
}

.strip-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sub);
}
.strip-inner .dot { color: var(--border); }

/* ── Features ──────────────────────────────────────────────────────────── */
.features {
  padding: 96px 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: #2d3d54; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59,130,246,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--accent); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}

/* ── How It Works ──────────────────────────────────────────────────────── */
.how-it-works {
  padding: 96px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  color: var(--accent);
}

.step-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-body p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Pricing ───────────────────────────────────────────────────────────── */
.pricing {
  padding: 96px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg2);
  border: 1px solid rgba(59,130,246,0.25);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 0 1px rgba(59,130,246,0.08), 0 20px 60px rgba(0,0,0,0.4), 0 0 80px rgba(59,130,246,0.06);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.2), 0 20px 60px rgba(0,0,0,0.4), 0 0 80px rgba(59,130,246,0.12);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-top {
  margin-bottom: 32px;
  text-align: center;
}

.pricing-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--sub);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
}
.price-period {
  font-size: 20px;
  font-weight: 400;
  color: var(--sub);
  letter-spacing: 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-features li {
  font-size: 15px;
  color: var(--sub);
}
.pricing-features li::first-letter { color: var(--green); }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: #475569;
  margin-top: 16px;
  line-height: 1.5;
}

.pricing-per-month {
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  margin-top: 6px;
}

.pricing-note--warning {
  color: #94a3b8;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.pricing-note--warning strong { color: #fca5a5; }
.pricing-note--warning a { color: var(--accent); text-decoration: underline; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq {
  padding: 96px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--sub);
  flex-shrink: 0;
  transition: transform 0.2s;
  font-weight: 300;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 20px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  padding: 56px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 640px;
  margin: 0 auto;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
}
.footer-logo svg { width: 22px; height: 22px; color: var(--accent); }
.footer-logo-img { width: 26px; height: 26px; object-fit: contain; }

.footer-tagline {
  color: var(--sub);
  font-size: 14px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--sub);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 13px;
  color: #334155;
}

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal-page {
  padding: 72px 24px 96px;
}

.legal-inner {
  max-width: 680px;
  margin: 0 auto;
}

.legal-inner h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.legal-date {
  color: var(--sub);
  font-size: 14px;
  margin-bottom: 48px;
}

.legal-inner h2 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-inner h3 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-inner p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-inner ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-inner ul li {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-inner a { color: var(--accent); text-decoration: underline; }
.legal-inner a:hover { color: #93c5fd; }

.legal-inner strong { color: var(--text); font-weight: 600; }

/* ── Responsive ────────────────────────────────────────────────────────── */
/* Hide nav links before they can reach the logo or button */
@media (max-width: 880px) {
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding: 72px 24px 60px; }
  .video-placeholder { margin-top: 40px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 16px; }
  .pricing-card { padding: 28px 24px; }
}
