/* =========================================================
   IRT GOLD — หน้าแรก + หน้าเข้าสู่ระบบ · #property copyright "IRT GOLD"
   v1.0 (8 ต.ค. 69) · โทนทอง + น้ำเงินกรมท่า · สลับโหมดสว่าง/มืด (ค่าเริ่มต้น = สว่าง พื้นขาว)
   ========================================================= */
:root {
  --bg: #ffffff; --bg2: #f6f7fb; --bg3: #eef1f7; --card: #ffffff; --glass: rgba(255,255,255,.95);
  --line: #e6e9f1; --line2: #eff1f6;
  --ink: #0b1630; --ink2: #4a5468; --ink3: #8a93a6;
  --gold: #c9a24a; --gold-t: #9a7224; --gold-l: #f7eed7; --gold-ll: #fcf8ee;
  --grad: linear-gradient(100deg, #f2d482 0%, #d6aa44 52%, #b8862c 100%);
  --grad-t: linear-gradient(100deg, #d9ac3e 0%, #b8862c 60%, #8f6519 100%);
  --navy: #0b1630; --navy2: #15274d;
  --up: #15803d; --up-bg: #e9f7ef; --dn: #d01f43; --dn-bg: #fdecef;
  --c1: #16a34a; --c2: #e11d48; --c3: #7c3aed;
  --glow: rgba(214,170,68,.24); --lines: rgba(11,22,48,.035);
  --sh: 0 1px 2px rgba(11,22,48,.05), 0 12px 32px -14px rgba(11,22,48,.18);
  --sh-lg: 0 30px 70px -30px rgba(11,22,48,.35);
  --r: 20px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #060b18; --bg2: #0a1224; --bg3: #101b33; --card: #0d172d; --glass: rgba(13,23,45,.78);
  --line: #1c2944; --line2: #15213a;
  --ink: #eef2fb; --ink2: #aeb7ca; --ink3: #76819b;
  --gold-t: #e9c46c; --gold-l: rgba(233,196,108,.14); --gold-ll: rgba(233,196,108,.07);
  --grad-t: linear-gradient(100deg, #f6dc94 0%, #e2b450 55%, #c99636 100%);
  --up: #34d399; --up-bg: rgba(52,211,153,.12); --dn: #fb7185; --dn-bg: rgba(251,113,133,.12);
  --glow: rgba(214,170,68,.16); --lines: rgba(255,255,255,.03);
  --sh: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px -16px rgba(0,0,0,.6);
  --sh-lg: 0 30px 80px -30px rgba(0,0,0,.8);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.65 "IBM Plex Sans Thai", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .3s, color .3s; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.up { color: var(--up); } .dn { color: var(--dn); }
.h-display { font-family: "Prompt", "IBM Plex Sans Thai", sans-serif; font-weight: 800; letter-spacing: -.02em; }
.gold-text { background: var(--grad-t); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── ปุ่ม ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 99px; border: 0; font-weight: 600; font-size: 16.5px; text-decoration: none; white-space: nowrap; transition: transform .18s, box-shadow .18s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--grad); color: #1b1405; box-shadow: 0 12px 30px -10px rgba(201,162,74,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(201,162,74,.85), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-soft { background: var(--bg3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-soft:hover { background: var(--line2); }
.btn-dark { background: var(--navy); color: #fff; }
[data-theme="dark"] .btn-dark { background: #fff; color: var(--navy); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ── แถบประกาศ ── */
.ann { background: var(--navy); color: #d7deee; font-size: 13.5px; }
.ann .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.ann .tag { font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 2px 10px; border-radius: 99px; background: var(--grad); color: #1b1405; }
.ann b { color: #f3d68a; font-weight: 600; }
.ann a { color: #fff; font-weight: 600; text-decoration: none; padding: 3px 12px; border-radius: 99px; background: rgba(255,255,255,.1); }
.ann a:hover { background: rgba(255,255,255,.18); }

/* ── เมนูลอย ── */
.nav { position: sticky; top: 14px; z-index: 50; margin: 14px auto 0; max-width: 1180px; padding: 0 24px; }
.nav-in { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 10px 0 18px; border-radius: 99px; background: var(--glass); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Prompt", sans-serif; font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.logo img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 4px; margin-left: 22px; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink2); padding: 8px 14px; border-radius: 99px; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg3); color: var(--ink); }
.nav-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--bg3); display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--line2); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }
.menu-btn { display: none; }
.mnav { display: none; }

/* ── HERO ── */
.hero { position: relative; padding: 70px 0 40px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -140px -10% auto auto; width: 820px; height: 620px; background: radial-gradient(closest-side, var(--glow), transparent 75%); pointer-events: none; }
.bg-lines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-14deg, transparent 0 46px, var(--lines) 46px 47px); mask-image: linear-gradient(180deg, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 85%); }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--ink3); text-transform: uppercase; }
.eyebrow::before, .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .55; }
.hero h1 { position: relative; font-size: clamp(46px, 8.2vw, 104px); line-height: 1.12; margin: 22px 0 22px; }
.hero h1 .l2 { display: block; font-style: italic; padding: 0 .08em .06em; }
.hero p.lead { position: relative; font-size: clamp(16.5px, 2vw, 20px); color: var(--ink2); max-width: 640px; margin: 0 auto 34px; }
.hero-cta { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.trust { position: relative; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 13.5px; color: var(--ink3); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--gold-t); }

/* เวทีภาพหลัก */
.stage { position: relative; max-width: 980px; margin: 64px auto 0; min-height: 420px; }
.live-card { position: relative; z-index: 2; width: min(460px, 100%); margin: 0 auto; text-align: left; background: #0a1328; color: #fff; border-radius: 26px; padding: 22px 22px 14px; box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(255,255,255,.07); }
.lc-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lc-h b { font-family: "Prompt", sans-serif; font-weight: 600; font-size: 16px; }
.lc-h .dot { width: 8px; height: 8px; border-radius: 50%; background: #f2d482; box-shadow: 0 0 0 5px rgba(242,212,130,.18); }
.lc-h .pillx { margin-left: auto; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; padding: 3px 9px; border-radius: 99px; color: #c9d2e6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.lc-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07); }
.lc-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; background: rgba(255,255,255,.07); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.lc-av.c1 { color: #86efac; } .lc-av.c2 { color: #fda4af; } .lc-av.c3 { color: #c4b5fd; }
.lc-row b { display: block; font-size: 15px; font-weight: 600; }
.lc-row small { color: #8a96b4; font-size: 12.5px; }
.lc-v { text-align: right; }
.lc-v b { font-family: "Prompt", sans-serif; font-size: 19px; font-weight: 700; }
.lc-v b.p { color: #a3e9b0; } .lc-v b.m { color: #fda4af; }
.lc-v small { display: block; }
.lc-foot { font-size: 11.5px; color: #7d89a8; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.07); }
.fcard { position: absolute; z-index: 3; text-align: left; background: var(--card); border-radius: 22px; padding: 18px 20px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); animation: bob 6s ease-in-out infinite; }
.fcard .k { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--gold-t); text-transform: uppercase; }
.fcard .v { font-family: "Prompt", sans-serif; font-weight: 800; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; }
.fcard .v small { font-size: 18px; color: var(--ink3); font-weight: 600; }
.fcard .s { font-size: 12.5px; color: var(--ink2); }
.fc-a { left: 0; top: 40px; transform: rotate(-9deg); }
.fc-b { right: 0; top: 150px; transform: rotate(8deg); animation-delay: -3s; }
.fc-c { left: 60px; bottom: -10px; transform: rotate(5deg); animation-delay: -1.5s; }
.fc-c .bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 6px; }
.fc-c .bars i { width: 8px; border-radius: 3px; background: var(--grad); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ── ส่วนทั่วไป ── */
.sec { padding: 110px 0 0; position: relative; }
.sec-h { max-width: 720px; margin-bottom: 44px; }
.sec-h.c { margin-left: auto; margin-right: auto; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--gold-t); background: var(--gold-ll); padding: 5px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--gold-l); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.sec h2 { font-family: "Prompt", sans-serif; font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.18; letter-spacing: -.02em; margin: 16px 0 14px; }
.sec h2 em { font-style: normal; }
.sec-h p { color: var(--ink2); font-size: 17px; margin: 0; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh), inset 0 0 0 1px var(--line); }

/* bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.bx { padding: 28px; position: relative; overflow: hidden; }
.bx .big { font-family: "Prompt", sans-serif; font-weight: 800; font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -.03em; }
.bx .big small { font-size: .42em; font-weight: 600; color: var(--ink3); letter-spacing: 0; }
.bx .big sup { font-size: .38em; color: var(--gold-t); vertical-align: .9em; }
.bx p { margin: 14px 0 0; color: var(--ink2); font-size: 15px; }
.bx p b { color: var(--ink); }
.bx .note { margin-top: 18px; display: flex; gap: 12px; align-items: center; background: var(--gold-ll); border-radius: 14px; padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--gold-l); font-size: 14px; color: var(--ink2); }
.bx .note i { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #1b1405; font-style: normal; font-weight: 800; }
.band { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 22px 28px; }
.band .bi { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-ll); color: var(--gold-t); box-shadow: inset 0 0 0 1px var(--gold-l); }
.band .bi svg { width: 22px; height: 22px; }
.band h3 { margin: 0; font-family: "Prompt", sans-serif; font-size: 22px; font-weight: 700; }
.band h3 + p { margin: 2px 0 0; color: var(--ink2); font-size: 14.5px; }
.checks { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14.5px; font-weight: 500; }
.checks span::before { content: "✓"; color: var(--gold-t); font-weight: 800; margin-right: 7px; }

/* ขั้นตอน */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12px; right: 12px; top: 11px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 12px; top: 11px; height: 2px; width: 0; background: var(--grad); transition: width 1.8s cubic-bezier(.2,.7,.2,1) .2s; }
.steps.in::after { width: calc(100% - 24px); }
.st { z-index: 1; }
.st { position: relative; padding-top: 50px; }
.st::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 6px var(--gold-ll); }
.st::after { content: ""; position: absolute; top: 7px; left: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.st .no { font-family: "Prompt", sans-serif; font-weight: 800; font-size: 110px; line-height: .95; color: transparent; -webkit-text-stroke: 1.5px var(--ink3); opacity: .45; letter-spacing: -.04em; }
.st h3 { font-family: "Prompt", sans-serif; font-size: 23px; font-weight: 700; margin: 14px 0 8px; }
.st p { margin: 0; color: var(--ink2); font-size: 15.5px; }

/* INDI */
.indi { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.ic { padding: 26px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.ic:hover { transform: translateY(-4px); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); }
.ic::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c); }
.ic-h { display: flex; align-items: center; gap: 12px; }
.ic-badge { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--c); font-family: "Prompt", sans-serif; font-weight: 800; font-size: 17px; box-shadow: 0 10px 22px -10px var(--c); }
.ic-h b { font-family: "Prompt", sans-serif; font-size: 22px; font-weight: 700; display: block; line-height: 1.2; }
.ic-h small { color: var(--ink3); font-size: 13px; }
.ic p { color: var(--ink2); font-size: 15px; margin: 16px 0 18px; min-height: 76px; }
.ic .when { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: var(--bg3); color: var(--ink2); margin-bottom: 18px; }
.ic-st { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 16px; border-top: 1px solid var(--line2); }
.ic-st span { display: block; font-size: 11.5px; color: var(--ink3); font-weight: 600; }
.ic-st b { font-family: "Prompt", sans-serif; font-size: 20px; font-weight: 700; }
.ic svg.spark { width: 100%; height: 54px; margin-top: 14px; display: block; }

/* ตัวอย่างหน้าจอ */
.shot { position: relative; margin-top: 10px; }
.shot::before { content: ""; position: absolute; inset: 8% 6% -6%; background: radial-gradient(closest-side, var(--glow), transparent 75%); filter: blur(10px); }
.frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.frame-bar i:nth-child(1) { background: #f87171; } .frame-bar i:nth-child(2) { background: #fbbf24; } .frame-bar i:nth-child(3) { background: #34d399; }
.frame-bar span { margin: 0 auto; font-size: 12.5px; color: var(--ink3); background: var(--card); padding: 3px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.co { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; background: var(--card); padding: 9px 14px; border-radius: 14px; box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); white-space: nowrap; }
.co i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); color: #1b1405; font-style: normal; font-weight: 800; font-size: 12px; }
.co-1 { left: -26px; top: 14%; } .co-2 { right: -26px; top: 34%; } .co-3 { left: 6%; bottom: -22px; }
.shot-d { display: none; }
[data-theme="dark"] .shot-l { display: none; }
[data-theme="dark"] .shot-d { display: block; }
.frame picture img { width: 100%; height: auto; }

/* เครื่องคำนวณ */
.calc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; background: linear-gradient(180deg, var(--bg2), var(--bg)); border-radius: 30px; padding: 56px; box-shadow: inset 0 0 0 1px var(--line); }
.calc h2 { margin-top: 12px; }
.cp { padding: 26px; }
.cp-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--ink3); }
.cp-row b { font-family: "Prompt", sans-serif; font-size: 26px; color: var(--ink); letter-spacing: 0; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--v, 10%), var(--bg3) var(--v, 10%)); margin: 16px 0 22px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(11,22,48,.3), inset 0 0 0 6px var(--gold); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(11,22,48,.3), inset 0 0 0 6px var(--gold); cursor: pointer; }
.tgl { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tgl button { border: 0; padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; background: var(--bg3); color: var(--ink3); box-shadow: inset 0 0 0 1px var(--line); transition: all .2s; }
.tgl button.on { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--c); }
.cp-res { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cr { background: var(--bg2); border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line2); }
.cr > span { display: block; font-size: 12.5px; color: var(--ink3); font-weight: 600; }
.cr b { font-family: "Prompt", sans-serif; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.cr.main { grid-column: 1 / -1; background: var(--gold-ll); box-shadow: inset 0 0 0 1px var(--gold-l); }
.cr.main b { font-size: 40px; }
.cp svg { width: 100%; height: 90px; display: block; margin-top: 14px; }
.cp .fine { font-size: 12px; color: var(--ink3); margin: 12px 0 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--sh), inset 0 0 0 1px var(--gold-l); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: "Prompt", sans-serif; font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg3); color: var(--ink2); font-size: 20px; transition: transform .25s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #1b1405; }
.faq .a { padding: 0 24px 22px; color: var(--ink2); font-size: 15.5px; }

/* CTA ปิดท้าย */
.cta { position: relative; overflow: hidden; margin-top: 120px; border-radius: 34px; background: radial-gradient(700px 300px at 85% 0%, rgba(214,170,68,.35), transparent 70%), linear-gradient(160deg, #0b1630 0%, #13254b 100%); color: #fff; padding: 72px 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; }
.cta::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-14deg, transparent 0 46px, rgba(255,255,255,.03) 46px 47px); pointer-events: none; }
.cta h2 { font-family: "Prompt", sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; margin: 0 0 10px; position: relative; z-index: 1; }
.cta p { color: #c3cce0; margin: 0; position: relative; z-index: 1; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta .btn-soft { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

/* ท้ายหน้า */
.foot { margin-top: 90px; padding: 46px 0 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink3); }
.foot-top { display: flex; gap: 30px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; color: var(--ink2); }
.foot-links a:hover { color: var(--ink); }
.risk { font-size: 12.5px; line-height: 1.8; color: var(--ink3); max-width: 980px; }

/* เผยตอนเลื่อน */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .fcard { animation: none; } html { scroll-behavior: auto; } }

/* ── จอเล็ก ── */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .mnav { position: absolute; left: 24px; right: 24px; top: 74px; border-radius: 24px; background: var(--card); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); padding: 10px; flex-direction: column; }
  .mnav.open { display: flex; }
  .mnav a { text-decoration: none; padding: 13px 16px; border-radius: 14px; font-weight: 500; }
  .mnav a:hover { background: var(--bg3); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .bx:first-child { grid-column: 1 / -1; }
  .indi { grid-template-columns: 1fr; }
  .ic p { min-height: 0; }
  .calc { grid-template-columns: 1fr; padding: 34px; }
  .cta { grid-template-columns: 1fr; padding: 52px 34px; }
  .cta .btns { justify-content: flex-start; }
  .co-1, .co-2 { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap, .nav { padding: 0 16px; }
  .nav { top: 10px; margin-top: 10px; }
  .nav-in { height: 58px; padding: 0 8px 0 14px; }
  .logo { font-size: 17px; } .logo img { width: 32px; height: 32px; }
  .nav-r .btn-sm { padding: 0 14px; }
  .mnav { left: 16px; right: 16px; top: 66px; }
  .hero { padding-top: 46px; }
  .stage { min-height: 0; margin-top: 44px; }
  .fcard { position: relative; inset: auto; display: inline-block; margin: 0 6px 14px; transform: none; animation: none; }
  .fc-a, .fc-b { transform: rotate(-3deg); }
  .fc-b { transform: rotate(3deg); }
  .fc-c { display: none; }
  .fcard .v { font-size: 32px; }
  .sec { padding-top: 80px; }
  .bento { grid-template-columns: 1fr; }
  .band { padding: 22px; }
  .checks { margin-left: 0; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before, .steps::after { display: none; }
  .st .no { font-size: 84px; }
  .calc { padding: 24px 18px; border-radius: 24px; }
  .cp { padding: 20px; }
  .cr.main b { font-size: 32px; }
  .cta { margin-top: 80px; border-radius: 26px; padding: 40px 24px; }
  .co-3 { display: none; }
  .btn { height: 52px; padding: 0 22px; }
}

/* =========================================================
   หน้าเข้าสู่ระบบ
   ========================================================= */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { position: relative; overflow: hidden; color: #fff; background: radial-gradient(800px 420px at 90% -5%, rgba(214,170,68,.38), transparent 65%), linear-gradient(165deg, #0b1630 0%, #122348 60%, #0b1630 100%); padding: 44px 56px; display: flex; flex-direction: column; }
.auth-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-14deg, transparent 0 46px, rgba(255,255,255,.035) 46px 47px); pointer-events: none; }
.auth-art > * { position: relative; z-index: 1; }
.auth-art { align-items: center; }
.auth-art > * { width: 100%; max-width: 520px; }                 /* จอกว้าง: คอลัมน์เนื้อหาอยู่กลางแผง (8 ต.ค. 69) */
.auth-art .logo { color: #fff; }
.auth-art h2 { font-family: "Prompt", sans-serif; font-weight: 800; font-size: clamp(36px, 3.6vw, 52px); line-height: 1.15; margin: auto 0 16px; letter-spacing: -.02em; }
.auth-art h2 em { font-style: italic; background: linear-gradient(100deg, #f6dc94, #d9ac3e); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.auth-art p { color: #c3cce0; max-width: 460px; margin: 0 0 30px; }
.aa-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; max-width: 520px; }
.aa-stats div { border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.aa-stats b { display: block; font-family: "Prompt", sans-serif; font-size: 26px; font-weight: 700; color: #f3d68a; }
.aa-stats span { font-size: 12.5px; color: #9aa6c2; }
.aa-tick { margin-top: 26px; max-width: 520px; border-radius: 18px; background: rgba(0,0,0,.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); padding: 6px 16px; }
.aa-tick .lc-row:first-child { border-top: 0; }
.aa-foot { margin-top: 30px; font-size: 12px; color: #7d89a8; }
.auth-main { display: flex; flex-direction: column; padding: 28px 40px; background: var(--bg); }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-top a.back { text-decoration: none; font-size: 14.5px; color: var(--ink2); display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; }
.auth-top a.back:hover { background: var(--bg3); color: var(--ink); }
.auth-box { width: 100%; max-width: 430px; margin: auto; padding: 40px 0; }
.auth-box .logo-m { display: none; }
.auth-box h1 { font-family: "Prompt", sans-serif; font-weight: 800; font-size: 38px; letter-spacing: -.02em; margin: 0 0 6px; line-height: 1.2; }
.auth-box > p { color: var(--ink2); margin: 0 0 30px; }
.fld { margin-bottom: 18px; }
.fld label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.inp-w { position: relative; }
.inp-w svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--ink3); pointer-events: none; }
.inp { width: 100%; height: 56px; border-radius: 16px; border: 0; background: var(--bg2); color: var(--ink); font: inherit; font-size: 16px; padding: 0 16px 0 48px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; outline: none; }
.inp::placeholder { color: var(--ink3); }
.inp:focus { background: var(--card); box-shadow: inset 0 0 0 2px var(--gold), 0 0 0 5px var(--gold-ll); }
.fld small { display: block; color: var(--ink3); font-size: 12.5px; margin-top: 7px; }
.err { display: none; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--dn); background: var(--dn-bg); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.err.on { display: flex; }
.info { display: none; font-size: 14px; color: var(--ink2); background: var(--gold-ll); box-shadow: inset 0 0 0 1px var(--gold-l); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
.info.on { display: block; }
.info b { color: var(--ink); }
.info .btn { margin-top: 12px; width: 100%; }
.auth-box .btn-gold { width: 100%; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(27,20,5,.25); border-top-color: #1b1405; animation: sp .7s linear infinite; display: none; }
.btn.loading .spin { display: block; } .btn.loading .lbl, .btn.loading .arr { display: none; }
@keyframes sp { to { transform: rotate(360deg); } }
.dev { display: none; width: 100%; margin-top: 10px; height: 46px; border-radius: 14px; border: 1px dashed var(--line); background: transparent; color: var(--ink3); font-size: 14px; }
.dev.on { display: block; }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink3); font-size: 13px; margin: 26px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.alt { text-align: center; font-size: 14.5px; color: var(--ink2); }
.alt a { color: var(--gold-t); font-weight: 600; text-decoration: none; }
.alt a:hover { text-decoration: underline; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--ink3); margin-top: 26px; }
.secure svg { width: 15px; height: 15px; }
@media (max-width: 960px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-main { padding: 18px 16px; min-height: 100vh; }
  .auth-box { padding: 24px 0 40px; }
  .auth-box .logo-m { display: flex; margin-bottom: 26px; }
  .auth-box h1 { font-size: 32px; }
}

/* =========================================================
   แพ็กเกจราคา (การ์ดหัวสีมีหยัก · ราคาตัวอย่าง)
   ========================================================= */
.sample-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--gold-t); background: var(--gold-ll); padding: 6px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--gold-l); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--sh), inset 0 0 0 1px var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); }
.plan-h { position: relative; z-index: 1; background: var(--ph, var(--navy)); color: #fff; text-align: center; padding: 18px 16px 16px; font-family: "Prompt", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.plan-h::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 22px; height: 22px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 0 0 4px 0; }
.plan.p-trial { --ph: #64748b; }
.plan.p-month { --ph: #13254b; }
.plan.p-year  { --ph: linear-gradient(100deg, #e0b453 0%, #c9a24a 50%, #a97c27 100%); }
.plan.p-year .plan-h { color: #1b1405; }
.plan.p-prem  { --ph: linear-gradient(120deg, #0b1630 0%, #2b1d55 100%); }
.plan.hot { box-shadow: 0 0 0 2px var(--gold), var(--sh-lg); }
.plan .ribbon { position: absolute; z-index: 2; top: 14px; right: -34px; transform: rotate(40deg); background: #fff; color: #8f6519; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; padding: 3px 38px; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.plan-p { background: var(--bg2); text-align: center; padding: 26px 14px 18px; border-bottom: 1px solid var(--line2); }
.plan-p .per-k { font-size: 14px; color: var(--ink3); }
.plan-p .amt { display: flex; align-items: flex-start; justify-content: center; gap: 4px; font-family: "Prompt", sans-serif; font-weight: 700; line-height: 1; margin: 4px 0 6px; }
.plan-p .amt sup { font-size: 20px; margin-top: 8px; color: var(--ink2); }
.plan-p .amt b { font-size: 50px; letter-spacing: -.03em; }
.plan-p .amt small { align-self: flex-end; font-size: 15px; color: var(--ink3); font-weight: 600; margin-bottom: 6px; }
.plan-p .per { font-size: 14.5px; color: var(--ink2); }
.plan-p .per em { font-style: normal; color: var(--gold-t); font-weight: 700; }
.plan-b { padding: 20px 20px 8px; flex: 1; }
.plan-b > p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink2); line-height: 1.55; }
.plan-b ul { list-style: none; margin: 0; padding: 0; }
.plan-b li { position: relative; font-size: 14px; color: var(--ink2); padding: 6px 0 6px 14px; border-left: 1px solid var(--line); }
.plan-b li b { color: var(--ink); font-weight: 600; }
.plan-b li.no { color: var(--ink3); text-decoration: line-through; text-decoration-color: var(--line); }
.plan-b li.soon::after { content: "เร็ว ๆ นี้"; margin-left: 6px; font-size: 10.5px; font-weight: 700; color: var(--gold-t); background: var(--gold-ll); padding: 1px 7px; border-radius: 99px; }
.plan-f { padding: 18px 20px 22px; display: flex; justify-content: center; }
.btn-line { height: 48px; padding: 0 26px; border-radius: 99px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); font-weight: 600; font-size: 15px; letter-spacing: .02em; width: 100%; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.plan.hot .btn-line { background: var(--grad); color: #1b1405; box-shadow: 0 10px 24px -10px rgba(201,162,74,.7); }
.plan.hot .btn-line:hover { filter: brightness(1.05); }
.btn-line[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.plans-foot { text-align: center; font-size: 13px; color: var(--ink3); margin-top: 22px; }
@media (max-width: 1020px) { .plans { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* ── กราฟจำลองบนหน้าแรก (8 ต.ค. 69) ── */
.ld { display: grid; grid-template-columns: minmax(0,1fr) 260px; min-height: 480px; }
.ld-main { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line2); }
.ld-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.ld-top b { font-family: "Prompt", sans-serif; font-size: 15px; }
.ld-px { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 20px; }
.ld-top .up { color: var(--up); font-size: 13px; } .ld-top .dn { color: var(--dn); font-size: 13px; }
.ld-demo { font-size: 11.5px; font-weight: 600; color: var(--gold-t); background: var(--gold-ll); box-shadow: inset 0 0 0 1px var(--gold-l); padding: 3px 10px; border-radius: 99px; }
.ld-tf { margin-left: auto; display: flex; gap: 2px; background: var(--bg3); border-radius: 99px; padding: 3px; }
.ld-tf button { border: 0; background: transparent; color: var(--ink3); font-weight: 600; font-size: 12.5px; padding: 5px 12px; border-radius: 99px; cursor: pointer; }
.ld-tf button.on { background: var(--grad); color: #1b1405; }
.ld-chart { flex: 1; min-height: 420px; position: relative; }
.ld-side { padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg2); }
.ld-k { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 14px; }
.ld-g { display: grid; gap: 8px; }
.ld-g button { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; border-radius: 14px; padding: 10px 12px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line), inset 3px 0 0 var(--c); transition: transform .15s, background .2s; }
.ld-g button span { width: 30px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); font-family: "Prompt", sans-serif; font-weight: 800; font-size: 12.5px; }
.ld-g button:hover { transform: translateY(-1px); }
.ld-g button.on { background: var(--c); color: #fff; box-shadow: 0 10px 22px -12px var(--c); }
.ld-g button.on span { background: rgba(255,255,255,.22); color: #fff; }
.ld-sig { background: var(--card); border-radius: 16px; padding: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.ld-st { font-size: 12.5px; font-weight: 600; color: var(--ink3); }
.ld-st.live { color: var(--gold-t); }
.ld-big { font-family: "Prompt", sans-serif; font-weight: 800; font-size: 24px; margin: 2px 0 6px; }
.ld-big.up { color: var(--up); } .ld-big.dn { color: var(--dn); }
.ld-lv { display: flex; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--ink2); }
.ld-pl { font-family: "Prompt", sans-serif; font-weight: 700; font-size: 20px; margin-top: 8px; }
.ld-pl small { font-family: "IBM Plex Sans Thai", sans-serif; font-size: 11.5px; font-weight: 500; color: var(--ink3); }
.ld-wr { font-size: 12px; color: var(--ink3); margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ld-note { text-align: center; font-size: 13px; color: var(--ink3); margin: 16px 0 0; }
@media (max-width: 860px) {
  .ld { grid-template-columns: 1fr; }
  .ld-main { border-right: 0; border-bottom: 1px solid var(--line2); }
  .ld-chart { min-height: 340px; }
  .ld-g { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .ld-g button { flex-direction: column; gap: 4px; font-size: 12px; padding: 9px 6px; text-align: center; }
}

/* ── หน้าสมัครสมาชิก (จำลอง · 8 ต.ค. 69) ── */
.su-cta { width: 100%; height: 54px; }
.alt-sm { font-size: 13px; margin-top: 12px; color: var(--ink3); }
.su-how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 480px; }
.su-how li { display: flex; gap: 14px; align-items: center; border-radius: 16px; padding: 14px 16px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.su-how i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(100deg, #f2d482, #c9a24a); color: #1b1405; font-style: normal; font-family: "Prompt", sans-serif; font-weight: 800; }
.su-how b { display: block; font-size: 15.5px; } .su-how span { font-size: 13px; color: #9aa6c2; }
.su-renew-art { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; max-width: 480px; padding: 14px 16px; border-radius: 16px; background: rgba(214,170,68,.12); box-shadow: inset 0 0 0 1px rgba(214,170,68,.3); }
.su-renew-art svg { flex: none; width: 22px; height: 22px; color: #f2d482; margin-top: 2px; }
.su-renew-art b { display: block; color: #f3d68a; } .su-renew-art span { font-size: 13px; color: #c3cce0; }
.su-box { max-width: 460px; }
.su-demo { display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold-t); background: var(--gold-ll); box-shadow: inset 0 0 0 1px var(--gold-l); padding: 4px 12px; border-radius: 99px; margin-bottom: 18px; }
.su-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 26px; }
.su-steps span { font-size: 12px; font-weight: 600; color: var(--ink3); padding-top: 10px; position: relative; }
.su-steps span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 99px; background: var(--bg3); }
.su-steps span.done::before, .su-steps span.on::before { background: var(--grad); }
.su-steps span.on { color: var(--ink); }
.su-pane { display: none; animation: suin .35s ease; }
.su-pane.on { display: block; }
@keyframes suin { from { opacity: 0; transform: translateY(8px); } }
.su-pane h1 { font-family: "Prompt", sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -.02em; margin: 0 0 4px; line-height: 1.2; }
.su-pane .c { text-align: center; }
.su-sub { color: var(--ink2); margin: 0 0 22px; }
.su-plans { display: grid; gap: 10px; margin-bottom: 14px; }
.su-plan { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; border-radius: 18px; padding: 16px 18px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .15s, background .2s; position: relative; }
.su-plan:hover { transform: translateY(-1px); }
.su-plan.on { background: var(--gold-ll); box-shadow: inset 0 0 0 2px var(--gold), 0 10px 26px -14px rgba(201,162,74,.8); }
.su-r { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); transition: box-shadow .2s; }
.su-plan.on .su-r { box-shadow: inset 0 0 0 7px var(--gold); }
.su-plan div { flex: 1; min-width: 0; }
.su-plan b { display: block; font-size: 16px; }
.su-plan b i { font-style: normal; font-size: 11px; font-weight: 700; color: #1b1405; background: var(--grad); padding: 2px 8px; border-radius: 99px; margin-left: 6px; vertical-align: 2px; }
.su-plan small { font-size: 13px; color: var(--ink3); }
.su-plan em { font-style: normal; font-family: "Prompt", sans-serif; font-weight: 700; font-size: 20px; white-space: nowrap; }
.su-plan em small { font-family: "IBM Plex Sans Thai", sans-serif; font-size: 12px; font-weight: 500; }
.su-renew { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 20px; cursor: pointer; transition: opacity .2s; position: relative; }
.su-renew.off { opacity: .45; pointer-events: none; }
.su-renew input { position: absolute; opacity: 0; pointer-events: none; }
.su-renew .sw { flex: none; width: 44px; height: 26px; border-radius: 99px; background: var(--line); position: relative; transition: background .2s; }
.su-renew .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.su-renew input:checked + .sw { background: var(--gold); }
.su-renew input:checked + .sw::after { transform: translateX(18px); }
.su-renew input:focus-visible + .sw { box-shadow: 0 0 0 4px var(--gold-ll); }
.su-renew b { display: block; font-size: 14.5px; } .su-renew small { font-size: 12.5px; color: var(--ink3); }
.su-box .btn-gold { width: 100%; }
.sample-line { text-align: center; font-size: 12.5px; color: var(--ink3); margin: 12px 0 0; }
.fld .opt { font-weight: 400; color: var(--ink3); font-size: 12.5px; }
.su-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink2); margin: 4px 0 16px; cursor: pointer; }
.su-agree input { margin-top: 3px; width: 17px; height: 17px; accent-color: #c9a24a; flex: none; }
.su-agree a { color: var(--gold-t); font-weight: 600; margin: 0 3px; }
.su-sum { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--gold-ll); box-shadow: inset 0 0 0 1px var(--gold-l); font-size: 14px; color: var(--ink2); margin-bottom: 16px; }
.su-sum b { font-family: "Prompt", sans-serif; font-size: 18px; color: var(--ink); }
.su-btns { display: grid; grid-template-columns: 56px 1fr; gap: 10px; }
.su-btns .btn-soft { padding: 0; }
.su-btns-sm { grid-template-columns: 1fr 1fr; margin-top: 10px; }
.su-btns-sm .btn { height: 44px; font-size: 13.5px; }
.qr-card { border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); margin-bottom: 16px; }
.qr-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: #0b1f4a; color: #fff; }
.qr-h b { font-family: "Prompt", sans-serif; font-size: 15px; letter-spacing: .02em; }
.qr-h span { font-size: 12.5px; color: #f2d482; font-weight: 600; }
.qr-body { padding: 22px 18px 16px; text-align: center; }
.qr-wrap { position: relative; width: 210px; height: 210px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 16px; box-shadow: inset 0 0 0 1px #e6e9f1; box-sizing: border-box; }
.qr-wrap svg { width: 100%; height: 100%; display: block; }
.qr-wm { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-18deg); font-family: "Prompt", sans-serif; font-weight: 800; font-size: 30px; color: rgba(225,29,72,.75); background: rgba(255,255,255,.85); padding: 0 12px; border-radius: 8px; border: 2px solid rgba(225,29,72,.6); pointer-events: none; }
.qr-amt { margin-top: 16px; } .qr-amt small { display: block; font-size: 12.5px; color: var(--ink3); }
.qr-amt b { font-family: "Prompt", sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.qr-meta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink3); margin-top: 4px; }
.qr-meta b { color: var(--ink); font-weight: 600; }
.qr-f { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: var(--bg2); border-top: 1px solid var(--line2); font-size: 12.5px; color: var(--ink2); }
.qr-wait { display: inline-flex; align-items: center; gap: 8px; }
.qr-wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: qrpulse 1.4s ease-in-out infinite; }
@keyframes qrpulse { 50% { opacity: .25; transform: scale(.7); } }
.qr-cd b { font-family: "Prompt", sans-serif; color: var(--ink); }
.su-ok { width: 76px; height: 76px; margin: 4px auto 14px; }
.su-ok svg { width: 100%; height: 100%; fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.su-ok circle { stroke: var(--up); stroke-dasharray: 151; stroke-dashoffset: 151; animation: sudraw .7s ease forwards; fill: var(--up-bg); }
.su-ok path { stroke: var(--up); stroke-dasharray: 40; stroke-dashoffset: 40; animation: sudraw .45s ease .55s forwards; }
@keyframes sudraw { to { stroke-dashoffset: 0; } }
.mail { text-align: left; border-radius: 20px; background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line); margin: 6px 0 18px; overflow: hidden; }
.mail-h { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line2); }
.mail-av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.mail-av img { width: 26px; height: 26px; }
.mail-h div { flex: 1; min-width: 0; font-size: 14px; }
.mail-h small { color: var(--ink3); font-size: 12px; }
.mail-h span { display: block; font-size: 12px; color: var(--ink3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-h i { font-style: normal; color: var(--ink2); }
.mail-h time { font-size: 12px; color: var(--ink3); white-space: nowrap; }
.mail-s { padding: 14px 16px 0; font-family: "Prompt", sans-serif; font-weight: 700; font-size: 16px; }
.mail-b { padding: 8px 16px 16px; font-size: 14px; color: var(--ink2); }
.mail-b p { margin: 0 0 12px; }
.cred { display: grid; gap: 8px; }
.cred div { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.cred small { grid-column: 1; font-size: 12px; color: var(--ink3); }
.cred b { grid-column: 1; color: var(--ink); font-size: 15px; word-break: break-all; }
.cred b.mono { font-family: ui-monospace, Consolas, monospace; font-size: 17px; letter-spacing: .04em; }
.cred button { grid-column: 2; grid-row: 1 / 3; border: 0; border-radius: 99px; padding: 7px 12px; background: var(--card); color: var(--ink2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.cred button:hover { color: var(--ink); }
.mail-l { margin: 12px 0 0; padding-left: 18px; font-size: 13px; } .mail-l li { margin: 4px 0; } .mail-l b { color: var(--ink); }
@media (max-width: 480px) {
  .su-pane h1 { font-size: 28px; }
  .su-plan { padding: 14px; gap: 10px; } .su-plan em { font-size: 17px; }
  .qr-wrap { width: 190px; height: 190px; }
}

/* แผงซ้ายหน้า Login/สมัคร: ทุกชิ้นกว้างเท่าคอลัมน์ 520px จะได้ตรงแนวกันตอนจอกว้าง (8 ต.ค. 69) */
.auth-art > p, .auth-art > .aa-stats, .auth-art > .aa-tick, .auth-art > .su-how, .auth-art > .su-renew-art { max-width: 520px; }

/* ── หน้าปก + รูปโค้ช · หน้าแรก v2.0 (17 ต.ค. 69) ──
   โหมดสว่าง = พื้นครีม-ทองอ่อนทั้งหน้า · โหมดมืด = กรมท่า (ผู้ใช้: "ถ้าโหมดสว่าง มันก็ต้องสว่างหมดสิ") */
.hero { margin-top: -78px; padding-top: 150px; padding-bottom: 70px;
  background: radial-gradient(820px 560px at 76% 42%, rgba(214,170,68,.20), transparent 68%), linear-gradient(180deg, #f8f1e1 0%, #fcf8ef 55%, #ffffff 100%); }
[data-theme="dark"] .hero { background: radial-gradient(820px 560px at 76% 42%, rgba(214,170,68,.13), transparent 68%), linear-gradient(180deg, #060c1d 0%, #0b1630 48%, #0a1430 72%, var(--bg) 100%); }
.hero::after { display: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 30px; align-items: center; text-align: left; }
.hero-txt { padding: 10px 0 30px; }
.hero-grid .eyebrow::before { display: none; }
.hero-grid h1 { font-size: clamp(44px, 6.4vw, 88px); margin: 18px 0 20px; }
.hero-grid h1 .l2 { padding-left: 0; }
.hero-grid p.lead { margin: 0 0 32px; max-width: 560px; }
.hero-grid .hero-cta, .hero-grid .trust { justify-content: flex-start; }
.hero-coach { position: relative; margin: 0; align-self: end; }
.hero-coach::before { content: ""; position: absolute; left: 50%; top: 9%; width: min(420px, 88%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(160deg, #f3dfa8 0%, #e2bf6e 55%, #c99a3e 100%); opacity: .55; }
[data-theme="dark"] .hero-coach::before { background: linear-gradient(160deg, #1b2c55 0%, #142347 60%, #0e1b39 100%); opacity: 1; box-shadow: inset 0 0 0 1px rgba(233,196,108,.35); }
.hero-coach img { position: relative; display: block; width: auto; height: min(560px, 68vh); max-width: 100%; object-fit: contain; object-position: bottom; margin: 0 auto; -webkit-mask-image: linear-gradient(180deg, #000 93%, transparent 100%); mask-image: linear-gradient(180deg, #000 93%, transparent 100%); }
.coach-tag { position: absolute; left: 4%; bottom: 14%; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 30px -14px rgba(11,22,48,.35), inset 0 0 0 1px rgba(201,162,74,.45); }
[data-theme="dark"] .coach-tag { background: rgba(10,19,40,.85); box-shadow: inset 0 0 0 1px rgba(233,196,108,.35); }
.coach-tag b { display: block; font: 700 16px/1.3 Prompt, sans-serif; color: var(--ink); }
.coach-tag span { font-size: 12.5px; color: var(--gold-t); }
.hero .stage { margin-top: 30px; }
@media (max-width: 860px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .hero-txt { padding-bottom: 0; }
  .hero-grid p.lead { margin: 0 auto 30px; }
  .hero-grid .hero-cta, .hero-grid .trust { justify-content: center; }
  .hero-coach img { height: min(420px, 55vh); }
  .coach-tag { left: 50%; transform: translateX(-50%); bottom: 10%; text-align: center; white-space: nowrap; }
}

/* ── บทวิเคราะห์ล่าสุด: การ์ดข่าว (หน้าแรก v2.0 · 17 ต.ค. 69) ── */
.an-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.an-head h2 { margin-bottom: 10px; } .an-head p { color: var(--ink2); margin: 0; font-size: 17px; }
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nc { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.nc:hover { transform: translateY(-4px); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--gold-l); }
.nc-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0b1630; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nc:hover .nc-img img { transform: scale(1.04); }
.nc-draft { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.92); color: #9a7224; }
.nc-b { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nc-b small { color: var(--ink3); font-size: 13px; }
.nc-b h3 { margin: 0; font: 700 19px/1.4 Prompt, "IBM Plex Sans Thai", sans-serif; color: var(--ink); }
.nc-b p { margin: 0; color: var(--ink2); font-size: 15.5px; line-height: 1.75; }
.nc-lv { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink3); margin-top: auto; padding-top: 6px; }
.nc-lv b { font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 4px; } .nc-lv .r { color: var(--dn); } .nc-lv .s { color: var(--up); }
.nc-lv .g { font-weight: 700; color: var(--gold-t); }
.nc-more { font-weight: 600; color: var(--gold-t); margin-top: 6px; }
.nc-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.nc-main .nc-img { aspect-ratio: auto; align-self: stretch; display: flex; align-items: center; background: linear-gradient(180deg, #060c1d, #0e1b39); } .nc-main .nc-img img { height: auto; object-fit: contain; }
.nc-main .nc-b { padding: 34px 36px; justify-content: center; gap: 12px; }
.nc-main .nc-b h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; }
.nc-main .nc-b p { font-size: 16.5px; }
.nc-main .nc-lv { margin-top: 6px; font-size: 14.5px; }

/* ── ทำความรู้จักโค้ช (หน้าแรก v2.0) ── */
.coach-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.coach-pic { position: relative; margin: 0; }
.coach-pic::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 92%; height: 82%; transform: translateX(-50%); border-radius: 280px 280px 28px 28px; background: linear-gradient(170deg, #f3dfa8 0%, #e2bf6e 55%, #c99a3e 100%); opacity: .5; }
[data-theme="dark"] .coach-pic::before { background: linear-gradient(170deg, #1b2c55 0%, #142347 60%, #0e1b39 100%); opacity: 1; box-shadow: inset 0 0 0 1px rgba(233,196,108,.3); }
.coach-pic img { position: relative; display: block; width: auto; height: min(560px, 70vh); max-width: 100%; margin: 0 auto; object-fit: contain; object-position: bottom; }
.coach-badge { position: absolute; right: 4%; bottom: 18%; padding: 14px 18px; border-radius: 16px; background: var(--card); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); }
.coach-badge b { display: block; font: 800 26px/1.1 Prompt, sans-serif; color: var(--ink); } .coach-badge span { font-size: 12.5px; color: var(--ink3); }
.coach-txt h2 { margin: 16px 0 6px; }
.coach-role { color: var(--gold-t); font-weight: 600; font-size: 16.5px; margin: 0 0 18px; }
.coach-txt > p { color: var(--ink2); font-size: 17px; line-height: 1.85; margin: 0 0 18px; }
.coach-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.coach-list li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16px; }
.coach-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #1b1405; background: var(--grad); }
.coach-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.coach-stats > div { padding: 16px 0; } .coach-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.coach-stats b { display: block; font: 800 28px/1.15 Prompt, sans-serif; color: var(--ink); } .coach-stats span { font-size: 13px; color: var(--ink3); }
.coach-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .ngrid { grid-template-columns: 1fr; } .nc-main { grid-template-columns: 1fr; } .nc-main .nc-img { min-height: 0; aspect-ratio: 16 / 9; } .nc-main .nc-b { padding: 20px; }
  .coach-wrap { grid-template-columns: 1fr; gap: 26px; } .coach-pic img { height: min(420px, 60vh); }
}

/* ── แบ่งส่วน: โค้ชเป็นแถบพื้นต่างสี คั่นระหว่างบทวิเคราะห์กับแพ็กเกจ (17 ต.ค. 69 ผู้ใช้: "มันติดกันเกินไป") ── */
#analysis { padding-bottom: 20px; }
#coach { margin-top: 110px; padding: 100px 0; position: relative;
  background: #fbf6ea; }
[data-theme="dark"] #coach { background: #0a1329; }
#coach::before, #coach::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: min(1180px, 90%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,74,.55), transparent); }
#coach::before { top: 0; } #coach::after { bottom: 0; }
#coach + .sec { padding-top: 120px; }
@media (max-width: 900px) { #coach { margin-top: 70px; padding: 70px 0; } #coach + .sec { padding-top: 80px; } }
.btn-yt svg { width: 22px; height: 22px; flex: none; }

/* ── แถบเมนู: แสงทองตามเมาส์ + ขอบเรือง (17 ต.ค. 69 ผู้ใช้: "เวลาชี้ให้มันเรืองแสง มีประกายอยู่ในเมาส์") ──
   ตำแหน่งเมาส์ส่งมาเป็น --mx / --my จาก JS (site.js + หน้าบทวิเคราะห์) */
.nav-in { position: relative; overflow: hidden; isolation: isolate; }
.nav-in > * { position: relative; z-index: 1; }
.nav-in::before, .nav-in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; z-index: 0; }
.nav-in::before { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(214,170,68,.20), transparent 62%); }
.nav-in::after { padding: 1.2px; background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(233,196,108,.95), rgba(233,196,108,.25) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.nav-in:hover::before, .nav-in:hover::after { opacity: 1; }
[data-theme="dark"] .nav-in::before { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(233,196,108,.16), transparent 62%); }
.nav-links a:hover { background: transparent; color: var(--gold-t); text-shadow: 0 0 14px rgba(233,196,108,.55); }
@media (hover: none) { .nav-in::before, .nav-in::after { display: none; } }

/* ── ตัวเปลี่ยนภาษา TH / EN (17 ต.ค. 69) — ปุ่มธง + เมนูเลือก แบบที่ผู้ใช้ส่งรูปมา ── */
.nav-in { overflow: visible; }
.lang-sw { position: relative; z-index: 5; }
.ls-cur { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 10px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font: 700 14px Prompt, sans-serif; letter-spacing: .02em; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); transition: box-shadow .2s; }
.ls-cur::after { content: ""; border: 4.5px solid transparent; border-top-color: currentColor; border-bottom-width: 0; margin-left: 2px; transition: transform .2s; }
.lang-sw.open .ls-cur::after { transform: rotate(180deg); }
.ls-cur:hover, .lang-sw.open .ls-cur { box-shadow: inset 0 0 0 2px rgba(233,196,108,.7); }
[data-theme="dark"] .ls-cur { background: #1a2745; }
.lang-sw .flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.ls-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; padding: 6px; border-radius: 14px; background: var(--card); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .18s, transform .18s; }
.lang-sw.open .ls-menu { opacity: 1; transform: none; pointer-events: auto; }
.ls-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: 600 14.5px "IBM Plex Sans Thai", sans-serif; text-align: left; }
.ls-menu button small { margin-left: auto; color: var(--ink3); font-size: 12.5px; font-weight: 500; }
.ls-menu button:hover { background: var(--bg3); }
.ls-menu button.on { background: var(--gold-ll); box-shadow: inset 0 0 0 1px var(--gold-l); }
@media (max-width: 760px) { .ls-cur { height: 38px; padding: 0 9px; } .ls-cur span { display: none; } }

/* ── ข้อความสองภาษาที่เขียนไว้แล้ว (บทความ / การ์ดข่าว) ── */
html:not([data-lang="en"]) [data-l="en"], html[data-lang="en"] [data-l="th"] { display: none !important; }

/* ── มือถือ: แถบประกาศบรรทัดเดียว + เมนูไม่เบียดโลโก้ (17 ต.ค. 69 ผู้ใช้เปิดจาก iPhone แล้วส่วนบนพัง) ── */
.mnav-theme { display: none; }
@media (max-width: 760px) {
  .ann { font-size: 12.5px; }
  .ann .wrap { flex-wrap: nowrap; gap: 8px; min-height: 38px; padding: 6px 12px; white-space: nowrap; }
  .ann-long { display: none; }
  .ann a { padding: 2px 10px; }
  .nav { padding: 0 12px; top: 10px; margin-top: 10px; }
  .nav-in { height: 58px; gap: 6px; padding: 0 7px 0 12px; }
  .logo { font-size: 16px; gap: 7px; white-space: nowrap; } .logo img { width: 28px; height: 28px; }
  .nav-r { gap: 6px; }
  .nav-r .theme-btn { display: none; }
  .nav-r .btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .icon-btn { width: 38px; height: 38px; }
  .ls-cur { height: 38px; padding: 0 8px 0 8px; gap: 6px; }
  .mnav-theme { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--bg3); color: var(--ink); font: 600 15px "IBM Plex Sans Thai", sans-serif; text-align: left; }
  .hero { margin-top: -68px; padding-top: 112px; }
}
@media (max-width: 400px) { .logo { font-size: 15px; gap: 6px; } .nav-in { padding: 0 6px 0 10px; gap: 5px; } .nav-r { gap: 5px; } .nav-r .btn-sm { padding: 0 12px; font-size: 13px; } .ls-cur { padding: 0 6px; } .ls-cur::after { margin-left: 0; } }
/* หน้าที่ไม่มีเมนูมือถือ (บทวิเคราะห์ / login) ยังมีปุ่มสลับโหมดในแถบ */
@media (max-width: 760px) { .an-page .nav-r .theme-btn, .auth-top .nav-r .theme-btn { display: grid; } }
@media (max-width: 760px) {
  .coach-stats b { font-size: 22px; white-space: nowrap; } .coach-stats > div + div { padding-left: 12px; } .coach-stats span { font-size: 12px; }
  .coach-cta { flex-direction: column; } .coach-cta .btn { width: 100%; }
  .an-head .btn { width: 100%; }
}

/* ── v2.2 (20 ต.ค. 69): จุดขาย 4 ข้อในหน้าปก (.usp) + ส่วน "ในระบบมีอะไรบ้าง" (.feats) ── */
.hero-grid p.lead { margin-bottom: 24px; }
.usp { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 600px; }
.usp li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(201,162,74,.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
[data-theme="dark"] .usp li { background: rgba(13,23,45,.62); box-shadow: inset 0 0 0 1px rgba(233,196,108,.2); }
.usp-i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #2a1d05; box-shadow: 0 6px 14px -8px rgba(184,134,44,.9); }
.usp-i svg { width: 19px; height: 19px; }
.usp b { display: block; font: 700 15.5px/1.35 Prompt, "IBM Plex Sans Thai", sans-serif; color: var(--ink); }
.usp small { display: block; font-size: 13.5px; line-height: 1.5; color: var(--ink2); margin-top: 3px; }
.usp small b { display: inline; font: inherit; font-weight: 700; color: var(--gold-t); }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ft { padding: 22px 20px; border-radius: var(--r); background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line); transition: transform .25s, box-shadow .25s; }
.ft:hover { transform: translateY(-4px); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--gold-l); }
.ft-i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-ll); color: var(--gold-t); box-shadow: inset 0 0 0 1px var(--gold-l); margin-bottom: 14px; }
.ft-i svg { width: 22px; height: 22px; }
.ft h3 { margin: 0 0 6px; font: 700 17px/1.4 Prompt, "IBM Plex Sans Thai", sans-serif; color: var(--ink); }
.ft p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink2); }
@media (max-width: 1020px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .usp { margin: 0 auto 26px; text-align: left; } }
@media (max-width: 560px) {
  .usp { gap: 8px; }
  .usp li { flex-direction: column; gap: 8px; padding: 12px; }
  .usp-i { width: 32px; height: 32px; border-radius: 10px; }
  .usp b { font-size: 14.5px; } .usp small { font-size: 12.5px; }
  .feats { grid-template-columns: 1fr; gap: 12px; }
  .ft { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; }
  .ft-i { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
}
/* v2.2: หัวข้อเล็กลงนิด ให้จุดขาย 4 ข้อ + ปุ่มอยู่ในจอแรกของคอม (1366×860) */
.hero-grid h1 { font-size: clamp(42px, 5.6vw, 80px); margin: 14px 0 16px; }
.usp { max-width: 640px; }
.usp small { font-size: 13px; }
/* v2.2 มือถือ/แท็บเล็ต: ปุ่มขึ้นก่อนจุดขาย ให้กดได้ในจอแรก */
@media (max-width: 860px) {
  .hero-txt { display: flex; flex-direction: column; align-items: center; }
  .hero-txt .hero-cta { order: 3; margin-bottom: 22px; }
  .hero-txt .usp { order: 4; width: 100%; }
  .hero-txt .trust { order: 5; margin-top: 4px; }
}
@media (max-width: 560px) { .hero-grid .eyebrow { font-size: 12px; letter-spacing: .02em; } }

/* ── v2.2 รอบ 2 (20 ต.ค. 69): โชว์ทุกระบบในตัว ── */
.mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mod { display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; padding: 16px; border-radius: 18px; text-decoration: none; background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.mod:hover { transform: translateY(-3px); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--gold); }
.mod-i { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #2a1d05; }
.mod-i svg { width: 21px; height: 21px; }
.mod b { font: 700 15.5px/1.35 Prompt, "IBM Plex Sans Thai", sans-serif; color: var(--ink); }
.mod small { font-size: 13px; line-height: 1.45; color: var(--ink2); }
.sc.tone { background: linear-gradient(180deg, var(--gold-ll), transparent 85%); }
[data-theme="dark"] .sc.tone { background: linear-gradient(180deg, rgba(21,39,77,.55), transparent 85%); }
.sc-h { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 20px 48px; align-items: end; margin-bottom: 30px; }
.sc-h h2 { margin: 14px 0 12px; } .sc-h p { margin: 0; color: var(--ink2); font-size: 17px; }
.sc-pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sc-pts li { position: relative; padding: 10px 14px 10px 40px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; line-height: 1.55; color: var(--ink2); }
.sc-pts li::before { content: "✓"; position: absolute; left: 13px; top: 10px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #2a1d05; background: var(--grad); }
.sc-pts b { color: var(--ink); }
.sc-shot { --sc: var(--gold); margin: 0; border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--sh-lg), 0 0 0 1px var(--line), 0 0 0 6px color-mix(in srgb, var(--sc) 12%, transparent); transition: box-shadow .3s; }
.sc-shot .frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--bg3); border-bottom: 1px solid var(--line); }
.sc-shot .frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e7ef; } .sc-shot .frame-bar i:nth-child(1) { background: #ff6159; } .sc-shot .frame-bar i:nth-child(2) { background: #ffbd2e; } .sc-shot .frame-bar i:nth-child(3) { background: #28c941; }
.sc-shot .frame-bar span { margin-left: 8px; font-size: 12px; color: var(--ink3); }
.sc-shot img { width: 100%; height: auto; }
#news .sc-shot { max-width: 900px; margin: 0 auto; } #demo .sc-shot { max-width: 1000px; margin: 0 auto; }
.sc-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sc-tabs button { --sc: var(--gold); display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border: 0; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sc-tabs .tb-i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--sc); background: color-mix(in srgb, var(--sc) 14%, transparent); }
.sc-tabs .tb-i svg { width: 18px; height: 18px; }
.sc-tabs b { font: 700 15px Prompt, "IBM Plex Sans Thai", sans-serif; color: var(--ink2); }
.sc-tabs button.on { box-shadow: inset 0 0 0 2px var(--sc), 0 10px 24px -14px var(--sc); } .sc-tabs button.on b { color: var(--ink); }
.sc-tabtxt { margin: 0 0 18px; color: var(--ink2); font-size: 15.5px; min-height: 1.6em; }
.chs { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chs li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: var(--ink2); }
.chs i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: var(--gold-ll); color: var(--gold-t); box-shadow: inset 0 0 0 1px var(--gold-l); }
@media (max-width: 1020px) { .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc-h { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 560px) {
  .mods { gap: 10px; } .mod { grid-template-columns: 1fr; padding: 14px; row-gap: 6px; } .mod-i { grid-row: auto; width: 36px; height: 36px; }
  .mod b { font-size: 14.5px; } .mod small { font-size: 12.5px; }
  .sc-shot { border-radius: 14px; } .sc-shot .frame-bar { padding: 7px 10px; } .sc-shot .frame-bar span { display: none; }
  .sc-tabs button { padding: 7px 12px 7px 7px; } .sc-tabs .tb-i { width: 28px; height: 28px; } .sc-tabs b { font-size: 13.5px; }
  .sc-pts li { font-size: 14px; }
}
/* v2.2 มือถือ: ภาพหน้าจอเล็กเกินอ่าน → แสดงขนาดอ่านได้ แล้วปัดซ้าย-ขวาดู */
@media (max-width: 760px) {
  .sc-shot { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .sc-shot .frame-bar { position: sticky; left: 0; }
  .sc-shot img { width: 820px; max-width: none; }
  #news .sc-shot img { width: 680px; }
  .sc-shot::after { content: "← ปัดซ้าย-ขวาเพื่อดูเต็มจอ →"; position: sticky; left: 0; display: block; padding: 7px 12px; font-size: 12px; text-align: center; color: var(--ink3); background: var(--bg3); border-top: 1px solid var(--line); }
  [data-lang="en"] .sc-shot::after { content: "← swipe to see the full screen →"; }
}

/* ── หน้า Login / สมัคร บนจอสูง-กว้าง (20 ต.ค. 69 ผู้ใช้แจ้ง "เนื้อหาซ้ายตกไปล่างสุด"): ──
   โลโก้ชิดบน · ข้อความหลักอยู่กลางแนวตั้ง · หมายเหตุชิดล่าง · จอใหญ่ขยายคอลัมน์ให้สมดุล */
.auth-art > .logo { margin-bottom: auto; }
.auth-art h2 { margin: 40px 0 16px; }
.auth-art > .aa-foot { margin-top: auto; padding-top: 28px; }
.auth-art > :nth-last-child(2) { margin-bottom: 0; }
@media (min-width: 1700px) {
  .auth-art > * { max-width: 600px; }
  .auth-art > p, .auth-art > .aa-stats, .auth-art > .aa-tick, .auth-art > .su-how, .auth-art > .su-renew-art { max-width: 600px; }
  .auth-art h2 { font-size: 60px; }
  .auth-box { max-width: 480px; }
}
@media (min-width: 2400px) {
  .auth { font-size: 18px; }
  .auth-art > *, .auth-art > p, .auth-art > .su-how, .auth-art > .su-renew-art, .auth-art > .aa-stats, .auth-art > .aa-tick { max-width: 720px; }
  .auth-art h2 { font-size: 72px; }
  .auth-box { max-width: 560px; }
}

/* 21 ต.ค. 69: การ์ดบทวิเคราะห์ใบใหญ่ — รูปเต็มกรอบ ไม่มีแถบมืดบน/ล่าง (ผู้ใช้วงแดง) */
.nc-main .nc-img { display: block; }
.nc-main .nc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; }
@media (max-width: 900px) { .nc-main .nc-img img { position: static; height: 100%; } }

/* 21 ต.ค. 69: มือถือหน้าแรกมีปุ่มสลับโหมดสว่าง/มืดในแถบบน (ผู้ใช้ขอ) */
@media (max-width: 760px) { .nav-r .theme-btn { display: grid; } }
@media (max-width: 400px) { .nav-r .theme-btn, .nav-r .menu-btn { width: 34px; height: 34px; } .nav-r .theme-btn svg { width: 17px; height: 17px; } .nav-r .btn-sm { padding: 0 10px; } }

/* 21 ต.ค. 69: แถบเมนูจอกลาง (ผู้ใช้วงแดงที่ ~1,065px — ชื่อเมนูถูกตัด 2 บรรทัด)
   ชื่อเมนูไม่ตัดบรรทัดเสมอ · 1,141–1,280px บีบช่องไฟ · ≤1,140px เปลี่ยนเป็นปุ่มเมนู (☰) แบบมือถือ */
.nav-links a { white-space: nowrap; }
@media (max-width: 1280px) { .nav-links { margin-left: 12px; gap: 0; } .nav-links a { padding: 8px 10px; font-size: 14px; } }
@media (max-width: 1140px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .mnav { position: absolute; left: 24px; right: 24px; top: 74px; border-radius: 24px; background: var(--card); box-shadow: var(--sh-lg), inset 0 0 0 1px var(--line); padding: 10px; flex-direction: column; }
  .mnav.open { display: flex; }
  .mnav a { text-decoration: none; padding: 13px 16px; border-radius: 14px; font-weight: 500; }
  .mnav a:hover { background: var(--bg3); }
  .nav-in { justify-content: space-between; }
}

/* 21 ต.ค. 69: แพ็กเกจ 5 ใบ (ลูกค้าเก่า · รายเดือน · 3 เดือน · 6 เดือน · รายปี) — จอใหญ่เรียงแถวเดียว · จอกลาง 3+2 จัดกลาง · มือถือทีละใบ */
.plans { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.plan .amt b { white-space: nowrap; }
@media (max-width: 1240px) { .plans { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; } .plans > .plan { flex: 0 1 calc((100% - 36px) / 3); min-width: 0; } }
@media (max-width: 860px) { .plans > .plan { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 620px) { .plans > .plan { flex-basis: 100%; } }

/* 21 ต.ค. 69: การ์ดแพ็กเกจกระชับ — ฟีเจอร์ที่ทุกแพ็กได้เหมือนกันอยู่แถบเดียวด้านบน · การ์ดบอกแค่ "เหมาะกับใคร" + ความต่าง */
.plans-all { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; margin: -6px auto 26px; max-width: 980px; }
.plans-all span { font-size: 13.5px; color: var(--ink2); background: var(--card); padding: 6px 13px 6px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.plans-all span:not(.pa-k)::before { content: "✓"; color: var(--gold-t); font-weight: 800; margin-right: 6px; }
.plans-all .pa-k { background: none; box-shadow: none; font-weight: 700; color: var(--ink); padding-left: 0; }
.plan-b { padding: 18px 18px 4px; }
.plan-b > p.fit { margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: var(--ink); font-weight: 600; }
.plan-b > p.fit span { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink3); letter-spacing: .02em; margin-bottom: 2px; }
.plan-b ul.diff li { border-left: 0; padding: 5px 0 5px 22px; font-size: 13.5px; line-height: 1.45; }
.plan-b ul.diff li::before { content: "✓"; position: absolute; left: 2px; top: 5px; font-weight: 800; color: var(--gold-t); }
.plan-b ul.diff li b { color: var(--gold-t); font-weight: 700; }
@media (max-width: 620px) { .plans-all { justify-content: flex-start; } .plans-all .pa-k { flex-basis: 100%; } }
/* 21 ต.ค. 69: กล่องราคา/หัวการ์ดสูงเท่ากันทุกใบ — คำว่า "ประหยัด…" ขึ้นบรรทัดใหม่เสมอ + จองความสูง 2 บรรทัด */
.plan-p .per { min-height: 2.9em; line-height: 1.45; }
.plan-p .per em { display: block; }
@media (min-width: 621px) { .plan-b > p.fit { min-height: 3.1em; } }
