*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f0f;
  --bg2: #141414;
  --card: #161616;
  --border: #1e1e1e;
  --border2: #252525;
  --accent: #4ade80;
  --accent-dim: #22c55e;
  --accent-glow: rgba(74, 222, 128, 0.12);
  --text: #f0f0f0;
  --muted: #888;
  --muted2: #555;
  --amber: #fbbf24;
  --amber-bg: rgba(251, 191, 36, 0.07);
  --amber-border: rgba(251, 191, 36, 0.25);
  --font: 'Space Grotesk', sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --nav-h: 64px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #000; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted2); }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(15,15,15,0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color .3s;
}

nav.scrolled { border-color: var(--border2); }

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo span {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--border); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #000 !important;
  font-weight: 600 !important;
  padding: 7px 18px !important;
  border-radius: 8px !important;
  transition: opacity .2s, transform .15s !important;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); background: var(--accent) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ─── MOBILE NAV ─── */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(15,15,15,0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    backdrop-filter: blur(16px);
  }
  .nav-links.open a { padding: 10px 14px; font-size: 1rem; }
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ─── LAYOUT HELPERS ─── */
section { padding: clamp(80px, 10vw, 120px) clamp(20px, 6vw, 80px); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── HERO ─── */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(74,222,128,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 22px;
}
h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .2s, opacity .2s, box-shadow .2s;
  letter-spacing: -0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 4px 20px rgba(74,222,128,0.25);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(74,222,128,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--muted2); background: var(--border); }

/* ─── PHONE MOCKUP ─── */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-wrap {
  position: relative;
  width: 240px;
}
.phone-outer {
  width: 240px;
  height: 490px;
  background: #111;
  border-radius: 36px;
  border: 2px solid var(--border2);
  box-shadow:
    0 0 0 6px #0a0a0a,
    0 30px 80px rgba(0,0,0,0.6),
    0 0 40px rgba(74,222,128,0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 10px 10px;
}
.phone-notch {
  width: 80px; height: 24px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  margin-bottom: 14px;
  flex-shrink: 0;
}
.phone-screen {
  flex: 1;
  width: 100%;
  background: #0f0f0f;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
}
.ps-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ps-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ps-bar {
  height: 10px;
  border-radius: 5px;
  background: var(--border2);
  flex: 1;
}
.ps-label {
  font-size: 0.55rem;
  font-family: var(--font);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .05em;
}
.ps-timer {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font);
  color: var(--accent);
  letter-spacing: -0.04em;
  text-align: center;
  margin: 8px 0 4px;
}
.ps-divider { height: 1px; background: var(--border); margin: 4px 0; }
.ps-chart {
  height: 60px;
  position: relative;
  margin-top: 4px;
}
.ps-chart svg { width: 100%; height: 100%; }

.phone-side-btn {
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: var(--border2);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-mockup { order: -1; }
  .phone-wrap { width: 180px; }
  .phone-outer { width: 180px; height: 360px; border-radius: 28px; }
}

/* ─── FEATURES ─── */
#features { background: var(--bg2); }

.features-header { margin-bottom: 50px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  cursor: default;
}
.feature-card:hover {
  border-color: rgba(74,222,128,0.25);
  box-shadow: 0 4px 30px rgba(74,222,128,0.06);
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  display: block;
}
.feature-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ─── HOW IT WORKS ─── */
#how {
  background: var(--bg);
  position: relative;
}

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.steps-wrap::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.67% + 10px); right: calc(16.67% + 10px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--border2) 50%, var(--accent) 100%);
  opacity: .35;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.step-arrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.step-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

@media (max-width: 680px) {
  .steps-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-wrap::before { display: none; }
  .step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; padding: 0; }
  .step-num { flex-shrink: 0; margin-bottom: 0; }
  .step-body { flex: 1; }
}

/* ─── PRIVACY ─── */
#privacy { background: var(--bg2); }

.privacy-card {
  background: var(--card);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 60px);
  box-shadow: 0 0 60px rgba(74,222,128,0.04);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.privacy-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}
.privacy-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}
.privacy-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto 32px;
}
.privacy-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 6px 14px;
  border-radius: 99px;
  letter-spacing: .02em;
}
.badge::before {
  content: '✓';
  font-weight: 700;
}

/* ─── DOWNLOAD ─── */
#download {
  background: var(--bg);
  text-align: center;
}
.download-inner { max-width: 560px; margin: 0 auto; }
.download-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 12px;
}
.download-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 36px;
}
.btn-download {
  font-size: 1.05rem;
  padding: 16px 36px;
  margin-bottom: 36px;
  box-shadow: 0 6px 30px rgba(74,222,128,0.3);
}
.btn-download:hover { box-shadow: 0 10px 40px rgba(74,222,128,0.45); }

.warning-card {
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  text-align: left;
}
.warning-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 12px;
}
.warning-head .warn-icon { font-size: 1.1rem; flex-shrink: 0; }
.warning-body {
  font-size: 0.84rem;
  color: #c8a860;
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px clamp(20px, 6vw, 80px);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-links a svg { opacity: .7; transition: opacity .2s; }
.footer-links a:hover svg { opacity: 1; }

/* ─── MISC ─── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #1e1e1e 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: .6;
}