/* Storefront — light theme matching the reseller portal (same tokens as app.css). */
:root {
  --bg: #f4f5fb; --surface: #ffffff; --surface-2: #f1f2f9; --surface-3: #e7e9f4;
  --border: rgba(30, 34, 80, .09); --border-strong: rgba(30, 34, 80, .16);
  --text: #12142b; --muted: #5d6283; --faint: #9196b3;
  --brand: #6d4cff; --brand-soft: rgba(109, 76, 255, .1); --brand-line: rgba(109, 76, 255, .28);
  --grad: linear-gradient(135deg, #6d4cff 0%, #a64dff 52%, #ff4f9a 100%);
  --grad-soft: linear-gradient(135deg, rgba(109, 76, 255, .1), rgba(255, 79, 154, .08));
  --glow: 0 10px 30px -10px rgba(109, 76, 255, .55);
  --shadow: 0 1px 2px rgba(23, 26, 70, .04), 0 6px 22px -8px rgba(23, 26, 70, .12);
  --shadow-lg: 0 24px 60px -24px rgba(40, 30, 120, .35);
  --ok: #0c9f6a;
  --font: "Anuphan", "IBM Plex Sans Thai", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(900px 420px at 15% -120px, rgba(139, 107, 255, .16), transparent 70%), radial-gradient(700px 380px at 95% 0, rgba(255, 122, 182, .12), transparent 70%);
  background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2 { margin: 0; font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.ic { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* buttons (same as portal) */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 1rem var(--font);
  padding: 13px 24px; border-radius: 14px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background-position .4s; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--glow); }
.btn.solid:hover { background-position: 100% 0; box-shadow: 0 14px 34px -10px rgba(109, 76, 255, .7); }
.btn.solid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn.solid:hover::after { transform: translateX(120%); }
.btn.line { background: linear-gradient(135deg, #06c755, #00b4a0); color: #fff; box-shadow: 0 10px 24px -10px rgba(6, 199, 85, .6); }
.btn.sm { padding: 8px 15px; font-size: .9rem; border-radius: 11px; }

/* header — glass bar like the portal */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.solid { border-color: var(--border); box-shadow: 0 4px 20px -12px rgba(23, 26, 70, .25); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mark { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 1.05rem; background: var(--grad); box-shadow: var(--glow); }
.nav-r { display: flex; align-items: center; gap: 18px; flex: none; }
.login { color: var(--muted); font-weight: 500; } .login:hover { color: var(--brand); }

/* intro */
.intro { padding-top: 60px; padding-bottom: 36px; text-align: center; }
.intro h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.intro > p { color: var(--muted); font-size: 1.12rem; margin: 12px auto 0; max-width: 620px; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.perks li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .92rem; font-weight: 500; }
.perks .ic { color: var(--brand); width: 17px; height: 17px; }

/* product cards */
.products { display: grid; gap: 26px; padding-top: 16px; padding-bottom: 80px; }
.prod { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s, transform .3s var(--ease); }
.prod:hover { box-shadow: var(--shadow-lg); }
.pimg { position: relative; aspect-ratio: 16 / 7; background: var(--surface-2); }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; background: var(--grad-soft); }
.noimg span { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; color: rgba(109, 76, 255, .28); text-align: center; }
.pbody { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 48px; align-items: start; padding: 32px 36px 36px; }
.pinfo { min-width: 0; }
.pbody h3 { margin: 0; font-size: clamp(1.6rem, 2.8vw, 2.05rem); line-height: 1.28; }
.pdesc { color: var(--muted); margin: 8px 0 0; white-space: pre-line; }
.feats { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.feats li { display: flex; gap: 10px; align-items: flex-start; }
.feats .ic { color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 3px; stroke-width: 3; }
.pbuy { display: flex; flex-direction: column; }
.plans { margin: 0 0 22px; display: grid; gap: 8px; }
.plan { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid transparent; transition: border-color .2s, background .2s; }
.plan:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.plan b { display: block; font-size: 1.04rem; }
.plan small { color: var(--muted); font-size: .84rem; }
.price { font-size: 1.45rem; font-weight: 700; white-space: nowrap; text-align: right; color: var(--brand); }
.price small { display: block; font-size: .78rem; font-weight: 400; color: var(--muted); }
.pbuy .btn { align-self: stretch; }
@media (max-width: 820px) {
  .pimg { aspect-ratio: 16 / 10; }
  .pbody { grid-template-columns: 1fr; padding: 24px 20px 24px; }
  .plans { margin-top: 16px; }
}
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* how + faq */
.how, .faq { padding-bottom: 80px; }
.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow); }
.how li h3 { margin: 4px 0 2px; font-size: 1.08rem; }
.how li span { color: var(--muted); font-size: .95rem; }
.how li b { flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--glow); }
@media (max-width: 760px) { .how ol { grid-template-columns: 1fr; } }
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 8px; box-shadow: var(--shadow); transition: border-color .2s; }
.faq details[open] { border-color: var(--brand-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 22px; font-weight: 600; font-size: 1.03rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); color: var(--brand); flex: none; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq summary .ic { width: 16px; height: 16px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--border); background: var(--surface); padding: 36px 0 100px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 30px; align-items: center; }
.foot nav { display: flex; gap: 22px; justify-content: flex-end; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.foot nav a:hover { color: var(--brand); }
.legal { grid-column: 1 / -1; margin: 8px 0 0; color: var(--faint); font-size: .82rem; }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } .foot nav { justify-content: flex-start; } }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #06c755, #00b4a0); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(6, 199, 85, .7); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab .ic { width: 25px; height: 25px; }
@media (max-width: 540px) { .hide-s { display: none; } .wrap { padding: 0 16px; } .intro { padding-top: 40px; } .brand { font-size: .98rem; } .mark { width: 34px; height: 34px; } }

.fade { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .fade { opacity: 1; transform: none; } }

/* no picture yet: keep the placeholder short */
.pimg:has(.noimg) { aspect-ratio: 16 / 4; }
@media (max-width: 820px) { .pimg:has(.noimg) { aspect-ratio: 16 / 6; } }


/* ── v2: hero, benefits, calculator, CTA band ───────────────────────────── */
.btn.lg { padding: 15px 28px; font-size: 1.05rem; border-radius: 16px; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.btn.ghost:hover { border-color: var(--brand-line); color: var(--brand); }
.btn.white { background: #fff; color: #4b2fd6; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35); }
.btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn.outline:hover { background: rgba(255, 255, 255, .12); }
.btn .ic { width: 18px; height: 18px; }

.nav-links { display: flex; gap: 26px; color: var(--muted); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--brand); }
@media (max-width: 900px) { .hide-m { display: none; } }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-weight: 600; font-size: .9rem; border: 1px solid var(--brand-line); }
.eyebrow .ic { width: 16px; height: 16px; }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); margin-top: 18px; background: linear-gradient(120deg, #12142b 30%, #5b3be6 70%, #d93d86); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.15rem; margin: 16px 0 0; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stats { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: 30px; flex-wrap: wrap; }
.stats li { display: grid; }
.stats b { font-size: 1.6rem; line-height: 1.2; }
.stats span { color: var(--muted); font-size: .88rem; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero-art::before { content: ""; position: absolute; width: min(380px, 90%); aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(70px); opacity: .28; }
.phone { position: relative; width: 300px; padding: 18px 14px 22px; border-radius: 38px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg), inset 0 0 0 6px #f4f3ff; display: grid; gap: 10px; transform: rotate(-3deg); }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 6px 8px 4px; }
.ph-top .dot { width: 26px; height: 26px; border-radius: 9px; background: var(--grad); flex: none; }
.ph-top b { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }
.ph-top small { margin-left: auto; color: var(--faint); font-size: .72rem; }
.otp-card { border-radius: 18px; padding: 12px 14px; background: var(--surface-2); font-size: .82rem; text-align: left; }
.otp-card small { color: var(--muted); font-size: .75rem; display: block; }
.otp-card.live { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.otp-card.live small { color: rgba(255, 255, 255, .85); }
.otp-card .code { font: 700 2rem/1.25 ui-monospace, "JetBrains Mono", monospace; letter-spacing: .06em; margin: 4px 0 6px; }
.otp-card.pop .code { animation: pop .5s var(--ease); }
.otp-card .pill { display: inline-block; font-size: .72rem; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.otp-card .row { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-weight: 500; }
.otp-card .ok { color: var(--ok); display: inline-flex; gap: 4px; align-items: center; } .otp-card .ok .ic { width: 14px; height: 14px; }
.otp-card .warn { color: #c2410c; font-weight: 600; }
.float { position: absolute; display: inline-flex; gap: 8px; align-items: center; padding: 10px 15px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); font-weight: 600; font-size: .9rem; animation: bob 5s ease-in-out infinite; }
.float .ic { color: var(--brand); width: 17px; height: 17px; }
.f1 { top: 40px; right: 0; } .f2 { bottom: 46px; left: 0; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes pop { 0% { transform: scale(.85); opacity: .3; } 100% { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 40px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; } .cta, .stats { justify-content: center; }
  .hero-art { min-height: 400px; } .f1 { right: 2%; } .f2 { left: 2%; }
}
@media (max-width: 420px) { .phone { width: 250px; } .float { font-size: .78rem; padding: 8px 11px; } .cta .btn { width: 100%; } }

.sec-head { text-align: center; margin-bottom: 30px; }
.kicker { display: inline-block; color: var(--brand); font-weight: 600; font-size: .92rem; letter-spacing: .02em; margin-bottom: 6px; }
.sec-head h2, .calc h2, .band h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }

.why { padding-bottom: 84px; }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.benefit h3 { margin: 16px 0 4px; font-size: 1.12rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .bgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bgrid { grid-template-columns: 1fr; } }

.calc { padding-bottom: 84px; }
.calc-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; padding: 40px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); background-image: var(--grad-soft); }
.calc-copy p { color: var(--muted); margin: 12px 0 0; }
.calc-form { display: grid; gap: 14px; background: var(--surface); padding: 24px; border-radius: 20px; border: 1px solid var(--border); min-width: 0; }
.calc-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; min-width: 0; }
.calc-form select, .calc-form input { font: 500 1rem var(--font); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); width: 100%; min-width: 0; }
.calc-form select:focus, .calc-form input:focus { outline: 2px solid var(--brand-line); border-color: var(--brand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.result { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.result > div { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); }
.result small { color: var(--muted); font-size: .82rem; display: block; }
.result b { font-size: 1.4rem; }
.result .big { font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result .neg { background: none; color: #d0344a; }
@media (max-width: 820px) { .calc-in { grid-template-columns: 1fr; padding: 24px 16px; gap: 20px; } }
@media (max-width: 420px) { .two, .result { grid-template-columns: 1fr; } }

.band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 44px 48px; margin-bottom: 80px; border-radius: 28px; background: var(--grad); color: #fff; box-shadow: var(--glow); }
.band p { margin: 6px 0 0; opacity: .9; }
.band-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .band { padding: 30px 20px; } .band-cta, .band-cta .btn { width: 100%; } }

/* ── compact price grid (rows = days, columns = device) ─────────────────── */
.pgrid { margin: 0 0 18px; padding: 10px; border-radius: 22px; background: linear-gradient(160deg, #f6f2ff, #fff3f8); border: 1px solid rgba(109, 76, 255, .12); }
.pg-row { display: grid; grid-template-columns: 1.1fr repeat(var(--cols), 1fr); gap: 8px; align-items: center; padding: 6px 4px; }
.pg-head span { text-align: center; font-size: .86rem; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pg-head i { font-style: normal; font-size: 1.35rem; line-height: 1; }
.pg-days { font-weight: 700; font-size: 1rem; display: flex; flex-direction: column; line-height: 1.2; padding-left: 6px; }
.pg-days em { font-style: normal; font-size: .68rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #ff7ab6, #ff4f9a); border-radius: 999px; padding: 1px 8px; width: max-content; margin-top: 3px; }
.pg-price { text-align: center; font-weight: 700; font-size: 1.12rem; color: var(--brand); background: #fff; border-radius: 14px; padding: 9px 4px; box-shadow: 0 2px 8px -4px rgba(109, 76, 255, .35); transition: transform .2s var(--ease); }
.pg-price:hover { transform: translateY(-2px) scale(1.03); }
.pg-none { text-align: center; color: var(--faint); }
.pg-row.hot { background: #fff; border-radius: 16px; box-shadow: 0 6px 18px -10px rgba(255, 79, 154, .55); outline: 1.5px solid rgba(255, 79, 154, .35); }
.pg-row.hot .pg-price { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.pg-note { margin: 6px 4px 2px; text-align: center; color: var(--muted); font-size: .8rem; }
.pbody { gap: 10px 40px; }
@media (max-width: 420px) { .pg-price { font-size: 1rem; padding: 8px 2px; } .pg-row { gap: 6px; } }


/* ══ product pricing v3: product header + one card per duration ════════════ */
.prod { display: block; padding: 30px; border-radius: 28px; }
.prod:hover { box-shadow: var(--shadow); }
.prod-h { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.prod-logo { width: 88px; height: 88px; flex: none; border-radius: 22px; overflow: hidden; background: var(--grad); display: grid; place-items: center; box-shadow: 0 12px 28px -14px rgba(23, 26, 70, .5); }
.prod-logo img { width: 100%; height: 100%; object-fit: cover; }
.prod-logo span { color: #fff; font-size: 2.2rem; font-weight: 700; }
.prod-t { min-width: 0; flex: 1; }
.prod-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.prod-name h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; }
.prod-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; color: var(--ok); background: rgba(12, 159, 106, .1); padding: 3px 10px; border-radius: 99px; }
.prod-badge .ic { width: 13px; height: 13px; stroke-width: 3; }
.prod-t > p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.prod-feats { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.prod-feats li { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); }
.prod-feats .ic { width: 14px; height: 14px; color: var(--brand); stroke-width: 3; }

.tiers { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border-strong); transition: transform .25s var(--ease), box-shadow .25s; }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier.hot { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 24px 50px -24px rgba(109, 76, 255, .55); }
.tier-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .76rem; font-weight: 700; color: #fff; padding: 4px 14px; border-radius: 99px; background: var(--grad); box-shadow: var(--glow); }
.tier-h b { display: block; font-size: 1.25rem; }
.tier-h small { color: var(--muted); font-size: .84rem; }
.tier-from { display: flex; align-items: baseline; gap: 6px; padding-bottom: 14px; border-bottom: 1px dashed var(--border-strong); }
.tier-from small { color: var(--muted); font-size: .82rem; }
.tier-from b { font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; }
.tier.hot .tier-from b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-from span { color: var(--muted); font-size: .86rem; }
.tier-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tier-rows li { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 8px; }
.tr-dev { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tr-dev .ic { width: 18px; height: 18px; color: var(--brand); }
.tr-p { font-weight: 700; font-size: 1.12rem; }
.tr-day { grid-column: 1 / -1; color: var(--faint); font-size: .76rem; padding-left: 26px; margin-top: -4px; }
.tier-earn { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: rgba(12, 159, 106, .08); margin-top: auto; }
.tier-earn .ic { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 2px; }
.tier-earn b { color: var(--ok); }
.tier-cta { width: 100%; }
.prod-f { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: .86rem; color: var(--muted); }
.prod-f span { display: inline-flex; align-items: center; gap: 8px; }
.prod-f .ic { width: 16px; height: 16px; color: var(--brand); }
.prod-f a { color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; gap: 20px; } .tier.hot { order: -1; } }
@media (max-width: 600px) { .prod { padding: 20px 16px; border-radius: 22px; } .prod-h { gap: 14px; } .prod-logo { width: 64px; height: 64px; border-radius: 16px; } }
