@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0c1222;
  --ink-soft: #1a2336;
  --paper: #f6f3ec;
  --card: #fffcf7;
  --line: #e6e0d4;
  --muted: #6b6458;
  --text: #1c1914;
  --gold: #d4a017;
  --gold-deep: #b8860b;
  --green: #1f7a45;
  --green-soft: #d9f0e3;
  --shadow: 0 22px 60px rgba(12, 18, 34, 0.1);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Outfit, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--text);
}
a { color: var(--gold-deep); }
img { max-width: 100%; display: block; }

.m-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 18, 34, .94);
  color: #f6f3ec;
  backdrop-filter: blur(10px);
}
.m-top-inner, .m-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.m-top-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px;
  background: linear-gradient(145deg, #f3c34a, #b8860b);
  color: var(--ink); display: grid; place-items: center; font-weight: 800;
}
.brand-name { font-weight: 700; letter-spacing: -.03em; }
.m-links { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; }
.m-links a { color: #e8e2d6; text-decoration: none; font-size: .9rem; }
.m-links .btn { color: #0c1222; }

.btn {
  border: 0; border-radius: 12px; padding: .72rem 1.05rem;
  font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block;
}
.btn-primary { background: #f3c34a; color: var(--ink); }
.btn-ink { background: var(--ink); color: #f6f3ec; }
.btn-ghost { background: transparent; color: #f6f3ec; border: 1px solid rgba(246,243,236,.2); }
.btn-secondary { background: #efe8da; color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3.2rem 0 2.4rem;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
}
.hero .eyebrow {
  margin: 0 0 .55rem;
  color: var(--gold-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: var(--ink);
}
.hero p.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.65; max-width: 36rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-note { margin-top: 1rem; color: var(--muted); font-size: .88rem; }
.hero-art {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  min-height: 280px;
  background: #1a1408 center/cover no-repeat;
}

.section { padding: 3.2rem 0; }
.section h2 { font-size: 2rem; letter-spacing: -.04em; margin: 0 0 .5rem; }
.section .sub { color: var(--muted); max-width: 40rem; line-height: 1.6; margin: 0 0 1.6rem; }

.grid-3, .grid-4 {
  display: grid;
  gap: 1rem;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 .4rem; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }

.price {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price .amt { font-size: 2rem; font-weight: 800; letter-spacing: -.04em; margin: .4rem 0; }
.price .amt span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price ul { margin: .6rem 0 1.2rem; padding-left: 1.1rem; color: var(--ink-soft); line-height: 1.7; }
.price.featured { border: 2px solid var(--gold); background: #fffdf6; }

.films { display: grid; gap: 1.4rem; }
.film {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (max-width: 800px) { .film { grid-template-columns: 1fr; } }
.film-stage {
  position: relative;
  min-height: 280px;
  background: #111;
  overflow: hidden;
}
.film-stage img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; opacity: .88; }
.film-overlay { position: absolute; inset: 0; pointer-events: none; }
.film-meta { padding: 1.3rem 1.4rem 1.5rem; }
.film-meta h3 { margin: 0 0 .4rem; }
.film-meta p { color: var(--muted); line-height: 1.55; }

.toy-phone {
  position: absolute;
  right: 8%;
  bottom: -40%;
  width: 168px;
  height: 320px;
  background: #0c1222;
  border-radius: 28px;
  border: 4px solid #2a3144;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  padding: 18px 12px;
  animation: phone-up 12s ease infinite;
}
.toy-sheet {
  background: #fffcf7;
  border-radius: 16px;
  padding: .85rem;
  color: var(--ink);
  height: 100%;
}
.toy-sheet strong { display: block; font-size: .78rem; }
.toy-amount { display: block; font-size: 1.4rem; font-weight: 800; margin: .45rem 0 .7rem; }
.toy-pin { display: flex; gap: .35rem; }
.toy-pin i {
  width: 12px; height: 12px; border-radius: 50%;
  background: #efe8da; display: block;
  animation: pin-fill 12s ease infinite;
}
.toy-pin i:nth-child(2) { animation-delay: .25s; }
.toy-pin i:nth-child(3) { animation-delay: .5s; }
.toy-pin i:nth-child(4) { animation-delay: .75s; }
.toy-ok {
  margin-top: 1rem;
  background: var(--green-soft);
  color: #14532d;
  border-radius: 10px;
  padding: .45rem;
  text-align: center;
  font-weight: 700;
  opacity: 0;
  animation: ok-in 12s ease infinite;
}
@keyframes phone-up {
  0%, 8% { bottom: -40%; }
  18%, 88% { bottom: 8%; }
  100% { bottom: -40%; }
}
@keyframes pin-fill {
  0%, 28% { background: #efe8da; }
  36%, 100% { background: var(--ink); }
}
@keyframes ok-in {
  0%, 48% { opacity: 0; transform: translateY(8px); }
  56%, 88% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

.bars {
  position: absolute;
  left: 8%;
  bottom: 12%;
  display: flex;
  gap: 10px;
  align-items: flex-end;
  height: 140px;
}
.bars b {
  width: 22px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#f3c34a, #b8860b);
  animation: bar-grow 10s ease infinite;
}
.bars b:nth-child(1) { height: 40%; animation-delay: 0s; }
.bars b:nth-child(2) { height: 70%; animation-delay: .15s; }
.bars b:nth-child(3) { height: 55%; animation-delay: .3s; }
.bars b:nth-child(4) { height: 90%; animation-delay: .45s; }
.bars b:nth-child(5) { height: 62%; animation-delay: .6s; }
@keyframes bar-grow {
  0%, 10% { transform: scaleY(.15); transform-origin: bottom; }
  30%, 80% { transform: scaleY(1); }
  100% { transform: scaleY(.15); }
}

.role-cards {
  position: absolute;
  inset: auto 8% 10% 8%;
  display: grid;
  gap: .6rem;
}
.role-cards span {
  background: rgba(255,252,247,.94);
  border-radius: 12px;
  padding: .65rem .8rem;
  font-weight: 700;
  color: var(--ink);
  animation: card-in 11s ease infinite;
}
.role-cards span:nth-child(2) { animation-delay: 1.2s; }
@keyframes card-in {
  0%, 12% { opacity: 0; transform: translateY(16px); }
  22%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}

.film.paused .toy-phone,
.film.paused .toy-pin i,
.film.paused .toy-ok,
.film.paused .bars b,
.film.paused .role-cards span { animation-play-state: paused; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  margin-bottom: .6rem;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: .5rem 0 0; line-height: 1.55; }

.m-foot {
  background: var(--ink);
  color: #c8c0b2;
  padding: 2rem 0;
  margin-top: 2rem;
}
.m-foot a { color: #f3c34a; }

.welcome-shell { min-height: 100vh; }
.welcome-progress {
  max-width: 640px;
  margin: 1.2rem auto 0;
  padding: 0 1.25rem;
  display: flex;
  gap: .35rem;
}
.welcome-progress i {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: #e6e0d4;
}
.welcome-progress i.on { background: var(--gold); }
.welcome-card {
  max-width: 640px;
  margin: 1.2rem auto 3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem 1.7rem;
}
.welcome-card h1 { margin: 0 0 .4rem; letter-spacing: -.04em; font-size: 1.7rem; }
.welcome-card .sub { margin-bottom: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 999px;
  padding: .5rem .9rem;
  font: inherit;
  cursor: pointer;
}
.chip.on { background: var(--ink); color: #f6f3ec; border-color: var(--ink); }
.welcome-card label { display: block; font-size: .8rem; font-weight: 650; margin: .9rem 0 .35rem; }
.welcome-card input, .welcome-card textarea {
  width: 100%;
  padding: .78rem .85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  background: #fffdf8;
}
.welcome-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.step { display: none; }
.step.on { display: block; }
.alert { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; }
.alert.show { display: block; }
.alert.error { background: #fde8e6; color: #b42318; }
.alert.success { background: var(--green-soft); color: #14532d; }
.done-list { padding-left: 1.1rem; line-height: 1.7; }
