:root {
  --bg: #000000;
  --surface: #0e0e10;
  --surface-2: #16161a;
  --line: #222226;
  --line-soft: #161619;

  --ink: #f5f5f7;
  --ink-2: #8e8e93;
  --ink-3: #555558;

  --chrome-1: #f5f5f7;
  --chrome-2: #b8b8bc;
  --chrome-grad: linear-gradient(135deg, #f5f5f7 0%, #c8c8ce 35%, #8a8a90 65%, #d8d8de 100%);
  --chrome-grad-soft: linear-gradient(135deg, rgba(245,245,247,0.12), rgba(138,138,144,0.08));

  --sans: 'Geist', -apple-system, BlinkMacSystemFont, system-ui, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --max: 460px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  letter-spacing: -0.011em;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:focus-visible {
  outline: 2px solid var(--chrome-1);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--ink);
  color: #000;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 100;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.7);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.025em;
}
.brand img { width: 26px; height: 26px; object-fit: contain; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  font-family: var(--mono);
}
.lang-switch a {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color .2s, background .2s;
}
.lang-switch a.active {
  background: var(--surface-2);
  color: var(--ink);
}
.lang-switch a:hover:not(.active) { color: var(--ink-2); }

.nav-cta {
  background: var(--ink);
  color: #000;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity .2s ease;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.9; }

/* ===== HERO ===== */
.hero {
  padding: 56px 0 32px;
  position: relative;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(200,200,206,0.08), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(200,200,206,0.15));
  animation: float 6s ease-in-out infinite;
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--chrome-grad);
  box-shadow: 0 0 8px rgba(200,200,206,0.5);
}

h1.hero-title {
  font-weight: 600;
  font-size: clamp(40px, 11.5vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  position: relative;
}
h1.hero-title span {
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 32ch;
  margin: 0 auto 32px;
  position: relative;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .15s ease, opacity .2s ease;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { opacity: 0.9; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.micro {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-3);
  position: relative;
  flex-wrap: wrap;
  list-style: none;
}
.micro-item { display: flex; align-items: center; gap: 5px; }
.micro-item svg { width: 12px; height: 12px; color: var(--chrome-2); }

/* ===== PHONE MOCKUP ===== */
.mockup-stage {
  margin: 56px auto 0;
  padding: 0 8px;
  position: relative;
  z-index: 1;
  max-width: 320px;
}
.phone {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(160deg, #1c1c20, #0a0a0c);
  border-radius: 48px;
  border: 2px solid #2a2a2e;
  padding: 10px;
  box-shadow:
    0 60px 120px -30px rgba(200,200,206,0.18),
    0 30px 60px -15px rgba(0,0,0,0.8),
    inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  background: #000;
  overflow: hidden;
  position: relative;
  border: 1px solid #1f1f1f;
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 95px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 5;
}
.phone-slot {
  width: 100%; height: 100%;
  background-color: #050505;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
}
.phone-slot.empty::after {
  content: 'SCREENSHOT';
  font-family: var(--mono);
  font-size: 9px;
  color: #2a2a2e;
  letter-spacing: 0.15em;
}

/* ===== SECTION ===== */
section { padding: 80px 0; position: relative; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--chrome-2);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--chrome-grad);
}
.section-title {
  font-weight: 600;
  font-size: clamp(30px, 8.5vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-title span {
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section-sub {
  font-size: 15px;
  color: var(--ink-2);
  max-width: 38ch;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ===== FEATURE CARD ===== */
.feature {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 26px 24px 0;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.feature-num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.feature-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--chrome-grad-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--chrome-1);
  margin-bottom: 22px;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature h3 {
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.feature p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.feature-img {
  margin: 0 -24px;
  aspect-ratio: 1.6 / 1;
  background: #050505;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-top: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
}
.feature-img.empty::after {
  content: 'SCREENSHOT-SLOT';
  font-family: var(--mono);
  font-size: 9px;
  color: #2a2a2e;
  letter-spacing: 0.15em;
}

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 24px 20px;
}
.stat-num {
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat-num em {
  font-style: normal;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}

/* ===== MORE FEATURES ===== */
.grid-mini {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}
.mini {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 18px;
}
.mini-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--chrome-1);
  display: grid; place-items: center;
  margin-bottom: 12px;
}
.mini-icon svg { width: 14px; height: 14px; }
.mini h4 {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.mini p {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ===== PRIVACY ===== */
.privacy {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
}
.privacy-icon {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: var(--chrome-grad-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--chrome-1);
}
.privacy-icon svg { width: 20px; height: 20px; }
.privacy h3 {
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.privacy p {
  color: var(--ink-2);
  font-size: 14px;
  max-width: 32ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===== FINAL CTA ===== */
.final {
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,200,206,0.08), transparent 60%);
  pointer-events: none;
}
.final-logo {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  position: relative;
  filter: drop-shadow(0 16px 32px rgba(200,200,206,0.2));
}
.final h2 {
  font-weight: 600;
  font-size: clamp(36px, 11vw, 48px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
  position: relative;
}
.final h2 span {
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final p {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 32ch;
  margin: 0 auto 28px;
  position: relative;
}

/* ===== FOOTER ===== */
footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line-soft);
}
.foot-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.foot-brand img { width: 22px; height: 22px; object-fit: contain; }
.foot-tag {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 32ch;
}
.foot-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 12px;
  margin-bottom: 24px;
}
.foot-col-title {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.foot-col a {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  padding: 5px 0;
  transition: color .2s ease;
}
.foot-col a:hover, .foot-col a:focus-visible { color: var(--ink); }
.foot-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ===== REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== RESPONSIVE / DESKTOP =====
   Mobile-first base above. These overrides kick in on tablet & desktop.
   Strategy: keep the centered "phone column" feel but expand layouts
   where horizontal space allows (side-by-side hero, multi-column grids). */

/* Tablet — 720px+ */
@media (min-width: 720px) {
  :root {
    --max: 720px;
  }

  .shell {
    padding: 0 32px;
  }

  .nav-inner {
    padding: 16px 32px;
    max-width: 1200px;
  }

  /* Hero grows but stays centered */
  .hero {
    padding: 80px 0 48px;
  }

  h1.hero-title {
    font-size: clamp(48px, 7vw, 64px);
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub {
    font-size: 18px;
    max-width: 42ch;
  }

  /* Mockup gets bigger */
  .mockup-stage {
    max-width: 360px;
  }

  /* Section titles scale up */
  .section-title {
    font-size: clamp(36px, 5vw, 44px);
  }

  /* Feature cards more spacious */
  .feature {
    padding: 36px 36px 0;
  }
  .feature h3 {
    font-size: 26px;
  }
  .feature p {
    font-size: 15px;
  }
  .feature-img {
    margin: 0 -36px;
    aspect-ratio: 2 / 1;
  }

  /* Stats: 4 columns on tablet+ */
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Mini grid: 3 columns */
  .grid-mini {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  /* Privacy card more padding */
  .privacy {
    padding: 56px 48px;
  }
  .privacy h3 {
    font-size: 28px;
  }
  .privacy p {
    font-size: 16px;
    max-width: 48ch;
  }

  /* Final CTA scales */
  .final h2 {
    font-size: clamp(48px, 8vw, 64px);
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
  }
  .final p {
    font-size: 17px;
    max-width: 44ch;
  }

  /* Footer becomes 4 columns */
  .foot-links {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* Desktop — 1024px+ */
@media (min-width: 1024px) {
  :root {
    --max: 1100px;
  }

  .nav-inner {
    padding: 18px 48px;
  }

  .shell {
    padding: 0 48px;
  }

  /* Hero: side-by-side layout — copy left, phone mockup right */
  .hero .shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    text-align: left;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hero { padding: 80px 0; }
  .hero::before {
    width: 800px;
    height: 800px;
    top: -200px;
  }
  .hero-logo {
    margin: 0 0 32px 0;
    width: 88px;
    height: 88px;
  }
  h1.hero-title {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    font-size: clamp(56px, 5.5vw, 76px);
  }
  .hero-sub {
    margin-left: 0;
    margin-right: 0;
    max-width: 38ch;
  }
  .cta-row {
    justify-content: flex-start;
  }
  .micro {
    justify-content: flex-start;
  }
  .mockup-stage {
    margin: 0;
    max-width: 380px;
    justify-self: center;
  }

  /* Section titles still centered for content sections, but constrained */
  section .shell > .reveal:first-child {
    max-width: 640px;
  }

  /* Features: constrain width on desktop, keep editorial single-column feel */
  .feature {
    margin-bottom: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Mini grid: keep 3 cols, tighter */
  .grid-mini {
    grid-template-columns: repeat(3, 1fr);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Stats: 4 cols, constrained */
  .stats {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .stat {
    padding: 32px 24px;
  }
  .stat-num {
    font-size: 36px;
  }

  /* Privacy: max-width to prevent stretching */
  .privacy {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Final CTA */
  .final h2 {
    font-size: clamp(56px, 6vw, 80px);
  }

  /* Footer */
  footer .shell {
    max-width: 1100px;
  }
  .foot-bottom {
    max-width: 1100px;
  }
}

/* Wider desktop polish — 1280px+ */
@media (min-width: 1280px) {
  .hero .shell {
    gap: 96px;
  }
  h1.hero-title {
    font-size: 80px;
  }
}
