/* Repvana — marketing site. Brand: electric green (#33EE8F) on near-black, rounded-heavy. */
:root {
  --ink: #0a0c0c;
  --ink-2: #0e1311;
  --surface: #131a17;
  --surface-2: #18211d;
  --line: #23302a;
  --text: #e9f1ec;
  --muted: #9db0a6;
  --accent: #33ee8f;
  --accent-dim: #1f9c63;
  --radius: 18px;
  --maxw: 1080px;
  --font: -apple-system, "SF Pro Rounded", ui-rounded, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* Glowing wordmark: "Rep" white + "vana" accent (mirrors the in-app Wordmark). */
.wordmark { font-weight: 800; letter-spacing: -0.03em; }
.wordmark .v { color: var(--accent); text-shadow: 0 0 18px rgba(51,238,143,0.55); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10,12,12,0.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .brand { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.nav .brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav .links { display: flex; gap: 22px; align-items: center; }
.nav .links a { color: var(--text); font-weight: 600; font-size: 15px; }
.btn {
  display: inline-block; background: var(--accent); color: #04130b;
  font-weight: 800; padding: 11px 18px; border-radius: 12px;
  box-shadow: 0 0 24px rgba(51,238,143,0.28);
}
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
/* "Coming soon to the App Store" — a status badge, not a working download link. */
.btn.soon { background: rgba(51,238,143,0.12); color: var(--accent); border: 1px solid rgba(51,238,143,0.45); box-shadow: none; cursor: default; }
.btn.soon:hover { filter: none; }
/* Language flag toggle (EN ⇄ ES). */
.lang-btn { background: transparent; border: 1px solid var(--line); color: var(--text); font: 600 14px var(--font); border-radius: 999px; padding: 7px 12px; cursor: pointer; line-height: 1; }
.lang-btn:hover { border-color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(51,238,143,0.16), transparent 70%);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 70px 22px 60px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); margin: 0 0 16px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 30ch; margin: 0 0 28px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.badge-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Phone frame */
.phone {
  width: 280px; max-width: 78vw; aspect-ratio: 9 / 19.5; margin: 0 auto;
  border-radius: 42px; background: #05080a; border: 2px solid #283631;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 60px rgba(51,238,143,0.10);
  padding: 10px; position: relative;
}
.phone .screen { width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: var(--ink-2); }
.phone .screen img, .phone .screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #05080a; border-radius: 12px; }
/* Hero reel plays the camera footage (9:16). Size the SCREEN to 9:16 (not the outer frame, whose
   padding would offset the ratio) so the video fills it exactly and the rep HUD is never cropped. */
.phone.phone-reel { aspect-ratio: auto; padding: 8px; }
.phone.phone-reel .screen { height: auto; aspect-ratio: 9 / 16; }
.hero .phone { justify-self: center; }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(51,238,143,0.12); border: 1px solid rgba(51,238,143,0.25); margin-bottom: 14px; }
.card h3 { font-size: 18px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Screenshot gallery */
.shots { display: flex; gap: 22px; overflow-x: auto; padding: 8px 22px 22px; scroll-snap-type: x mandatory; }
.shots .phone { scroll-snap-align: center; flex: 0 0 auto; width: 240px; }
.shots .cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 10px; }
.shot-item { flex: 0 0 auto; }

/* Privacy band */
.band { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.privacy-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.privacy-points li { list-style: none; }
.privacy-points { padding: 0; margin: 0; }
.privacy-points .pt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.privacy-points .pt b { color: var(--text); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(51,238,143,0.14); }
.plan .price { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan ul { text-align: left; padding-left: 18px; color: var(--muted); margin: 16px 0 0; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .brand { display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--text); }
footer .brand img { width: 26px; height: 26px; border-radius: 7px; }
footer .flinks { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Long-form (privacy / support) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 22px 80px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc .updated { color: var(--accent); font-size: 14px; margin-bottom: 28px; }
.doc a.back { font-weight: 600; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero .cta { justify-content: center; }
  .features, .privacy-points, .pricing { grid-template-columns: 1fr; }
  .nav .links a:not(.btn) { display: none; }
}
