.hero-glow {
  position: absolute; inset: -20% -10% auto; height: 720px;
  background:
    radial-gradient(40% 50% at 70% 30%, rgba(125, 211, 252, .28), transparent 70%),
    radial-gradient(25% 30% at 25% 55%, rgba(56, 189, 248, .14), transparent 70%),
    radial-gradient(12% 14% at 82% 60%, rgba(244, 63, 94, .12), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 35%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 35%, #000, transparent);
  pointer-events: none;
}

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 12px; font-weight: 600;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: #7DD3FC; color: #05070B; box-shadow: 0 8px 32px -8px rgba(125,211,252,.6); }
.btn-primary:hover { background: #BAE6FD; }
.btn-ghost { border: 1px solid rgba(255,255,255,.14); color: #E2E8F0; }
.btn-ghost:hover { border-color: rgba(125,211,252,.5); color: #fff; }
.btn-primary:active, .btn-ghost:active { transform: scale(.97); }
.btn-primary:focus-visible, .btn-ghost:focus-visible { outline: 2px solid #7DD3FC; outline-offset: 3px; }

.step-card {
  position: relative; padding: 28px 24px; border-radius: 20px;
  background: #0A0E15; border: 1px solid rgba(255,255,255,.07);
  transition: border-color .2s ease;
}
.step-card:hover { border-color: rgba(125,211,252,.35); }
.step-num { position: absolute; top: 22px; right: 24px; font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 1.5rem; color: rgba(125,211,252,.25); }
.step-icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: #7DD3FC; background: rgba(125,211,252,.1); }
.step-icon--accent { color: #F43F5E; background: rgba(244,63,94,.1); }
.step-title { margin-top: 20px; font-size: 1.125rem; font-weight: 600; color: #fff; }
.step-text { margin-top: 8px; line-height: 1.65; color: #94A3B8; }

.work-item { display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: #0A0E15; }
.work-item img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.work-item:hover img { transform: scale(1.03); }
.work-item:focus-visible { outline: 2px solid #7DD3FC; outline-offset: 3px; }

.review-card { display: flex; flex-direction: column; padding: 28px; border-radius: 20px; background: #0A0E15; border: 1px solid rgba(255,255,255,.07); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Hero showcase */
.hero-fan { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-fan::before { content: ""; position: absolute; inset: 10% 5%; background: radial-gradient(50% 50% at 50% 50%, rgba(125,211,252,.35), transparent 70%); filter: blur(40px); pointer-events: none; }
.fan-item { position: relative; display: block; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); background: #0A0E15;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.9), 0 0 0 1px rgba(125,211,252,.08); transition: transform .3s ease, border-color .2s ease; }
.fan-item img { display: block; width: 100%; height: auto; }
.fan-item:hover { border-color: rgba(125,211,252,.6); }
.fan-center { width: 40%; z-index: 3; }
.fan-left  { width: 32%; z-index: 2; margin-right: -6%; transform: rotate(-6deg) translateY(28px); }
.fan-right { width: 32%; z-index: 2; margin-left: -6%;  transform: rotate(6deg) translateY(28px); }
.fan-left:hover  { transform: rotate(-6deg) translateY(20px); }
.fan-right:hover { transform: rotate(6deg) translateY(20px); }
.fan-center:hover { transform: translateY(-8px); }
@media (max-width: 640px) { .fan-item { border-radius: 12px; } .fan-left { transform: rotate(-5deg) translateY(16px); } .fan-right { transform: rotate(5deg) translateY(16px); } }
.hero-fan::after { content: ""; position: absolute; inset: auto -2rem -1px; height: 70px; background: linear-gradient(to bottom, transparent, #05070B); z-index: 4; pointer-events: none; }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 22px; background: #0A0E15; border: 1px solid rgba(255,255,255,.08); transition: border-color .2s ease; }
.price-card:hover { border-color: rgba(125,211,252,.35); }
.price-card--pop { background: linear-gradient(180deg, #101A28, #0A0E15); border-color: rgba(125,211,252,.55); box-shadow: 0 24px 70px -28px rgba(56,189,248,.45); }
@media (min-width: 768px) { .price-card--pop { transform: translateY(-12px); padding-bottom: 44px; } }

/* Thai text: ไม่ตัดกลางวลี / ไม่ให้วรรณยุกต์ถูกตัดขอบ */
.nb { display: inline-block; }
.grad-text { display: inline-block; padding: .18em .05em .12em; margin: -.18em -.05em -.12em; }


@media (max-width: 640px) {
  .btn-primary, .btn-ghost { min-height: 46px; padding: 0 22px; }
  .fan-center { width: 44%; }
  .fan-left, .fan-right { width: 34%; }
  .fan-left { margin-right: -8%; } .fan-right { margin-left: -8%; }
}

/* Channels */
.channel-card { padding: 22px; border-radius: 20px; background: #0A0E15; border: 1px solid rgba(255,255,255,.08); transition: border-color .2s ease; }
.channel-card:hover { border-color: rgba(125,211,252,.35); }
.channel-avatar { position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: rgba(125,211,252,.15); color: #7DD3FC; font-weight: 700; }
.channel-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.channel-btn { flex: 1; min-height: 44px; padding: 0 12px; font-size: .9rem; }
