/* ─────────────────────────  Theme tokens  ───────────────────────── */
:root {
  --bg:        #0a0a0d;
  --bg-soft:   #121217;
  --card:      #16161d;
  --card-2:    #1c1c25;
  --border:    #26262f;
  --text:      #f3f3f6;
  --muted:     #9a9aa7;
  --accent:    #ff5a36;
  --accent-2:  #ff8a4a;
  --accent-soft: rgba(255, 90, 54, 0.14);
  --radius:    16px;
  --maxw:      1120px;
  --shadow:    0 24px 60px -24px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Ambient glow behind hero */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 70% 0%, rgba(255,90,54,0.18), transparent 70%),
    radial-gradient(50% 40% at 10% 10%, rgba(90,120,255,0.10), transparent 70%);
  pointer-events: none;
}

/* ─────────────────────────  Buttons  ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255,90,54,0.7);
}
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(255,90,54,0.85); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ─────────────────────────  Nav  ───────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 24px;
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color .15s; }
.nav-links a:hover { color: var(--text); }
.nav-links .btn-ghost { color: var(--text); }

/* ─────────────────────────  Hero  ───────────────────────── */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255,90,54,0.3);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 600;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,90,54,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,90,54,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,90,54,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,90,54,0); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  margin: 22px 0 18px;
}
.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 46ch;
  margin: 0 0 28px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Browser frame mockups */
.browser-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.browser-frame::before {
  content: "";
  display: block;
  height: 34px;
  background: linear-gradient(180deg, #1f1f29, #15151c);
  border-bottom: 1px solid var(--border);
}
.browser-frame::after {
  content: "";
  position: absolute;
  top: 12px; left: 16px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 18px 0 0 #febc2e, 36px 0 0 #28c840;
}
.browser-frame img { width: 100%; height: auto; }

.hero-shot { perspective: 1400px; }
.popup-frame {
  max-width: 340px;
  margin-left: auto;
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform .4s ease;
}
.popup-frame:hover { transform: rotateY(0) rotateX(0); }

/* ─────────────────────────  Stats  ───────────────────────── */
.stats {
  max-width: var(--maxw);
  margin: 24px auto;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats div { text-align: center; }
.stats strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats span { color: var(--muted); font-size: 0.85rem; }

/* ─────────────────────────  Section heads  ───────────────────────── */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ─────────────────────────  Features  ───────────────────────── */
.features { max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,90,54,0.4); }
.feature-card.highlight-card {
  border-color: rgba(255,90,54,0.5);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255,90,54,0.14), transparent 55%),
    linear-gradient(180deg, var(--card-2), var(--bg-soft));
  box-shadow: 0 0 0 1px rgba(255,90,54,0.18), 0 18px 40px -24px rgba(255,90,54,0.45);
}
.feature-card.highlight-card .ficon { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.ficon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  border-radius: 12px;
  background: var(--accent-soft);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ─────────────────────────  Gallery  ───────────────────────── */
.gallery { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 80px; }
.shot-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}
.shot-block.reverse { grid-template-columns: 1fr 1.4fr; }
.shot-block.reverse .browser-frame { order: 2; }
.shot-text h3 { font-size: 1.5rem; margin-bottom: 12px; }
.shot-text p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ─────────────────────────  Privacy  ───────────────────────── */
.privacy {
  max-width: var(--maxw);
  margin: 0 auto 80px;
  padding: 0 24px;
}
.privacy-inner {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(255,90,54,0.12), transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px;
}
.privacy-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.privacy-inner > p { color: var(--muted); max-width: 60ch; font-size: 1.08rem; margin: 0 0 28px; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.privacy-list li { color: var(--muted); padding-left: 28px; position: relative; }
.privacy-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 800;
}
.privacy-list strong { color: var(--text); }

/* ─────────────────────────  Final CTA  ───────────────────────── */
.final-cta { text-align: center; padding: 40px 24px 96px; }
.final-cta img { margin: 0 auto 20px; border-radius: 16px; }
.final-cta h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.final-cta p { color: var(--muted); margin: 0 0 28px; font-size: 1.08rem; }

/* ─────────────────────────  Footer  ───────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 40px 24px;
  color: var(--muted);
}
.footer .brand { justify-content: center; margin-bottom: 12px; font-size: 1rem; }
.footer p { margin: 4px 0; font-size: 0.9rem; }
.footer .muted { opacity: 0.6; }

/* ─────────────────────────  Responsive  ───────────────────────── */
@media (max-width: 880px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .popup-frame { transform: none; margin: 0 auto; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .shot-block, .shot-block.reverse { grid-template-columns: 1fr; gap: 24px; }
  .shot-block.reverse .browser-frame { order: 0; }
  .privacy-inner { padding: 32px 24px; }
}
