/* Ovation marketing site — design system, matched to the app. */

:root {
  --coral: #ff6b5b;
  --coral-deep: #e8472f;
  --coral-soft: #ff8c7e;
  --violet: #8b7bff;
  --violet-deep: #6a52e8;
  --mint: #3fd08a;
  --gold: #ffc44d;
  --rose: #ff5c72;

  --ink: #100e16;
  --ink-2: #181522;
  --slate: #1f1b2e;
  --slate-2: #2a2540;
  --line: #332d49;

  --cloud: #f6f4fb;
  --fog: #a39dba;
  --mist: #6e6786;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --maxw: 1080px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cloud);
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* warm radial glows in the backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 50vh at 80% -5%, rgba(255, 107, 91, 0.16), transparent 60%),
    radial-gradient(50vw 40vh at 10% 10%, rgba(139, 123, 255, 0.12), transparent 60%),
    radial-gradient(60vw 60vh at 50% 110%, rgba(63, 208, 138, 0.08), transparent 60%);
}

a { color: var(--coral); text-decoration: none; }
a:hover { color: var(--coral-soft); }

h1, h2, h3 { font-family: "Nunito", sans-serif; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 800; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 11vw, 130px) 0; position: relative; }

.eyebrow {
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.lead { color: var(--fog); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.muted { color: var(--mist); }
.center { text-align: center; }

/* ── Buttons (chunky + tactile, like the app) ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: #fff;
  background: var(--coral);
  border: none;
  border-radius: 16px;
  padding: 15px 26px;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--coral-deep);
  transition: transform 0.06s var(--ease), box-shadow 0.06s var(--ease), filter 0.2s;
}
.btn:hover { filter: brightness(1.04); color: #fff; }
.btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--coral-deep); }
.btn.secondary {
  background: var(--slate-2);
  color: var(--cloud);
  box-shadow: 0 5px 0 var(--line);
}
.btn.secondary:active { box-shadow: 0 0 0 var(--line); }
.btn.ghost { background: transparent; box-shadow: none; color: var(--coral); padding: 12px 16px; }
.btn.ghost:active { transform: none; }

/* App Store badge button */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 11px 20px;
  color: var(--cloud);
}
.store-badge:hover { color: var(--cloud); border-color: var(--mist); }
.store-badge small { display: block; font-size: 0.7rem; color: var(--fog); font-weight: 700; }
.store-badge strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }

/* ── Cards & tiles ────────────────────────────────────────── */
.card {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.emoji-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 30%;
  font-size: 32px;
  background: var(--slate-2);
}
.tint-coral { background: rgba(255, 107, 91, 0.18); }
.tint-violet { background: rgba(139, 123, 255, 0.18); }
.tint-mint { background: rgba(63, 208, 138, 0.18); }
.tint-gold { background: rgba(255, 196, 77, 0.18); }
.tint-rose { background: rgba(255, 92, 114, 0.18); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--fog);
  background: var(--slate);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
}
.chip.on { background: var(--coral); border-color: var(--coral); color: #fff; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(16, 14, 22, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 1.25rem; color: var(--cloud); letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--fog); font-weight: 700; }
.nav-links a:hover { color: var(--cloud); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding-top: clamp(48px, 8vw, 90px); text-align: center; }
.hero h1 { margin: 18px auto 20px; max-width: 14ch; }
.hero .lead { max-width: 46ch; margin: 0 auto 36px; }
.hero-accent { color: var(--coral); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* phone mockup */
.phone-wrap { margin-top: 70px; display: flex; justify-content: center; perspective: 1400px; }
.phone {
  width: 300px;
  background: #050409;
  border-radius: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 8px #0c0a12;
}
.phone-screen {
  background: var(--ink);
  border-radius: 33px;
  overflow: hidden;
  padding: 22px 18px 26px;
  min-height: 560px;
}
.notch { width: 110px; height: 26px; background: #050409; border-radius: 0 0 16px 16px; margin: 0 auto 14px; }

/* mock app content */
.mock-greet { font-weight: 900; font-size: 1.5rem; }
.mock-greet small { display: block; color: var(--fog); font-size: 0.8rem; font-weight: 700; }
.mock-label { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; color: var(--cloud); margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.tv {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  background: #000;
}
.tv .onair { font-size: 0.6rem; font-weight: 900; letter-spacing: 0.15em; color: var(--mint); }
.tv .big { font-size: 52px; }
.tv .who { font-size: 0.8rem; color: var(--fog); }
.tv .who b { color: var(--coral-soft); }
.tv-static {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: var(--noise);
  background-size: 180px;
  animation: boil 0.5s steps(4) infinite;
}
@keyframes boil { to { background-position: 180px 0; } }

.mock-feed { margin-top: 14px; display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 12px; background: var(--slate); border: 1px solid var(--line); border-radius: 16px; padding: 11px; }
.mock-row .emoji-tile { width: 42px; height: 42px; font-size: 22px; }
.mock-row b { font-weight: 800; font-size: 0.9rem; }
.mock-row span { display: block; color: var(--fog); font-size: 0.78rem; }

/* ── How it works ─────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.step { text-align: center; }
.step .num { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; background: var(--coral); box-shadow: 0 4px 0 var(--coral-deep); margin-bottom: 18px; }
.step p { color: var(--fog); margin-top: 8px; }

/* ── Features ─────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 52px; }
.feature { background: var(--slate); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform 0.3s var(--ease), border-color 0.3s; }
.feature:hover { transform: translateY(-5px); border-color: var(--mist); }
.feature h3 { margin: 18px 0 8px; }
.feature p { color: var(--fog); }

/* ── Vibe / categories strip ──────────────────────────────── */
.vibe-strip { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 1.1rem; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-weight: 900; font-size: 1.5rem; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fog); padding-bottom: 18px; }

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band .card { background: linear-gradient(160deg, rgba(255,107,91,0.14), rgba(139,123,255,0.1)); border-color: rgba(255,107,91,0.3); padding: clamp(40px, 7vw, 72px); }

/* ── Footer ───────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--fog); font-weight: 600; margin-bottom: 9px; }
.footer-col a:hover { color: var(--cloud); }
.footer-bottom { margin-top: 44px; color: var(--mist); font-size: 0.85rem; }

/* ── Legal / doc pages ────────────────────────────────────── */
.doc { max-width: 760px; margin: 0 auto; padding: 60px 24px 100px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.doc h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--coral); }
.doc p, .doc li { color: var(--fog); }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li { margin-bottom: 8px; }
.doc .updated { margin-top: 56px; color: var(--mist); font-size: 0.85rem; }
.back-home { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 28px; }

/* ── Scroll-reveal animation ──────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: floaty 5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .tv-static { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
}
