:root {
  --bg: #020503;
  --panel: rgba(10, 22, 12, .72);
  --line: rgba(163, 255, 60, .28);
  --neon: #a6f52a;
  --neon-deep: #4fd60f;
  --text: #f2f5f1;
  --muted: #b8c2b6;
  --display: "Exo 2", "Noto Sans Thai", system-ui, sans-serif;
  --body: "Inter", "Noto Sans Thai", system-ui, sans-serif;
  --gap: clamp(16px, 4vw, 64px);
  --nav: 84px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--nav);
  padding: 8px var(--gap);
  background: linear-gradient(180deg, rgba(6, 16, 8, .96), rgba(4, 10, 6, .88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon) 22%, transparent 48%, transparent 78%, var(--neon-deep), transparent);
  opacity: .8;
}
.brand { flex: none; display: flex; align-items: center; gap: 8px; }
.powered {
  max-width: 6em; text-align: right; text-transform: uppercase; letter-spacing: .1em;
  font: italic 700 11px/1.2 var(--display); color: var(--muted);
}
footer .powered { max-width: none; text-align: center; margin-bottom: -4px; }
.brand img { width: clamp(180px, 17vw, 260px); }
.menu { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.menu nav { display: flex; gap: clamp(12px, 1.7vw, 30px); }
.menu nav a {
  font: 600 clamp(13px, 1.05vw, 17px)/1 var(--display);
  padding: 12px 0; border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.menu nav a:hover, .menu nav a.active { color: var(--neon); border-color: var(--neon); }
.lang {
  position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none;
  color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding-left: 12px;
}
.lang:hover { border-color: var(--neon); }
/* No box around the chosen language. Keyboard users still see where they are:
   the rounded border lights up (app.js marks mouse and touch use). */
.lang select:focus, .lang select:focus-visible { outline: none; }
.lang:not(.pointer):focus-within { border-color: var(--neon); }
.lang select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: transparent; color: inherit; border: 0; font: 600 14px var(--display);
  padding: 9px 30px 9px 0; min-height: 40px;
}
.lang option { background: #050d07; color: var(--text); }
.lang::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; pointer-events: none;
  border-right: 2px solid var(--neon); border-bottom: 2px solid var(--neon); transform: translateY(-70%) rotate(45deg);
}
/* Longer languages on a wide screen (app.js adds .tight, then .compact). */
.nav.tight { gap: 12px; }
.nav.tight .brand img { width: 180px; }
.nav.tight .menu { gap: 10px; }
.nav.tight .menu nav { gap: 11px; }
.nav.tight .menu nav a { font-size: 13px; }
.nav.tight .btn-small { font-size: 13px; padding: 10px 12px; gap: 8px; }
.menu-button { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border-radius: 14px; padding: 14px 28px;
  font: 700 18px/1.2 var(--display);
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s;
}
.btn-solid {
  color: #061003;
  background: linear-gradient(180deg, #d0ff4f, #72e312);
  box-shadow: 0 0 24px rgba(137, 255, 38, .38), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-line { border-color: rgba(190, 255, 90, .55); background: rgba(8, 20, 8, .6); }
a.btn:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(137, 255, 38, .35); }
.btn-small { font-size: 15px; padding: 11px 18px; white-space: nowrap; }
.btn-store { text-align: left; padding: 12px 28px; }
.btn-store .icon { width: 34px; height: 34px; }
.btn-store small { display: block; font-size: 14px; font-weight: 600; }
.btn-store strong { display: block; font-size: 24px; }
.soon { cursor: default; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center;
  min-height: min(586px, calc(100vh - var(--nav)));
  padding: 12px 0 12px var(--gap);
  background: url("assets/background.jpg") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px; z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero-copy { position: relative; z-index: 1; }
h1 {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(46px, 7.4vw, 128px); line-height: .94; letter-spacing: -.015em;
}
h1 span { display: block; width: max-content; max-width: 100%; padding-right: .12em; -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .silver {
  background-image: linear-gradient(180deg, #fff 22%, #cfd6d4 48%, #8e9996 56%, #f4f7f6 78%, #b5bdbb);
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 18px rgba(210, 255, 220, .18));
}
h1 .neon {
  background-image: linear-gradient(180deg, #f0ff8a 8%, #b8fb2c 42%, #52d410 70%, #a9f72a);
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .7)) drop-shadow(0 0 26px rgba(130, 255, 30, .42));
}
.tagline { font: italic 700 clamp(22px, 2.7vw, 44px)/1.25 var(--display); margin: 14px 0 18px; }
.hero .lead { max-width: 33em; border-left: 4px solid var(--neon); padding-left: 18px; font-size: clamp(15px, 1.2vw, 19px); }
.actions { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero-art { position: relative; align-self: end; }
.hero-art img {
  width: 100%;
  /* Black artwork melts into the page. */
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 74% at 50% 50%, #000 62%, transparent 100%);
}
.hero-art img.hero-phone {
  position: absolute; inset: 0; mix-blend-mode: normal;
  -webkit-mask-image: none; mask-image: none;
  clip-path: polygon(43.49% 10.74%, 44.27% 9.08%, 45.57% 8.01%, 48.18% 7.42%, 58.59% 6.93%, 65.10% 7.03%, 66.73% 7.62%, 67.84% 8.98%, 68.42% 10.94%, 68.55% 14.65%, 67.71% 32.23%, 66.99% 41.99%, 65.36% 60.55%, 64.06% 74.22%, 63.35% 79.59%, 62.50% 82.62%, 61.20% 84.28%, 59.38% 85.16%, 52.08% 85.35%, 40.49% 84.57%, 37.63% 83.79%, 36.13% 82.32%, 35.22% 80.37%, 34.90% 77.93%, 35.61% 70.31%, 36.91% 57.62%, 38.54% 42.97%, 40.17% 29.30%, 41.80% 17.58%, 42.64% 12.89%);
}

/* ---------- feature strip and band ---------- */
.badge {
  display: inline-grid; place-items: center; width: 70px; height: 70px; flex: none;
  color: var(--neon); border: 2px solid rgba(166, 245, 42, .75); border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(120, 220, 30, .25), rgba(5, 14, 6, .9));
  box-shadow: 0 0 18px rgba(130, 255, 30, .22);
}
.badge .icon { width: 36px; height: 36px; }
.strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px var(--gap);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 34, 14, .75), rgba(4, 10, 5, .9));
}
.strip article { display: flex; align-items: center; gap: 16px; padding: 4px 20px; }
.strip article + article { border-left: 1px solid var(--line); }
.strip h3 { font: 700 clamp(16px, 1.35vw, 21px)/1.25 var(--display); }
.strip p { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

.band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px clamp(32px, 8vw, 140px);
  padding: 14px var(--gap);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 14% 120%, rgba(110, 230, 30, .22), transparent 45%),
    radial-gradient(ellipse at 90% -20%, rgba(110, 230, 30, .16), transparent 40%),
    #030804;
}
.band-title { font: italic 800 clamp(24px, 2.6vw, 38px)/1.15 var(--display); text-align: center; }
.band li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 1.55; }
.band li .icon { color: var(--neon); stroke-width: 3.4; }

/* ---------- content blocks ---------- */
.block { padding: clamp(56px, 7vw, 108px) var(--gap); max-width: 1440px; margin: 0 auto; }
.block + .block { border-top: 1px solid rgba(163, 255, 60, .16); }
.block-head { text-align: center; max-width: 880px; margin: 0 auto 44px; }
.eyebrow { color: var(--neon); font: 700 13px var(--display); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
h2 { font: italic 900 clamp(30px, 4vw, 54px)/1.12 var(--display); text-wrap: balance; }
.block h3 { font: 700 20px/1.3 var(--display); }
.lead { color: var(--muted); margin-top: 14px; font-size: 17px; }
.center { text-align: center; margin: 52px 0 20px; }
.note { color: #8e9a8c; font-size: 13.5px; text-align: center; margin-top: 28px; }
.panel, .steps li, .tier, .packs article, .legal article, .faq details, .contact, .free {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
}

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { position: relative; padding: 28px 22px; }
.steps .badge { margin-bottom: 18px; }
.step-number { position: absolute; top: 14px; right: 20px; font: italic 900 44px/1 var(--display); color: rgba(166, 245, 42, .22); }
.steps h3 { margin-bottom: 8px; }
.steps em { font-weight: 600; font-size: .8em; color: var(--neon); }
.steps p { color: var(--muted); font-size: 15px; }

.hub { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--gap); align-items: center; }
.hub h3 { margin: 30px 0 14px; }
.flow { counter-reset: flow; display: grid; gap: 12px; }
.flow li { counter-increment: flow; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.flow li::before {
  content: counter(flow); flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--neon); color: var(--neon); font: 700 14px var(--display);
}
.trust { margin-top: 26px; display: grid; gap: 10px; }
.trust li { display: flex; gap: 12px; align-items: center; }
.trust .icon { color: var(--neon); }
.hub .note { text-align: left; }
.hub-art img {
  margin: 0 auto; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}

.free {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 20px;
  max-width: 820px; margin: 0 auto 24px; padding: 22px; text-align: center;
  border-color: var(--neon); box-shadow: 0 0 28px rgba(130, 255, 30, .18);
}
.free strong { font: italic 900 32px var(--display); color: var(--neon); }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.tier { position: relative; padding: 30px 28px; text-align: center; }
.tier.featured { border-color: var(--neon); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: var(--neon); color: #061003; font: 700 12px var(--display); padding: 4px 14px; border-radius: 99px;
}
.cost { font-size: 18px; margin: 10px 0 2px; }
.cost strong { font: italic 900 58px/1.1 var(--display); color: var(--neon); }
.sub { font-weight: 600; margin-bottom: 10px; }
.tier p:last-child { color: var(--muted); font-size: 15px; }
.unlocks { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.unlocks li { display: flex; align-items: center; gap: 10px; }
.unlocks .icon { color: var(--neon); stroke-width: 3.2; }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.packs article { display: flex; flex-direction: column; align-items: center; padding: 24px 14px; }
.packs strong { font: italic 900 46px/1.05 var(--display); }
.packs span { color: var(--muted); }
.packs small { color: var(--neon); font-weight: 600; }
.packs em { margin-top: auto; padding-top: 14px; font: 700 22px var(--display); }

.contact { display: flex; align-items: center; gap: 20px; width: max-content; max-width: 100%; margin: 0 auto; padding: 18px 34px 18px 20px; }
.contact:hover { border-color: var(--neon); }
.contact small { display: block; color: var(--muted); }
.contact strong { font: 700 clamp(18px, 2.4vw, 26px) var(--display); overflow-wrap: anywhere; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--neon); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

.legal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.legal article { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 30px 24px; }
.legal p { color: var(--muted); font-size: 15px; flex: 1; }
.chip { border: 1px dashed var(--line); color: var(--muted); border-radius: 99px; padding: 6px 16px; font-size: 13px; }

footer {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 44px var(--gap); border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 120%, rgba(110, 230, 30, .18), transparent 55%), #020503;
}
footer a:hover { color: var(--neon); }
.copyright { color: #7d877b; font-size: 13px; }

/* ---------- languages ---------- */
/* Chinese, Japanese and Korean use the fonts already on the device. */
html[lang="ja"] {
  --display: "Exo 2", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
  --body: "Inter", "Hiragino Sans", "Yu Gothic UI", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
}
html[lang="zh-CN"] {
  --display: "Exo 2", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
  --body: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;
}
html[lang="zh-TW"] {
  --display: "Exo 2", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
  --body: "Inter", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", system-ui, sans-serif;
}
html[lang="ko"] {
  --display: "Exo 2", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
  --body: "Inter", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", system-ui, sans-serif;
}
/* These scripts have no italic form and need more line height. */
html:is([lang="th"], [lang="ja"], [lang="zh-CN"], [lang="zh-TW"], [lang="ko"]) :is(h2, .band-title, .free strong) {
  font-style: normal; line-height: 1.4;
}
html[lang="ja"] :is(p, li, summary, h2, h3) { line-break: strict; }
html[lang="ja"] :is(h2, h3, .band-title) { word-break: auto-phrase; }
/* Korean breaks between words, not inside them. */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
/* Long compound words may break rather than push the page wider. */
h2, h3, summary, .btn { overflow-wrap: break-word; }

/* ---------- smaller screens ---------- */
@media (max-width: 1240px) {
  .menu-button {
    display: grid; gap: 5px; cursor: pointer; background: transparent;
    border: 1px solid var(--line); border-radius: 10px; padding: 12px 11px;
  }
  .menu-button span { display: block; width: 22px; height: 2px; background: var(--neon); }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; padding: 12px var(--gap) 22px;
    background: #050d07; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav)); overflow-y: auto;
  }
  .menu.open { display: flex; }
  .menu nav { flex-direction: column; gap: 0; }
  .menu nav a { font-size: 17px; padding: 13px 0; }
  .lang { justify-content: center; }
}
/* The same folded menu on wider screens when a language needs it. */
.nav.compact .menu-button {
  display: grid; gap: 5px; cursor: pointer; background: transparent;
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 11px;
}
.nav.compact .menu-button span { display: block; width: 22px; height: 2px; background: var(--neon); }
.nav.compact .menu {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  flex-direction: column; align-items: stretch; padding: 12px var(--gap) 22px;
  background: #050d07; border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--nav)); overflow-y: auto;
}
.nav.compact .menu.open { display: flex; }
.nav.compact .menu nav { flex-direction: column; gap: 0; }
.nav.compact .menu nav a { font-size: 17px; padding: 13px 0; }
.nav.compact .lang { justify-content: center; }
@media (max-width: 1080px) {
  .strip, .steps, .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { gap: 18px 0; }
  .strip article:nth-child(3) { border-left: 0; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: 30px var(--gap) 10px; min-height: 0; text-align: center; }
  h1 { font-size: clamp(44px, 14.2vw, 96px); }
  h1 span { margin: 0 auto; }
  .hero .lead { margin: 0 auto; border-left: 0; padding-left: 0; }
  .actions { justify-content: center; gap: 14px; }
  .hero-art { margin: 8px calc(var(--gap) * -1) 0; }
  .hub { grid-template-columns: minmax(0, 1fr); }
  .hub-art { order: -1; max-width: 460px; margin: 0 auto; }
  .legal { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .brand { gap: 6px; }
  .brand img { width: 164px; }
  .powered { font-size: 10px; }
}
@media (max-width: 600px) {
  .strip, .steps, .tiers { grid-template-columns: minmax(0, 1fr); }
  .strip article, .strip article + article { border-left: 0; padding: 0; }
  .tiers { gap: 28px; }
  .actions .btn { width: 100%; }
  .contact { gap: 14px; padding: 14px; width: 100%; }
  .contact .badge { width: 52px; height: 52px; }
  .contact strong { font-size: 4.6vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
