@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/fonts/SF-Pro-Rounded-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/fonts/SF-Pro-Rounded-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/fonts/SF-Pro-Rounded-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('/fonts/SF-Pro-Rounded-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --bg: #0a0a0b;
  --surface: #1c1c1e;
  --text: #ffffff;
  --text-2: #9b9ba1;
  --accent: #ff2d95;
  --accent-dim: rgba(255, 45, 149, 0.15);
  --radius: 28px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand img { border-radius: 9px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 9999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px var(--accent-dim), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-small { padding: 9px 18px; font-size: 14px; }
/* Nav CTA: hidden until the user starts scrolling */
.nav-cta {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.nav-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.btn-large { padding: 16px 28px; font-size: 16px; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}
.btn-ghost:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28) inset; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 72px 24px 0;
  max-width: 760px;
  margin: 0 auto;
}

.hero-icon {
  width: clamp(120px, 22vw, 160px);
  height: auto;
  border-radius: 22.5%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 80px var(--accent-dim);
  margin-bottom: 36px;
}

.hero h1 {
  font-size: clamp(52px, 13vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.sub {
  margin: 20px auto 32px;
  color: var(--text-2);
  font-size: clamp(20px, 5vw, 21px);
  line-height: 1.55;
  max-width: 520px;
}

/* ---- Phone frame ---- */
.phone {
  width: min(310px, 78vw);
  margin: 56px auto 0;
  aspect-ratio: 59 / 128;
  border-radius: 44px;
  padding: 10px;
  background: #131315;
  border: 1px solid #2a2a2e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), 0 0 120px var(--accent-dim);
}

.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
  display: block;
  background: #000;
}

/* ---- Features ---- */
.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 110px);
  max-width: 980px;
  margin: 0 auto;
  padding: 110px 24px 0;
}

.feature .phone { margin: 0; flex-shrink: 0; width: min(280px, 74vw); }

.feature.flip { flex-direction: row-reverse; }

.feature-copy { max-width: 380px; }

.feature-copy h2 {
  font-size: clamp(38px, 9vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.feature-copy p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
}

/* ---- Steps ---- */
.steps {
  max-width: 980px;
  margin: 0 auto;
  padding: 130px 24px 0;
  text-align: center;
}

.steps > h2 {
  font-size: clamp(38px, 9vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.steps ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.steps li {
  background: var(--surface);
  border: 1px solid #2a2a2e;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.steps h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }

.steps li p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ---- Pillars ---- */
.pillars {
  max-width: 980px;
  margin: 0 auto;
  padding: 130px 24px 0;
  text-align: center;
}

.pillars > h2 {
  font-size: clamp(38px, 9vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

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

.pillar {
  background: var(--surface);
  border: 1px solid #2a2a2e;
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
}

.pillar h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.pillar p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* ---- FAQ ---- */
.faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 130px 24px 0;
}

.faq > h2 {
  font-size: clamp(38px, 9vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 40px;
}

.faq details {
  background: var(--surface);
  border: 1px solid #2a2a2e;
  border-radius: 20px;
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq summary::after {
  content: '+';
  color: var(--accent);
  font-size: 22px;
  font-weight: 500;
  margin-left: 16px;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- CTA ---- */
.cta {
  text-align: center;
  padding: 150px 24px 110px;
}

.cta img {
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  margin-bottom: 28px;
}

.cta h2 {
  font-size: clamp(42px, 10vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

/* ---- Footer ---- */
footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid #1f1f22;
  color: var(--text-2);
  font-size: 14px;
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }

footer a { color: var(--text-2); text-decoration: none; transition: color 0.15s; }
footer a:hover { color: var(--text); }

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Mobile ---- */
.desktop-br { display: inline; }

@media (max-width: 760px) {
  .desktop-br { display: none; }
  .hero h1 br { display: none; }

  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero-icon { width: clamp(150px, 44vw, 190px); margin-bottom: 28px; }
  .sub { font-size: 18px; }

  .feature-copy p { font-size: 21px; }
  .steps h3 { font-size: 24px; }
  .steps li p { font-size: 19px; }
  .pillar h3 { font-size: 24px; }
  .pillar p { font-size: 19px; }
  .faq summary { font-size: 21px; }
  .faq details p { font-size: 19px; }
  .btn-large { padding: 14px 18px; font-size: 16px; white-space: nowrap; }
  .cta-row { flex-wrap: nowrap; gap: 10px; }
  footer { font-size: 16px; }

  .feature,
  .feature.flip {
    flex-direction: column;
    text-align: center;
    padding-top: 90px;
  }

  .feature-copy { max-width: 440px; }

  .steps ol { grid-template-columns: 1fr; }
  .steps li { text-align: center; }

  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { text-align: center; }

  .foot-row { flex-direction: column; gap: 16px; }
  footer { text-align: center; }
}
