/* Ad landing page (/get/). Builds on site.css tokens. */

:root {
  --alert: #dc2626;
  --alert-soft: #fef2f2;
  --ok: #059669;
  --ink-soft: #374151;
  --surface: #ffffff;
}

/* Language switching: content carries both languages, <html lang> picks one. */
html[lang="my"] .en { display: none !important; }
html[lang="en"] .my { display: none !important; }

html[lang="my"] body {
  font-family: 'Noto Sans Myanmar', 'Inter', system-ui, sans-serif;
  line-height: 1.85; /* Myanmar script needs taller lines */
}

.lp-bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}
.lp-bar .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.lp-bar .brand { color: var(--fg); }
.lang-btn {
  font: inherit; font-size: 0.875rem;
  border: 1px solid var(--border); background: var(--surface); color: var(--fg);
  border-radius: 999px; padding: 0.35rem 0.9rem; cursor: pointer;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }

.lp { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.lp-hero {
  display: grid; gap: 2rem; align-items: center;
  grid-template-columns: 1.2fr 1fr;
  padding: clamp(2rem, 6vw, 4.5rem) 0 2.5rem;
}
.lp-hero h1 {
  font-size: clamp(1.6rem, 4.6vw, 2.75rem);
  line-height: 1.3; margin: 0 0 1rem; font-weight: 700;
  text-wrap: balance;
}
html[lang="my"] .lp-hero h1 { line-height: 1.55; }
.lp-hero .lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--ink-soft);
  margin: 0 0 1.5rem; max-width: 34em;
}
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 600;
  color: var(--alert); background: var(--alert-soft);
  border-radius: 999px; padding: 0.2rem 0.8rem; margin-bottom: 1rem;
}

/* Play button */
.play-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #111827; color: #fff; border-radius: 0.9rem;
  padding: 0.85rem 1.4rem; font-weight: 600; font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(17,24,39,0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.play-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,24,39,0.24); }
.play-btn svg { width: 22px; height: 22px; flex: none; }
.play-btn small { display: block; font-weight: 400; font-size: 0.75rem; opacity: 0.8; line-height: 1.2; }
.play-btn span { line-height: 1.25; }
.cta-note { font-size: 0.875rem; color: var(--muted); margin-top: 0.75rem; }

/* Alert mock (illustration, not a real alert) */
.mock {
  justify-self: center; width: 100%; max-width: 340px;
  background: linear-gradient(180deg, #eef2ff, #f8fafc);
  border: 1px solid var(--border); border-radius: 28px;
  padding: 1.25rem; box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.mock-label { font-size: 0.75rem; color: var(--muted); text-align: center; margin: 0 0 0.75rem; }
.notif {
  background: var(--surface); border-radius: 16px; padding: 0.9rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 0.75rem;
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
}
.notif:last-child { margin-bottom: 0; }
.notif .dot {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--alert-soft); font-size: 1.1rem;
}
.notif.news .dot { background: #eff6ff; }
.notif b { display: block; font-size: 0.9rem; line-height: 1.4; }
.notif p { margin: 0.15rem 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* Features */
.lp-section { padding: 2.5rem 0; }
.lp-section h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin: 0 0 1.25rem; line-height: 1.4; }
.lp-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.lp-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1.25rem;
}
.lp-card .ico { font-size: 1.75rem; line-height: 1; margin-bottom: 0.75rem; }
.lp-card h3 { margin: 0 0 0.4rem; font-size: 1.05rem; line-height: 1.45; }
.lp-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1rem 1rem 1rem 3.5rem;
}
.steps li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}

/* Privacy strip */
.trust {
  display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.trust div {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.95rem; color: var(--ink-soft);
}
.trust div::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* Final CTA */
.lp-final {
  text-align: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 1.25rem; padding: 2rem 1.25rem; margin: 1rem 0 0;
}
.lp-final h2 { margin-bottom: 1rem; }

/* iPhone notice (shown by acq.js when an iPhone/iPad visits) */
.ios-note { display: none; }
html.is-ios .ios-note {
  display: block; background: #fffbeb; border: 1px solid #f59e0b;
  border-radius: 0.9rem; padding: 1rem; margin-top: 1rem; font-size: 0.95rem;
}
.ios-note button {
  font: inherit; margin-top: 0.6rem; cursor: pointer;
  border: 1px solid var(--brand); color: var(--brand); background: var(--surface);
  border-radius: 0.6rem; padding: 0.45rem 0.9rem;
}
.ios-note button.copied::after { content: " ✓"; }

/* Consent banner */
.consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 1rem;
  font-size: 0.9rem;
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 0.75rem; }
.consent .row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.consent button {
  font: inherit; flex: 1 1 auto; cursor: pointer;
  border-radius: 0.6rem; padding: 0.55rem 1rem; border: 1px solid var(--border);
  background: var(--surface); color: var(--fg);
}
.consent button[data-consent=accept] { background: var(--fg); color: #fff; border-color: var(--fg); }

@media (max-width: 760px) {
  .lp-hero { grid-template-columns: 1fr; text-align: center; padding-top: 1.75rem; }
  .lp-hero .lead { margin-left: auto; margin-right: auto; }
  .mock { order: 2; text-align: left; }
  .play-btn { width: 100%; max-width: 360px; justify-content: center; }
}
