/* ── Design Tokens ─────────────────────────────── */
:root {
  --bg-deepest: #0f172a;
  --bg-dark: #1a1a2e;
  --bg-card: #1e293b;
  --border: #334155;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --text-bright: #f1f5f9;
  --text-body: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --green: #4ade80;
  --red: #f87171;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deepest);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}

nav.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text-bright);
}

.nav-logo { font-size: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text-bright); }

.nav-cta {
  background: var(--blue-500);
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover { background: var(--blue-600); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 0.15s, transform 0.15s;
  text-align: center;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary-lg {
  background: var(--blue-500);
  color: white;
  padding: 14px 36px;
  font-size: 16px;
}

.btn-primary-lg:hover { background: var(--blue-600); }

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  padding: 14px 36px;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--text-bright); }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Extension Mockup ──────────────────────────── */
.mockup {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
  background: var(--bg-deepest);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #161e2e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #4ade80; }

.mockup-body { padding: 16px; font-size: 13px; }

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bg-card);
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text-bright);
}

.mock-lock { font-size: 16px; }

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}

.mock-stat-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-bright);
}

.mock-stat-lbl {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.mock-progress { margin-bottom: 14px; }

.mock-progress-track {
  height: 8px;
  background: var(--bg-deepest);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 4px;
}

.mock-progress-fill {
  width: 39%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  border-radius: 8px;
}

.mock-progress-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-pills {
  display: flex;
  gap: 8px;
}

.mock-pill {
  flex: 1;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.mock-pill b.on { color: var(--green); margin-left: 4px; }

/* ── Trust Bar ─────────────────────────────────── */
.trust-bar {
  padding: 24px 0;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.trust-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.trust-item {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Section Headings ──────────────────────────── */
.section-heading {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-bright);
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 48px;
}

/* ── Features ──────────────────────────────────── */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
}

.step {
  text-align: center;
  flex: 0 1 240px;
}

.step-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: white;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  box-shadow: 0 0 24px rgba(59,130,246,0.3);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 220px;
  margin: 0 auto;
}

.step-line {
  flex: 0 0 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--blue-500), var(--border));
  margin-top: 28px;
  border-radius: 2px;
}

/* ── Privacy ───────────────────────────────────── */
.privacy {
  padding: 100px 0;
}

.privacy-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  max-width: 680px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.privacy-card h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.privacy-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-list li {
  font-size: 15px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 12px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── FAQ ───────────────────────────────────────── */
.faq {
  padding: 100px 0;
  background: rgba(255,255,255,0.01);
}

.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background 0.15s;
}

.faq-item:hover { background: #232d3f; }

.faq-item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-bright);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Final CTA ─────────────────────────────────── */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ── Footer ────────────────────────────────────── */
footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.footer-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.15);
}

/* ── Scroll Reveal ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px 24px; font-size: 16px; }
  .nav-cta { margin: 8px 24px; border-radius: var(--radius-sm); }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-line {
    width: 2px;
    height: 40px;
    flex: 0 0 40px;
    background: linear-gradient(180deg, var(--border), var(--blue-500), var(--border));
  }

  .privacy-card {
    padding: 36px 24px;
  }

  .hero { padding: 120px 0 60px; }
}

@media (max-width: 480px) {
  .trust-items { gap: 12px 24px; }
  .trust-item { font-size: 13px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary-lg, .btn-ghost { width: 100%; max-width: 300px; }
}
