/* ============================================================
   Movvie — movvie.app  ·  V2 site
   Cinematic: near-black, warm off-white, one champagne-gold accent.
   No red. Ever.
   ============================================================ */

:root {
  --bg: #0A0A0C;
  --bg-raise: #121114;
  --bg-card: #151318;
  --text: #F2EDE4;
  --text-dim: rgba(242, 237, 228, 0.64);
  --text-faint: rgba(242, 237, 228, 0.42);
  --gold: #E3B341;
  --champagne: #D8B26E;
  --gold-soft: rgba(227, 179, 65, 0.14);
  --hairline: rgba(242, 237, 228, 0.10);
  --radius: 20px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(227, 179, 65, 0.30); color: var(--text); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--champagne); text-decoration: none; }
a:hover { color: var(--gold); }

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 56px);
  background: rgba(10, 10, 12, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.nav-brand img {
  width: 34px; height: 34px;
  border-radius: 8px;
}

.nav-brand span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--gold);
  color: #0A0A0C !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover { background: var(--champagne); transform: translateY(-1px); }

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 180px) clamp(20px, 5vw, 56px) clamp(60px, 10vh, 110px);
}

/* faint projector beam from the top */
.hero::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 130%; height: 90%;
  background: radial-gradient(ellipse 50% 45% at 50% 0%,
      rgba(227, 179, 65, 0.10), transparent 70%);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 22px;
}

.hero-kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--champagne);
  opacity: 0.7;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(110deg, var(--champagne), var(--gold) 55%, #f0d9a0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-dim);
  font-size: 1.12rem;
  max-width: 46ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.appstore-badge img { height: 54px; width: auto; }
.appstore-badge { transition: transform 0.2s, opacity 0.2s; opacity: 0.95; }
.appstore-badge:hover { transform: translateY(-2px); opacity: 1; }

.hero-note {
  color: var(--text-faint);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-kicker { justify-content: center; }
  .hero-kicker::before { display: none; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-phone { order: -1; margin-top: 8px; }
}

/* ---------------- Phone mockup + backlight ---------------- */

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

/* the screenshot itself, blurred, becomes the ambient glow —
   the same trick the app's feed cards use */
.phone-wrap .backlight {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center;
  filter: blur(64px) saturate(1.5) brightness(0.9);
  opacity: 0.55;
  border-radius: 50%;
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 78vw);
  border-radius: 46px;
  padding: 9px;
  background: #08080a;
  border: 1px solid rgba(242, 237, 228, 0.16);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 4px 18px rgba(0, 0, 0, 0.5);
}

.phone img { border-radius: 38px; }

.phone.small { width: min(260px, 70vw); border-radius: 42px; }
.phone.small img { border-radius: 34px; }

/* ---------------- Section scaffolding ---------------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 110px) clamp(20px, 5vw, 56px);
}

.section-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.12;
  margin-bottom: 18px;
  max-width: 22ch;
}

.section-body {
  color: var(--text-dim);
  font-size: 1.06rem;
  max-width: 54ch;
}

.section-body + .section-body { margin-top: 14px; }

.section-body strong { color: var(--text); font-weight: 600; }

/* alternating feature rows */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}

.feature-row.flip .feature-copy { order: 2; }
.feature-row.flip .phone-wrap { order: 1; }

@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-copy { order: 0; }
  .feature-row.flip .phone-wrap { order: 0; }
  .feature-row .phone-wrap { margin-top: 34px; }
  .section-title { max-width: none; }
}

/* two phones side by side (Rooms) */
.phone-duo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.phone-duo .phone:first-child {
  transform: rotate(-4deg) translateX(12%);
  z-index: 1;
}

.phone-duo .phone:last-child {
  transform: rotate(3deg) translateX(-12%) translateY(36px);
  z-index: 2;
}

@media (max-width: 640px) {
  .phone-duo .phone.small { width: 41vw; border-radius: 26px; padding: 5px; }
  .phone-duo .phone.small img { border-radius: 21px; }
  .phone-duo .phone:last-child { transform: rotate(3deg) translateX(-12%) translateY(20px); }
}

/* divider between big sections */
.rule {
  height: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--hairline) 20%,
      var(--hairline) 80%, transparent);
}

/* ---------------- Small feature grid ---------------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-raise));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(227, 179, 65, 0.35);
  transform: translateY(-3px);
}

.card .card-icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-bottom: 16px;
}

.card .card-icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.card p {
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ---------------- Screenshot strip ---------------- */

.strip-section { padding-left: 0; padding-right: 0; max-width: none; }

.strip-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 44px clamp(20px, 5vw, 56px) 24px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar { display: none; }

.strip .shot {
  flex: 0 0 auto;
  width: 230px;
  border-radius: 30px;
  border: 1px solid rgba(242, 237, 228, 0.14);
  scroll-snap-align: center;
  transition: transform 0.3s;
}

.strip .shot:hover { transform: translateY(-6px); }

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

.cta-final {
  text-align: center;
  position: relative;
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 60% at 50% 100%,
      rgba(227, 179, 65, 0.10), transparent 70%);
  pointer-events: none;
}

.cta-final .section-title { margin-left: auto; margin-right: auto; }
.cta-final .section-body { margin: 0 auto 36px; }
.cta-final .hero-actions { justify-content: center; }

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

footer {
  border-top: 1px solid var(--hairline);
  padding: 48px clamp(20px, 5vw, 56px) 42px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.footer-brand img { width: 40px; height: 40px; border-radius: 9px; }

.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-dim); font-size: 0.94rem; }
.footer-links a:hover { color: var(--text); }

.footer-attrib {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.84rem;
  border-top: 1px solid var(--hairline);
  padding-top: 26px;
}

.footer-attrib img.tmdb { height: 11px; width: auto; opacity: 0.8; }

.footer-made {
  color: var(--text-faint);
  font-size: 0.84rem;
}

.footer-made a { color: var(--text-dim); }

/* ---------------- Prose pages (privacy / terms / changelog) ---------------- */

.prose-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 170px) clamp(20px, 5vw, 40px) 90px;
}

.prose-wrap h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  line-height: 1.1;
  margin-bottom: 10px;
}

.prose-updated {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin-bottom: 48px;
}

.prose-wrap h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 44px 0 14px;
}

.prose-wrap h2 .vtag {
  color: var(--champagne);
  font-size: 0.95rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.prose-wrap p { color: var(--text-dim); margin-bottom: 16px; }
.prose-wrap p strong { color: var(--text); }
.prose-wrap ul { margin: 0 0 16px 22px; color: var(--text-dim); }
.prose-wrap li { margin-bottom: 8px; }
.prose-wrap li strong { color: var(--text); }

.prose-wrap hr {
  border: none;
  height: 1px;
  background: var(--hairline);
  margin: 48px 0;
}

/* changelog version block */
.version {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), transparent);
  padding: 34px 32px 22px;
  margin-bottom: 30px;
}

.version-tag {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0A0A0C;
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.version h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

@media (max-width: 640px) {
  .version { padding: 26px 20px 14px; }
}
