/* ─── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: "HelveticaRounded";
  src: url("fonts/HelveticaRoundedLTStd-Bd.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HelveticaRounded";
  src: url("fonts/HelveticaRoundedLTStd-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "HelveticaRoundedCn";
  src: url("fonts/HelveticaRoundedLTStd-BdCn.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "GothamRounded";
  src: url("fonts/GothamRounded-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── Tokens ────────────────────────────────────────────── */
:root {
  --bg-top: #0B1B7A;
  --bg-mid: #1A3AE0;
  --bg-bottom: #2FA7FF;
  --bg-card: #0E1E5E;

  --premium-from: #FF2E93;
  --premium-to: #9B2BEF;
  --hero-from: #FF6B9D;
  --hero-to: #FDE047;
  --cyan: #00E5FF;
  --pink: #FEB2DE;
  --hot-pink: #DC2990;

  --fg: #FFFFFF;
  --fg-dim: rgba(255,255,255,0.85);
  --fg-mute: rgba(255,255,255,0.62);
  --fg-faint: rgba(255,255,255,0.30);

  --tile-bg: rgba(255,255,255,0.10);
  --tile-bg-strong: rgba(255,255,255,0.16);
  --tile-border: rgba(255,255,255,0.14);

  --max-w: 1080px;
  --pad-x: clamp(20px, 5vw, 48px);

  --r-card: 22px;
  --r-tile: 18px;
  --r-pill: 999px;
}

/* ─── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "GothamRounded", "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--fg);
  background:
    radial-gradient(ellipse 1200px 600px at 80% 12%, rgba(255,107,157,.18), transparent 60%),
    radial-gradient(ellipse 900px 500px at 12% 60%, rgba(0,229,255,.10), transparent 60%),
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.04), transparent 14%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.04), transparent 12%),
    radial-gradient(circle at 60% 18%, rgba(255,255,255,.03), transparent 10%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  background-size: cover;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ─── Italic gradient accent ────────────────────────────── */
.accent {
  /* The italic glyphs paint outside the line-box; pad + negative margin keeps
     ascenders/descenders visible without affecting layout flow. Keep the
     line-height: 1 + display: inline-block — both are required. */
  display: inline-block;
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  padding: 0.32em 0.30em 0.30em 0.06em;
  margin: -0.32em -0.20em -0.30em -0.06em;
}

/* ─── Top bar ───────────────────────────────────────────── */
.topbar {
  position: relative;
  z-index: 10;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.brand-word {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 28px;
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 14px;
}
.nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav a:hover {
  opacity: 1;
  color: var(--cyan);
}
@media (max-width: 600px) {
  .nav { display: none; }
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  padding: clamp(28px, 7vw, 80px) 0 clamp(40px, 10vw, 100px);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero-copy {
  max-width: 560px;
}

/* Eyebrow pill */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill);
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

/* Hero headline */
.hero-title {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 92px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 22px;
  text-wrap: pretty;
  padding: 0.18em 0;
}
.hero-tagline {
  font-family: "GothamRounded", sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.45;
  color: var(--fg-dim);
  max-width: 460px;
  margin: 0 0 28px;
}

.hero-cta {
  /* Match the tagline's max-width so the badge centers within the same
     visual column above it, not the full hero-copy width. */
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 460px;
  margin-top: 4px;
}
.appstore-badge {
  display: inline-block;
  border-radius: 10px;
  transition: transform 0.18s ease;
}
.appstore-badge:hover { transform: translateY(-2px); }

/* Phone mockups */
.phone-wrap {
  position: relative;
  min-height: 520px;
}
.phone {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 1px 0 rgba(255,255,255,.10);
  transition: transform 0.4s ease;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}
.phone-front {
  width: clamp(240px, 32vw, 340px);
  margin: 0 auto;
  transform: rotate(-4deg);
  position: relative;
  z-index: 2;
}
.phone-back {
  width: clamp(220px, 28vw, 300px);
  position: absolute;
  top: 30px;
  right: 0;
  transform: rotate(8deg);
  opacity: 0.92;
  z-index: 1;
}
@media (max-width: 820px) {
  .phone-back { display: none; }
}

/* Floating emoji */
.float-emoji {
  position: absolute;
  font-size: 44px;
  z-index: 3;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}
.emoji-1 { top: -8px; left: 4%; animation-delay: 0s; }
.emoji-2 { bottom: 4%; right: 12%; animation-delay: 2s; font-size: 38px; }
.emoji-3 { top: 38%; right: -2%; animation-delay: 4s; font-size: 50px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 820px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .phone-wrap {
    min-height: auto;
  }
  .phone-front {
    transform: rotate(0);
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .appstore-badge { display: block; margin: 0 auto; }
  .hero-cta-meta { text-align: center; }
}

/* ─── Marquee ───────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--fg-dim);
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-track .sep {
  color: rgba(255,255,255,.4);
  font-weight: 700;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Section base ──────────────────────────────────────── */
.section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}
.section-eyebrow {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}
.section-title {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 5.4vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  text-transform: none;
  text-wrap: pretty;
  padding: 0.18em 0;
}
.section-lead {
  font-family: "GothamRounded", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 540px;
  margin: 0 0 40px;
}

/* ─── Tiles ─────────────────────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.tile {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.07));
  border: 1px solid var(--tile-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.tile:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.10));
  border-color: rgba(255,255,255,.22);
}
.tile-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  pointer-events: none;
}
.tile-glow-1 { background: var(--hero-from); }
.tile-glow-2 { background: var(--cyan); }
.tile-glow-3 { background: var(--hero-to); }
.tile-glow-4 { background: var(--premium-from); }
.tile-glow-5 { background: var(--premium-to); }
.tile-glow-6 { background: var(--hot-pink); }
.tile-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.tile-title {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.tile-desc {
  font-family: "GothamRounded", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ─── Showcase ──────────────────────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 40px);
  margin-top: 40px;
}
.showcase-phone {
  margin: 0;
  text-align: center;
  transition: transform 0.4s ease;
}
.showcase-phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(255,255,255,.08);
  margin-bottom: 16px;
}
.showcase-phone figcaption {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.showcase-phone.phone-1 { transform: translateY(20px) rotate(-3deg); }
.showcase-phone.phone-2 { transform: translateY(-20px); }
.showcase-phone.phone-3 { transform: translateY(10px) rotate(3deg); }
.showcase-phone:hover { transform: translateY(-12px) rotate(0); }

@media (max-width: 700px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .showcase-phone.phone-1,
  .showcase-phone.phone-2,
  .showcase-phone.phone-3 {
    transform: none;
  }
}

/* ─── FAQ ───────────────────────────────────────────────── */
.faq-container { }
.faq-list {
  max-width: 760px;
  margin: 40px auto 0;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  text-align: left;
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--cyan); }
.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  transition: transform 0.35s ease, background 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  background: var(--cyan);
  color: var(--bg-card);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 4px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 4px 22px;
}
.faq-a p {
  font-family: "GothamRounded", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
}

/* ─── Contact ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: stretch;
}
.contact-intro .section-title { margin-bottom: 14px; }
.email-pill {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.30);
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--fg);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.email-pill:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.50);
  color: var(--cyan);
}

.contact-card {
  border-radius: var(--r-card);
  padding: clamp(32px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(255,46,147,.18), rgba(155,43,239,.18)),
    rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: var(--fg);
  font-family: "GothamRounded", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea {
  resize: vertical;
  min-height: 120px;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(135deg, transparent 50%, rgba(255,255,255,.6) 50%),
                    linear-gradient(45deg, rgba(255,255,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.form-field select option {
  color: var(--bg-card);
  background: #fff;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--fg-faint); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,.25);
}
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 14px 26px;
  background: #fff;
  color: var(--bg-card);
  border: 0;
  border-radius: var(--r-pill);
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.form-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0,0,0,.30);
}
.form-submit span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.form-submit:hover span { transform: translateX(4px); }
.form-meta {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--fg-mute);
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ─── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 48px 0 64px;
  margin-top: 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: "GothamRounded", sans-serif;
  font-size: 13px;
  color: var(--fg-mute);
  margin: 0;
}
.footer-copy a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.footer-copy a:hover {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}
.footer-nav {
  display: flex;
  gap: 22px;
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 13px;
}
.footer-nav a {
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--cyan); }
.footer-nav a[aria-current="page"] { color: var(--fg); }

/* ─── Legal pages (privacy / terms) ─────────────────────── */
.legal-page {
  padding: clamp(40px, 7vw, 80px) 0 clamp(60px, 10vw, 100px);
}
.legal-page .container { max-width: 760px; }
.legal-page .section-title {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 8px;
}
.legal-meta {
  font-family: "GothamRounded", sans-serif;
  font-size: 13px;
  color: var(--fg-mute);
  margin: 0 0 40px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-prose {
  font-family: "GothamRounded", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-dim);
}
.legal-prose .legal-intro {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--r-card);
  padding: 22px 26px;
  margin: 0 0 40px;
}
.legal-prose h2 {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.005em;
  color: var(--fg);
  margin: 48px 0 16px;
}
.legal-prose h3 {
  font-family: "HelveticaRounded", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 28px 0 10px;
}
.legal-prose p {
  margin: 0 0 14px;
}
.legal-prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-prose li {
  margin-bottom: 8px;
}
.legal-prose strong {
  color: var(--fg);
  font-weight: 700;
}
.legal-prose a {
  color: var(--fg);
  border-bottom: 1px solid rgba(255,255,255,.30);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-prose a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.legal-prose code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  background: rgba(255,255,255,.10);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--fg);
}
