/* ReelDrama official site — dark/gold theme. Tokens mirror the app's colors.xml. */
:root {
  --gold: #fdd905;
  --gold-2: #f4cc00;
  --red: #f5455f;
  --purple: #8e5be8;

  --bg: #0d0d0f;
  --bg-elev: #161717;
  --bg-card: #1a1a1c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #ffffff;
  --text-dim: #b6b6bd;
  --text-mute: #8a8a92;

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow-gold: 0 0 80px rgba(253, 217, 5, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 13, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.2px;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span b { color: var(--gold); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  color: var(--text-dim);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 42px;
  height: 38px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #161200;
  box-shadow: 0 10px 28px rgba(253, 217, 5, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(253, 217, 5, 0.36); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn .play { font-size: 13px; }
.btn small { display: block; font-weight: 600; font-size: 11px; opacity: 0.7; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #161200;
  padding: 12px 22px 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(253, 217, 5, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(253, 217, 5, 0.38); }
.store-btn .gp-icon {
  width: 26px; height: 26px; flex: none;
}
.store-btn .gp-text { line-height: 1.1; text-align: left; }
.store-btn .gp-text small { display: block; font-size: 11px; font-weight: 600; opacity: 0.72; }
.store-btn .gp-text strong { font-size: 16px; font-weight: 800; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(253, 217, 5, 0.16) 0%, rgba(142, 91, 232, 0.08) 38%, transparent 66%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(253, 217, 5, 0.1);
  border: 1px solid rgba(253, 217, 5, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  margin: 22px 0 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 60%, var(--purple) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--text-mute); }

/* Phone mockups */
.phone {
  position: relative;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2e, #0e0e10);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), var(--glow-gold);
}
.phone .screen {
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hero-phone { max-width: 320px; margin: 0 auto; }

/* ---------- Section primitives ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 14px;
}
.section-head p { font-size: 17px; color: var(--text-dim); margin: 0; }
.alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.feature .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(253, 217, 5, 0.12);
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; }
.feature p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 8px; }
.step .num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 22px;
  color: #161200;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 8px 22px rgba(253, 217, 5, 0.3);
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.shot { text-align: center; }
.shot .phone { padding: 8px; border-radius: 30px; }
.shot .phone .screen { border-radius: 24px; }
.shot figcaption { margin-top: 16px; font-size: 14px; color: var(--text-dim); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 22px;
  margin-bottom: 14px;
  transition: border-color 0.18s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  flex: none;
  color: var(--gold);
  transition: transform 0.2s ease;
  font-size: 20px;
}
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-dim); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(253, 217, 5, 0.14), transparent 60%), var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  margin: 0 auto;
}
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 12px; font-weight: 800; }
.cta-band p { color: var(--text-dim); margin: 0 0 28px; font-size: 17px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 40px;
  margin-top: 84px;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .brand { font-size: 17px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--text-dim); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.copyright { width: 100%; color: var(--text-mute); font-size: 13px; padding-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 14px 24px 20px;
  }
  .nav.open a { padding: 10px 0; width: 100%; }
  .nav.open .store-btn { margin-top: 8px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }
  .section { padding: 60px 0; }
  .features, .steps { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
}
