/* TUARAI - หน้าแรกดีไซน์ใหม่ (โล่ง สไลด์ได้ จังหวะเว้นที่กว้าง) โหลดหลัง style.css */
:root { --hx-max: 1240px; --hx-gold: #ffd166; --hx-pink: #ff5d8f; }
html { scroll-behavior: smooth; }

/* ---------- HERO ---------- */
.hx { max-width: var(--hx-max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) 5% clamp(56px, 8vw, 100px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .24em; color: #cfc4dd; margin-bottom: 26px; }
.hx-eyebrow i { width: 34px; height: 1px; background: linear-gradient(90deg, var(--accent-red), transparent); }
.hx-title { font-family: 'Mitr', 'Prompt', sans-serif; font-weight: 500; font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.3; text-wrap: balance; letter-spacing: -.01em; }
.hx-title em { font-style: normal; background: linear-gradient(95deg, #ff7a90, #ff2a4d 45%, #ffb36b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hx-sub { margin-top: 26px; max-width: 520px; color: #a9a3b8; font-size: 1.08rem; line-height: 1.85; font-weight: 300; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hx-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 34px; border-radius: 999px; font-weight: 500; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.hx-btn.primary { background: linear-gradient(135deg, #ff2a4d, #b3122f); color: #fff; box-shadow: 0 10px 34px rgba(255,42,77,.35); }
.hx-btn.primary:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(255,42,77,.5); }
.hx-btn.ghost { color: #fff; border: 1px solid rgba(255,255,255,.22); }
.hx-btn.ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-3px); }
.hx-stats { display: flex; gap: clamp(22px, 4vw, 48px); margin-top: 54px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.hx-stats dt { font-family: 'Mitr', sans-serif; font-size: 1.7rem; line-height: 1.1; }
.hx-stats dd { margin-top: 4px; font-size: .82rem; color: #8f89a0; }

.hx-visual { position: relative; height: clamp(360px, 42vw, 520px); }
.hx-shot { position: absolute; margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 70px rgba(0,0,0,.6); background: #15101c; }
.hx-shot img { width: 100%; height: 100%; object-fit: cover; }
.hx-shot.s1 { width: 58%; aspect-ratio: 3/4; left: 0; top: 14%; transform: rotate(-6deg); animation: hxF 7s ease-in-out infinite; }
.hx-shot.s2 { width: 62%; aspect-ratio: 3/4; right: 0; top: 0; transform: rotate(5deg); z-index: 2; animation: hxF 8s ease-in-out -2s infinite; }
.hx-shot.s3 { width: 46%; aspect-ratio: 3/4; left: 28%; bottom: 0; transform: rotate(-1deg); z-index: 3; animation: hxF 9s ease-in-out -4s infinite; }
@keyframes hxF { 50% { translate: 0 -14px; } }

/* ---------- สไลด์ ---------- */
.rail-sec { max-width: var(--hx-max); margin: 0 auto; padding: clamp(40px, 6vw, 84px) 0 0; }
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 5%; margin-bottom: 34px; }
.rail-eyebrow { font-size: .75rem; letter-spacing: .26em; color: #8f89a0; margin-bottom: 14px; }
.rail-eyebrow.gold { color: var(--hx-gold); }
.rail-title { font-family: 'Mitr', 'Prompt', sans-serif; font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.3; }
.rail-title span { display: block; background: linear-gradient(90deg, #ffd166, #ff5d8f 60%, #8a5cff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rail-sub { margin-top: 12px; max-width: 560px; color: #9c96ad; font-weight: 300; line-height: 1.75; }
.rail-ctl { display: flex; gap: 10px; flex: none; }
.rc { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .25s, transform .2s, opacity .25s; }
.rc:hover { background: rgba(255,255,255,.14); }
.rc:active { transform: scale(.92); }
.rc:disabled { opacity: .3; cursor: default; }

.rail { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 5%; padding: 10px 5% 34px; scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail-bar { height: 2px; margin: 0 5%; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.rail-bar span { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, var(--accent-red), var(--hx-gold)); border-radius: 2px; transition: transform .15s linear; }

.hc { flex: 0 0 clamp(270px, 28vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #17141f, #121018); border: 1px solid rgba(255,255,255,.09); transition: transform .4s cubic-bezier(.22,.8,.26,1), border-color .3s, box-shadow .4s; }
.hc:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.26); box-shadow: 0 28px 60px rgba(0,0,0,.55); }
.hc.premium:hover { border-color: var(--hx-gold); box-shadow: 0 28px 60px rgba(255,209,102,.14); }
.hc.special { border-color: rgba(255,158,192,.55); }
.hc-img { position: relative; aspect-ratio: 4 / 3.3; background: #120e1a; overflow: hidden; }
.hc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.8,.26,1); }
.hc:hover .hc-img img { transform: scale(1.07); }
.hc-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(18,16,24,.85)); pointer-events: none; }
.hc-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: .66rem; letter-spacing: .14em; font-weight: 600; color: #2a1a00; background: linear-gradient(135deg, #ffd166, #ff9f43); }
.hc.special .hc-tag { background: linear-gradient(135deg, #ff7aa8, #c8414c); color: #fff; }
.hc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.hc-body h3 { font-family: 'Mitr', 'Prompt', sans-serif; font-weight: 500; font-size: 1.2rem; }
.hc-line { margin-top: 8px; color: #9c96ad; font-size: .92rem; line-height: 1.65; font-weight: 300; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.3em; }
.hc.premium .hc-line { color: #e9cf95; }
.hc-foot { margin-top: auto; padding-top: 22px; }
.hc-price { font-family: 'Mitr', sans-serif; font-size: 1.45rem; margin-bottom: 14px; }
.hc-price small { font-family: 'Prompt', sans-serif; font-size: .8rem; color: #8f89a0; margin-left: 6px; }
.hc-act { display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px; }
.hc-demo, .hc-buy { height: 46px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: background .25s, transform .2s, filter .25s; font-family: inherit; }
.hc-demo { border: 1px solid rgba(255,255,255,.24); color: #fff; background: transparent; }
.hc-demo:hover { background: rgba(255,255,255,.1); }
.hc-buy { border: 0; color: #fff; background: linear-gradient(135deg, #ff2a4d, #b3122f); }
.hc.premium .hc-buy { background: linear-gradient(135deg, #ff5d8f, #8a5cff); }
.hc-buy:hover { filter: brightness(1.15); transform: translateY(-2px); }

/* ---------- 3 ขั้นตอน ---------- */
.steps3 { max-width: var(--hx-max); margin: 0 auto; padding: clamp(70px, 9vw, 130px) 5% 0; }
.steps3 ol { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.steps3 li { padding: 32px 28px; border-radius: 22px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
.steps3 li b { font-family: 'Mitr', sans-serif; font-weight: 400; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.steps3 li h3 { margin: 14px 0 8px; font-weight: 500; font-size: 1.15rem; }
.steps3 li p { color: #9c96ad; font-weight: 300; line-height: 1.7; }

/* ส่วนล่างเดิม: เว้นที่ให้โล่งขึ้น */
.compare-section { margin-top: clamp(70px, 9vw, 130px) !important; max-width: 1000px !important; }
.package-card { border-radius: 24px !important; padding: 36px 30px !important; }
.notice-box { margin-top: 90px; }

@media (max-width: 900px) {
  .hx { grid-template-columns: 1fr; gap: 34px; text-align: left; }
  .hx-visual { height: 340px; order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .steps3 ol { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rail-head { flex-direction: column; align-items: flex-start; }
  .rail-ctl { display: none; }
  .hc { flex-basis: 78vw; }
  .hx-btn { flex: 1; padding: 0 20px; }
}
@media (prefers-reduced-motion: reduce) { .hx-shot { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 600px) {
  .navbar { padding: 12px 4%; gap: 10px; }
  .nav-links { gap: 10px; flex-wrap: nowrap; }
  .nav-item, .btn-login { white-space: nowrap; font-size: .82rem; padding: 7px 10px; }
  .logo { font-size: 1.3rem; }
}

/* ================= กองไพ่ตามราคา ================= */
.decks-sec { max-width: var(--hx-max); margin: 0 auto; padding: clamp(40px, 6vw, 84px) 5% 0; }
.decks-head { text-align: center; max-width: 640px; margin: 0 auto clamp(34px, 5vw, 64px); }
.decks-head .rail-sub { margin-left: auto; margin-right: auto; }
.decks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.deck-col { --c1: #aab0bf; --c2: #7d8496; --glow: rgba(190,196,212,.22); display: flex; flex-direction: column; align-items: center; }
.deck-col.t1 { --c1: #b58bff; --c2: #ff5d8f; --glow: rgba(150,100,255,.34); }
.deck-col.t2 { --c1: #ffd166; --c2: #ff2a3a; --glow: rgba(255,120,60,.42); }
.deck-top { text-align: center; margin-bottom: 26px; }
.deck-price { font-family: 'Mitr', sans-serif; font-size: 2rem; line-height: 1; background: linear-gradient(90deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.deck-name { margin-top: 8px; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: #a39db3; }
.deck-name i { font-style: normal; letter-spacing: .04em; text-transform: none; opacity: .75; }

.deck { position: relative; width: 100%; max-width: 380px; padding: 0 56px 0 0; }
.deck-aura { position: absolute; inset: -6% -8% -6% -14%; z-index: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent 72%); filter: blur(14px); animation: auraPulse 4.5s ease-in-out infinite; }
.deck-col.t2 .deck-aura { background: radial-gradient(closest-side, rgba(255,150,60,.5), rgba(255,42,58,.22) 55%, transparent 74%); animation-duration: 3s; }
.deck-col.t2 .deck-aura::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(255,209,102,.5), transparent 30%, rgba(255,42,58,.4), transparent 60%); filter: blur(22px); animation: auraSpin 9s linear infinite; }
@keyframes auraPulse { 50% { opacity: .6; transform: scale(1.06); } }
@keyframes auraSpin { to { transform: rotate(360deg); } }

.deck-stack { position: relative; z-index: 1; aspect-ratio: 300 / 470; width: 100%; }
.deck-stack .hc { position: absolute; left: 0; top: 0; width: calc(100% - 0px); height: 100%; flex: none; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  --pos: 0; z-index: calc(20 - var(--pos));
  transform-origin: 50% 100%;
  transform: translate(calc(var(--pos) * 15px), calc(var(--pos) * -9px)) rotate(calc(var(--pos) * 2.6deg)) scale(calc(1 - var(--pos) * .035));
  transition: transform .55s cubic-bezier(.22,.9,.28,1.05), opacity .4s, filter .4s, box-shadow .4s;
  filter: brightness(calc(1 - var(--pos) * .13)); }
.deck-stack .hc:nth-child(even) { --tilt: 1; }
.deck-stack .hc[data-pos="0"] { box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px color-mix(in srgb, var(--c1) 55%, transparent), 0 0 38px var(--glow); }
.deck-stack .hc:not([data-pos="0"]) { box-shadow: 0 10px 26px rgba(0,0,0,.5), 0 0 0 1px color-mix(in srgb, var(--c1) 22%, transparent); }
.deck-stack .hc[data-pos="0"]:hover { transform: translate(0, -8px) rotate(-.6deg); }
.deck-stack .hc[data-pos="3"], .deck-stack .hc[data-pos="4"], .deck-stack .hc[data-pos="5"], .deck-stack .hc[data-pos="6"], .deck-stack .hc[data-pos="7"], .deck-stack .hc[data-pos="8"], .deck-stack .hc[data-pos="9"] { opacity: 0; pointer-events: none; }
.deck-stack .hc[data-pos="3"] { transform: translate(45px, -27px) rotate(7.8deg) scale(.9); }
.deck-stack .hc[data-pos="4"], .deck-stack .hc[data-pos="5"], .deck-stack .hc[data-pos="6"], .deck-stack .hc[data-pos="7"], .deck-stack .hc[data-pos="8"], .deck-stack .hc[data-pos="9"] { transform: translate(45px, -27px) rotate(7.8deg) scale(.9); }
.deck-stack .hc.fly { transform: translate(-135%, 30px) rotate(-16deg) !important; opacity: .0; transition: transform .42s cubic-bezier(.5,0,.8,.4), opacity .42s; z-index: 30; }
.deck-stack .hc.jump { transition: none !important; transform: translate(-135%, 30px) rotate(-16deg) !important; opacity: 0; }
.deck-stack .hc:not([data-pos="0"]) .hc-foot, .deck-stack .hc:not([data-pos="0"]) .hc-act { pointer-events: none; }
.deck-stack .hc .hc-img { aspect-ratio: auto; flex: 1; min-height: 0; }
.deck-stack .hc-body { padding: 18px 20px 20px; flex: none; }
.deck-stack .hc-line { min-height: 3.3em; }
.deck-stack .hc-price { font-size: 1.3rem; margin-bottom: 12px; }
.deck-stack .hc:hover .hc-img img { transform: none; }
.deck-col.t2 .hc[data-pos="0"] { border-color: rgba(255,209,102,.7); }

.deck-ctl { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.deck-count { min-width: 64px; text-align: center; color: #8f89a0; font-size: .9rem; letter-spacing: .1em; }
.deck-count b { color: #fff; font-weight: 500; }
.deck-col .rc { border-color: color-mix(in srgb, var(--c1) 55%, transparent); }
.deck-col .rc:hover { background: color-mix(in srgb, var(--c1) 22%, transparent); }

@media (max-width: 1000px) {
  .decks { grid-template-columns: 1fr; gap: 70px; }
  .deck { max-width: 340px; }
}
@media (max-width: 420px) { .deck { max-width: 300px; padding-right: 46px; } }
@media (prefers-reduced-motion: reduce) { .deck-aura, .deck-aura::after { animation: none; } }


/* ===== การ์ดกรอบดอกไม้ (3 ขั้นตอน + แพ็กเกจ) แต่ละใบคนละสี มีกลีบดอกไม้ร่วงเบาๆ ===== */
.steps3 ol { gap: 26px; }
.steps3 li, .pkg-wrap .package-card {
  --fc: #ff7eb6; position: relative; isolation: isolate; overflow: hidden; border: 1.5px solid color-mix(in srgb, var(--fc) 70%, transparent) !important; border-radius: 26px !important; clip-path: none !important;
  background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--fc) 16%, transparent), transparent 60%), rgba(16,12,22,.96) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--fc) 10%, transparent), 0 10px 40px color-mix(in srgb, var(--fc) 22%, transparent) !important; animation: none !important;
  transition: transform .45s cubic-bezier(.2,.85,.25,1), box-shadow .45s;
}
.steps3 li { padding: 36px 30px 32px; }
.steps3 li:nth-child(1) { --fc: #ff7eb6; }
.steps3 li:nth-child(2) { --fc: #5cc8ff; }
.steps3 li:nth-child(3) { --fc: #5fe0a0; }
.pkg-wrap:not(.is-pro) .package-card { --fc: #b48cff; }
.pkg-wrap.is-pro .package-card { --fc: #ffb347; }
.pkg-wrap.is-pro { filter: none; }
/* ดอกไม้มุมบนขวา (ใหญ่) และมุมล่างซ้าย (เล็ก) */
.steps3 li::before, .pkg-wrap .package-card::before { content: ""; position: absolute; z-index: 0; top: -22px; right: -22px; width: 92px; height: 92px; inset: auto; top: -22px; right: -22px; clip-path: none !important;
  background: radial-gradient(circle at center, #fff8 0 11%, transparent 12%), linear-gradient(135deg, color-mix(in srgb, var(--fc) 92%, #fff), var(--fc)); opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg fill=%22%23000%22%3E%3Ccircle cx=%2250.0%22 cy=%2222.0%22 r=%2222%22/%3E%3Ccircle cx=%2276.6%22 cy=%2241.3%22 r=%2222%22/%3E%3Ccircle cx=%2266.5%22 cy=%2272.7%22 r=%2222%22/%3E%3Ccircle cx=%2233.5%22 cy=%2272.7%22 r=%2222%22/%3E%3Ccircle cx=%2223.4%22 cy=%2241.3%22 r=%2222%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2222%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg fill=%22%23000%22%3E%3Ccircle cx=%2250.0%22 cy=%2222.0%22 r=%2222%22/%3E%3Ccircle cx=%2276.6%22 cy=%2241.3%22 r=%2222%22/%3E%3Ccircle cx=%2266.5%22 cy=%2272.7%22 r=%2222%22/%3E%3Ccircle cx=%2233.5%22 cy=%2272.7%22 r=%2222%22/%3E%3Ccircle cx=%2223.4%22 cy=%2241.3%22 r=%2222%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2222%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat; transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.steps3 li::after, .pkg-wrap .package-card::after { content: ""; position: absolute; z-index: 0; left: -14px; bottom: -14px; width: 56px; height: 56px;
  background: radial-gradient(circle at center, #fff8 0 12%, transparent 13%), var(--fc); opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg fill=%22%23000%22%3E%3Ccircle cx=%2250.0%22 cy=%2218.0%22 r=%2217%22/%3E%3Ccircle cx=%2272.6%22 cy=%2227.4%22 r=%2217%22/%3E%3Ccircle cx=%2282.0%22 cy=%2250.0%22 r=%2217%22/%3E%3Ccircle cx=%2272.6%22 cy=%2272.6%22 r=%2217%22/%3E%3Ccircle cx=%2250.0%22 cy=%2282.0%22 r=%2217%22/%3E%3Ccircle cx=%2227.4%22 cy=%2272.6%22 r=%2217%22/%3E%3Ccircle cx=%2218.0%22 cy=%2250.0%22 r=%2217%22/%3E%3Ccircle cx=%2227.4%22 cy=%2227.4%22 r=%2217%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2226%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg fill=%22%23000%22%3E%3Ccircle cx=%2250.0%22 cy=%2218.0%22 r=%2217%22/%3E%3Ccircle cx=%2272.6%22 cy=%2227.4%22 r=%2217%22/%3E%3Ccircle cx=%2282.0%22 cy=%2250.0%22 r=%2217%22/%3E%3Ccircle cx=%2272.6%22 cy=%2272.6%22 r=%2217%22/%3E%3Ccircle cx=%2250.0%22 cy=%2282.0%22 r=%2217%22/%3E%3Ccircle cx=%2227.4%22 cy=%2272.6%22 r=%2217%22/%3E%3Ccircle cx=%2218.0%22 cy=%2250.0%22 r=%2217%22/%3E%3Ccircle cx=%2227.4%22 cy=%2227.4%22 r=%2217%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2226%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat; transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.steps3 li:hover, .pkg-wrap:hover .package-card { transform: translateY(-8px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fc) 18%, transparent), 0 16px 50px color-mix(in srgb, var(--fc) 38%, transparent) !important; }
.steps3 li:hover::before, .pkg-wrap:hover .package-card::before { transform: rotate(40deg) scale(1.1); }
.steps3 li:hover::after, .pkg-wrap:hover .package-card::after { transform: rotate(-40deg) scale(1.15); }
.pkg-wrap { transition: none; } .pkg-wrap:hover { transform: none; }
.pkg-wrap .package-card { flex: 1; padding: 40px 32px 34px !important; }
.steps3 li > *, .pkg-wrap .package-card > * { position: relative; z-index: 1; }
.steps3 li b { font-size: 3.4rem; line-height: 1; -webkit-text-stroke: 1px var(--fc); text-shadow: 0 0 18px color-mix(in srgb, var(--fc) 55%, transparent); }
.pkg-wrap .package-card h3 { color: var(--fc); }
.pkg-wrap .pkg-features li::marker, .pkg-wrap .pkg-features li::before { color: var(--fc); }
.compare-section .package-grid { gap: 28px; align-items: stretch; }
.pkg-wrap { position: relative; display: flex; }
/* กลีบดอกไม้ร่วง */
.fl-petal { position: absolute; z-index: 0 !important; top: -16px; left: var(--x); width: var(--sz); height: var(--sz); background: var(--fc); opacity: 0; border-radius: 60% 0 60% 0; pointer-events: none; animation: flFall var(--dur) linear var(--dl) infinite; }
@keyframes flFall { 0% { transform: translate(0,0) rotate(0); opacity: 0; } 12% { opacity: .6; } 50% { transform: translate(var(--sw),150px) rotate(180deg); } 88% { opacity: .5; } 100% { transform: translate(calc(var(--sw) * -.6),320px) rotate(400deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fl-petal { display: none; } .steps3 li, .pkg-wrap .package-card, .steps3 li::before, .pkg-wrap .package-card::before { transition: none; } }
.lowfx .fl-petal { display: none; }
.pkg-wrap .pkg-badge { top: 16px; right: 70px; background: linear-gradient(135deg, #ffb347, #ff7a3d); color: #3a1500; letter-spacing: .04em; padding: 4px 14px; box-shadow: 0 4px 14px rgba(255,150,60,.45); z-index: 2; }
.pkg-wrap .pkg-price { font-size: 2.6rem; }
.pkg-wrap .pkg-features { gap: 11px; margin-top: 6px; }
.pkg-wrap .pkg-sub { color: #a49eb4; font-size: .92rem; line-height: 1.6; margin: 6px 0 20px; padding-bottom: 18px; border-bottom: 1px dashed rgba(255,255,255,.14); }

/* ปุ่มรูปดอกไม้ (ลองเล่น / เลือกซื้อ) */
.hc-act { grid-template-columns: 1fr 1fr; gap: 4px; justify-items: center; margin: 0 -4px; }
.hc-demo, .hc-buy { position: relative; width: 92px; height: 92px; border-radius: 0; border: 0; background: none !important; font-size: .9rem; font-weight: 600; color: #fff; z-index: 0; isolation: isolate; text-align: center; line-height: 1.15; padding: 0; }
.hc-demo::before, .hc-buy::before { content: ""; position: absolute; inset: 0; z-index: -1; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg fill=%22%23000%22%3E%3Ccircle cx=%2281.0%22 cy=%2250.0%22 r=%2219%22/%3E%3Ccircle cx=%2271.9%22 cy=%2271.9%22 r=%2219%22/%3E%3Ccircle cx=%2250.0%22 cy=%2281.0%22 r=%2219%22/%3E%3Ccircle cx=%2228.1%22 cy=%2271.9%22 r=%2219%22/%3E%3Ccircle cx=%2219.0%22 cy=%2250.0%22 r=%2219%22/%3E%3Ccircle cx=%2228.1%22 cy=%2228.1%22 r=%2219%22/%3E%3Ccircle cx=%2250.0%22 cy=%2219.0%22 r=%2219%22/%3E%3Ccircle cx=%2271.9%22 cy=%2228.1%22 r=%2219%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2234%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22%3E%3Cg fill=%22%23000%22%3E%3Ccircle cx=%2281.0%22 cy=%2250.0%22 r=%2219%22/%3E%3Ccircle cx=%2271.9%22 cy=%2271.9%22 r=%2219%22/%3E%3Ccircle cx=%2250.0%22 cy=%2281.0%22 r=%2219%22/%3E%3Ccircle cx=%2228.1%22 cy=%2271.9%22 r=%2219%22/%3E%3Ccircle cx=%2219.0%22 cy=%2250.0%22 r=%2219%22/%3E%3Ccircle cx=%2228.1%22 cy=%2228.1%22 r=%2219%22/%3E%3Ccircle cx=%2250.0%22 cy=%2219.0%22 r=%2219%22/%3E%3Ccircle cx=%2271.9%22 cy=%2228.1%22 r=%2219%22/%3E%3Ccircle cx=%2250%22 cy=%2250%22 r=%2234%22/%3E%3C/g%3E%3C/svg%3E") center/100% 100% no-repeat; transition: transform .35s cubic-bezier(.3,1.6,.5,1), filter .25s; }
.hc-demo::before { background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.1)); }
.hc-buy::before { background: linear-gradient(135deg, #ff2a4d, #b3122f); }
.hc.premium .hc-buy::before { background: linear-gradient(135deg, #ff5d8f, #8a5cff); }
.hc-demo:hover, .hc-buy:hover { background: none; transform: none; filter: none; }
.hc-demo:hover::before, .hc-buy:hover::before { transform: rotate(22deg) scale(1.08); filter: brightness(1.15); }
.hc-demo:active::before, .hc-buy:active::before { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .hc-demo::before, .hc-buy::before { transition: none; } }
.pkg-wrap .package-card > .pkg-badge { position: absolute; top: 18px; right: 74px; }

/* ===== ธีมแนะนำ Y2K ===== */
.y2f { padding: 8px 16px 44px; }
.y2f-in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; padding: 30px; border-radius: 28px; background: linear-gradient(135deg, #ffe3f6, #e3f0ff 60%, #f1e4ff); border: 3px solid #fff; box-shadow: 0 0 0 3px #d9b8ff, 0 24px 50px rgba(150, 90, 200, .25); position: relative; overflow: hidden; }
.y2f-shots { position: relative; min-height: 300px; }
.y2f-shots figure { position: absolute; margin: 0; border: 4px solid #8a5aa8; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 26px rgba(90, 40, 140, .35); background: #fff; }
.y2f-shots figure img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.y2f-shots .a { left: 0; top: 0; width: 70%; transform: rotate(-3deg); }
.y2f-shots .b { right: 0; bottom: 0; width: 66%; transform: rotate(3deg); z-index: 2; }
.y2f-shots .tag { position: absolute; left: 10px; bottom: 10px; z-index: 3; font: 700 12px/1 "Press Start 2P", monospace; padding: 10px 12px; color: #fff; background: #ff5fae; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 4px 0 #c23a86; }
.y2f-eyebrow { font-size: 12px; letter-spacing: .26em; font-weight: 700; color: #ff5fae; margin: 0 0 8px; }
.y2f-copy h2 { font-size: clamp(24px, 3.6vw, 34px); line-height: 1.3; margin: 0 0 12px; color: #5a2a7a; }
.y2f-copy h2 em { font-style: normal; color: #ff3d9a; }
.y2f-sub { color: #6b4a85; line-height: 1.7; margin: 0 0 14px; }
.y2f-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; color: #5a2a7a; font-weight: 600; }
.y2f-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.y2f-cta .hx-btn { cursor: pointer; }
@media (max-width: 760px) { .y2f-in { grid-template-columns: 1fr; padding: 20px 16px 24px; gap: 18px; } .y2f-shots { min-height: 250px; } }
.y2f-cta .hx-btn.ghost { background: #fff; color: #c23a86; border: 2px solid #ff9ed0; }
.y2f-cta .hx-btn.primary { background: linear-gradient(#ff7eb8, #ff3d9a); color: #fff; box-shadow: 0 5px 0 #c23a86; }

/* ===== 2 กองราคา: จัดกึ่งกลาง ใหญ่ขึ้น สมดุล ===== */
.decks { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin: 0 auto; gap: clamp(28px, 6vw, 96px); }
.decks .deck { max-width: 430px; padding-right: 60px; }
.decks-sec { padding-bottom: clamp(30px, 5vw, 64px); }
@media (max-width: 760px) { .decks { grid-template-columns: 1fr; gap: 56px; max-width: 440px; } .decks .deck { max-width: 360px; padding-right: 50px; } }

/* ===== ฮีโร่ใหม่: โทรศัพท์ 3 เครื่องโชว์เว็บจริง ===== */
.hx-visual { height: clamp(430px, 46vw, 560px); }
.hv-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hv-glow.g1 { width: 62%; aspect-ratio: 1; left: 2%; top: 6%; background: #ff5d8f; }
.hv-glow.g2 { width: 52%; aspect-ratio: 1; right: 0; bottom: 0; background: #8a5cff; }
.hx-phone { position: absolute; margin: 0; aspect-ratio: 390 / 844; border-radius: 30px; padding: 7px; background: linear-gradient(145deg, #2c2638, #0d0a14); box-shadow: 0 0 0 1.5px rgba(255,255,255,.2), 0 34px 70px rgba(0,0,0,.6), inset 0 0 0 2px rgba(255,255,255,.06); }
.hx-phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.hx-phone .notch { position: absolute; z-index: 2; left: 50%; top: 12px; width: 30%; height: 14px; margin-left: -15%; border-radius: 99px; background: #0d0a14; }
.hx-phone.p1 { width: 37%; left: 0; top: 12%; transform: rotate(-8deg); animation: hxF 8s ease-in-out infinite; }
.hx-phone.p3 { width: 37%; right: 0; top: 8%; transform: rotate(8deg); animation: hxF 9s ease-in-out -3s infinite; }
.hx-phone.p2 { width: 44%; left: 28%; top: 0; z-index: 3; transform: rotate(0deg); box-shadow: 0 0 0 1.5px rgba(255,255,255,.32), 0 44px 90px rgba(255,42,100,.35), 0 30px 60px rgba(0,0,0,.6); animation: hxF 7s ease-in-out -1.5s infinite; }
.hv-chip { position: absolute; z-index: 4; padding: 9px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; color: #fff; white-space: nowrap; background: rgba(30, 20, 44, .62); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 26px rgba(0,0,0,.4); animation: hxF 6s ease-in-out infinite; }
.hv-chip.c1 { left: -2%; bottom: 14%; animation-delay: -1s; }
.hv-chip.c2 { right: -2%; top: 46%; animation-delay: -3s; }
.hv-chip.c3 { left: 26%; bottom: -3%; animation-delay: -2s; }
@media (max-width: 900px) { .hx-visual { height: 420px; max-width: 460px; } .hv-chip { font-size: .72rem; padding: 7px 11px; } .hv-chip.c2 { right: 0; } }
@media (max-width: 420px) { .hx-visual { height: 360px; } .hx-phone { border-radius: 22px; padding: 5px; } .hx-phone img { border-radius: 17px; } }
@media (prefers-reduced-motion: reduce) { .hx-phone, .hv-chip { animation: none; } }
