/* KT Digital storefront refresh — focused, calm, and conversion-first */

:root {
  --bg-deep: #011123;
  --bg-main: #071326;
  --bg-surface: #0b172a;
  --bg-surface-elevated: #112239;
  --bg-card: rgba(7, 19, 38, 0.75);
  --line-subtle: rgba(250, 249, 245, 0.08);
  --line-highlight: rgba(232, 123, 0, 0.35);
  --line-emerald: rgba(16, 185, 129, 0.35);
  --text-primary: #faf9f5;
  --text-secondary: rgba(250, 249, 245, 0.75);
  --text-muted: rgba(250, 249, 245, 0.55);
  --text-dim: rgba(250, 249, 245, 0.4);
  --accent-primary: #e87b00;
  --accent-primary-hover: #ffa600;
  --accent-violet: #00f0ff;
  --accent-cyan: #00f0ff;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-amber: #e87b00;
  --accent-amber-glow: rgba(232, 123, 0, 0.35);
  --accent-rose: #fb7185;
  --font-sans: 'Kanit', 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-thai: var(--font-sans);
  --font-latin: 'Instrument Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 100rem;
  --shadow-glass: 0 18px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow-amber: 0 8px 28px -4px rgba(232, 123, 0, 0.45);
}

html {
  scroll-padding-top: 104px;
}

body {
  font-family: var(--font-sans);
  padding-bottom: 0;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 76% 5%, rgba(232, 123, 0, 0.1), transparent 32rem),
    radial-gradient(circle at 20% 40%, rgba(0, 240, 255, 0.07), transparent 28rem),
    radial-gradient(circle at 50% 70%, rgba(16, 185, 129, 0.05), transparent 35rem),
    linear-gradient(180deg, #011123 0%, #071326 50%, #011123 100%);
  background-attachment: scroll;
  font-size: 16px;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button:active,
a[class]:active,
summary:active {
  opacity: 0.82;
}

button,
summary,
[role="button"] {
  cursor: pointer;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.checkout-note {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.75;
}

.checkout-note a,
.checkout-support {
  color: var(--accent-cyan);
  text-underline-offset: 3px;
}

.checkout-support:not([hidden]) {
  display: block;
  min-height: 44px;
  padding: 10px;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(232, 123, 0, 0.65);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: var(--accent-primary);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.container {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.ambient-glow {
  opacity: 0.18;
  filter: blur(190px);
}

.notice-bar {
  min-height: 38px;
  padding: 7px 20px;
  gap: 14px;
  border-bottom: 1px solid var(--line-subtle);
  background: #090e17;
  color: var(--text-secondary);
  font-size: 0.78rem;
  backdrop-filter: none;
}

.notice-pill,
.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}

.notice-pill {
  padding: 3px 9px;
  font-size: 0.69rem;
  letter-spacing: 0;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.notice-link {
  margin-left: auto;
  color: #38bdf8;
  text-underline-offset: 3px;
}

.store-header {
  min-height: 70px;
  padding: 11px max(20px, calc((100vw - 1180px) / 2));
  gap: 24px;
  background: rgba(7, 11, 16, 0.92);
  border-bottom-color: var(--line-subtle);
  backdrop-filter: blur(14px);
}

.store-brand {
  flex: 0 0 auto;
  gap: 10px;
}

.store-brand img {
  width: 34px;
  height: 34px;
  filter: none;
}

.store-brand span strong {
  font-size: 1rem;
}

.store-brand span small {
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.nav-menu {
  margin-left: auto;
  gap: 24px;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
}

.nav-menu a:hover {
  color: var(--text-primary);
}

.header-actions {
  flex: 0 0 auto;
}

.header-cta,
.drawer-cta-btn,
.btn-hero-primary,
.btn-hero-pill-cta,
.offer-cta,
.btn-reserve-now,
.btn-submit-order,
.btn-m-buy,
.btn-join-pool {
  color: #ffffff;
  background: linear-gradient(135deg, #e87b00 0%, #f59b33 100%);
  border: 1px solid rgba(255, 166, 0, 0.45);
  box-shadow: 0 8px 26px -4px rgba(232, 123, 0, 0.45), 0 0 16px rgba(232, 123, 0, 0.2);
  font-weight: 800;
  border-radius: 100rem;
}

.header-cta {
  min-height: 44px;
  padding: 9px 20px;
  border-radius: 100rem;
  font-size: 0.82rem;
}

.header-cta:hover,
.btn-hero-primary:hover,
.btn-hero-pill-cta:hover,
.offer-cta:hover,
.btn-reserve-now:hover,
.btn-m-buy:hover,
.btn-submit-order:hover,
.btn-join-pool:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ffa600 0%, #e87b00 100%);
  border-color: rgba(255, 200, 80, 0.75);
  transform: translateY(-1px);
  box-shadow: 0 12px 34px -4px rgba(232, 123, 0, 0.65), 0 0 24px rgba(255, 166, 0, 0.35);
}

.drawer-line-btn {
  border-radius: 100rem !important;
}

/* Fox Funnels Hero Video Background */
.ff-hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.ff-hero-img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.3;
}

.ff-hero-overlay-x {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #011123 0%, rgba(1, 17, 35, 0.35) 50%, #011123 100%);
}

.ff-hero-overlay-y {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #011123 0%, rgba(1, 17, 35, 0.1) 30%, rgba(1, 17, 35, 0.85) 80%, #011123 100%);
}

.hero-section {
  position: relative;
  min-height: auto;
  padding: clamp(64px, 7vw, 96px) 0 40px;
  overflow: hidden;
  background: #011123;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100rem;
  background: rgba(232, 123, 0, 0.12);
  border: 1px solid rgba(232, 123, 0, 0.35);
  color: #ffa600;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(232, 123, 0, 0.15);
}

.hero-eyebrow-badge .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-inline-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

.btn-hero-pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 32px;
  border-radius: 100rem;
  background: linear-gradient(135deg, #e87b00 0%, #f59b33 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: 1px solid rgba(255, 166, 0, 0.5);
  box-shadow: 0 8px 28px -4px rgba(232, 123, 0, 0.5), 0 0 16px rgba(232, 123, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-hero-pill-cta:hover {
  background: linear-gradient(135deg, #ffa600 0%, #e87b00 100%);
  border-color: rgba(255, 200, 80, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -4px rgba(232, 123, 0, 0.7), 0 0 24px rgba(255, 166, 0, 0.4);
}

.hero-inline-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price-strikethrough {
  font-size: 1.05rem;
  color: rgba(250, 249, 245, 0.45);
  text-decoration: line-through;
  font-weight: 500;
}

.price-bold {
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #faf9f5;
  letter-spacing: -0.02em;
}

.price-bold small {
  font-size: 0.88rem;
  color: rgba(250, 249, 245, 0.65);
  font-weight: 500;
}

.badge-discount {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Infinite Scrolling Tool Marquee Banner */
.hero-marquee-band {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding: 16px 0;
  background: rgba(7, 19, 38, 0.65);
  border-top: 1px solid rgba(250, 249, 245, 0.08);
  border-bottom: 1px solid rgba(250, 249, 245, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marquee-scroll 25s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100rem;
  background: rgba(250, 249, 245, 0.04);
  border: 1px solid rgba(250, 249, 245, 0.08);
  font-size: 0.88rem;
  color: #faf9f5;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.marquee-item:hover {
  background: rgba(232, 123, 0, 0.12);
  border-color: rgba(232, 123, 0, 0.4);
}

.marquee-item strong {
  font-weight: 700;
  color: #faf9f5;
}

.marquee-item .tool-icon {
  font-size: 1.15rem;
}

.marquee-item .tool-desc {
  font-size: 0.75rem;
  color: rgba(250, 249, 245, 0.55);
  padding-left: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
  .ff-hero-img {
    display: none;
  }
  .ff-hero-video-wrap {
    background: #011123 url("assets/video/hero-bg-poster.jpg") center/cover no-repeat;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(52px, 7vw, 92px);
}

.overline {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-cyan);
  font-family: var(--font-latin);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 20%, #ffa600 60%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #ffffff 15%, #34d399 55%, #00f0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content h1 > .gradient-text {
  display: block;
}

.keep-together {
  white-space: nowrap;
}

.hero-desc {
  max-width: 650px;
  text-wrap: balance;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  line-height: 1.75;
}

.hero-trust-list,
.offer-includes {
  list-style: none;
}

.hero-trust-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  color: #dbe5ec;
  font-size: 0.93rem;
}

.hero-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-trust-list li > span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent-primary);
  font-size: 0.72rem;
  font-weight: 900;
}

.hero-actions {
  margin-top: 30px;
  gap: 10px;
}

.btn-hero-primary,
.btn-hero-secondary {
  min-height: 50px;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 100rem;
  font-size: 0.94rem;
}

.btn-hero-secondary {
  color: var(--text-primary);
  background: transparent;
  border: 1px solid rgba(214, 228, 242, 0.2);
}

.btn-hero-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(214, 228, 242, 0.34);
  transform: translateY(-1px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.hero-proof strong {
  margin-right: 4px;
  color: var(--text-primary);
  font-size: 0.84rem;
}

.hero-disclaimer {
  margin-top: 13px;
  color: var(--text-dim);
  font-size: 0.7rem;
}

.hero-offer-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(232, 123, 0, 0.25);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(11, 23, 42, 0.85) 0%, rgba(7, 19, 38, 0.95) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px -10px rgba(232, 123, 0, 0.25);
  backdrop-filter: blur(20px);
}

.hero-offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(90deg, #e87b00, #00f0ff);
}

.offer-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.offer-eyebrow {
  color: #9caaba;
  font-size: 0.76rem;
  font-weight: 700;
}

.availability-pill {
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
}

.hero-offer-card h2 {
  margin-top: 22px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
}

.offer-summary {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

.offer-price-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 24px 0 20px;
  padding: 22px 0;
  border-block: 1px solid var(--line-subtle);
}

.offer-price-row > div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.offer-price-row strong {
  color: #fff;
  font-family: var(--font-latin);
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.offer-price-row span,
.offer-price-row small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.offer-includes {
  display: grid;
  gap: 9px;
  color: #dce5eb;
  font-size: 0.84rem;
}

.offer-includes li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--accent-primary);
  font-weight: 900;
}

.offer-cta {
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  border-radius: 100rem;
}

.offer-compare-link {
  display: block;
  width: max-content;
  margin: 14px auto 0;
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-underline-offset: 3px;
}

.section {
  padding: clamp(72px, 8vw, 104px) 0;
}

section[id],
[id] {
  scroll-margin-top: clamp(72px, 10vh, 104px);
}

.journey-section {
  padding: 22px 0 32px;
}

.journey-shell {
  display: grid;
  grid-template-columns: 1.15fr 1.8fr auto;
  align-items: center;
  gap: 34px;
  padding: 28px 30px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  background: #0d141c;
}

.journey-intro .overline {
  margin-bottom: 5px;
}

.journey-intro h2 {
  font-size: 1.22rem;
  line-height: 1.35;
}

.journey-intro p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.journey-list li {
  display: grid;
  grid-template-columns: 31px 1fr;
  align-items: start;
  gap: 10px;
}

.journey-list li > span {
  color: var(--accent-primary);
  font-family: var(--font-latin);
  font-size: 0.72rem;
  font-weight: 800;
}

.journey-list strong,
.journey-list small {
  display: block;
}

.journey-list strong {
  font-size: 0.82rem;
}

.journey-list small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.journey-link {
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.journey-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Proprietary Tech & System Highlights Showcase */
.system-highlights-section,
.testimonials-section {
  padding: 74px 0 80px;
  background: radial-gradient(circle at 50% 0%, rgba(232, 123, 0, 0.08) 0%, transparent 70%);
  border-block: 0;
}

.system-highlights-header,
.testimonials-header {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.system-highlights-pill,
.testimonials-rating-pill {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--radius-full, 9999px);
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.system-highlights-header h2,
.system-highlights-header h3,
.testimonials-header h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.system-highlights-header p,
.testimonials-header p {
  color: var(--text-secondary, #b7c3cf);
  font-size: clamp(0.92rem, 1.8vw, 1.02rem);
  line-height: 1.65;
  margin: 0;
}

.system-highlights-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.system-highlight-card,
.testimonial-card {
  min-height: 0;
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg, 16px);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateZ(0);
  will-change: transform;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

@supports not (backdrop-filter: blur(16px)) {
  .system-highlight-card {
    background: rgba(15, 23, 42, 0.94);
  }
}

.system-highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.system-highlight-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 123, 0, 0.4);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(232, 123, 0, 0.15);
}

.system-highlight-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 8px;
  flex-wrap: wrap;
}

.system-highlight-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  max-width: 100%;
}

.system-highlight-tag.cyan {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.12);
}

.system-highlight-tag.emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.12);
}

.system-highlight-tag.violet,
.system-highlight-tag.electric {
  color: #ffa600;
  background: rgba(232, 123, 0, 0.12);
  border: 1px solid rgba(255, 166, 0, 0.35);
  box-shadow: 0 0 12px rgba(232, 123, 0, 0.2);
}

.system-highlight-tag.amber {
  color: #facc15;
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.28);
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.12);
}

.system-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.system-highlight-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 10px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.system-highlight-title-sub {
  display: inline-block;
  max-width: 100%;
}

.system-highlight-desc {
  color: var(--text-secondary, #b7c3cf);
  font-size: 0.88rem;
  line-height: 1.62;
  margin: 0 0 20px;
  flex-grow: 1;
}

.system-highlight-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.system-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 4px 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-cyan, #38bdf8);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.system-highlight-link:hover {
  color: #ffffff;
  gap: 9px;
  text-decoration: none;
}

.system-highlight-link:active {
  opacity: 0.75;
  transform: scale(0.98);
}

.system-highlight-link:focus-visible {
  outline: 2px solid var(--accent-cyan, #38bdf8);
  outline-offset: 4px;
  border-radius: 4px;
}

.system-highlight-link .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.system-highlight-link:hover .arrow {
  transform: translateX(3px);
}

#plans {
  background: #0a1016;
  border-block: 1px solid var(--line-subtle);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-header .overline {
  text-align: center;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  letter-spacing: -0.035em;
}

.section-header p {
  max-width: 650px;
  margin: 12px auto 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.matrix-container {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.plan-category-tabs {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 5px;
  gap: 4px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: #0e151d;
  overflow-x: auto;
  scrollbar-width: none;
}

.plan-category-tabs::-webkit-scrollbar {
  display: none;
}

.plan-tab-btn {
  min-height: 44px;
  padding: 8px 15px;
  color: var(--text-secondary);
  border: 0;
  border-radius: 100rem;
  background: transparent;
  font-size: 0.78rem;
  white-space: nowrap;
}

.plan-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.plan-tab-btn.active {
  color: #ffffff;
  background: var(--accent-primary);
  border: 0;
  box-shadow: 0 4px 14px rgba(232, 123, 0, 0.45);
}

.variant-selector-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.variant-card,
.product-card,
.variant-card.featured-card,
.product-card.featured-card,
.variant-card.featured-card.active,
.product-card.featured-card.active {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 0;
  padding: 28px 24px;
  background: rgba(7, 19, 38, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.variant-card:hover,
.product-card:hover {
  border-color: rgba(232, 123, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 30px rgba(232, 123, 0, 0.1);
}

.variant-card.featured-card,
.product-card.featured-card {
  border: 1px solid rgba(232, 123, 0, 0.6);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(232, 123, 0, 0.18);
}

.variant-card.featured-card:hover,
.product-card.featured-card:hover {
  border-color: rgba(232, 123, 0, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.65), 0 0 36px rgba(232, 123, 0, 0.3);
}

.variant-card.active,
.product-card.active {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px rgba(232, 123, 0, 0.5), 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(232, 123, 0, 0.25);
}

.variant-card.featured-card.active,
.product-card.featured-card.active {
  border-color: #e87b00;
  box-shadow: 0 0 0 1px #e87b00, 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 36px rgba(232, 123, 0, 0.35);
}

.variant-card:focus-visible,
.product-card:focus-visible {
  outline: 3px solid #e87b00;
  outline-offset: 3px;
  border-color: rgba(232, 123, 0, 0.85);
}

@supports not (backdrop-filter: blur(16px)) {
  .variant-card,
  .product-card {
    background: rgba(7, 19, 38, 0.95);
  }
}

/* 1. Card Top Header & Badges */
.card-top-header {
  margin-bottom: 14px;
}

.card-header-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.card-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.card-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #e87b00 0%, #ff9800 100%);
  box-shadow: 0 4px 14px rgba(232, 123, 0, 0.45);
}

.card-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 100rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #d1d5db;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
  font-family: 'Kanit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 0 6px 0;
}

.card-subtitle {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  min-height: 2.8em;
}

.variant-duration {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* 2. Prominent Price & Savings Block */
.card-price-block,
.variant-price-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  margin: 0 0 16px !important;
  padding: 16px 0 !important;
  border-block: 1px solid rgba(255, 255, 255, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.card-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  width: 100%;
  box-sizing: border-box;
}

.card-display-price,
.v-current-price {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-size: clamp(1.95rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.card-display-price .price-currency,
.v-current-price .price-currency {
  font-size: 1.55rem;
  font-weight: 700;
  color: #f59e0b;
}

.card-display-price .price-amount,
.v-current-price .price-amount {
  letter-spacing: -0.02em;
}

.card-display-price .price-unit,
.v-current-price small,
.card-display-price small {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
}

.card-savings-wrap,
.v-original-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  flex-wrap: wrap;
}

.card-original-price,
.v-original-price {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 1rem;
}

.card-save-pill,
.v-save-badge {
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100rem;
  font-weight: 700;
  padding: 3px 10px;
  font-size: 0.78rem;
}

.card-warranty-callout {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: rgba(250, 249, 245, 0.88);
  line-height: 1.4;
  width: 100%;
  box-sizing: border-box;
}

.card-warranty-callout .warranty-shield {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.card-warranty-callout span:last-child {
  min-width: 0;
  word-break: break-word;
}

/* 3. Primary CTA Action */
.btn-card-primary,
.btn-card-action {
  width: 100%;
  min-height: 50px;
  border-radius: 100rem !important;
  font-family: 'Kanit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #e87b00 0%, #f59b33 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 166, 0, 0.5);
  box-shadow: 0 8px 24px -4px rgba(232, 123, 0, 0.45);
}

.btn-card-primary:hover,
.btn-card-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -2px rgba(232, 123, 0, 0.65), 0 0 24px rgba(232, 123, 0, 0.35);
  border-color: #ffb74d;
  color: #ffffff;
  background: linear-gradient(135deg, #ff8c00 0%, #ffa726 100%);
}

.btn-card-primary .btn-arrow,
.btn-card-action .btn-arrow {
  transition: transform 0.2s ease;
}

.btn-card-primary:hover .btn-arrow,
.btn-card-action:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-card-action.btn-selected,
.variant-card.active .btn-card-action,
.variant-card.featured-card.active .btn-card-action,
.variant-card.featured-card.active .btn-card-action.btn-selected {
  color: #ffffff;
  background: linear-gradient(135deg, #e87b00 0%, #f59b33 100%);
  border-color: rgba(255, 166, 0, 0.5);
  box-shadow: 0 8px 24px -4px rgba(232, 123, 0, 0.5), 0 0 16px rgba(232, 123, 0, 0.25);
  border-radius: 100rem;
}

.btn-card-primary:focus-visible,
.btn-card-action:focus-visible {
  outline: 3px solid #00f0ff;
  outline-offset: 3px;
}

/* 4. Seat Availability HUD */
.card-seats-hud,
.variant-seats-box {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.seats-hud-label-row,
.variant-seats-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text-secondary);
}

.seats-hud-status-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.seats-hud-title {
  color: var(--text-muted);
}

.seats-status-text {
  color: #10b981;
  font-weight: 800;
}

.seats-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.seats-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #e87b00, #00f0ff, #10b981);
  border-radius: 99px;
  transition: width 0.6s ease;
}

/* 5. Secondary Actions */
.card-secondary-actions,
.variant-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.card-secondary-actions.single-action,
.variant-btn-row.single-action,
.detail-share-row.single-action {
  grid-template-columns: 1fr !important;
}

@media (max-width: 480px) {
  .card-secondary-actions,
  .variant-btn-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.btn-view-details,
.btn-party-link {
  width: 100%;
  padding: 8px 12px;
  border-radius: 100rem;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

@media (max-width: 480px) {
  .btn-view-details,
  .btn-party-link {
    min-height: 42px;
    font-size: 0.84rem;
  }
}

.btn-view-details {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
}

.btn-view-details:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-party-link {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.btn-party-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.btn-view-details:focus-visible,
.btn-party-link:focus-visible {
  outline: 3px solid #00f0ff;
  outline-offset: 2px;
}

/* 6. Value Stack / Included Tools Checklist */
.variant-value-stack,
.card-value-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(250, 249, 245, 0.06);
  margin-top: auto;
}

.value-stack-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.81rem;
  color: rgba(250, 249, 245, 0.88);
  line-height: 1.45;
}

.value-stack-item .stack-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.35);
  margin-top: 2px;
}

.quick-buy-panel {
  position: static;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(214, 228, 242, 0.17);
  border-radius: 14px;
  background: rgba(15, 23, 31, 0.93);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.quick-buy-summary p {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.quick-buy-summary strong {
  max-width: 520px;
  font-size: 0.84rem;
}

.quick-buy-summary .total-price {
  color: #fff;
  font-size: 1.15rem;
}

.btn-reserve-now {
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 100rem;
}

#features {
  background: transparent !important;
}

.features-grid {
  gap: 12px;
}

.glass-panel,
.feature-card {
  border: 1px solid var(--line-subtle);
  background: #0e151d;
  box-shadow: none;
  backdrop-filter: none;
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-md);
}

.feature-card:hover {
  border-color: rgba(214, 228, 242, 0.24);
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 34px;
  height: 34px;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-family: var(--font-latin);
  font-size: 0.7rem;
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 18px;
  font-size: 1rem;
}

.feature-card p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

#playbooks {
  padding-top: 24px;
}

.compact-header {
  margin-bottom: 24px;
}

.resource-disclosure {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  background: #0d141b;
  overflow: hidden;
}

.resource-disclosure > summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 13px 20px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 750;
  list-style: none;
}

.resource-disclosure > summary::-webkit-details-marker {
  display: none;
}

.resource-disclosure > summary:hover {
  background: rgba(255, 255, 255, 0.025);
}

.resource-disclosure[open] > summary {
  border-bottom: 1px solid var(--line-subtle);
}

.resource-disclosure-body {
  padding: 24px;
}

.playbook-filters {
  margin: 0 0 22px;
  gap: 6px;
}

.playbook-filters .filter-btn {
  min-height: 42px;
  color: var(--text-secondary);
  background: #111a23;
  border-color: var(--line-subtle);
}

.playbook-filters .filter-btn.active {
  color: #ffffff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(232, 123, 0, 0.45);
}

.playbooks-grid {
  gap: 12px;
}

.playbook-card {
  border-color: var(--line-subtle);
  border-radius: var(--radius-md);
  background: #071326;
  box-shadow: none;
}

.playbook-card:hover {
  border-color: rgba(214, 228, 242, 0.26);
  transform: translateY(-2px);
}

#service {
  background: #011123 !important;
  border-block: 1px solid var(--line-subtle);
}

#service > .container > .glass-panel {
  padding: 38px !important;
  border-color: var(--line-subtle) !important;
  background: #071326;
}

#service .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 44px;
}

#service h2,
#extension h2,
.tracking-card h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem) !important;
  letter-spacing: -0.035em;
}

#extension {
  padding-top: 70px;
}

#extension > .container > div {
  padding: 34px !important;
  border-color: var(--line-subtle) !important;
  border-radius: var(--radius-lg) !important;
  background: #071326 !important;
  box-shadow: none !important;
}

#extension code {
  color: var(--accent-cyan);
}

.tracking-card {
  max-width: 760px;
  padding: 34px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  background: #071326;
  box-shadow: none;
}

.track-form-box {
  margin-top: 22px;
}

.track-input {
  min-height: 50px;
  color: #fff;
  border-color: rgba(214, 228, 242, 0.16);
  background: #011123;
}

.track-input::placeholder {
  color: #738291;
}

.track-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(232, 123, 0, 0.25);
}

.btn-track {
  min-height: 50px;
  color: #ffffff;
  background: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  border-radius: 100rem;
}

#faq {
  background: #011123 !important;
  border-top: 1px solid var(--line-subtle);
}

.faq-wrap {
  max-width: 820px;
}

.faq-card {
  margin-bottom: 9px;
  border: 1px solid var(--line-subtle);
  border-radius: 12px;
  background: #071326;
}

.faq-card:hover {
  border-color: rgba(214, 228, 242, 0.24);
}

.faq-question {
  width: 100%;
  min-height: 60px;
  padding: 16px 18px;
  color: var(--text-primary);
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 0.91rem;
}

.faq-icon {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.75;
}

.modal-box,
.playbook-modal-box {
  border: 1px solid rgba(232, 123, 0, 0.35);
  background: #071326;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(232, 123, 0, 0.1);
}

.modal-overlay {
  max-height: 94vh;
  max-height: 94dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.form-input {
  min-height: 48px;
  color: #fff;
  background: #011123;
  border-color: rgba(214, 228, 242, 0.16);
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(232, 123, 0, 0.25);
}

.btn-apply-coupon,
.btn-copy-chip,
.btn-qr-download {
  min-height: 44px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 100rem;
  box-shadow: none;
}

.btn-apply-coupon:hover,
.btn-copy-chip:hover,
.btn-qr-download:hover {
  color: #ffffff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}

.modal-close {
  width: 44px;
  height: 44px;
  color: var(--text-secondary);
  background: #112239;
  border: 1px solid var(--line-subtle);
}

/* ====================================================
   Order Checkout Modal UX/UI Overhaul (R1 - R4)
   ==================================================== */

/* High-Contrast Close Button: 44x44px, Bright White, Glowing Amber Hover */
#btnCloseOrderModal.modal-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

#btnCloseOrderModal.modal-close:hover,
#btnCloseOrderModal.modal-close:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(232, 123, 0, 0.5);
  box-shadow: 0 0 16px rgba(232, 123, 0, 0.4);
  transform: scale(1.05);
  outline: none;
}

/* Secondary Cancel / Dismiss Button */
.btn-cancel-modal {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  background: transparent;
  color: var(--text-muted, rgba(250, 249, 245, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100rem;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-cancel-modal:hover,
.btn-cancel-modal:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  outline: none;
}

/* Modal Drag Handle (hidden on desktop, active on mobile bottom sheet) */
.modal-drag-handle {
  display: none;
}

/* Desktop Zero-Scroll Container (>= 768px) */
@media (min-width: 768px) {
  #orderDialog.modal-overlay {
    max-width: 880px;
    width: 92%;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  #orderDialog .modal-box {
    padding: 22px 26px;
    border-radius: 24px;
    background: linear-gradient(150deg, #071326 0%, #011123 100%);
    border: 1px solid rgba(232, 123, 0, 0.35);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(232, 123, 0, 0.12);
  }
}

/* Modern 2-Column Split Grid */
.checkout-modal-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 4px;
}

/* Left Column: Order & Value Summary */
.checkout-summary-col {
  display: flex;
  flex-direction: column;
}

.checkout-summary-card {
  background: rgba(1, 17, 35, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.checkout-summary-card .overline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.checkout-plan-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #faf9f5;
  margin: 0;
  line-height: 1.25;
}

.checkout-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.checkout-display-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-emerald, #10b981);
  letter-spacing: -0.02em;
  line-height: 1;
}

.checkout-period-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.checkout-seats-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checkout-seats-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100rem;
  overflow: hidden;
}

.checkout-seats-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #00f0ff);
  border-radius: 100rem;
  transition: width 0.3s ease;
}

.checkout-features-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(250, 249, 245, 0.88);
  line-height: 1.42;
}

.checkout-feature-item .feature-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* Right Column: Customer Details & Form */
.checkout-form-col {
  display: flex;
  flex-direction: column;
}

.checkout-form-col .form-group {
  margin-bottom: 9px;
}

.checkout-form-col .form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.checkout-form-col .form-input {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.92rem;
  border-radius: 10px;
}

.checkout-form-col .form-hint {
  font-size: 0.78rem;
  color: rgba(250, 249, 245, 0.72);
  margin-top: 3px;
  display: block;
  line-height: 1.35;
}

/* Consolidated Google Family Notice Info Pill */
.checkout-family-warning {
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-left: 3px solid #00f0ff;
  border-radius: 10px;
  padding: 8px 12px;
  margin: 8px 0 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  line-height: 1.45;
}

.checkout-family-warning .warning-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-family-warning .warning-content {
  flex: 1;
  min-width: 0;
}

.checkout-family-warning .warning-text {
  font-size: 0.8rem;
  color: rgba(250, 249, 245, 0.92);
  margin: 0;
  line-height: 1.45;
}

.checkout-family-warning .warning-text strong {
  color: #00f0ff;
}

.checkout-family-warning a.warning-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Order Summary Box */
.checkout-form-col .order-summary-box {
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(1, 17, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.checkout-form-col .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 3px;
}

.checkout-form-col .summary-line .strikethrough-price {
  text-decoration: line-through;
  color: var(--text-muted, #94a3b8);
  font-size: 0.84rem;
}

.checkout-form-col .summary-line.total {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
  margin-top: 4px;
  margin-bottom: 0;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.checkout-form-col .summary-line.total .highlight-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald, #10b981);
}

.checkout-form-col .btn-submit-order {
  width: 100%;
  min-height: 44px;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: 100rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Order Checkout Error & Inline Validation Feedback (Zero-Shift Layout) */
.checkout-form-col #orderError {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 8px 0 0;
  text-align: center;
  color: var(--accent-rose, #fb7185);
  word-break: break-word;
}

.checkout-form-col #orderError:empty {
  display: none;
}

.checkout-form-col .checkout-support {
  display: block;
  margin: 6px auto 0;
  font-size: 0.8rem;
  color: #38bdf8;
  text-decoration: underline;
  text-align: center;
}

.checkout-seats-wrap .variant-pool-pill {
  margin-top: 0;
}

/* Mobile Bottom Sheet (< 768px) */
@media (max-width: 767px) {
  #orderDialog.modal-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: auto 0 0 0;
    padding: 0;
    border: none;
    background: transparent;
    max-height: 92dvh;
    align-self: flex-end;
  }

  #orderDialog .modal-box {
    border-radius: 24px 24px 0 0;
    border-bottom: none;
    padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .modal-drag-handle {
    display: block;
    width: 44px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100rem;
    margin: 0 auto 10px;
    cursor: grab;
    touch-action: none;
  }

  .checkout-modal-split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checkout-summary-card {
    padding: 14px 16px;
  }

  #btnCloseOrderModal.modal-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.4rem;
  }
}

.slip-upload-box {
  width: 100%;
  color: var(--text-secondary);
  font: inherit;
  text-align: center;
  background: rgba(7, 19, 38, 0.6);
  border: 2px dashed rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.slip-upload-box:hover {
  border-color: var(--accent-primary);
  background: rgba(232, 123, 0, 0.08);
}

.mobile-sticky-bar,
.mobile-bottom-dock {
  display: none;
  transform: translateX(-50%) translateY(calc(100% + 30px));
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

.store-footer {
  padding-top: 58px;
  background: #011123;
  border-top-color: var(--line-subtle);
}

.footer-grid {
  gap: 40px;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
  color: var(--text-muted);
}

.drawer-index {
  color: var(--accent-primary);
  font-family: var(--font-latin);
  font-size: 0.68rem;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .nav-menu,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-grid,
  #service .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-offer-card {
    width: min(100%, 660px);
  }

  .journey-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .journey-list {
    max-width: 720px;
  }

  .journey-link {
    width: max-content;
  }

  .system-highlights-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-content,
  .hero-simulator {
    max-width: none;
  }

  .hero-offer-card {
    width: min(100%, 620px);
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    font-size: 15px;
    padding-bottom: 0;
  }

  body.show-mobile-sticky {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .container {
    width: min(100% - 32px, 560px);
  }

  .ambient-glow {
    display: none;
  }

  .notice-bar {
    min-height: 40px;
    padding: 7px 14px;
    justify-content: flex-start;
    gap: 9px;
  }

  .notice-bar > span:not(.notice-pill) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .notice-detail {
    display: none;
  }

  .notice-link {
    display: none;
  }

  .store-header {
    min-height: 62px;
    padding: 9px 16px;
  }

  .store-brand img {
    width: 32px;
    height: 32px;
  }

  .store-brand span strong {
    font-size: 0.94rem;
  }

  .store-brand span small {
    font-size: 0.53rem;
  }

  .mobile-menu-toggle,
  .drawer-close-btn {
    width: 44px;
    height: 44px;
  }

  .mobile-drawer {
    width: min(88vw, 360px);
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
    padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .drawer-header {
    flex-shrink: 0;
    margin-bottom: 10px;
    padding-bottom: 12px;
  }

  .drawer-nav {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    padding-right: 4px;
  }

  .drawer-link {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.90rem;
  }

  .drawer-footer {
    flex-shrink: 0;
    margin-top: 10px;
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .drawer-line-btn,
  .drawer-cta-btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .hero-section {
    padding: 48px 0 34px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-content h1 {
    font-size: clamp(2.18rem, 10.5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
  }

  .hero-desc {
    margin-top: 20px;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-trust-list {
    margin-top: 22px;
    gap: 9px;
    font-size: 0.84rem;
  }

  .hero-inline-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 22px 0 18px;
  }

  .btn-hero-pill-cta {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .hero-inline-price {
    justify-content: center;
    gap: 8px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 26px;
  }

  .hero-proof > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .hero-proof strong {
    flex: 0 0 100px;
  }

  .hero-disclaimer {
    line-height: 1.55;
  }

  .hero-offer-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .offer-card-head,
  .offer-price-row {
    align-items: flex-start;
  }

  .offer-price-row {
    flex-direction: column;
    gap: 7px;
  }

  .journey-section {
    padding: 12px 0 26px;
  }

  .journey-shell {
    gap: 22px;
    padding: 24px 20px;
  }

  .journey-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .journey-list li {
    grid-template-columns: 36px 1fr;
  }

  .section,
  .testimonials-section,
  .system-highlights-section {
    padding: 64px 0;
  }

  .testimonials-header,
  .system-highlights-header {
    text-align: left;
    margin-bottom: 28px;
  }

  .system-highlights-grid,
  .testimonials-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(85vw, 320px);
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 4px;
    padding: 4px 4px 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
  }

  .system-highlights-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .system-highlight-card,
  .testimonial-card {
    padding: 20px 16px;
    scroll-snap-align: start;
  }

  .section-header,
  .section-header .overline {
    text-align: left;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header p {
    margin-left: 0;
  }

  .plan-category-tabs {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .variant-selector-grid,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .variant-card,
  .variant-card.featured-card,
  .variant-card.featured-card.active {
    padding: 22px 18px;
  }

  .variant-radio-head {
    padding-top: 27px;
    padding-right: 0;
  }

  .variant-badge {
    top: 15px;
    right: auto;
    left: 18px;
    max-width: calc(100% - 36px);
  }

  .quick-buy-panel {
    display: none;
  }

  .features-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .features-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    scroll-snap-align: start;
  }

  #playbooks {
    padding-top: 10px;
  }

  .resource-disclosure-body {
    padding: 18px 14px;
  }

  .playbook-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  #service > .container > .glass-panel,
  #extension > .container > div,
  .tracking-card {
    padding: 24px 20px !important;
  }

  #service .hero-grid {
    gap: 28px;
  }

  #extension > .container > div > div {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .track-form-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-track {
    width: 100%;
  }

  .faq-question {
    min-height: 64px;
    padding: 15px 16px;
  }

  .faq-answer {
    padding: 0 16px 17px;
  }

  .footer-grid {
    gap: 28px;
  }
}

/* ==========================================================================
   Mobile Bottom Action Dock (Cyber Luxury Dark Glassmorphism — BeyX Deck Inspired)
   Responsive Viewport <= 1050px (Mobile, Fold & Tablets)
   ========================================================================== */
@media (max-width: 1050px) {
  #plans.section {
    padding-top: clamp(16px, 3vh, 28px);
    padding-bottom: 32px;
  }
  #plans .section-header {
    margin-bottom: 12px;
  }
  #plans .section-header h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-top: 4px;
    line-height: 1.25;
  }
  #plans .section-header p {
    display: none;
  }
  .plan-category-tabs {
    margin-bottom: 12px;
  }
  #planCategoryTabs {
    scroll-margin-top: clamp(65px, 9vh, 90px);
  }

  #track.section {
    padding-top: clamp(10px, 2vh, 18px) !important;
    padding-bottom: 24px !important;
  }
  .tracking-card {
    padding: 20px 16px !important;
    margin-top: 0 !important;
    scroll-margin-top: clamp(60px, 8vh, 80px) !important;
  }
  .tracking-card .overline {
    margin-bottom: 4px !important;
  }
  .tracking-card h2 {
    font-size: clamp(1.35rem, 4.2vw, 1.65rem) !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }
  .tracking-card p {
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
  }
  .track-form-box {
    margin-top: 14px !important;
    gap: 8px !important;
  }
  .track-input {
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: 0.92rem !important;
  }
  .btn-track {
    min-height: 44px !important;
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
  }

  .mobile-bottom-dock,
  .mobile-sticky-bar {
    display: grid !important;
    position: fixed;
    left: 50%;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(0);
    z-index: 110;
    width: min(calc(100% - 20px), 480px);
    min-height: 64px;
    height: 64px;
    padding: 4px 6px;
    background: rgba(7, 13, 22, 0.88);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    box-shadow: 
      0 16px 40px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    grid-template-columns: 1fr 1fr 1.28fr 1fr 1fr;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    will-change: transform;
  }

  .variant-selector-grid,
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  @supports not ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
    .mobile-bottom-dock,
    .mobile-sticky-bar {
      background: rgba(7, 13, 22, 0.97) !important;
    }
  }

  body {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  .store-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Dock Item Base */
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 52px;
    padding: 4px 2px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    gap: 2px;
    position: relative;
    box-sizing: border-box;
  }

  .dock-item:active {
    transform: scale(0.94);
    background: rgba(255, 255, 255, 0.12);
  }

  .dock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: inherit;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .dock-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .dock-label {
    font-size: 0.68rem;
    font-weight: 600;
    font-family: var(--font-thai);
    line-height: 1.1;
    color: inherit;
    text-align: center;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  /* Active State (ScrollSpy) & Focus States */
  .dock-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
  }

  .dock-item:focus-visible {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
  }

  .dock-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(0, 240, 255, 0.28);
    box-shadow: 
      0 0 14px rgba(0, 240, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }

  .dock-item.active .dock-icon {
    color: var(--accent-cyan);
    transform: translateY(-1px) scale(1.06);
  }

  .dock-item.active .dock-label {
    color: #ffffff;
    font-weight: 700;
  }

  /* Center CTA Highlight Button */
  .dock-cta-item {
    position: relative;
    min-height: 54px;
    padding: 3px 6px;
    background: linear-gradient(135deg, #e87b00 0%, #ff8a00 50%, #ffa600 100%);
    color: #ffffff;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow: 
      0 6px 20px rgba(232, 123, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    gap: 1px;
  }

  .dock-cta-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(232, 123, 0, 0.45) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: dock-pulse 3s infinite ease-in-out;
  }

  @keyframes dock-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.05); }
  }

  .dock-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
  }

  .dock-cta-icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    fill: rgba(255, 255, 255, 0.2);
  }

  .dock-cta-label {
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }

  .dock-cta-badge {
    font-size: 0.56rem;
    font-weight: 700;
    font-family: var(--font-latin);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 1px 6px;
    border-radius: 99px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dock-cta-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
      0 8px 24px rgba(232, 123, 0, 0.65),
      0 0 0 1px rgba(255, 255, 255, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .dock-cta-item:focus-visible {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
      0 8px 24px rgba(232, 123, 0, 0.65),
      0 0 0 1px rgba(255, 255, 255, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.55);
    outline: 2px solid #ffffff;
    outline-offset: 2px;
  }

  .dock-cta-item:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 2px 10px rgba(232, 123, 0, 0.6);
  }

  /* LINE Support Button */
  .dock-line-item {
    color: var(--text-muted);
  }

  .dock-line-item:hover {
    color: #06C755;
    background: rgba(6, 199, 85, 0.1);
    border-color: rgba(6, 199, 85, 0.25);
  }

  .dock-line-item:focus-visible {
    color: #06C755;
    background: rgba(6, 199, 85, 0.1);
    border-color: rgba(6, 199, 85, 0.25);
    outline: 2px solid #06C755;
    outline-offset: 2px;
  }

  .dock-line-item:active {
    transform: scale(0.94);
    background: rgba(6, 199, 85, 0.2);
  }

  .dock-line-item .dock-line-icon {
    color: #06C755;
  }

  /* Hide dock when Dialog or Drawer is open — Independent rule blocks for broad browser resilience */
  .mobile-bottom-dock.dock-hidden,
  .mobile-sticky-bar.dock-hidden,
  body.dock-hidden .mobile-bottom-dock,
  body.dock-hidden .mobile-sticky-bar {
    transform: translateX(-50%) translateY(calc(100% + 36px)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body:has(dialog[open]) .mobile-bottom-dock,
  body:has(dialog[open]) .mobile-sticky-bar,
  body:has(.mobile-drawer.open) .mobile-bottom-dock,
  body:has(.mobile-drawer.open) .mobile-sticky-bar {
    transform: translateX(-50%) translateY(calc(100% + 36px)) !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Ultra-narrow screen optimization (< 360px) */
  @media (max-width: 360px) {
    .mobile-bottom-dock,
    .mobile-sticky-bar {
      width: calc(100% - 10px);
      padding: 3px 2px;
      gap: 2px;
      min-height: 58px;
      height: 58px;
    }
    .dock-item {
      min-width: 0;
      min-height: 48px;
      padding: 2px 1px;
      gap: 1px;
    }
    .dock-icon {
      width: 18px;
      height: 18px;
    }
    .dock-icon svg {
      width: 17px;
      height: 17px;
    }
    .dock-label {
      font-size: 0.60rem;
      letter-spacing: -0.02em;
    }
    .dock-cta-item {
      min-height: 50px;
      padding: 2px 3px;
    }
    .dock-cta-label {
      font-size: 0.66rem;
    }
    .dock-cta-badge {
      font-size: 0.50rem;
      padding: 0 4px;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

@media (min-width: 1051px) {
  .mobile-bottom-dock,
  .mobile-sticky-bar {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    width: 96%;
    padding: 10px;
    max-height: 96vh;
    max-height: 96dvh;
  }

  .modal-box {
    padding: 20px 14px;
  }

  .checkout-steps {
    gap: 4px;
    padding: 6px 8px;
    flex-wrap: wrap;
  }

  .step-pill {
    font-size: 0.68rem;
    gap: 4px;
  }

  .step-pill .step-num {
    width: 16px;
    height: 16px;
    font-size: 0.62rem;
  }

  .step-divider {
    font-size: 0.6rem;
  }
}

@media (max-width: 360px) {
  .hero-eyebrow-badge {
    font-size: 0.72rem;
    padding: 5px 10px;
    gap: 6px;
  }

  .btn-hero-pill-cta {
    font-size: 0.92rem;
    padding: 10px 18px;
  }

  .hero-inline-price {
    gap: 6px;
  }

  .price-bold {
    font-size: 1.55rem;
  }

  .price-strikethrough {
    font-size: 0.92rem;
  }

  .badge-discount {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .checkout-steps {
    display: none;
  }

  .modal-box {
    padding: 16px 10px;
  }

  .card-display-price,
  .v-current-price {
    font-size: 2.15rem;
  }

  .card-header-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .btn-card-primary,
  .btn-card-action {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  .variant-card,
  .product-card {
    padding: 20px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .system-highlight-card:hover,
  .testimonial-card:hover,
  .system-highlight-link:active,
  .system-highlight-link:hover .arrow {
    transform: none !important;
  }
}

@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
  }

  .mobile-bottom-dock,
  .mobile-sticky-bar {
    display: none !important;
  }

  .system-highlights-section,
  .testimonials-section {
    background: none !important;
    padding: 24px 0 !important;
    border: none !important;
  }

  .system-highlights-pill,
  .testimonials-rating-pill {
    color: #0369a1 !important;
    background: #e0f2fe !important;
    border: 1px solid #bae6fd !important;
  }

  .system-highlights-header h2,
  .system-highlights-header h3,
  .testimonials-header h3,
  .system-highlight-title {
    color: #0f172a !important;
  }

  .system-highlights-header p,
  .system-highlight-desc {
    color: #334155 !important;
  }

  .system-highlights-grid,
  .testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    overflow: visible !important;
  }

  .system-highlight-card,
  .testimonial-card {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .system-highlight-card::before {
    display: none !important;
  }

  .system-highlight-tag.cyan {
    color: #0369a1 !important;
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
  }

  .system-highlight-tag.emerald {
    color: #047857 !important;
    background: #d1fae5 !important;
    border-color: #a7f3d0 !important;
  }

  .system-highlight-tag.violet,
  .system-highlight-tag.electric {
    color: #c2410c !important;
    background: #ffedd5 !important;
    border-color: #fed7aa !important;
  }

  .system-highlight-tag.amber {
    color: #b45309 !important;
    background: #fef3c7 !important;
    border-color: #fde68a !important;
  }

  .system-highlight-link {
    color: #0284c7 !important;
  }
}

/* Fox Funnels Capsule Pill CTA & Action Buttons Parity */
.btn-view-details,
.btn-party-link,
.btn-detail-order,
.btn-detail-share,
.btn-detail-party-link {
  border-radius: 100rem !important;
}

.btn-view-details {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
}

.btn-view-details:hover {
  background: rgba(0, 240, 255, 0.2);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

.btn-detail-order {
  background: linear-gradient(135deg, #e87b00, #ffa600);
  box-shadow: 0 8px 25px rgba(232, 123, 0, 0.45);
}

.btn-detail-order:hover {
  box-shadow: 0 12px 30px rgba(232, 123, 0, 0.6);
}

/* Party Tag Pill & Seats HUD */
.party-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(232, 123, 0, 0.15);
  border: 1px solid rgba(232, 123, 0, 0.45);
  border-radius: 9999px;
  color: #ffaa33;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.party-tag-pill.tag-full {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fb7185;
}
.party-tag-pill.tag-instant {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.45);
  color: #34d399;
}
.seats-progress-fill.fill-instant {
  background: linear-gradient(90deg, #10b981, #34d399) !important;
}
.party-tag-pill.tag-closed {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.3);
  color: #94a3b8;
}
.btn-card-action.btn-card-closed {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #94a3b8 !important;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
}
.btn-card-action.btn-card-closed:hover {
  background: rgba(6, 199, 85, 0.15) !important;
  border-color: rgba(6, 199, 85, 0.45) !important;
  color: #10b981 !important;
  box-shadow: 0 8px 24px -4px rgba(6, 199, 85, 0.25) !important;
}
.btn-party-link.party-link-closed {
  opacity: 0.7;
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}
.seats-hud-status-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ====================================================
   QR Frame & High-Tech Skeleton Loading State (Zero-Flicker)
   ==================================================== */
.qr-frame-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

.qr-frame {
  position: relative !important;
  width: 248px !important;
  height: 248px !important;
  background: #ffffff !important;
  padding: 14px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(232, 123, 0, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
}

/* Skeleton Container */
.qr-skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #050f1e 0%, #0b1c35 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  z-index: 4;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer Light Reflection */
.qr-skeleton-shimmer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(232, 123, 0, 0.05) 30%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(232, 123, 0, 0.05) 70%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: qrShimmerSweep 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

@keyframes qrShimmerSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Simulated QR Matrix Corners */
.qr-skeleton-matrix {
  position: relative;
  width: 196px;
  height: 196px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid rgba(232, 123, 0, 0.7);
  border-radius: 7px;
  box-shadow: 0 0 12px rgba(232, 123, 0, 0.3);
  animation: qrCornerPulse 2.2s infinite ease-in-out;
}

.qr-corner::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: rgba(232, 123, 0, 0.75);
  border-radius: 3px;
}

.qr-corner.top-left {
  top: 8px;
  left: 8px;
}
.qr-corner.top-right {
  top: 8px;
  right: 8px;
}
.qr-corner.bottom-left {
  bottom: 8px;
  left: 8px;
}

@keyframes qrCornerPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Skeleton Center Loading Info */
.qr-skeleton-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px;
  z-index: 2;
}

.qr-skeleton-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-primary, #e87b00);
  border-right-color: var(--accent-primary, #e87b00);
  border-radius: 50%;
  animation: qrSpinnerRotate 0.85s linear infinite;
  margin-bottom: 10px;
  box-shadow: 0 0 18px rgba(232, 123, 0, 0.4);
}

@keyframes qrSpinnerRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.qr-skeleton-label {
  font-family: var(--font-sans, 'Kanit', sans-serif);
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.2px;
  margin-bottom: 3px;
}

.qr-skeleton-amount {
  font-family: var(--font-sans, 'Kanit', sans-serif);
  font-size: 0.76rem;
  color: var(--accent-primary, #e87b00);
  font-weight: 500;
}

/* Real QR Image with Smooth Fade-in */
.qr-image {
  width: 220px !important;
  height: 220px !important;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.qr-image.qr-hidden {
  opacity: 0 !important;
  transform: scale(0.96);
  pointer-events: none;
}

.qr-image.qr-loaded {
  opacity: 1 !important;
  transform: scale(1);
}

.btn-qr-download.disabled {
  pointer-events: none;
  opacity: 0.55;
  filter: grayscale(0.5);
}

/* ----------------------------------------------------
   Desktop Quick Actions (Header Track & Floating LINE)
   ---------------------------------------------------- */
.header-track-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.header-track-btn svg {
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.header-track-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.header-track-btn:hover svg {
  transform: scale(1.1);
}

.desktop-floating-line {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: block;
  animation: floatLineFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes floatLineFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-desktop-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(6, 199, 85, 0.45);
  color: #ffffff;
  padding: 7px 18px 7px 8px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(6, 199, 85, 0.15);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn-desktop-line:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(18, 24, 33, 0.95);
  border-color: #06c755;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(6, 199, 85, 0.35);
  color: #ffffff;
}

.desktop-line-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06c755, #00b900);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.4);
  flex-shrink: 0;
}

.desktop-line-ping {
  position: absolute;
  top: 5px;
  left: 32px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e676;
  border: 1.5px solid #0d1117;
  box-shadow: 0 0 6px #00e676;
}

/* Hide desktop-only elements on mobile & foldable screens */
@media (max-width: 1050px) {
  .header-track-btn,
  .desktop-floating-line {
    display: none !important;
  }
}

/* ----------------------------------------------------
   Checkout Modal Package Switcher
   ---------------------------------------------------- */
.btn-change-plan-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-cyan, #00e5ff);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-full, 9999px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.btn-change-plan-link:hover {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.modal-plan-dropdown {
  width: 100%;
  background: rgba(13, 17, 23, 0.95);
  color: #ffffff;
  border: 1.5px solid rgba(232, 123, 0, 0.45);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa600' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
}

.modal-plan-dropdown:hover,
.modal-plan-dropdown:focus {
  border-color: var(--accent-primary, #ffa600);
  box-shadow: 0 0 16px rgba(232, 123, 0, 0.45);
}

.modal-plan-dropdown option {
  background: #0d1117;
  color: #ffffff;
  padding: 10px;
}

/* ----------------------------------------------------
   Floating / Sticky Pending Order Recovery Alert
   ---------------------------------------------------- */
.pending-recovery-bar {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 660px);
  z-index: 9990;
  background: rgba(11, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(232, 123, 0, 0.65);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(232, 123, 0, 0.25);
  padding: 10px 14px;
  animation: slideDownBanner 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownBanner {
  from { opacity: 0; transform: translate(-50%, -18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.recovery-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.recovery-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
}

.recovery-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffa600;
  box-shadow: 0 0 10px #ffa600;
  animation: recoveryPulseAnim 1.4s infinite ease-in-out;
  flex-shrink: 0;
}

.recovery-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.recovery-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

.recovery-meta {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.recovery-code {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.recovery-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-recovery-open {
  background: linear-gradient(135deg, #e87b00 0%, #ffa600 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(232, 123, 0, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-recovery-open:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(232, 123, 0, 0.55);
}

.btn-recovery-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.btn-recovery-close:hover {
  color: #ffffff;
}

@keyframes recoveryPulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ----------------------------------------------------
   Payment Dialog Live Polling Indicator
   ---------------------------------------------------- */
.payment-polling-indicator {
  margin: 12px 0 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.payment-polling-indicator .polling-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: recoveryPulseAnim 1.5s infinite ease-in-out;
  flex-shrink: 0;
}

.payment-polling-indicator #paymentPollingText {
  color: var(--accent-cyan);
  font-size: 0.8rem;
}




