/* Selah marketing site — tokens follow docs/DESIGN.md ("Dusk Worship") */
:root {
  --night: #1C1440;
  --ink: #24185A;
  --plum: #8E4593;
  --coral: #F2967C;
  --dawn: #FFDDA6;
  --gold: #F6B94A;
  --primary: #6B3FA0;
  --on-primary: #FFFFFF;
  --bg: #FBF7F4;
  --surface: #FFFFFF;
  --surface-muted: #F3ECF4;
  --text: #1F1A2E;
  --text-2: #6E6880;
  --outline: #E7DFEA;
  --shadow: 0 2px 12px rgba(31, 26, 46, .06);
  --dusk: linear-gradient(0deg, #24185A 0%, #8E4593 50%, #F2967C 82%, #FFDDA6 100%);
  --radius: 20px;
  --max: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --gold: #FFC96B;
    --primary: #C9A7F5;
    --on-primary: #24124A;
    --bg: #120E26;
    --surface: #1C1738;
    --surface-muted: #262046;
    --text: #F4EFFA;
    --text-2: #A9A2C0;
    --outline: #332C55;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--outline);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--text); }
.lang {
  font-size: 13px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--outline); border-radius: 999px; padding: 5px 12px;
}
@media (max-width: 760px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 16px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .12s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-store { background: #fff; color: #1F1A2E; }
.btn-store small { display: block; font-size: 11px; font-weight: 500; opacity: .65; line-height: 1.1; }
.btn-store span { line-height: 1.15; text-align: left; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-primary { background: var(--primary); color: var(--on-primary); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dusk); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 82% 4%, rgba(255,247,224,.75), transparent 70%);
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding-top: 72px; padding-bottom: 0;
}
.hero-copy { padding-bottom: 72px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 60px); line-height: 1.15; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--night);
}
.hero h1 em { font-style: normal; color: #fff; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); margin: 0 0 30px; color: rgba(255,255,255,.92); max-width: 30em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.soon { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.8); }
.hero-shot { align-self: end; justify-self: center; width: min(360px, 100%); }
.hero-shot img {
  width: 100%; aspect-ratio: 480 / 760; object-fit: cover; object-position: top;
  border-radius: 40px 40px 0 0;
  filter: drop-shadow(0 -6px 40px rgba(28,20,64,.35));
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; gap: 8px; }
  .hero-copy { padding-bottom: 32px; }
  .hero-shot { width: min(320px, 86%); }
}

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.kicker { color: var(--plum); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 10px; }
@media (prefers-color-scheme: dark) { .kicker { color: var(--coral); } }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -.015em; margin: 0 0 14px; }
h3 { font-size: 21px; line-height: 1.35; margin: 0 0 10px; }
.sub { color: var(--text-2); font-size: 18px; margin: 0; }

/* Problem strip */
.strip { padding: 56px 0; border-bottom: 1px solid var(--outline); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; }
.strip-item .num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--surface-muted); color: var(--primary);
}
.strip-item p { margin: 4px 0 0; color: var(--text-2); }
.strip-item strong { color: var(--text); display: block; }
@media (max-width: 760px) { .strip-grid { grid-template-columns: 1fr; } }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 40px 0;
}
.feature + .feature { border-top: 1px solid var(--outline); }
.feature.flip .feature-media { order: -1; }
.feature-media { display: flex; justify-content: center; }
.feature-media img.phone {
  width: min(300px, 100%);
  filter: drop-shadow(0 12px 32px rgba(36, 24, 90, .16));
}
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { position: relative; padding-left: 28px; margin: 10px 0; }
.feature li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--plum));
}
.tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--text); margin-left: 6px; vertical-align: 2px;
}
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-media { order: 0; }
}

/* Stage mode (dark band) */
.stage { background: #0E0B1E; color: #F4EFFA; }
.stage .sub { color: #A9A2C0; }
.stage .kicker { color: var(--coral); }
.stage-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stage-shots img { border-radius: 16px; border: 1px solid #332C55; width: 100%; }
.stage-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.stage-points div { border-top: 1px solid #332C55; padding-top: 14px; color: #A9A2C0; font-size: 15px; }
.stage-points strong { display: block; color: #F4EFFA; font-size: 16px; margin-bottom: 4px; }
@media (max-width: 760px) {
  .stage-shots { grid-template-columns: 1fr; }
  .stage-points { grid-template-columns: 1fr 1fr; }
}

/* Small feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--outline); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--surface-muted); color: var(--primary);
}
.card .ico svg { width: 24px; height: 24px; }
.card p { margin: 0; color: var(--text-2); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Gallery */
.gallery-sec { background: var(--surface-muted); }
.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 20px 16px; margin: 0 -20px;
  scrollbar-width: thin;
}
.gallery img {
  flex: none; width: 240px; border-radius: 22px; scroll-snap-align: start;
  box-shadow: var(--shadow);
}

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan {
  background: var(--surface); border: 1px solid var(--outline); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.plan.pro {
  position: relative; border: 0; color: #fff;
  background: linear-gradient(165deg, #24185A 0%, #5B2F7E 45%, #8E4593 75%, #D97A86 100%);
}
.plan.pro .price small, .plan.pro .muted { color: rgba(255,255,255,.85); }
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--text-2); }
.muted { color: var(--text-2); font-size: 14.5px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; }
.plan li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--outline); }
.plan.pro li { border-color: rgba(255,255,255,.22); }
.plan li::before { content: "✓"; position: absolute; left: 4px; font-weight: 700; color: var(--primary); }
.plan.pro li::before { color: var(--dawn); }
.plan-note { margin-top: 20px; font-size: 14px; color: var(--text-2); }
.plan.premium { border: 1.5px solid var(--gold); }
.plan.premium li::before { color: var(--gold); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; } }

/* FAQ */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--outline); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--text-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--text-2); }

/* Closing CTA */
.closing { background: var(--dusk); color: #fff; text-align: center; position: relative; overflow: hidden; }
.closing h2 { color: #fff; }
.closing p { color: rgba(255,255,255,.9); margin: 0 0 28px; font-size: 18px; }
.closing .ctas { justify-content: center; }
.closing img.icon { width: 84px; height: 84px; margin: 0 auto 20px; filter: drop-shadow(0 8px 24px rgba(28,20,64,.35)); }

/* Footer */
footer { padding: 40px 0 56px; font-size: 14px; color: var(--text-2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Entry animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Launch promotion banner (pricing) */
.promo {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(120deg, rgba(255,221,166,.55), rgba(242,150,124,.35));
  border: 1px solid rgba(242,150,124,.6); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 24px;
}
.promo strong { display: block; font-size: 18px; line-height: 1.4; }
.promo p { margin: 6px 0 0; color: var(--text-2); }
.promo-tag {
  flex: none; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--night); color: var(--dawn); margin-top: 2px;
}
@media (prefers-color-scheme: dark) {
  .promo { background: linear-gradient(120deg, rgba(142,69,147,.35), rgba(242,150,124,.18)); border-color: rgba(242,150,124,.35); }
  .promo-tag { background: var(--dawn); color: var(--night); }
}
@media (max-width: 560px) { .promo { flex-direction: column; gap: 10px; } }
