/* Call Duang promo site. Tokens follow docs/design/TOKENS.md (celestial night + lavender + gold). */
:root {
  --ink: #0b0717;
  --ink-2: #130c24;
  --panel: #1a1432;
  --paper: #f6f2fc;
  --paper-ink: #1c1638;
  --paper-muted: #574c70;
  --text: #f7f3ff;
  --muted: #bdb2d3;
  --violet: #7a52e8;
  --violet-deep: #5b34c9;
  --violet-soft: #b89bff;
  --gold: #efc879;
  --gold-soft: #ffe4a4;
  --line: rgba(255, 255, 255, 0.12);
  --line-paper: rgba(91, 52, 201, 0.14);
  --radius: 28px;
  --max: 1180px;
  --font-body: "Noto Sans Thai", system-ui, -apple-system, sans-serif;
  --font-head: "Noto Serif Thai", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #2a1b0d;
  font-weight: 800;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 7, 23, 0.82);
  backdrop-filter: blur(18px);
}
.nav {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand img {
  width: 150px;
  height: 50px;
}
.menu {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}
.menu a:hover {
  color: #fff;
}

/* buttons */
.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  box-shadow: 0 12px 32px rgba(91, 52, 201, 0.35);
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store {
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  line-height: 1.25;
}
.store[data-live="true"] {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1b0d;
  border-color: transparent;
}
.store[aria-disabled="true"] {
  cursor: default;
}
.store small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}
.store b {
  font-size: 17px;
}
.store svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: currentColor;
}

/* shared type */
h1,
h2,
h3 {
  margin: 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(142, 104, 255, 0.14);
  border: 1px solid rgba(184, 155, 255, 0.28);
  color: #e3d8ff;
  font-size: 13px;
  font-weight: 700;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}
.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.section {
  padding: 88px 0;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.4vw, 44px);
  line-height: 1.25;
  font-weight: 800;
}
.section-copy {
  margin: 14px 0 0;
  max-width: 560px;
  color: var(--muted);
}
.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.on-paper {
  background: var(--paper);
  color: var(--paper-ink);
}
.on-paper .section-copy,
.on-paper .muted {
  color: var(--paper-muted);
}
.on-dark .eyebrow {
  color: var(--gold);
}

/* phone mockup */
.phone {
  position: relative;
  width: min(100%, 300px);
  padding: 7px;
  border-radius: 46px;
  background: linear-gradient(160deg, #3b2f6b, #130c24 60%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 90px rgba(5, 2, 20, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.phone img {
  width: 100%;
  aspect-ratio: 390 / 844;
  border-radius: 40px;
  background: var(--panel);
  object-fit: cover;
}
.shot-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.on-paper .shot-note {
  color: var(--paper-muted);
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 78% 18%, rgba(122, 82, 232, 0.34), transparent 42%),
    radial-gradient(circle at 8% 70%, rgba(239, 200, 121, 0.08), transparent 34%), var(--ink);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 80px;
  min-height: 720px;
}
.hero h1 {
  margin: 18px 0 0;
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.15;
  font-weight: 800;
}
.hero h1 span {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, #e6a85a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 20px 0 30px;
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
}
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.proof strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 600px;
}
.hero-visual .phone {
  position: absolute;
  width: 270px;
}
.hero-visual .phone-a {
  left: 6%;
  top: 40px;
  transform: rotate(-4deg);
  animation: drift 7s ease-in-out infinite;
}
.hero-visual .phone-b {
  right: 4%;
  top: 100px;
  transform: rotate(3deg);
  animation: drift 8s ease-in-out -3s infinite;
}
.hero-mascot {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 210px;
  transform: translateX(-30%);
  z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}
@keyframes drift {
  50% {
    translate: 0 -12px;
  }
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
  padding: 0;
  margin: 0;
  list-style: none;
}
.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-paper);
  box-shadow: 0 18px 50px rgba(91, 52, 201, 0.08);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff;
  font-weight: 800;
}
.step h3 {
  font-size: 20px;
  font-weight: 800;
}
.step p {
  margin: 8px 0 0;
  color: var(--paper-muted);
}

/* split sections */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.split.reverse .split-media {
  order: 2;
}
.split-media {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  padding: 18px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}
.points b {
  display: block;
  margin-bottom: 2px;
  color: var(--gold-soft);
  font-size: 16px;
}
.points span {
  font-size: 14px;
  color: var(--muted);
}
.on-paper .points li {
  background: #fff;
  border-color: var(--line-paper);
}
.on-paper .points b {
  color: var(--violet-deep);
}
.on-paper .points span {
  color: var(--paper-muted);
}
.art {
  width: min(100%, 260px);
  margin-top: -24px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}
.seer-stage {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.seer-stage .art {
  position: absolute;
  right: -2%;
  bottom: 40px;
  width: 190px;
  margin: 0;
}
.tools-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tools-list li {
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-paper);
  color: var(--violet-deep);
  font-weight: 700;
  font-size: 14px;
}
.soon-note {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px dashed rgba(91, 52, 201, 0.4);
  color: var(--paper-muted);
  font-size: 14px;
}
.soon-note b {
  color: var(--paper-ink);
}

/* trust */
.trust {
  background: radial-gradient(circle at 20% 0%, rgba(122, 82, 232, 0.2), transparent 40%), var(--ink-2);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-card {
  padding: 26px 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.trust-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-soft);
}
.trust-card p {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.disclaimer {
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* cta + footer */
.cta {
  text-align: center;
  padding: 96px 0;
  background: radial-gradient(circle at 50% 0%, rgba(122, 82, 232, 0.4), transparent 55%), var(--ink);
}
.cta .app-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(91, 52, 201, 0.5);
}
.cta h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.25;
  font-weight: 800;
}
.cta p {
  max-width: 560px;
  margin: 16px auto 28px;
  color: var(--muted);
}
.cta .store-row {
  justify-content: center;
}
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer img {
  width: 120px;
  height: 40px;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* responsive */
@media (max-width: 960px) {
  .menu {
    display: none;
  }
  .hero-grid,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-grid {
    padding-top: 48px;
    min-height: 0;
  }
  .split.reverse .split-media {
    order: 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 64px 0;
  }
}
@media (max-width: 560px) {
  .hero-visual {
    min-height: 500px;
  }
  .hero-visual .phone {
    width: 220px;
  }
  .hero-visual .phone-a {
    left: 0;
  }
  .hero-visual .phone-b {
    right: 0;
    top: 90px;
  }
  .hero-mascot {
    width: 150px;
  }
  .proof,
  .points,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .store {
    flex: 1 1 100%;
  }
  .nav-cta {
    padding: 9px 16px;
  }
  .seer-stage .art {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
