/* ---------------------------------------------------------
   BatMoji — landing page (pre-launch)
   Design system: native CSS, no framework (static site).
   Palette: violet/magenta on near-black, matched to the
   app's own dark pastel-candy UI. Deliberate dark-only
   theme (Section 4.11), distinct from the Voca (coral) and
   Gaming VPN (cyan) sibling apps in this repo.
--------------------------------------------------------- */

:root {
  --bg: #150C1D;
  --bg-elevated: #1F1329;
  --text: #F6EEFC;
  --text-muted: #B29FC4;
  --accent: #E85FD1;
  --accent-2: #8C5CF5;
  --border: rgba(246, 238, 252, 0.08);
  --shadow: rgba(232, 95, 209, 0.28);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --font-display: "Outfit", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */

.nav {
  max-width: 1200px;
  margin-inline: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.nav__cta { font-size: 0.9rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn i { font-size: 1.1rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 28px -8px var(--shadow);
}

.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost:active { transform: scale(0.98); }

/* ---------- Hero ---------- */

.hero {
  max-width: 1200px;
  margin-inline: auto;
  padding: 24px 24px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__copy { max-width: 560px; }

.hero__headline {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

.hero__sub {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero__actions { margin-top: 32px; }

.hero__meta {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: min(320px, 80vw);
  aspect-ratio: 9 / 16;
  border-radius: 44px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.phone-frame__glow {
  position: absolute;
  inset: -20%;
  z-index: -1;
  background: radial-gradient(circle at 30% 20%, var(--shadow), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.phone-frame__shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

/* ---------- Sections ---------- */

.section {
  max-width: 1200px;
  margin-inline: auto;
  padding: 80px 24px;
}

.section__title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  max-width: 22ch;
  margin-bottom: 16px;
}

.features .section__title { margin-bottom: 48px; }

/* ---------- Bento (features) ---------- */

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

.bento__cell {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
}

.bento__cell h3 { font-size: 1.3rem; }
.bento__cell p { color: var(--text-muted); max-width: 40ch; }

.bento__icon {
  font-size: 1.8rem;
  color: var(--accent);
}

.bento__cell--large {
  grid-row: span 2;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  justify-content: center;
}

.bento__shot {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bento__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.bento__cell--accent .bento__scrim {
  background: linear-gradient(180deg, rgba(232, 95, 209, 0.3) 0%, rgba(10, 4, 15, 0.94) 78%);
}

.bento__cell--accent-2 .bento__scrim {
  background: linear-gradient(180deg, rgba(140, 92, 245, 0.3) 0%, rgba(10, 4, 15, 0.94) 78%);
}

.bento__cell--accent,
.bento__cell--accent-2 {
  color: #fff;
  justify-content: flex-end;
  min-height: 320px;
}

.bento__cell--accent p,
.bento__cell--accent-2 p { color: rgba(246, 238, 252, 0.8); }

.bento__cell--accent .bento__icon,
.bento__cell--accent-2 .bento__icon { color: #fff; }

/* ---------- Styles (chip row) ---------- */

.styles__sub {
  max-width: 46ch;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.styles__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.styles__chips li {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Closing CTA ---------- */

.cta__box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta__box h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  max-width: 20ch;
}

/* ---------- Footer ---------- */

.footer {
  max-width: 1200px;
  margin-inline: auto;
  padding: 48px 24px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}

.footer__meta {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 8px;
    padding-bottom: 64px;
  }

  .hero__visual { order: -1; }

  .hero__copy { max-width: 100%; }

  .bento {
    grid-template-columns: 1fr;
  }

  .bento__cell--large { grid-row: auto; }

  .section { padding: 56px 20px; }

  .cta__box { padding: 48px 24px; }
}
