@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --ink:        #0A0A0A;
  --ink-2:      #404040;
  --ink-3:      #8F8F8F;
  --bg:         #FFFFFF;
  --bg-subtle:  #F7F7F5;
  --blue:       #1B47FF;
  --blue-hover: #1038e0;
  --dark:       #0A0A0A;
  --border:     rgba(0,0,0,0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1360px;
  --section-pad: 120px 40px;
  --radius-pill: 100px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.6) 0%, transparent 100%);
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { height: 36px; display: block; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  color: rgba(255,255,255,0.65);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.2s;
}
.btn-ghost:hover { color: #fff; }
.btn-blue {
  background: var(--blue);
  color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, transform 0.15s;
  letter-spacing: -0.01em;
}
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  background: var(--dark);
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 40px 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(27,71,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 960px; position: relative; }
.hero h1 {
  font-size: clamp(52px, 7.5vw, 112px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #ffffff;
  margin-bottom: 32px;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 21px);
  color: rgba(255,255,255,0.52);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 36px;
  font-weight: 300;
}
.hero-rule {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.14);
  margin: 0 auto 36px;
}
.hero-cta {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-cta .app-store-badge {
  display: inline-flex;
  transition: opacity 0.2s, transform 0.15s;
}
.hero-cta .app-store-badge img {
  height: 48px;
  display: block;
  filter: drop-shadow(0 0 0.5px rgba(255,255,255,0.5)) drop-shadow(0 0 8px rgba(255,255,255,0.08));
}
.hero-cta .app-store-badge:hover { opacity: 0.82; transform: translateY(-2px); }
.hero-badge-note {
  font-size: 12px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

/* ─── PROOF STRIP ─── */
.proof-strip {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 40px;
  text-align: center;
  overflow: hidden;
}
.proof-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.30);
  white-space: nowrap;
}
.proof-sep {
  color: rgba(255,255,255,0.15);
  margin: 0 10px;
}

/* ─── SECTION HEADER ─── */
.section-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
  display: block;
}
.section-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 560px;
  font-weight: 300;
}

/* ─── FEATURES ─── */
.features {
  background: var(--bg-subtle);
  padding: var(--section-pad);
}
.features-header {
  max-width: var(--max-width); margin: 0 auto 72px;
}
.features-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.feature-card {
  background: var(--bg);
  padding: 52px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.feature-card:hover { background: #fcfcfc; }
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-num {
  position: absolute;
  top: 28px; right: 36px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0,0,0,0.05);
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}
.feature-icon-wrap {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  color: var(--blue);
}
.feature-card h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.2;
  color: var(--ink);
}
.feature-card p {
  font-size: 16px; color: var(--ink-2);
  line-height: 1.65;
  font-weight: 400;
}

/* ─── HOW IT WORKS ─── */
.how { background: var(--bg); padding: var(--section-pad); }
.how-inner { max-width: var(--max-width); margin: 0 auto; }
.how-header { margin-bottom: 72px; }
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.how-step {
  padding: 0 40px 0 32px;
  border-left: 1px solid rgba(0,0,0,0.07);
}
.how-step:first-child { padding-left: 0; border-left: none; }
.step-num {
  font-size: 48px;
  font-weight: 300;
  color: rgba(0,0,0,0.15);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}
.how-step h4 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: var(--ink);
}
.how-step p { font-size: 16px; color: var(--ink-2); line-height: 1.65; font-weight: 400; }

/* ─── PRIVACY BAND ─── */
.privacy-band {
  background: var(--dark);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}
.privacy-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(27,71,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.privacy-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative;
}
.privacy-left .section-label { color: rgba(255,255,255,0.35); }
.privacy-left .section-title { color: #fff; }
.privacy-left .section-sub { color: rgba(255,255,255,0.45); max-width: 440px; }
.privacy-right {
  display: flex; flex-direction: column; gap: 32px;
}
.privacy-point {
  display: flex; gap: 20px; align-items: flex-start;
}
.privacy-point-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}
.privacy-point-text h5 {
  font-size: 16px; font-weight: 600; color: #fff;
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.privacy-point-text p {
  font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.65;
}

/* ─── CTA ─── */
.cta {
  background: var(--bg-subtle);
  padding: var(--section-pad);
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta .section-title {
  font-size: clamp(40px, 5vw, 72px);
  margin-bottom: 16px;
}
.cta .section-sub { margin: 0 auto 48px; max-width: 480px; }
.cta-badge-wrap {
  display: inline-flex; flex-direction: column; align-items: center; gap: 16px;
}
.cta-badge-wrap .app-store-badge img {
  height: 52px;
  display: block;
  transition: opacity 0.2s, transform 0.15s;
}
.cta-badge-wrap .app-store-badge:hover img { opacity: 0.85; transform: translateY(-2px); }
.cta-note { font-size: 13px; color: var(--ink-3); }

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  padding: 40px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
}
.footer-logo { height: 22px; opacity: 0.55; }
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.01em;
}
.footer-links {
  display: flex; gap: 24px;
  font-size: 13px;
}
.footer-links a {
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root { --section-pad: 80px 24px; }
  #nav { padding: 0 24px; }
  .proof-strip { padding: 16px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-num { font-size: 52px; top: 20px; right: 24px; }
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-step { padding: 0 0 0 24px; border-left: 1px solid rgba(0,0,0,0.07); }
  .how-step:first-child { padding-left: 24px; border-left: 1px solid rgba(0,0,0,0.07); }
  .privacy-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 120px 24px 80px; min-height: 0; }
  .features { padding: 80px 0; }
  .features-header { padding: 0 24px; margin-bottom: 48px; }
  .feature-card { padding: 40px 28px; }
}

@media (max-width: 600px) {
  .nav-right .btn-ghost { display: none; }
  .nav-logo { height: 24px; }
  .hero { min-height: 0; padding: 108px 24px 64px; }
  .hero h1 { font-size: clamp(40px, 12vw, 64px); letter-spacing: -0.03em; line-height: 1.0; }
  .hero-sub { font-size: 16px; }
  .proof-strip { padding: 14px 20px; }
  .proof-text { font-size: 10px; letter-spacing: 0.06em; white-space: normal; line-height: 1.8; }
  .proof-sep { margin: 0 6px; }
  .feature-num { display: none; }
  .feature-card { padding: 36px 24px; }
  .feature-card h3 { font-size: 19px; }
  .step-num { font-size: 36px; margin-bottom: 16px; }
  .how-step h4 { font-size: 18px; }
  .section-title { letter-spacing: -0.025em; }
  .cta .section-title { font-size: clamp(36px, 10vw, 56px); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { margin-left: 0; }
}
