/* Hero — pricing.vr360.one */
.hero.pricing-hero {
  position: relative; overflow: hidden;
  padding: clamp(52px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(60% 55% at 92% 8%, rgba(97, 49, 249, .38), transparent 58%),
    radial-gradient(48% 42% at 4% 92%, rgba(183, 148, 255, .14), transparent 55%),
    linear-gradient(180deg, var(--bg-2, #0a0e38) 0%, var(--bg, #070A29) 100%);
  border-bottom: 1px solid var(--line, rgba(173, 138, 254, .18));
}
.hero.pricing-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Ccircle cx='1.5' cy='1.5' r='1' fill='%23AD8AFE' fill-opacity='.18'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}
.hero.pricing-hero--slim {
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: .95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero.pricing-hero--slim .hero-grid { grid-template-columns: 1fr; }
.hero-copy { min-width: 0; }
.hero .eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink, #AD8AFE); background: var(--accent-soft, rgba(97, 49, 249, .15));
  border: 1px solid var(--line, rgba(173, 138, 254, .18));
  padding: 6px 12px; border-radius: 999px;
  font-family: 'Bai Jamjuree', var(--ft, sans-serif);
}
.hero h1 {
  margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.08; color: var(--strong, #fff);
  font-family: 'Bai Jamjuree', var(--ft, sans-serif);
}
.hero h1 .grad {
  background: var(--grad, linear-gradient(91.99deg, #7347F5 1.68%, #FBCDFF 68.97%));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: phGradShift 6s ease infinite;
}
@keyframes phGradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero .lead {
  margin: 0 0 22px; max-width: 46ch;
  font-size: clamp(.95rem, 1.4vw, 1.05rem); color: var(--muted, #8B88B8); line-height: 1.55;
}
.hero-pills {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  margin-bottom: 22px; max-width: 420px;
}
.hero-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line, rgba(173, 138, 254, .18));
  background: rgba(16, 21, 63, .5);
  font-size: 12px; font-weight: 600; color: var(--text, #C4C0E0);
}
.hero-pill .p-ic {
  width: 40px; height: 40px; flex: none; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(97, 49, 249, .55), rgba(183, 148, 255, .28));
  border: 1px solid rgba(173, 138, 254, .35);
  color: var(--ink, #AD8AFE);
}
.hero-pill .p-ic svg,
.svc-icon svg,
.pr-ic svg,
.hcard .hgo svg { width: 100%; height: 100%; display: block; }
.hero-pill .p-ic svg { width: 22px; height: 22px; }
.hcard .hgo svg { width: 16px; height: 16px; flex: none; }
.hero-pill b { display: block; color: var(--strong, #fff); font-size: 13px; margin-bottom: 1px; }
.hero-stats {
  display: flex; gap: clamp(20px, 3vw, 32px); flex-wrap: wrap;
}
.hero-stats .stat {
  display: flex; align-items: center; gap: 10px;
}
.hero-stats .stat-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #6131F9, #8b5cf6);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 15px; font-weight: 800;
  font-family: 'Bai Jamjuree', sans-serif;
  box-shadow: 0 8px 20px rgba(97, 49, 249, .4);
}
.hero-stats .stat strong {
  display: block; font-size: 20px; font-weight: 800;
  color: var(--strong, #fff); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.hero-stats .stat span { font-size: 12px; color: var(--muted, #8B88B8); }

/* meta (sub-pages) */
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 18px;
}
.hero-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line, rgba(173, 138, 254, .18));
  background: rgba(16, 21, 63, .45);
  font-size: 12px; font-weight: 600; color: var(--muted, #8B88B8);
}
.hero-meta-item svg {
  width: 14px; height: 14px; flex: none;
  fill: none; stroke: var(--ink, #AD8AFE); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.hero-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink, #AD8AFE);
  text-decoration: none; margin-bottom: 14px;
}
.hero-back:hover { color: var(--strong, #fff); }

/* ── Showcase visual (hero phải) ── */
.hero-visual { display: flex; justify-content: center; align-items: center; min-height: 380px; }
.showcase {
  position: relative; width: min(100%, 460px);
}
.showcase-glow {
  position: absolute; inset: -12% -8%;
  background:
    radial-gradient(50% 50% at 50% 45%, rgba(97, 49, 249, .45), transparent 68%),
    radial-gradient(35% 35% at 80% 20%, rgba(251, 191, 36, .12), transparent 70%);
  filter: blur(28px); pointer-events: none; z-index: 0;
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
.showcase-orbit {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  border: 1px dashed rgba(173, 138, 254, .22);
  top: -18px; right: -10px; z-index: 0; pointer-events: none;
  animation: orbitSpin 24s linear infinite;
}
.showcase-orbit::after {
  content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink, #AD8AFE); box-shadow: 0 0 14px rgba(173, 138, 254, .8);
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.showcase-card {
  position: relative; z-index: 2;
  border-radius: 22px;
  border: 1px solid rgba(173, 138, 254, .38);
  background: linear-gradient(155deg, #faf9fe 0%, #eee9fa 42%, #e6dff8 100%);
  box-shadow:
    0 32px 64px rgba(7, 10, 41, .55),
    0 0 0 1px rgba(255, 255, 255, .06) inset;
  padding: clamp(20px, 3vw, 28px);
  animation: showcaseFloat 6s ease-in-out infinite;
}
@keyframes showcaseFloat {
  0%, 100% { transform: translateY(0) rotate(-.5deg); }
  50% { transform: translateY(-10px) rotate(.5deg); }
}
.showcase-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(97, 49, 249, .14);
}
.showcase-brand { display: flex; align-items: center; gap: 12px; }
.showcase-brand img { width: 40px; height: 40px; border-radius: 10px; flex: none; box-shadow: 0 4px 12px rgba(97, 49, 249, .2); }
.showcase-brand strong {
  display: block; font-size: 15px; color: #1a1540; line-height: 1.15;
  font-family: 'Bai Jamjuree', sans-serif;
}
.showcase-brand small { display: block; font-size: 11px; color: #6b6788; margin-top: 2px; }
.showcase-year {
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(97, 49, 249, .18), rgba(183, 148, 255, .12));
  color: #6131F9; border: 1px solid rgba(97, 49, 249, .2);
}
.showcase-wm {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(2.2rem, 8vw, 3.2rem); font-weight: 800; letter-spacing: .2em;
  color: rgba(97, 49, 249, .07); transform: rotate(-18deg); pointer-events: none;
  font-family: 'Bai Jamjuree', sans-serif; z-index: 0;
}

.svc-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.svc-tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 14px 14px 12px; border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(97, 49, 249, .12);
  box-shadow: 0 4px 14px rgba(97, 49, 249, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(97, 49, 249, .16); }
.svc-tile--hi {
  border-color: rgba(97, 49, 249, .32);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(97, 49, 249, .18);
}
.svc-icon--tier1 { background: linear-gradient(135deg, #6366f1, #818cf8); }
.svc-icon--tier2 { background: linear-gradient(135deg, #6131F9, #8b5cf6); }
.svc-icon--tier3 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.svc-icon--gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  color: #fff;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-icon--360 { background: linear-gradient(135deg, #6131F9, #8b5cf6); }
.svc-icon--3d { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.svc-icon--web { background: linear-gradient(135deg, #2563eb, #6131F9); }
.svc-icon--pkg { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.svc-tile strong {
  font-size: 13px; font-weight: 700; color: #1a1540; line-height: 1.2;
  font-family: 'Bai Jamjuree', sans-serif;
}
.svc-tile .svc-price {
  font-size: 12px; color: #6b6788; margin-top: auto; width: 100%;
  display: flex; align-items: baseline; justify-content: space-between; gap: 6px;
}
.svc-tile .svc-price b {
  font-size: 20px; font-weight: 800; color: #6131F9;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.svc-tile .svc-price em {
  font-style: normal; font-size: 11px; font-weight: 700; color: #8b86a8;
}

.showcase-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(97, 49, 249, .16);
}
.showcase-foot-combo {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: #1a1540;
}
.showcase-foot-combo .svc-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006;
}
.showcase-foot-combo .svc-icon svg { width: 20px; height: 20px; }
.showcase-foot-combo span { color: #6131F9; }
.showcase-vat {
  font-size: 10px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(251, 191, 36, .22); color: #92680a;
  border: 1px solid rgba(251, 191, 36, .35);
}

/* sub-page: compact price-stack fallback */
.price-stack {
  position: relative; width: min(100%, 380px); aspect-ratio: 4/5; margin: 0 auto;
}
.price-card {
  position: absolute; left: 50%; width: 86%;
  transform-origin: center bottom;
  border-radius: 16px; border: 1px solid rgba(173, 138, 254, .35);
  background: linear-gradient(165deg, #f8f7fc 0%, #ece9f8 48%, #e4dff5 100%);
  box-shadow: 0 22px 48px rgba(7, 10, 41, .48);
  overflow: hidden; padding: 18px 20px 16px;
}
.price-card--back { top: 8%; transform: translateX(-50%) rotate(-12deg) scale(.86); opacity: .5; z-index: 1; }
.price-card--mid { top: 4%; transform: translateX(-50%) rotate(10deg) scale(.93); opacity: .72; z-index: 2; }
.price-card--front { top: 0; transform: translateX(-50%) rotate(-2deg); z-index: 3; animation: priceFloat 5.5s ease-in-out infinite; }
@keyframes priceFloat {
  0%, 100% { transform: translateX(-50%) rotate(-2deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(-2deg) translateY(-8px); }
}
.price-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(97, 49, 249, .15); }
.price-card-head img { width: 32px; height: 32px; border-radius: 8px; }
.price-card-head strong { font-size: 12px; color: #1a1540; font-family: 'Bai Jamjuree', sans-serif; }
.price-card-head small { font-size: 10px; color: #6b6788; }
.price-card-year { font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 8px; background: rgba(97, 49, 249, .14); color: #6131F9; }
.price-rows { display: flex; flex-direction: column; gap: 8px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 11px; padding: 6px 0; border-bottom: 1px dashed rgba(97, 49, 249, .12); }
.price-row .pl { color: #4a4568; font-weight: 600; }
.price-row .pv { font-weight: 800; color: #6131F9; font-size: 13px; }
.price-row .pv em { font-style: normal; font-size: 10px; color: #8b86a8; }
.price-wm { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.2rem, 4vw, 1.6rem); font-weight: 800; letter-spacing: .18em; color: rgba(97, 49, 249, .1); transform: rotate(-22deg); pointer-events: none; font-family: 'Bai Jamjuree', sans-serif; }
.price-chip { display: inline-block; font-size: 9px; font-weight: 700; padding: 4px 8px; border-radius: 6px; background: rgba(251, 191, 36, .2); color: #92680a; }
.price-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(97, 49, 249, .2); font-size: 11px; font-weight: 700; color: #1a1540; }
.price-total span:last-child { color: #6131F9; }

/* hub icon helper (index) */
.pr-ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; }
.pr-ic svg { width: 32px; height: 32px; }
.pr-ic--pkg { background: linear-gradient(135deg, #6131F9, #a855f7); }
.pr-ic--360 { background: linear-gradient(135deg, #4f46e5, #7c3aed); }
.pr-ic--3d { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.pr-ic--web { background: linear-gradient(135deg, #2563eb, #6131F9); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 320px; max-width: min(440px, 92vw); margin: 0 auto 8px; }
  .hero-pills { max-width: none; }
}
@media (max-width: 680px) {
  .hero.pricing-hero { padding: 40px 0 36px; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-pills { grid-template-columns: 1fr; }
  .showcase-orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-card, .price-card--front, .showcase-glow, .showcase-orbit { animation: none !important; }
  .hero h1 .grad { animation: none; }
}
@media print {
  .hero.pricing-hero { background: #fff !important; padding: 20px 0 !important; }
  .hero h1 { color: #070A29 !important; }
  .hero h1 .grad { -webkit-text-fill-color: #6131F9; }
  .hero-visual { display: none !important; }
}
