/* หน้าแรก V3 แบบร่าง · ส่วนที่ 3/3: ฟีเจอร์ วงล้อ อุปกรณ์ โน้ตแปะ ราคา ท้ายเว็บ คีย์เฟรม */

/* ── ฟีเจอร์ (พื้นขาว มุมบนโค้ง ทับพื้นมืด) ── */
.w3-features { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; margin-top: -48px; padding: 112px 24px 188px; border-radius: 48px 48px 0 0; background: var(--bg); }
.w3-features-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 100%; margin-top: 44px; }
.w3-features-tab { position: relative; overflow: hidden; padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .32s var(--ease-ui), color .32s var(--ease-ui); }
.w3-features-tab:hover { color: var(--ink); }
.w3-features-tab[aria-selected="true"] { background: var(--btn); color: var(--on-btn); }
.w3-features-timer { position: absolute; inset: auto 14px 5px; height: 2px; border-radius: 999px; background: #fff9; transform-origin: 0; animation: w3-timer var(--feature-time, 5.5s) linear forwards; }
.w3-features-tabs[data-paused] .w3-features-timer { animation-play-state: paused; }
.w3-features-rotate { display: none; }
.w3-features-stage { display: grid; width: min(1240px, 100%); margin-top: 36px; touch-action: pan-y; }
.w3-features-panel { grid-area: 1 / 1; display: grid; grid-template-columns: 250px minmax(0, 1fr); align-items: center; gap: 48px; opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .48s var(--ease-ui), transform .48s var(--ease-ui); }
.w3-features-panel[data-active="true"] { opacity: 1; pointer-events: auto; transform: none; }
.w3-features-text h3 { color: var(--ink); font-size: 26px; font-weight: 500; line-height: 1.3; text-wrap: pretty; }
.w3-features-text ul { display: grid; gap: 12px; margin-top: 18px; }
.w3-features-text li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.w3-features-text li .ic { margin-top: 3px; color: var(--os-blue); }
.w3-features-window { overflow: hidden; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px var(--line), var(--shadow-card); }
.w3-features-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-soft); }
.w3-features-bar > span { width: 11px; height: 11px; flex-shrink: 0; border-radius: 50%; background: var(--dot-red); }
.w3-features-bar > span:nth-child(2) { background: var(--dot-yellow); } .w3-features-bar > span:nth-child(3) { background: var(--dot-green); }
.w3-features-address { flex: 1; margin: 0 8% 0 4%; padding: 3px 12px; overflow: hidden; border-radius: 999px; background: var(--bg); color: var(--ink-3); font-size: 12px; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.w3-features-shot { position: relative; display: block; width: 100%; aspect-ratio: 7 / 4; background: var(--bg-soft); cursor: zoom-in; }
.w3-features-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.w3-features-zoom { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: flex; justify-content: center; align-items: center; border-radius: 50%; background: #1717178c; color: var(--on-btn); opacity: 0; transition: opacity .24s var(--ease-hover); }
.w3-features-shot:hover .w3-features-zoom, .w3-features-shot:focus-visible .w3-features-zoom { opacity: 1; }
@media (hover: none) { .w3-features-zoom { opacity: 1; } }
.w3-zoom { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; cursor: zoom-out; }
.w3-zoom::backdrop { background: #0a0c12db; }
.w3-zoom[open] { display: flex; justify-content: center; align-items: center; animation: w3-fade-in .24s ease-out; }
.w3-zoom-picture { position: relative; width: min(96vw, 161dvh); aspect-ratio: 7 / 4; }
.w3-zoom-picture img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.w3-zoom-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: flex; justify-content: center; align-items: center; border-radius: 50%; background: #ffffff24; color: var(--on-btn); transition: background-color .24s var(--ease-hover); }
.w3-zoom-close:hover { background: #ffffff42; }
/* การ์ด DEMO: ตัวหนังสือใหญ่ไล่สี + ภาพหน้าร้านเรียงพัด */
.w3-demo-card-big { position: relative; display: flex; flex-direction: column; align-items: center; width: min(1105px, 100%); aspect-ratio: 16 / 9; margin-top: 96px; overflow: hidden; border-radius: 32px; box-shadow: var(--shadow-card);
  background: radial-gradient(40% 50% at 15% 20%, #82bcff59, transparent), radial-gradient(40% 50% at 85% 25%, #f5b82e4d, transparent), linear-gradient(#f4f6ff, #e9ecff); }
.w3-demo-card-big[data-reveal="wait"] { transform: translateY(40px) scale(.94); }
.w3-demo-big-logo { display: inline-flex; align-items: center; gap: .3em; margin-top: clamp(24px, 4vw, 48px); font-size: clamp(22px, 2.6vw, 34px); color: var(--ink); }
.w3-demo-big-logo img { height: clamp(28px, 3.4vw, 46px); width: auto; }
.w3-demo-big-word { margin-top: 2px; font-size: clamp(64px, 11vw, 150px); font-weight: 700; line-height: 1; letter-spacing: .12em; padding-left: .12em; color: transparent; background: var(--os-logo); -webkit-background-clip: text; background-clip: text; }
.w3-demo-fan { position: absolute; left: 0; right: 0; bottom: -4%; height: 52%; perspective: 1400px; }
.w3-demo-fan img { position: absolute; bottom: 0; left: 50%; width: 34%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 18px 40px #1e293b40; transition: transform .6s var(--ease-ui); }
.w3-demo-fan img:nth-child(1) { transform: translateX(-160%) translateY(10%) rotateY(28deg) scale(.86); }
.w3-demo-fan img:nth-child(2) { transform: translateX(-112%) translateY(4%) rotateY(18deg) scale(.93); z-index: 1; }
.w3-demo-fan img:nth-child(3) { transform: translateX(-50%); z-index: 3; }
.w3-demo-fan img:nth-child(4) { transform: translateX(12%) translateY(4%) rotateY(-18deg) scale(.93); z-index: 1; }
.w3-demo-fan img:nth-child(5) { transform: translateX(60%) translateY(10%) rotateY(-28deg) scale(.86); }
.w3-demo-card-big:hover .w3-demo-fan img:nth-child(3) { transform: translateX(-50%) translateY(-4%); }
.w3-demo-card-big .w3-intro-play { position: absolute; top: 56%; left: 50%; translate: -50% -50%; z-index: 4; transition: scale .24s var(--ease-hover); }
.w3-demo-card-big:hover .w3-intro-play { scale: 1.06; }
.w3-demo-big-note { position: absolute; z-index: 4; top: calc(56% + 54px); left: 50%; translate: -50%; padding: 4px 12px; border-radius: 999px; background: #ffffffd9; color: var(--ink-2); font-size: 13px; white-space: nowrap; }

/* ── วงล้อ 6 ด้าน (พื้นมืด) ── */
.w3-areas { position: relative; z-index: 7; display: flex; flex-direction: column; align-items: center; margin-top: -48px; padding: 120px 24px 188px; overflow-x: clip; border-radius: 48px 48px 0 0; background: var(--dark); color: var(--on-dark); }
.w3-areas .w3-intro-title { color: var(--on-dark); }
.w3-areas [data-area] { --area-soft: color-mix(in srgb, var(--area) 18%, var(--dark-card)); --area-line: color-mix(in srgb, var(--area) 50%, transparent); --area-light: color-mix(in srgb, var(--area) 62%, var(--on-dark)); }
.w3-areas-tagline { margin-top: 14px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.w3-areas-stage { width: min(1105px, 100%); margin-top: 48px; touch-action: pan-y; }
.w3-wheel-layout { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); align-items: center; gap: 72px; }
.w3-wheel { position: relative; aspect-ratio: 1; margin: 40px; }
.w3-wheel-glow { position: absolute; inset: 8%; border-radius: 50%; background: var(--area); opacity: .28; filter: blur(72px); transition: background-color .9s var(--ease-ui); }
.w3-wheel-ring { position: absolute; inset: 0; overflow: visible; }
.w3-wheel-part { fill: var(--area-soft); stroke: var(--area-line); stroke-width: 1px; cursor: pointer; transform-origin: 200px 200px; transition: fill .4s var(--ease-ui), scale .4s var(--ease-ui), filter .4s var(--ease-ui); }
.w3-wheel-part:hover { fill: color-mix(in srgb, var(--area) 32%, var(--dark-card)); }
.w3-wheel-part[data-active="true"] { fill: var(--area); scale: 1.045; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--area) 70%, transparent)); }
.w3-wheel-center { position: absolute; inset: 19%; overflow: hidden; border-radius: 50%; background: var(--dark-card); box-shadow: 0 0 0 2px var(--area-line), 0 18px 40px #00000073; transition: box-shadow .6s var(--ease-ui); }
.w3-wheel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; transition: opacity .6s var(--ease-ui), scale 1.2s var(--ease-ui); }
.w3-wheel-img[data-shown="true"] { opacity: 1; scale: 1; }
.w3-wheel-btn { position: absolute; translate: -50% -50%; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; transition: scale .24s var(--ease-hover); }
.w3-wheel-btn:hover { scale: 1.12; }
.w3-wheel-btn .ic { color: var(--area-light); transition: color .4s var(--ease-ui); }
.w3-wheel-btn[aria-pressed="true"] .ic { color: var(--on-btn); }
.w3-wheel-label { position: absolute; translate: -50% -50%; color: var(--on-dark-soft); font-size: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; transition: color .4s var(--ease-ui); }
.w3-wheel-label[data-side="right"] { translate: 0 -50%; } .w3-wheel-label[data-side="left"] { translate: -100% -50%; }
.w3-wheel-label[data-active="true"] { color: var(--area-light); }
.w3-wheel[data-entered="false"] :is(.w3-wheel-part, .w3-wheel-btn, .w3-wheel-label, .w3-wheel-center) { opacity: 0; }
.w3-wheel[data-entered="true"] .w3-wheel-part { animation: w3-pop .7s var(--ease-in) calc(var(--i) * 60ms) backwards; }
.w3-wheel[data-entered="true"] :is(.w3-wheel-btn, .w3-wheel-label) { animation: w3-fade-in .5s ease calc(.3s + var(--i) * 60ms) backwards; }
.w3-wheel[data-entered="true"] .w3-wheel-center { animation: w3-pop .9s var(--ease-in) .15s backwards; }
.w3-wheel-text-in { animation: w3-areas-in .48s var(--ease-ui); }
.w3-wheel-en { display: flex; align-items: center; gap: 8px; color: var(--area-light); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.w3-wheel-text h3 { margin-top: 8px; color: var(--on-dark); font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.w3-wheel-body { max-width: 30rem; margin-top: 12px; color: var(--on-dark-2); font-size: 17px; line-height: 1.6; text-wrap: balance; }
.w3-wheel-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 30rem; margin-top: 26px; }
.w3-wheel-card { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--dark-line); border-radius: 14px; background: var(--dark-card); text-align: left; box-shadow: 0 10px 28px #00000059;
  animation: w3-areas-card .56s var(--ease-in) calc(.12s + var(--k) * 90ms) backwards; }
.w3-wheel-card-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--area-soft); color: var(--area-light); }
.w3-wheel-card > span:nth-child(2) { flex: 1; min-width: 0; }
.w3-wheel-card-kind { display: block; color: var(--on-dark-soft); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.w3-wheel-card-title { display: block; color: var(--on-dark); font-size: 15px; font-weight: 500; }
.w3-wheel-badge { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; background: var(--area-soft); color: var(--area-light); font-size: 12px; font-weight: 500; line-height: 20px; }

/* ── ทุกอุปกรณ์ ── */
.w3-devices { position: relative; z-index: 8; display: flex; flex-direction: column; align-items: center; margin-top: -48px; padding: 112px 24px 72px; overflow-x: clip; border-radius: 48px 48px 0 0; background: var(--bg); }
.w3-devices-stage { position: relative; width: min(1105px, 100%); aspect-ratio: 100 / 41; margin-top: 56px; container-type: inline-size; }
.w3-device { position: absolute; transition: opacity .7s var(--ease-ui) var(--delay, 0s), translate .9s var(--ease-in) var(--delay, 0s); }
.w3-device-screen { position: relative; box-sizing: content-box !important; width: calc(100% - 2 * var(--bz)); aspect-ratio: var(--ratio); overflow: hidden; border: var(--bz) solid var(--bezel); border-radius: var(--rad); background: var(--bg-soft); box-shadow: 0 2.4cqw 5cqw #0f172a29; container-type: inline-size; }
.w3-device-screen > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.w3-device.is-laptop { --bz: 1cqw; --rad: 1.6cqw 1.6cqw 0 0; --ratio: 1920 / 1080; top: 0; left: 22cqw; width: 60cqw; }
.w3-device-base { position: relative; display: block; width: 118%; height: 1.5cqw; margin-left: -9%; border-radius: 0 0 1.4cqw 1.4cqw; background: linear-gradient(var(--base-1), var(--base-2)); box-shadow: 0 1.6cqw 3cqw #0f172a24; }
.w3-device-base::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50%; width: 14%; height: 40%; border-radius: 0 0 .8cqw .8cqw; background: var(--base-2); }
.w3-device.is-tablet { --bz: .9cqw; --rad: 2cqw; --ratio: 834 / 1194; --delay: .18s; z-index: 2; bottom: 0; left: 11cqw; width: 20.5cqw; }
.w3-device.is-phone { --bz: .6cqw; --rad: 1.9cqw; --ratio: 390 / 844; --delay: .3s; z-index: 3; bottom: 0; right: 12cqw; width: 11.5cqw; }
.w3-devices-stage[data-state="wait"] .w3-device { opacity: 0; }
.w3-devices-stage[data-state="wait"] .is-laptop { translate: 0 8cqw; }
.w3-devices-stage[data-state="wait"] .is-tablet { translate: -6cqw 6cqw; }
.w3-devices-stage[data-state="wait"] .is-phone { translate: 6cqw 6cqw; }
.w3-sync-card { position: absolute; display: flex; align-items: center; gap: .6em; padding: .6em .8em; border-radius: .8em; background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 .6em 1.6em #0f172a2e; line-height: 1.3; opacity: 0; }
.is-laptop .w3-sync-card { top: 4cqw; right: 3cqw; font-size: 1.9cqw; }
.is-tablet .w3-sync-card { top: 34%; left: 6cqw; right: 6cqw; font-size: 5.2cqw; }
.is-phone .w3-sync-card { bottom: 13%; left: 5cqw; right: 5cqw; font-size: 7cqw; }
.w3-sync-check { width: 1.7em; height: 1.7em; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--check); color: var(--on-btn); }
.w3-sync-check .ic { width: 1em; height: 1em; }
.w3-sync-text { min-width: 0; display: flex; flex-direction: column; }
.w3-sync-title { overflow: hidden; color: var(--ink-card); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.w3-sync-note { color: var(--ink-3); font-size: .82em; }
.w3-sync-ripple { position: absolute; inset: 0; border: .25cqw solid var(--os-blue); border-radius: var(--rad); opacity: 0; pointer-events: none; }
.w3-devices-stage:is([data-state="in"], [data-state="off"]) .w3-sync-card { animation: w3-sync-to 6s var(--ease-ui) 1.2s infinite; }
.w3-devices-stage:is([data-state="in"], [data-state="off"]) .w3-sync-card[data-from] { animation-name: w3-sync-from; }
.w3-devices-stage:is([data-state="in"], [data-state="off"]) .w3-sync-card[data-from] .w3-sync-check { animation: w3-sync-check 6s var(--ease-in) 1.2s infinite; }
.w3-devices-stage:is([data-state="in"], [data-state="off"]) .w3-sync-ripple { animation: w3-sync-ripple 6s ease-out 1.2s infinite; }
.w3-devices-stage[data-state="off"] :is(.w3-sync-card, .w3-sync-check, .w3-sync-ripple) { animation-play-state: paused; }
.w3-devices-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin-top: 56px; }
.w3-devices-perk { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-2); font-size: 15px; font-weight: 500; }
.w3-devices-perk .ic { color: var(--os-blue); }
.w3-devices-help { display: flex; align-items: center; gap: 16px; width: min(760px, 100%); margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-soft); transition: background-color .24s var(--ease-hover); }
.w3-devices-help:hover { background: #eeeeee; }
.w3-devices-help-icon { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--os-logo); color: var(--on-btn); }
.w3-devices-help strong { display: block; color: var(--ink); font-size: 18px; font-weight: 600; }
.w3-devices-help p span { display: block; margin-top: 2px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }

/* ── โน้ตแปะ ── */
.w3-reviews { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; padding: 56px 24px 188px; overflow-x: clip; background: linear-gradient(var(--bg), var(--bg-soft) 120px); }
.w3-notes { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 32px 28px; width: min(1105px, 100%); margin-top: 56px; }
.w3-notes > li { width: 300px; }
.w3-notes > li.is-featured { width: 380px; }
.w3-notes > li:nth-child(2) { margin-top: 28px; } .w3-notes > li:nth-child(3) { margin-top: 8px; } .w3-notes > li:nth-child(5) { margin-top: 22px; }
.w3-note figure { position: relative; padding: 30px 24px 22px; border-radius: 4px 4px 22px; background: var(--note); rotate: var(--tilt); box-shadow: 0 1px 2px #0f172a14, 0 14px 28px #0f172a1a;
  transition: rotate .7s cubic-bezier(.34, 1.56, .64, 1) var(--reveal-delay, 0s), translate .3s var(--ease-hover); }
.w3-note figure:hover { translate: 0 -4px; rotate: none; transition: rotate .3s var(--ease-hover), translate .3s var(--ease-hover); }
.w3-note [data-tone="green"] { --note: var(--note-green); } .w3-note [data-tone="purple"] { --note: var(--note-purple); } .w3-note [data-tone="coral"] { --note: var(--note-coral); }
.w3-note [data-tone="yellow"] { --note: var(--note-yellow); } .w3-note [data-tone="teal"] { --note: var(--note-teal); }
.w3-note-tape { position: absolute; top: -11px; left: 50%; translate: -50%; rotate: -3deg; width: 84px; height: 22px; background: #ffffff8c; box-shadow: 0 1px 2px #0f172a14; }
.w3-note blockquote { color: var(--ink-card); font-family: var(--hand); font-size: 16px; line-height: 1.75; }
.is-featured .w3-note blockquote { font-size: 19px; }
.w3-review-who { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--ink-card); font-size: 14px; font-weight: 600; }
.w3-review-avatar { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #ffffffa6; font-size: 13px; font-weight: 700; }
.w3-reveal.w3-note[data-reveal="wait"] { transform: translateY(-26px) scale(1.08); }
.w3-reveal.w3-note[data-reveal="wait"] figure { rotate: calc(var(--tilt) + 7deg); }
.w3-reveal.w3-note[data-reveal="in"] { transition: opacity .4s ease var(--reveal-delay, 0s), transform .7s cubic-bezier(.34, 1.56, .64, 1) var(--reveal-delay, 0s); }
.w3-notes-dots { display: none; }
.w3-notes-more { margin-top: 40px; font-size: 15px; }
.w3-notes-more a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── ราคา (พื้นมืด) ── */
.w3-pricing { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; margin-top: -48px; padding: 112px 24px 72px; overflow-x: clip; border-radius: 48px 48px 0 0; background: var(--dark); color: var(--on-dark); }
.w3-pricing .w3-intro-title { color: var(--on-dark); }
.w3-pricing-stage { position: relative; display: flex; justify-content: center; width: 100%; margin-top: 48px; }
.w3-pricing-stage::before { content: ""; position: absolute; top: 8%; left: 50%; translate: -50%; width: min(720px, 90%); height: 70%; border-radius: 50%; filter: blur(60px); pointer-events: none;
  background: radial-gradient(closest-side, #207dfc80, #0000) 20% 30% / 70% 80% no-repeat, radial-gradient(closest-side, #f5b82e73, #0000) 80% 60% / 70% 80% no-repeat; }
.w3-pricing-inner { position: relative; display: flex; flex-direction: column; align-items: center; width: min(980px, 100%); }
.w3-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 28px; width: 100%; }
.w3-plan { position: relative; display: flex; flex-direction: column; align-items: center; padding: 40px 32px 32px; border: 1px solid var(--dark-line); border-radius: 32px; background: #ffffff0a; text-align: center; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 30px 60px #00000059; }
.w3-plan.is-pro { border: 1.5px solid transparent; box-shadow: 0 0 48px #2483ff47, 0 0 90px #f5b82e29, 0 30px 60px #0006;
  background: linear-gradient(#141822f5, #141822f5) padding-box, linear-gradient(125deg, var(--g1), var(--g2) 30%, var(--g3) 60%, var(--g4) 80%, var(--g5)) border-box; }
.w3-plan-badge { position: absolute; top: 0; left: 50%; translate: -50% -50%; display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(100deg, var(--g2), var(--g3)); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.w3-plan-name { color: var(--on-dark); font-size: 22px; font-weight: 700; }
.w3-price-was { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 10px; }
.w3-price-was s { color: var(--on-dark-soft); font-size: 22px; font-weight: 500; text-decoration-color: var(--g4); text-decoration-thickness: 2px; }
.w3-price-save { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); font-size: 13px; font-weight: 600; }
.w3-price { position: relative; display: inline-block; margin-top: 6px; }
.w3-price-number { color: var(--on-dark); font-size: clamp(56px, 5.6vw, 76px); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.w3-plan-per { color: var(--on-dark-2); font-size: 17px; font-weight: 500; }
.w3-price-line { position: absolute; bottom: -14px; left: 0; width: 82%; height: 18px; overflow: visible; animation: w3-boil .6s step-end infinite; }
.w3-price-line path { fill: none; stroke: var(--gold); stroke-width: 3px; stroke-linecap: round; stroke-dasharray: 1; }
.w3-price-line path + path { stroke-width: 2px; opacity: .6; }
[data-filled="wait"] .w3-price-line path { stroke-dashoffset: 1; }
[data-filled="in"] .w3-price-line path { animation: w3-draw .8s var(--ease-ui) .3s backwards; }
.w3-price-months { min-height: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 22px; color: var(--on-dark); font-size: 15px; font-weight: 500; }
.w3-price-months .ic { color: var(--gold); }
.w3-month-bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; width: 100%; max-width: 340px; margin-top: 16px; }
.w3-month-bar > span { height: 10px; border-radius: 3px; background: var(--os-sky); }
[data-filled="wait"] .w3-month-bar > span { background: #ffffff1a; }
[data-filled="in"] .w3-month-bar > span { animation: w3-month-fill .4s var(--ease-ui) calc(.2s + var(--m) * 60ms) backwards; }
.w3-price-avg { margin-top: 14px; color: var(--on-dark); font-size: 16px; font-weight: 600; }
.w3-plan-points { display: grid; gap: 10px; width: min(100%, 340px); margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--dark-line); text-align: left; }
.w3-plan-points li { display: flex; align-items: flex-start; gap: 8px; color: var(--on-dark-2); font-size: 15px; line-height: 1.45; }
.w3-plan-points .ic { margin-top: 2px; color: var(--check); }
.w3-plan-points li.is-ai { color: var(--on-dark); font-weight: 600; }
.w3-plan-points li.is-ai .ic { color: var(--g1); }
.w3-plan-points li.is-off, .w3-plan-points li.is-off .ic { color: var(--on-dark-soft); }
.w3-plan-points li.is-features { display: block; }
.w3-plan-features summary { display: flex; align-items: flex-start; gap: 8px; list-style: none; cursor: pointer; border-radius: 8px; transition: color .2s; }
.w3-plan-features summary::-webkit-details-marker { display: none; }
.w3-plan-features summary:hover { color: var(--on-dark); }
.w3-plan-points .w3-plan-features-chev { margin-left: auto; color: var(--on-dark-soft); transition: rotate .2s; }
.w3-plan-features[open] .w3-plan-features-chev { rotate: 180deg; }
.w3-plan-includes { display: grid; gap: 8px; margin-top: 12px; padding-left: 24px; }
.w3-plan-points .w3-plan-includes li { color: var(--on-dark-soft); font-size: 14px; }
.w3-plan .w3-cta.is-large, .w3-plan .w3-plan-btn { margin-top: auto; }
.w3-plan-btn { height: 58px; display: inline-flex; justify-content: center; align-items: center; padding: 0 40px; border: 1px solid #ffffff73; border-radius: 999px; color: var(--on-dark); font-size: 17px; font-weight: 600; transition: background-color .2s var(--ease-ui); }
.w3-plan-btn:hover { background: #ffffff14; }
.w3-price-bonus { width: min(640px, 100%); margin-top: 32px; padding: 10px 14px; border: 1px solid var(--bonus-line); border-radius: 14px; background: var(--bonus-soft); color: var(--bonus-ink); font-size: 14px; font-weight: 500; text-align: center; }
.w3-price-bonus .ic { display: inline-block; margin-right: 6px; vertical-align: -3px; color: var(--gold); }
.w3-pricing-pay { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 18px; color: var(--on-dark-soft); font-size: 13px; }
.w3-pricing-pay span { display: inline-flex; align-items: center; gap: 6px; }
.w3-pricing-pay.is-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 26px; }
.w3-pricing-login { position: relative; margin-top: 32px; color: var(--on-dark-2); font-size: 15px; }
.w3-pricing-login.is-sub { margin-top: 10px; }
.w3-pricing-login-link { color: var(--on-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── ท้ายเว็บ ── */
.w3-footer { position: relative; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 36px 24px 44px; border-top: 1px solid var(--dark-line); background: var(--dark); text-align: center; }
.w3-footer-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--on-dark); }
.w3-footer-logo img { height: 40px; width: auto; }
.w3-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 14px; }
.w3-footer-links a { color: var(--on-dark-2); transition: color .24s var(--ease-hover); }
.w3-footer-links a:hover { color: var(--on-dark); }
.w3-footer-copy { color: var(--on-dark-soft); font-size: 13px; }

@media (max-width: 1023px) {
  .w3-features-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .w3-features-text { order: 2; padding: 0 4px; }
  .w3-wheel-layout { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 28px; }
  .w3-wheel { width: min(440px, 100% - 80px); }
  .w3-wheel-text { width: min(560px, 100%); text-align: center; }
  .w3-wheel-en { justify-content: center; }
  .w3-wheel-body, .w3-wheel-cards { margin-inline: auto; }
}
@media (max-width: 767px) {
  .w3-features { margin-top: -28px; padding: 72px 0 124px; border-radius: 28px 28px 0 0; }
  .w3-features .w3-intro-title { padding: 0 16px; }
  .w3-features-tabs { flex-wrap: nowrap; justify-content: flex-start; gap: 6px; width: 100%; margin-top: 28px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .w3-features-tabs::-webkit-scrollbar { display: none; }
  .w3-features-tab { flex-shrink: 0; padding: 8px 15px; font-size: 14px; }
  .w3-features-stage { width: 100%; margin-top: 20px; padding: 0 16px; }
  .w3-features-window { border-radius: 12px; }
  .w3-features-bar { height: 24px; gap: 5px; padding: 0 10px; }
  .w3-features-bar > span { width: 8px; height: 8px; }
  .w3-features-address { padding: 1px 8px; font-size: 10px; }
  .w3-features-text h3 { font-size: 20px; }
  .w3-features-text ul { gap: 8px; margin-top: 12px; }
  .w3-features-text li { font-size: 14px; }
  .w3-demo-card-big { width: calc(100% - 32px); margin-top: 56px; border-radius: 20px; }
  .w3-demo-card-big .w3-intro-play { width: 56px; height: 56px; }
  .w3-demo-big-note { top: calc(56% + 38px); font-size: 11px; }
  .w3-areas { margin-top: -28px; padding: 80px 16px 124px; border-radius: 28px 28px 0 0; }
  .w3-areas-stage { margin-top: 32px; }
  .w3-wheel { width: min(340px, 100%); margin: 0; }
  .w3-wheel-label { display: none; }
  .w3-wheel-btn { width: 44px; height: 44px; }
  .w3-wheel-btn .ic { width: 20px; height: 20px; }
  .w3-wheel-glow { filter: blur(48px); }
  .w3-wheel-body { font-size: 15px; }
  .w3-wheel-card-title { font-size: 14px; }
  .w3-devices { margin-top: -28px; padding: 72px 16px 48px; border-radius: 28px 28px 0 0; }
  .w3-devices-stage { aspect-ratio: 100 / 52; margin-top: 36px; }
  .w3-device.is-laptop { left: 16cqw; width: 74cqw; }
  .w3-device.is-tablet { left: 2cqw; width: 27cqw; }
  .w3-device.is-phone { right: 4cqw; width: 17cqw; }
  .w3-devices-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: 36px; }
  .w3-devices-perk { height: 100%; display: flex; padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.35; }
  .w3-devices-help { align-items: flex-start; gap: 12px; padding: 16px; }
  .w3-devices-help-icon { width: 40px; height: 40px; }
  .w3-devices-help strong { font-size: 16px; }
  .w3-devices-help p span { font-size: 14px; }
  .w3-reviews { padding: 40px 0 124px; }
  .w3-notes { flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 16px; margin-top: 32px; padding: 22px 7.5% 30px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .w3-notes::-webkit-scrollbar { display: none; }
  .w3-notes > li, .w3-notes > li.is-featured { flex-shrink: 0; display: flex; width: 85%; margin-top: 0 !important; scroll-snap-align: center; }
  .w3-notes .w3-note { display: flex; width: 100%; --reveal-delay: 0s !important; }
  .w3-note figure { width: 100%; display: flex; flex-direction: column; justify-content: space-between; rotate: calc(var(--tilt) * .5); }
  .is-featured .w3-note blockquote { font-size: 17px; }
  .w3-notes-dots { display: flex; }
  .w3-notes-dots button { padding: 10px 4px; }
  .w3-notes-dots button::after { content: ""; display: block; width: 8px; height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--ink-soft) 45%, transparent); transition: width .3s var(--ease-ui), background-color .3s var(--ease-ui); }
  .w3-notes-dots button[aria-current="true"]::after { width: 22px; background: var(--ink); }
  .w3-notes-more { margin-top: 20px; }
  .w3-pricing { margin-top: -28px; padding: 72px 16px 56px; border-radius: 28px 28px 0 0; }
  .w3-pricing-stage { margin-top: 32px; }
  .w3-plans { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .w3-plan { padding: 30px 20px 22px; border-radius: 24px; }
  .w3-plan .w3-price-number { font-size: 52px; }
  .w3-plan-btn { height: 52px; font-size: 16px; }
  .w3-cta.is-large { height: 54px; padding: 0 36px; font-size: 17px; }
  .w3-pricing-pay.is-row { flex-direction: column; align-items: center; gap: 6px; }
}
@media (max-width: 767px) and (orientation: portrait) {
  .w3-features-rotate { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0 16px; color: var(--ink-3); font-size: 13px; }
  .w3-features-rotate .ic { animation: w3-tilt 3s var(--ease-ui) infinite; }
}

/* ── คีย์เฟรม ── */
@keyframes w3-fade-in { 0% { opacity: 0; } }
@keyframes w3-show { 0% { opacity: 0; } }
@keyframes w3-card-burst { 0% { opacity: 0; transform: translate(-50%, -50%) translate(0, var(--from-y)) scale(.3); } 25% { opacity: 0; } 45% { opacity: 1; } }
@keyframes w3-copy-in { 0% { opacity: 0; filter: blur(6px); transform: translateY(10px); } }
@keyframes w3-card-out { to { opacity: 0; transform: translate(calc(var(--side) * 24vw), -16vh) scale(.85); } }
@keyframes w3-copy-out { to { opacity: 0; transform: scale(.96); } }
@keyframes w3-copy-out-blur { to { opacity: 0; filter: blur(12px); transform: scale(.96); } }
@keyframes w3-aurora {
  0%, 100% { background-position: 80% 10%, 20% 30%, 55% 0, 10% 90%, 0 0; }
  33% { background-position: 25% 80%, 75% 15%, 90% 70%, 55% 20%, 0 0; }
  66% { background-position: 60% 100%, 10% 75%, 15% 35%, 95% 85%, 0 0; }
}
@keyframes w3-fill {
  0% { background-position: 0 calc(var(--h) * 1.02), 0 0, 0 calc(var(--h) * 1.1), 0 0; background-size: var(--tb) var(--st), 100% calc(var(--h) * 1.02 + 1px), var(--tf) var(--st), 100% calc(var(--h) * 1.1 + 1px); }
  25% { background-position: calc(var(--tb) * -.5) calc(var(--h) * .8), 0 0, calc(var(--tf) * .5) calc(var(--h) * .88), 0 0; background-size: var(--tb) var(--st), 100% calc(var(--h) * .8 + 1px), var(--tf) var(--st), 100% calc(var(--h) * .88 + 1px); }
  50% { background-position: 0 calc(var(--h) * .41), 0 0, 0 calc(var(--h) * .49), 0 0; background-size: var(--tb) var(--st), 100% calc(var(--h) * .41 + 1px), var(--tf) var(--st), 100% calc(var(--h) * .49 + 1px); }
  75% { background-position: calc(var(--tb) * -.5) calc(var(--h) * .02), 0 0, calc(var(--tf) * .5) calc(var(--h) * .1), 0 0; background-size: var(--tb) var(--st), 100% calc(var(--h) * .02 + 1px), var(--tf) var(--st), 100% calc(var(--h) * .1 + 1px); }
  100% { background-position: 0 calc(var(--h) * -.2), 0 0, 0 calc(var(--h) * -.12), 0 0; background-size: var(--tb) var(--st), 100% 0, var(--tf) var(--st), 100% 0; }
}
@keyframes w3-draw { 0% { stroke-dashoffset: 1; } }
@keyframes w3-check-pop { 0% { transform: scale(.82); } 60% { transform: scale(1.08); } }
@keyframes w3-reward-float { 0% { opacity: 0; transform: translateY(8px); } 12%, 75% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes w3-level-pop { 0% { transform: scale(1.5); } }
@keyframes w3-confetti { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(90px) scale(.5); } }
@keyframes w3-cs-in { 0% { opacity: 0; transform: translateY(8px); } }
@keyframes w3-cs-card { 0% { opacity: 0; transform: translateX(24px) scale(.97); } }
@keyframes w3-cs-pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } }
@keyframes w3-cw-slide { 0% { opacity: 0; transform: translateX(-14px); } }
@keyframes w3-cw-grow { 0% { transform: scaleY(0); } }
@keyframes w3-cw-tint { 0% { background: #1717171f; } }
@keyframes w3-typing { 0%, 100% { opacity: 0; } 12%, 88% { opacity: 1; } }
@keyframes w3-dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes w3-blink { 50% { opacity: 0; } }
@keyframes w3-timer { 0% { transform: scaleX(0); } }
@keyframes w3-tilt { 0%, 45%, 100% { rotate: none; } 60%, 85% { rotate: -90deg; } }
@keyframes w3-month-fill { 0% { background: #ffffff1a; scale: 1 .4; } }
@keyframes w3-sync-from { 0% { opacity: 0; translate: 0 30%; scale: .95; } 8%, 78% { opacity: 1; translate: 0; scale: 1; } 88%, 100% { opacity: 0; } }
@keyframes w3-sync-check { 0%, 10% { opacity: 0; scale: .3; } 16% { opacity: 1; scale: 1.2; } 20%, 100% { opacity: 1; scale: 1; } }
@keyframes w3-sync-ripple { 0%, 14% { opacity: 0; scale: 1; } 16% { opacity: .7; scale: 1; } 40%, 100% { opacity: 0; scale: 1.6; } }
@keyframes w3-sync-to { 0%, 24% { opacity: 0; translate: 0 -25%; } 32%, 78% { opacity: 1; translate: 0; } 88%, 100% { opacity: 0; } }
@keyframes w3-pop { 0% { opacity: 0; scale: .7; } }
@keyframes w3-areas-in { 0% { opacity: 0; transform: translateY(12px); } }
@keyframes w3-areas-card { 0% { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes w3-why-forward { 0% { opacity: 0; transform: translateX(-36px); } }
@keyframes w3-why-tick { 0% { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } }
@keyframes w3-why-check { 0% { stroke-dashoffset: 20px; } }
@keyframes w3-why-bar { 0% { transform: scaleX(0); } }
@keyframes w3-why-rise { 0% { opacity: 0; transform: translateY(70%); } }
@keyframes w3-why-glow-in { 0% { opacity: 0; transform: translateY(10px); } }
@keyframes w3-why-gather { 0% { transform: translate(var(--sx), var(--sy)) scale(.75); } }
@keyframes w3-why-star { 0% { opacity: 0; transform: scale(.2) rotate(-90deg); } 70% { transform: scale(1.25) rotate(8deg); } }
@keyframes w3-twinkle { 50% { opacity: .45; } }
@keyframes w3-why-dawn { 0% { opacity: .2; transform: translateY(6px); } }
@keyframes w3-why-aurora {
  0%, 100% { background-position: 20% 110%, 85% 100%, 55% 70%, 0 60%; }
  33% { background-position: 70% 80%, 30% 110%, 90% 95%, 40% 100%; }
  66% { background-position: 40% 95%, 100% 75%, 10% 100%, 80% 70%; }
}
@keyframes w3-sweep { to { background-position: 0 0; } }
@keyframes w3-spin { to { rotate: 360deg; } }
@keyframes w3-float { 50% { transform: translateY(-8px); } }
@keyframes w3-boil { 0% { transform: rotate(-1deg); } 33% { transform: rotate(.6deg) translateY(1px); } 66% { transform: rotate(-.3deg) translateX(1px); } }

@media (prefers-reduced-motion: reduce) {
  html:has(.w3) { scroll-behavior: auto; }
  .w3 *, .w3 ::before, .w3 ::after { transition: none !important; animation: none !important; }
  .w3-hero-track, .w3-hero-track.is-js-scroll { height: 100svh; }
  .w3-hero-track + .w3-intro { margin-top: 0 !important; }
  .w3-reveal[data-reveal="wait"] { opacity: 1; transform: none; }
}

/* ราคาแพ็กใหม่ยังไม่ประกาศ: การ์ดเดียวกลางจอ (ponytail: คลาส .w3-plan* ชุดเดิมเก็บไว้ใช้ตอนใส่แพ็กใหม่) */
.w3-plan.is-soon { width: min(560px, 100%); padding: 48px 32px 36px; }
.w3-plan-soon { max-width: 26em; margin: 14px 0 28px; color: var(--on-dark-2); font-size: 16px; line-height: 1.6; }
