:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(226, 29, 72, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 20%),
    #0f172a;
}

.glass-nav {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
.brand-logo {
  width: auto;
  height: clamp(42px, 4.8vw, 60px);
  max-width: 192px;
  display: block;
  object-fit: contain;
}

.brand-logo-footer {
  width: auto;
  height: clamp(36px, 4.5vw, 56px);
  max-width: 170px;
  display: block;
  object-fit: contain;
}

.page-booking .brand-logo {
  height: clamp(26px, 2.4vw, 34px);
  max-width: 118px;
}

.page-booking .brand-logo-footer {
  height: clamp(28px, 2.8vw, 36px);
  max-width: 124px;
}
.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.96) 16%,
    rgba(15, 23, 42, 0.74) 46%,
    rgba(15, 23, 42, 0.18) 100%
  );
}

.section-shell {
  position: relative;
  overflow: hidden;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -120px -120px;
  width: 280px;
  height: 280px;
  border-radius: 9999px;
  background: rgba(226, 29, 72, 0.08);
  filter: blur(72px);
  pointer-events: none;
}

.soft-card {
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(2, 6, 23, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.glow-button {
  box-shadow: 0 0 24px rgba(226, 29, 72, 0.28);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
}

.glow-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(226, 29, 72, 0.45);
}

.feature-card,
.review-card,
.step-card,
.summary-card,
.embed-shell,
.plan-card,
.payment-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 44px rgba(2, 6, 23, 0.35);
}

.feature-card,
.review-card,
.plan-card,
.payment-card {
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.feature-card:hover,
.review-card:hover,
.plan-card:hover,
.payment-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 29, 72, 0.35);
  box-shadow: 0 24px 54px rgba(226, 29, 72, 0.12);
}

.plan-card.is-selected {
  border-color: rgba(226, 29, 72, 0.7);
  background: linear-gradient(
    145deg,
    rgba(226, 29, 72, 0.12),
    rgba(15, 23, 42, 0.65)
  );
  box-shadow:
    0 0 0 1px rgba(226, 29, 72, 0.2),
    0 24px 54px rgba(226, 29, 72, 0.16);
}

.plan-card.is-selected .plan-check {
  opacity: 1;
  transform: scale(1);
}

.plan-check {
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.carousel-shell {
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateZ(0);
  will-change: opacity;
  transition: opacity 0.45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: translateZ(0);
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.08),
    rgba(2, 6, 23, 0.7)
  );
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-50%) scale(1.06);
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.carousel-dot.is-active {
  width: 2.5rem;
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.embed-shell {
  overflow: hidden;
}

.embed-shell iframe,
.embed-shell .calendly-inline-widget,
.embed-shell .calendly-inline-widget iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 1rem;
}

.embed-shell .calendly-inline-widget {
  min-height: 700px;
  overflow: hidden;
}

.embed-shell iframe {
  min-height: 880px;
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 9999px;
  background: rgba(226, 29, 72, 0.12);
  border: 1px solid rgba(226, 29, 72, 0.22);
  color: #fda4af;
}

.muted-ring {
  border: 1px dashed rgba(148, 163, 184, 0.24);
}

.qr-image {
  width: 240px;
  height: 240px;
  border-radius: 1rem;
  background: #fff;
  padding: 0.85rem;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.22);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.is-pending {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.26);
}

.status-pill.is-complete {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.24);
}

.booking-step[hidden] {
  display: none !important;
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.system-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.62);
  padding: 0.25rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-chip.is-online {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.15);
}

.system-chip.is-offline {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.18);
}

.system-chip.is-checking {
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.15);
}

.network-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(92vw, 480px);
  border-radius: 0.85rem;
  border: 1px solid rgba(248, 113, 113, 0.5);
  background: rgba(69, 10, 10, 0.94);
  color: #fee2e2;
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 10px 36px rgba(127, 29, 29, 0.45);
}

@media (max-width: 1024px) {
  .qr-image {
    width: 210px;
    height: 210px;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.84) 0%,
      rgba(15, 23, 42, 0.92) 62%,
      rgba(15, 23, 42, 0.96) 100%
    );
  }

  .carousel-arrow {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (max-width: 480px) {
  .qr-image {
    width: 180px;
    height: 180px;
    padding: 0.65rem;
  }
}



@media (max-width: 768px) {
  .glass-nav,
  .soft-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .feature-card,
  .review-card,
  .plan-card,
  .payment-card,
  .soft-card {
    box-shadow: 0 8px 22px rgba(2, 6, 23, 0.2);
  }

  .feature-card:hover,
  .review-card:hover,
  .plan-card:hover,
  .payment-card:hover,
  .glow-button:hover {
    transform: none;
  }
}


@media (max-width: 768px) {
  .qr-code {
    display: none;
  }

  .summary-card,
  .payment-card,
  .plan-card,
  .review-card,
  .step-card,
  .embed-shell {
    border-radius: 1rem;
  }

  .embed-shell .calendly-inline-widget {
    min-height: 560px;
  }

  .embed-shell iframe {
    min-height: 760px;
  }

  .status-pill {
    min-width: 6.5rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .embed-shell .calendly-inline-widget {
    min-height: 520px;
  }

  .embed-shell iframe {
    min-height: 680px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

.booking-step {
  scroll-margin-top: 96px;
  position: relative;
}

.booking-step-enter-forward {
  animation: booking-step-enter-forward 0.28s ease both;
}

.booking-step-enter-back {
  animation: booking-step-enter-back 0.28s ease both;
}

@keyframes booking-step-enter-forward {
  from {
    opacity: 0;
    transform: translate3d(48px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes booking-step-enter-back {
  from {
    opacity: 0;
    transform: translate3d(-48px, 0, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
