/* —— Base —— */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #000000;
  color: #ffffff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Hero: full-width cinematic banner —— */
.hero-section {
  isolation: isolate;
  /* No min-height: height follows content + padding (peek of next section above fold) */
  min-height: 0;
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("assets/hero-banner.webp") center center / cover no-repeat,
    url("assets/hero-banner.png") center center / cover no-repeat,
    url("assets/hero-banner.jpg") center center / cover no-repeat,
    url("assets/hero-banner.jpeg") center center / cover no-repeat,
    url("assets/hero-banner.gif") center center / cover no-repeat,
    #0a0a0b;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(2, 2, 4, 0.94) 0%,
      rgba(2, 2, 6, 0.72) 32%,
      rgba(4, 4, 10, 0.45) 55%,
      rgba(6, 5, 12, 0.35) 72%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    radial-gradient(ellipse 85% 90% at 50% 42%, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 28%);
}

.hero-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-heading {
  margin: 0 auto clamp(0.45rem, 1.25vw, 0.85rem);
  max-width: 100%;
  font-weight: 900;
  font-size: clamp(2.5rem, 6.5vw + 0.65rem, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #fafafa;
  text-wrap: balance;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 8px 48px rgba(0, 0, 0, 0.5);
}

@media (min-width: 640px) {
  .hero-heading {
    letter-spacing: -0.04em;
  }
}

.hero-heading__accent {
  display: inline;
  margin-top: 0.12em;
  background: linear-gradient(
    118deg,
    #fffef7 0%,
    #fef9c3 18%,
    #fde047 42%,
    #eab308 72%,
    #a16207 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(253, 224, 71, 0.45)) drop-shadow(0 0 56px rgba(234, 179, 8, 0.28));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-heading__accent {
    color: #fde047;
    background: none;
    filter: none;
    text-shadow:
      0 0 28px rgba(253, 224, 71, 0.55),
      0 0 64px rgba(234, 179, 8, 0.35);
  }
}

.hero-tagline {
  margin: 0 auto clamp(0.65rem, 1.75vw, 1.35rem);
  max-width: 36rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

.hero-lede {
  margin-bottom: clamp(0.85rem, 2vw, 1.35rem);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65);
}

/* Tighter CTA zone inside hero only */
.hero-section .cta-cluster {
  margin-top: 0;
  margin-bottom: 0.35rem;
  padding: 1rem 0.5rem 1.1rem;
  max-width: 44rem;
}

.hero-section .cta-focus--hero {
  padding: 1rem 0.45rem 1.1rem;
}

@media (min-width: 640px) {
  .hero-section .cta-focus--hero {
    padding: 1.1rem 0.65rem 1.2rem;
  }
}

/* —— Trust + language bar —— */
.trust-bar__title {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.trust-star {
  width: 1.125rem;
  height: 1.125rem;
  color: #facc15;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.35));
}

@media (min-width: 640px) {
  .trust-star {
    width: 1.25rem;
    height: 1.25rem;
  }
}

.trust-bar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem 0.65rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(39, 39, 42, 0.95) 0%, rgba(24, 24, 27, 0.98) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.trust-bar__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
}

.trust-bar__badge-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.trust-bar__badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  text-align: left;
}

.trust-bar__badge-kicker {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 204, 21, 0.9);
}

.trust-bar__badge-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.trust-bar__flags {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-bar__flag {
  display: block;
  width: 3rem;
  height: auto;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .trust-bar__flag {
    width: 3.25rem;
  }
}

.trust-bar__flags li:hover .trust-bar__flag {
  transform: translateY(-3px);
  border-color: rgba(250, 204, 21, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* —— Panel showcase —— */
.panel-showcase {
  position: relative;
}

.panel-showcase__title {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.panel-showcase__sub {
  line-height: 1.6;
}

.panel-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.panel-showcase__card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  line-height: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #09090b;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.25),
    0 20px 50px -24px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.panel-showcase__card:hover {
  transform: scale(1.025);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.35),
    0 28px 64px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(250, 204, 21, 0.08);
}

.panel-showcase__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .panel-showcase__card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .panel-showcase__card:hover {
    transform: none;
  }
}

/* —— Result showcase (above testimonials) —— */
.result-showcase {
  position: relative;
}

.result-showcase__title {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.result-showcase__sub {
  line-height: 1.5;
}

.result-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.result-showcase__card {
  display: grid;
  margin: 0;
  padding: 0;
  line-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #09090b;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.25),
    0 20px 50px -24px rgba(0, 0, 0, 0.65);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.result-showcase__card:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.35),
    0 28px 64px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(250, 204, 21, 0.06);
}

.result-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .result-showcase__card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .result-showcase__card:hover {
    transform: none;
  }
}

/* —— Scroll reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Facebook-style testimonial cards —— */
.fb-card {
  border-radius: 12px;
  background: #f0f2f5;
  color: #050505;
  padding: 14px 16px 12px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.fb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.fb-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fb-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #e4e6eb;
}

.fb-name {
  font-weight: 700;
  font-size: 15px;
  color: #050505;
  line-height: 1.2;
}

.fb-meta {
  font-size: 12px;
  color: #65676b;
  margin-top: 2px;
}

.fb-comment {
  font-size: 15px;
  line-height: 1.45;
  color: #050505;
  margin: 0;
}

.fb-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #e4e6eb;
  font-size: 12px;
  font-weight: 600;
  color: #65676b;
}

.fb-actions span:first-child {
  color: #1877f2;
}

/* —— Feature pills & tiles —— */
.feature-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fde047;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.feature-pill:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.55);
  transform: translateY(-1px);
}

.feature-tile {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(39, 39, 42, 0.9) 0%, rgba(24, 24, 27, 0.95) 100%);
  padding: 22px 20px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 204, 21, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

/* —— Before / After comparison —— */
.compare-grid {
  width: 100%;
  margin-inline: auto;
}

.compare-item {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.32s ease;
}

.compare-item.reveal.is-visible:hover {
  transform: translateY(0) scale(1.025);
}

.compare-item .compare {
  transition:
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.compare-item:hover .compare {
  border-color: rgba(250, 204, 21, 0.22);
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(250, 204, 21, 0.12),
    0 0 40px -8px rgba(250, 204, 21, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .compare-item.reveal.is-visible:hover {
    transform: none;
  }

  .compare-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
}

.compare {
  user-select: none;
  touch-action: none;
  width: 100%;
}

.compare__inner {
  position: relative;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  aspect-ratio: 2 / 3;
  background: #18181b;
}

.compare__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
  user-select: none;
}

.compare__layer--after {
  z-index: 0;
}

.compare__layer--before {
  clip-path: inset(0 50% 0 0);
  z-index: 1;
  border-right: 2px solid rgba(250, 204, 21, 0.9);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

.compare__label {
  position: absolute;
  top: 12px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare__label--before {
  left: 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.compare__label--after {
  right: 12px;
  background: rgba(250, 204, 21, 0.95);
  color: #000;
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  margin-left: -2px;
  background: #facc15;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
}

.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #facc15;
  border: 3px solid #000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.compare__grip::before,
.compare__grip::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  transform: translateY(-50%);
}

.compare__grip::before {
  left: 8px;
  border-width: 6px 8px 6px 0;
  border-color: transparent #000 transparent transparent;
}

.compare__grip::after {
  right: 8px;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #000;
}

.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

/* —— Benefits —— */
.benefit-block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease;
}

.benefit-block:hover {
  border-color: rgba(250, 204, 21, 0.2);
}

.benefit-block:last-child {
  border-bottom: none;
}

@media (min-width: 1024px) {
  .benefit-block:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

.benefit-block__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #fff;
}

.benefit-block__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  max-width: 42rem;
}

/* —— Compatibility (Mac & Windows, above pricing) —— */
.compat-section {
  margin-top: 60px;
  margin-bottom: 40px;
}

.compat-section__inner {
  max-width: min(37.5rem, 100%);
  margin-inline: auto;
}

.compat-section__title {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.compat-section__desc {
  max-width: 100%;
}

.compat-section__icons {
  color: #fff;
}

.compat-section__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.72;
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease;
}

.compat-section__icon-wrap:hover {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.35));
}

.compat-section__icon {
  width: 40px;
  height: 40px;
}

@media (min-width: 640px) {
  .compat-section__icon {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compat-section__icon-wrap {
    transition: opacity 0.2s ease;
  }

  .compat-section__icon-wrap:hover {
    transform: none;
  }
}

/* —— Landing: pricing CTA bridge (links to pricing.html) —— */
.pricing-cta-bridge {
  position: relative;
}

.pricing-cta-bridge__btn {
  width: auto;
  min-width: 15rem;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

/* —— Pricing (SaaS conversion block) —— */
.pricing-section__inner {
  width: 100%;
  max-width: min(30rem, 100%);
}

.pricing-urgency-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.35;
  color: #fef9c3;
  border: 1px solid rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.09);
  box-shadow:
    0 0 28px rgba(250, 204, 21, 0.22),
    0 0 1px rgba(250, 204, 21, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (min-width: 640px) {
  .pricing-urgency-badge {
    font-size: 0.75rem;
    padding: 0.45rem 1rem;
    margin-bottom: 1.125rem;
  }
}

/* —— Pricing card —— */
.pricing-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, #27272a 0%, #18181b 50%, #0a0a0a 100%);
  padding: 0;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(250, 204, 21, 0.12),
    0 0 56px -18px rgba(250, 204, 21, 0.28);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(250, 204, 21, 0.32);
  box-shadow:
    0 36px 88px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(250, 204, 21, 0.2),
    0 0 72px -12px rgba(250, 204, 21, 0.38);
}

.pricing-card__body {
  position: relative;
  z-index: 1;
  padding: 1.75rem 1.375rem 1.375rem;
}

@media (min-width: 640px) {
  .pricing-card__body {
    padding: 1.875rem 1.5rem 1.5rem;
  }
}

.pricing-card__ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.32rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  box-shadow:
    0 0 20px rgba(250, 204, 21, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}

.pricing-card__product {
  margin: 0;
  padding-right: 5.5rem;
}

.pricing-card__save-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.38);
}

.pricing-card__trust {
  margin: 0;
}

.pricing-card__feature {
  align-items: flex-start;
  line-height: 1.45;
}

.pricing-card__micro {
  margin-bottom: 0;
}

.pricing-card__shine {
  position: absolute;
  top: 0;
  left: -40%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(250, 204, 21, 0.06) 45%,
    transparent 70%
  );
  pointer-events: none;
  animation: shine-sweep 8s ease-in-out infinite;
}

@keyframes shine-sweep {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
  50% {
    transform: translateX(220%);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card__shine {
    animation: none;
  }

  .pricing-card:hover {
    transform: translateY(-2px);
  }
}

.pricing-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
  font-size: 12px;
  font-weight: 800;
}

.pricing-cta-wrap {
  margin-top: 1.375rem;
  padding: 1.25rem 0 0;
}

.pricing-cta-wrap .cta-primary--pricing {
  width: 100%;
}

/* —— CTA focus: vignette, urgency, arrows (hero + final) —— */
.cta-cluster {
  position: relative;
  margin-top: 1.75rem;
  margin-bottom: 2.25rem;
  padding: 3rem 1.25rem 3.25rem;
  width: 100%;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-cluster::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 36rem);
  height: 155%;
  background: radial-gradient(
    ellipse 88% 72% at 50% 48%,
    rgba(255, 237, 74, 0.1) 0%,
    rgba(255, 200, 0, 0.04) 42%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.cta-cluster::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, 40rem);
  height: 170%;
  border-radius: 1.5rem;
  background: radial-gradient(
    ellipse 78% 75% at 50% 50%,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.cta-cluster > * {
  position: relative;
  z-index: 1;
}

.cta-focus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 2rem 1rem 2.25rem;
  border-radius: 1.25rem;
  isolation: isolate;
}

.cta-focus--hero {
  padding: 2.25rem 0.75rem 2.5rem;
}

@media (min-width: 640px) {
  .cta-focus--hero {
    padding: 2.5rem 1.25rem 2.75rem;
  }
}

.cta-focus__vignette {
  position: absolute;
  inset: -0.5rem;
  border-radius: 1.35rem;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 72% 78% at 50% 58%,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.62) 52%,
    rgba(0, 0, 0, 0.88) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -20px 50px rgba(0, 0, 0, 0.45);
}

.cta-focus--final .cta-focus__vignette {
  inset: -0.75rem -1rem -1rem;
  border-radius: 1.5rem;
  background: radial-gradient(
    ellipse 70% 80% at 50% 55%,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.72) 50%,
    rgba(0, 0, 0, 0.92) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(250, 204, 21, 0.12),
    inset 0 -24px 56px rgba(0, 0, 0, 0.55);
}

.cta-urgency {
  position: relative;
  z-index: 1;
  margin: 0 0 1.35rem;
  padding: 0 0.5rem;
  max-width: 22rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fecaca;
  text-shadow:
    0 0 24px rgba(239, 68, 68, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.8);
}

@media (min-width: 640px) {
  .cta-urgency {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    max-width: 26rem;
  }
}

.cta-urgency--final {
  color: #fca5a5;
  max-width: 28rem;
}

.cta-focus__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 2vw, 0.75rem);
  width: 100%;
  max-width: 100%;
}

.cta-focus__row--final {
  gap: clamp(0.35rem, 2.5vw, 1rem);
}

.cta-focus__row .cta-primary--hero,
.cta-focus__row .cta-primary--final {
  flex: 0 1 auto;
  min-width: 0;
}

.cta-arrow {
  flex-shrink: 0;
  width: clamp(2rem, 7vw, 3.75rem);
  height: auto;
  color: #ef4444;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.55));
  animation: cta-arrow-bounce 1.75s ease-in-out infinite;
}

.cta-arrow--right {
  animation-name: cta-arrow-bounce-right;
  animation-delay: 0.2s;
}

.cta-arrow--final {
  width: clamp(2.25rem, 8vw, 4.5rem);
  animation-duration: 1.65s;
}

.cta-arrow--final.cta-arrow--right {
  animation-delay: 0.18s;
}

@keyframes cta-arrow-bounce {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 4px);
  }
}

@keyframes cta-arrow-bounce-right {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-5px, 4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-arrow {
    animation: none;
  }
}

/* —— Primary CTAs (hero, pricing, final) —— */

.cta-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffde7 0%, #ffea00 38%, #ffd000 100%);
  box-shadow:
    0 0 0 2px rgba(255, 240, 100, 0.95),
    0 0 32px rgba(255, 210, 0, 0.55),
    0 0 64px rgba(255, 200, 0, 0.4),
    0 6px 0 rgba(180, 130, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
  animation: cta-primary-pulse 2.2s ease-in-out infinite;
}

.cta-primary:hover {
  animation: none;
  transform: translateY(-5px) scale(1.04);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 0 3px rgba(255, 250, 200, 1),
    0 0 48px rgba(255, 220, 0, 0.75),
    0 0 96px rgba(255, 200, 0, 0.5),
    0 8px 0 rgba(180, 130, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.5);
}

.cta-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.cta-primary:focus {
  outline: none;
}

.cta-primary:focus-visible {
  outline: 3px solid #fef9c3;
  outline-offset: 5px;
}

.cta-primary--hero {
  min-width: min(100%, 19.5rem);
  min-height: 3.4rem;
  padding: 1.35rem 2.15rem;
  font-size: clamp(1.125rem, 3.1vw, 1.3125rem);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.15;
  border-radius: 18px;
  box-shadow:
    0 0 0 3px rgba(255, 250, 210, 1),
    0 0 44px rgba(255, 215, 0, 0.72),
    0 0 88px rgba(255, 195, 0, 0.5),
    0 8px 0 rgba(150, 105, 0, 0.42),
    0 14px 36px rgba(0, 0, 0, 0.52);
}

@media (min-width: 400px) {
  .cta-primary--hero {
    padding: 1.45rem 2.65rem;
  }
}

@media (min-width: 640px) {
  .cta-primary--hero {
    min-width: 21rem;
    min-height: 3.85rem;
    padding: 1.55rem 3.2rem;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    border-radius: 20px;
    box-shadow:
      0 0 0 3px rgba(255, 252, 220, 1),
      0 0 52px rgba(255, 220, 0, 0.78),
      0 0 100px rgba(255, 200, 0, 0.55),
      0 9px 0 rgba(150, 105, 0, 0.45),
      0 16px 42px rgba(0, 0, 0, 0.55);
  }
}

@media (min-width: 768px) {
  .cta-primary--hero {
    min-width: 22rem;
    padding: 1.65rem 3.6rem;
    font-size: 1.4rem;
    border-radius: 22px;
  }
}

.cta-primary--pricing {
  width: 100%;
  min-height: 3.35rem;
  padding: 1.3rem 1.75rem;
  font-size: clamp(1.0625rem, 3vw, 1.3125rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  border-radius: 16px;
  box-shadow:
    0 0 0 3px rgba(255, 252, 220, 0.95),
    0 0 44px rgba(255, 220, 0, 0.72),
    0 0 88px rgba(255, 200, 0, 0.48),
    0 8px 0 rgba(150, 105, 0, 0.42),
    0 14px 36px rgba(0, 0, 0, 0.52);
  animation-duration: 1.85s;
}

.cta-primary--pricing:hover {
  animation: none;
  transform: translateY(-5px) scale(1.05);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 0 3px rgba(255, 254, 235, 1),
    0 0 56px rgba(255, 225, 0, 0.85),
    0 0 112px rgba(255, 200, 0, 0.55),
    0 9px 0 rgba(140, 95, 0, 0.45),
    0 18px 44px rgba(0, 0, 0, 0.55);
}

.cta-primary--final {
  width: 100%;
  max-width: min(100%, 26rem);
  margin-left: auto;
  margin-right: auto;
  padding: 1.45rem 2rem;
  font-size: clamp(1.0625rem, 3.2vw, 1.375rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 16px;
  animation-duration: 1.9s;
}

@media (min-width: 640px) {
  .cta-primary--final {
    padding: 1.6rem 2.75rem;
    font-size: 1.375rem;
  }
}

.cta-primary--nav {
  padding: 0.65rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 800;
  border-radius: 10px;
  letter-spacing: 0.03em;
  box-shadow:
    0 0 0 1px rgba(255, 240, 100, 0.85),
    0 0 20px rgba(255, 210, 0, 0.45),
    0 3px 0 rgba(180, 130, 0, 0.32),
    0 6px 16px rgba(0, 0, 0, 0.35);
  animation-duration: 2.6s;
}

.cta-primary--nav:hover {
  transform: translateY(-2px) scale(1.03);
}

@keyframes cta-primary-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 2px rgba(255, 240, 100, 0.9),
      0 0 28px rgba(255, 210, 0, 0.5),
      0 0 56px rgba(255, 200, 0, 0.35),
      0 6px 0 rgba(180, 130, 0, 0.35),
      0 10px 28px rgba(0, 0, 0, 0.45);
  }
  50% {
    transform: scale(1.035);
    box-shadow:
      0 0 0 3px rgba(255, 252, 220, 1),
      0 0 44px rgba(255, 220, 0, 0.75),
      0 0 88px rgba(255, 200, 0, 0.48),
      0 6px 0 rgba(180, 130, 0, 0.35),
      0 12px 32px rgba(0, 0, 0, 0.48);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-primary {
    animation: none;
  }

  .cta-primary:hover {
    transform: translateY(-2px);
  }
}

/* —— Stats / social proof (before final CTA) —— */
.stats-section__grid {
  text-align: center;
}

.stats-section__item {
  padding: 0.75rem 0.5rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.stats-section__item:hover {
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.02);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.12),
    0 12px 40px -8px rgba(0, 0, 0, 0.5),
    0 0 48px -12px rgba(250, 204, 21, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .stats-section__item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .stats-section__item:hover {
    transform: none;
  }
}

.final-cta-section {
  position: relative;
}

.final-cta-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  width: min(90vw, 52rem);
  height: min(70vh, 24rem);
  background: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    rgba(255, 230, 60, 0.12) 0%,
    rgba(255, 180, 0, 0.04) 50%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.final-cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 95% 85% at 50% 48%,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.final-cta-section > * {
  position: relative;
  z-index: 1;
}

.final-cta-button-wrap {
  margin-top: 3.25rem;
  padding: 2.5rem 0 1rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .final-cta-button-wrap {
    margin-top: 3.75rem;
    padding: 3rem 0.5rem 1.25rem;
  }
}

.cta-focus--final {
  width: 100%;
  max-width: min(100%, 32rem);
  margin-inline: auto;
  padding: 2.5rem 0.5rem 2.75rem;
}

@media (min-width: 640px) {
  .cta-focus--final {
    padding: 3rem 1rem 3.25rem;
    max-width: 34rem;
  }
}

/* —— Footer (minimal, premium SaaS) —— */
.site-footer-minimal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer-minimal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 85% 55% at 50% 0%,
    rgba(250, 204, 21, 0.075) 0%,
    rgba(250, 204, 21, 0.02) 38%,
    transparent 62%
  );
}

.site-footer-minimal__inner {
  position: relative;
  z-index: 1;
  max-width: min(35rem, 100%);
}

.site-footer-minimal__social {
  margin-bottom: 0.875rem;
}

.site-footer-minimal__copy {
  max-width: 100%;
  margin: 0 0 0.5625rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6875rem;
  line-height: 1.28;
}

@media (min-width: 640px) {
  .site-footer-minimal__copy {
    font-size: 0.75rem;
    line-height: 1.27;
  }
}

.site-footer-minimal__legal {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .site-footer-minimal__legal {
    font-size: 0.8125rem;
  }
}

.site-footer-minimal__legal-sep {
  color: rgba(255, 255, 255, 0.35);
}

.site-footer-minimal__support {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6875rem;
  line-height: 1.28;
}

@media (min-width: 640px) {
  .site-footer-minimal__support {
    font-size: 0.75rem;
    line-height: 1.27;
  }
}

.site-footer-minimal__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.25s ease,
    box-shadow 0.28s ease;
}

.site-footer-minimal__social-link:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow:
    0 0 18px rgba(250, 204, 21, 0.45),
    0 0 36px rgba(250, 204, 21, 0.15);
}

.site-footer-minimal__social-link:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.6);
  outline-offset: 4px;
}

.site-footer-minimal__icon {
  width: 26px;
  height: 26px;
}

@media (min-width: 640px) {
  .site-footer-minimal__icon {
    width: 28px;
    height: 28px;
  }
}

.site-footer-minimal__link {
  color: #7dd3fc;
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    text-decoration-color 0.25s ease;
}

.site-footer-minimal__link:hover {
  color: #facc15;
  text-decoration: underline;
  text-decoration-color: rgba(250, 204, 21, 0.65);
  text-underline-offset: 3px;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.35);
}

.site-footer-minimal__link:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.55);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-footer-minimal__mailto {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    text-decoration-color 0.25s ease;
}

.site-footer-minimal__mailto:hover {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.site-footer-minimal__mailto:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.5);
  outline-offset: 2px;
  border-radius: 2px;
}

/* —— Pricing page: tier cards —— */
.pricing-tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-tiers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .pricing-tiers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
    align-items: start;
  }
}

.pricing-tier-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(250, 204, 21, 0.08) 100%
  );
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease;
}

.pricing-tier-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.pricing-tier-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: calc(1.25rem - 1px);
  padding: 1.5rem 1.35rem 1.35rem;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.pricing-tier-card--featured {
  background: linear-gradient(
    145deg,
    rgba(250, 204, 21, 0.45) 0%,
    rgba(250, 204, 21, 0.12) 35%,
    rgba(255, 255, 255, 0.08) 100%
  );
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.25),
    0 20px 56px -12px rgba(250, 204, 21, 0.22),
    0 28px 64px rgba(0, 0, 0, 0.5);
}

.pricing-tier-card--featured:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.4),
    0 24px 64px -8px rgba(250, 204, 21, 0.35),
    0 32px 72px rgba(0, 0, 0, 0.55);
}

@media (min-width: 1024px) {
  .pricing-tier-card--featured {
    margin-top: -0.5rem;
  }
}

.pricing-tier-card__ribbon {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(180deg, #fde047 0%, #facc15 100%);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.5);
}

.pricing-tier-card__name {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pricing-tier-card--featured .pricing-tier-card__name {
  padding-right: 5.5rem;
}

.pricing-tier-card__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}

.pricing-tier-card__was {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.25);
}

.pricing-tier-card__now {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

@media (min-width: 640px) {
  .pricing-tier-card__now {
    font-size: 2.5rem;
  }
}

.pricing-tier-card__discount {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
}

.pricing-tier-card__discount--hot {
  background: rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.5);
}

.pricing-tier-card__features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.pricing-tier-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-tier-card__check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border-radius: 0.25rem;
  background: rgba(250, 204, 21, 0.18);
  color: #facc15;
  font-size: 0.65rem;
  font-weight: 800;
}

.cta-primary--pricing-tier {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  border-radius: 14px;
  box-shadow:
    0 0 0 2px rgba(255, 252, 220, 0.9),
    0 0 36px rgba(255, 220, 0, 0.55),
    0 0 72px rgba(255, 200, 0, 0.35),
    0 6px 0 rgba(150, 105, 0, 0.38),
    0 10px 28px rgba(0, 0, 0, 0.45);
  animation-duration: 1.9s;
}

.cta-primary--pricing-tier:hover {
  animation: none;
  transform: translateY(-4px) scale(1.04);
  filter: brightness(1.08) saturate(1.06);
  box-shadow:
    0 0 0 3px rgba(255, 254, 235, 1),
    0 0 48px rgba(255, 225, 0, 0.8),
    0 0 96px rgba(255, 200, 0, 0.5),
    0 8px 0 rgba(140, 95, 0, 0.42),
    0 14px 36px rgba(0, 0, 0, 0.5);
}

.cta-primary--pricing-tier-featured {
  box-shadow:
    0 0 0 3px rgba(255, 252, 220, 0.98),
    0 0 44px rgba(255, 225, 0, 0.72),
    0 0 88px rgba(255, 200, 0, 0.48),
    0 7px 0 rgba(150, 105, 0, 0.42),
    0 14px 36px rgba(0, 0, 0, 0.52);
}

.cta-primary--pricing-tier-featured:hover {
  box-shadow:
    0 0 0 3px rgba(255, 254, 240, 1),
    0 0 56px rgba(255, 230, 0, 0.88),
    0 0 110px rgba(255, 200, 0, 0.55),
    0 9px 0 rgba(130, 90, 0, 0.45),
    0 18px 44px rgba(0, 0, 0, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .pricing-tier-card,
  .pricing-tier-card:hover,
  .pricing-tier-card--featured,
  .pricing-tier-card--featured:hover {
    transform: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .cta-primary--pricing-tier:hover {
    transform: none;
  }
}

/* —— Pricing page: bonus grid —— */
.pricing-bonus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pricing-bonus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.pricing-bonus-card {
  margin: 0;
  padding: 0;
  line-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #09090b;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.pricing-bonus-card:hover {
  transform: scale(1.02);
  border-color: rgba(250, 204, 21, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(250, 204, 21, 0.08);
}

.pricing-bonus-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-bonus-card:hover {
    transform: none;
  }
}

/* —— Pricing page: compact note block (under cards) —— */
.pricing-note-block {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.16);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(250, 204, 21, 0.04) inset;
}

.pricing-note-block p {
  margin: 0;
}

.pricing-note-block__title {
  font-size: 0.975rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
}

.pricing-note-block__line,
.pricing-note-block__text {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.72);
}

.pricing-note-block__heading {
  margin-top: 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: rgba(250, 204, 21, 0.9);
}

.pricing-note-block__metrics {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.28rem;
}

.pricing-note-block__metric {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-note-block__metric-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.pricing-note-block__metric-value {
  font-weight: 700;
  color: rgba(250, 204, 21, 0.95);
  margin-left: 0.1rem;
}

.pricing-note-block__text--warn {
  margin-top: 0.45rem;
  color: rgba(252, 165, 165, 0.88);
}

@media (max-width: 640px) {
  .pricing-note-block {
    padding: 0.9rem 0.95rem 0.95rem;
  }

  .pricing-note-block__metric {
    padding: 0.34rem 0.5rem;
    gap: 0.35rem;
  }
}

/* —— Payment trust icons —— */
.payment-icon {
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.payment-icon svg {
  display: block;
  width: 88px;
  height: auto;
}

.payment-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .payment-icon:hover {
    transform: none;
  }
}

/* —— Floating contact (right rail) —— */
.floating-contact {
  position: fixed;
  right: 1rem;
  top: 60%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-right: max(0px, env(safe-area-inset-right));
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.floating-contact .contact-item {
  pointer-events: auto;
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: none;
  border-radius: 25px 0 0 25px;
  box-shadow:
    -6px 4px 20px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(255, 255, 255, 0.06);
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition:
    width 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  width: 180px;
  box-shadow:
    -8px 0 36px rgba(255, 214, 0, 0.28),
    -4px 0 24px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 214, 0, 0.2);
  transform: translateX(-3px) scale(1.03);
  border-color: rgba(255, 214, 0, 0.5);
  background: #0a0a0a;
}

.contact-item:focus-visible {
  outline: 2px solid #ffd600;
  outline-offset: 2px;
}

.contact-item:focus:not(:focus-visible) {
  outline: none;
}

.contact-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-item__label {
  flex-shrink: 0;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fafafa;
  padding-right: 14px;
  transition:
    max-width 0.3s ease,
    opacity 0.25s ease 0.04s;
}

.contact-item:hover .contact-item__label,
.contact-item:focus-visible .contact-item__label {
  max-width: 140px;
  opacity: 1;
}

@media (max-width: 768px) {
  .floating-contact {
    right: 8px !important;
    gap: 8px !important;
    opacity: 0.85;
  }

  .floating-contact .contact-item {
    width: 42px !important;
    height: 42px !important;
    font-size: 16px !important;
    border-radius: 21px 0 0 21px;
    transition:
      box-shadow 0.2s ease,
      transform 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease;
  }

  .floating-contact .contact-item:hover,
  .floating-contact .contact-item:focus-visible {
    width: 42px !important;
    box-shadow:
      -6px 0 28px rgba(255, 214, 0, 0.22),
      -4px 0 18px rgba(0, 0, 0, 0.5);
    transform: scale(1.06);
  }

  .floating-contact .contact-item__icon {
    width: 42px !important;
    height: 42px !important;
  }

  .floating-contact .contact-item__icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .floating-contact .contact-item__label {
    display: none;
    max-width: 0;
    opacity: 0;
    padding-right: 0;
  }

  .floating-contact img {
    width: 20px !important;
    height: 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-item,
  .contact-item__label {
    transition-duration: 0.01ms;
  }

  .contact-item:hover,
  .contact-item:focus-visible {
    transform: none;
  }

  @media (max-width: 768px) {
    .contact-item:hover,
    .contact-item:focus-visible {
      transform: none;
    }
  }
}

/* —— Contact page —— */
.contact-page-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.contact-main-card {
  max-width: min(56rem, 100%);
  margin-inline: auto;
  padding: 1.875rem;
  border-radius: 16px;
  background: #111;
  border: 1px solid rgba(255, 215, 0, 0.125);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (min-width: 640px) {
  .contact-main-card {
    padding: 2rem 2.25rem;
  }
}

.contact-main-card__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-main-card__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-main-card__brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #fde047 0%, #facc15 55%, #eab308 100%);
  color: #0a0a0a;
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 28px rgba(250, 204, 21, 0.25);
}

.contact-main-card__title {
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.contact-main-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

.contact-main-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-main-card__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.contact-main-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}

.contact-main-card__hours {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.contact-main-card__hours strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 215, 0, 0.9);
}

.contact-card__zalo {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 1rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  color: #0a0a0a;
  background: linear-gradient(180deg, #fffef0 0%, #ffea00 38%, #ffd700 100%);
  box-shadow:
    0 0 0 2px rgba(255, 252, 200, 0.95),
    0 0 36px rgba(255, 220, 0, 0.55),
    0 6px 0 rgba(150, 105, 0, 0.38),
    0 10px 28px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease;
}

.contact-card__zalo:hover {
  transform: scale(1.03);
  filter: brightness(1.06);
  box-shadow:
    0 0 0 2px rgba(255, 254, 230, 1),
    0 0 48px rgba(255, 225, 0, 0.75),
    0 7px 0 rgba(130, 90, 0, 0.4),
    0 14px 36px rgba(0, 0, 0, 0.5);
}

.contact-secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .contact-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-align: center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.28s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.contact-secondary-btn:hover {
  transform: scale(1.03);
  border-color: rgba(255, 215, 0, 0.45);
  background: #111;
  color: #fff;
  box-shadow:
    0 0 24px rgba(255, 215, 0, 0.18),
    0 0 0 1px rgba(255, 215, 0, 0.12);
}

.contact-secondary-btn:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.6);
  outline-offset: 2px;
}

.contact-card__zalo:focus-visible {
  outline: 3px solid rgba(255, 254, 200, 0.95);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-card__zalo,
  .contact-card__zalo:hover,
  .contact-secondary-btn,
  .contact-secondary-btn:hover {
    transform: none;
    transition-duration: 0.15s;
  }
}

/* —— Download page —— */
.download-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 80% at 35% 30%, rgba(250, 204, 21, 0.14) 0%, rgba(250, 204, 21, 0) 55%),
    radial-gradient(ellipse 75% 85% at 70% 35%, rgba(168, 85, 247, 0.16) 0%, rgba(168, 85, 247, 0) 55%),
    linear-gradient(180deg, rgba(9, 9, 12, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.download-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(24, 24, 27, 0.92) 0%, rgba(8, 8, 10, 0.92) 100%);
  box-shadow:
    0 12px 42px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(250, 204, 21, 0.06) inset;
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.32s ease,
    background 0.25s ease;
}

.download-card__inner {
  position: relative;
  padding: 1.65rem 1.5rem 1.55rem;
}

.download-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 35% 30%, rgba(250, 204, 21, 0.14) 0%, rgba(250, 204, 21, 0) 65%),
    radial-gradient(ellipse 70% 60% at 75% 25%, rgba(168, 85, 247, 0.12) 0%, rgba(168, 85, 247, 0) 68%);
  opacity: 0.9;
}

.download-card__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(250, 204, 21, 0.12);
  color: rgba(250, 204, 21, 0.95);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.16) inset,
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.download-card__icon--apple {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 10px 30px rgba(0, 0, 0, 0.4);
}

.download-card__icon svg {
  width: 30px;
  height: 30px;
}

.download-card__title {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.download-card__desc {
  position: relative;
  z-index: 1;
  margin: 0.25rem 0 1.15rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.55;
}

.download-card__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(180deg, #fffef0 0%, #ffea00 38%, #ffd700 100%);
  box-shadow:
    0 0 0 2px rgba(255, 252, 200, 0.92),
    0 0 32px rgba(255, 220, 0, 0.5),
    0 8px 28px rgba(0, 0, 0, 0.48);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease,
    box-shadow 0.28s ease;
}

.download-card__btn--secondary {
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 10px 30px rgba(0, 0, 0, 0.5);
}

.download-card__hint {
  position: relative;
  z-index: 1;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 204, 21, 0.22);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(250, 204, 21, 0.09) inset,
    0 0 46px rgba(250, 204, 21, 0.08);
}

.download-card:hover .download-card__btn {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.download-card__btn:focus-visible,
.download-card__btn--secondary:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .download-card,
  .download-card:hover,
  .download-card__btn,
  .download-card:hover .download-card__btn {
    transform: none;
    transition-duration: 0.15s;
  }
}

/* —— Install guide (Download page) —— */
.install-guide__card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(165deg, rgba(24, 24, 27, 0.92) 0%, rgba(8, 8, 10, 0.92) 100%);
  box-shadow:
    0 14px 50px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(250, 204, 21, 0.06) inset;
  padding: 1.6rem 1.25rem;
}

@media (min-width: 640px) {
  .install-guide__card {
    padding: 1.9rem 1.75rem;
  }
}

.install-guide__title {
  margin: 0 0 1.1rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.install-step + .install-step {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.install-step__title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: rgba(250, 204, 21, 0.92);
  letter-spacing: 0.02em;
}

.install-step__list {
  margin: 0.25rem 0 1rem;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.install-step__text {
  margin: 0.35rem 0 1rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.install-step__example {
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.install-step__example code {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.85rem;
}

.install-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .install-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
  }
  .install-gallery--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
}

.install-gallery--single {
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.install-gallery--single .install-thumb {
  width: 100%;
  max-width: 520px;
}

.invite-code-copy {
  border: 0;
  padding: 0 0.2rem;
  background: transparent;
  color: #facc15;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(250, 204, 21, 0.55);
  text-underline-offset: 0.14em;
}

.invite-important {
  color: #facc15;
  font-weight: 800;
  font-style: italic;
}

.invite-code-copy:hover {
  color: #fde047;
}

.invite-copy-btn {
  margin-left: 0.3rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: rgba(250, 204, 21, 0.12);
  color: #fde047;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 0.12rem 0.45rem;
  cursor: pointer;
}

.invite-copy-btn:hover {
  background: rgba(250, 204, 21, 0.2);
}

.invite-note-warning {
  margin-top: 0.55rem;
  color: #f87171;
  font-style: italic;
  font-weight: 600;
}

.copy-toast {
  position: fixed;
  z-index: 130;
  transform: translate(-50%, -115%);
  max-width: min(92vw, 380px);
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(15, 15, 18, 0.95);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.84rem;
  line-height: 1.45;
  padding: 0.45rem 0.6rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.install-gallery--double {
  max-width: 1040px;
}

@media (min-width: 720px) {
  .install-gallery--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: stretch;
  }
}

/* —— Zalo community (Download page) —— */
.zalo-community__card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(ellipse 70% 60% at 20% 25%, rgba(250, 204, 21, 0.12) 0%, rgba(250, 204, 21, 0) 60%),
    linear-gradient(165deg, rgba(24, 24, 27, 0.92) 0%, rgba(8, 8, 10, 0.92) 100%);
  box-shadow:
    0 14px 50px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(250, 204, 21, 0.06) inset;
  padding: 1.5rem 1.25rem;
}

@media (min-width: 640px) {
  .zalo-community__card {
    padding: 1.8rem 1.75rem;
  }
}

.zalo-community__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .zalo-community__grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.5rem;
  }
}

.zalo-community__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 204, 21, 0.92);
}

.zalo-community__title {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.25;
}

@media (min-width: 640px) {
  .zalo-community__title {
    font-size: 1.3rem;
  }
}

.zalo-community__desc {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.zalo-community__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .zalo-community__actions {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
  }
}

.zalo-community__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.05rem;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #0a0a0a;
  background: linear-gradient(180deg, #fffef0 0%, #ffea00 38%, #ffd700 100%);
  box-shadow:
    0 0 0 2px rgba(255, 252, 200, 0.92),
    0 0 32px rgba(255, 220, 0, 0.5),
    0 8px 28px rgba(0, 0, 0, 0.48);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.25s ease,
    box-shadow 0.28s ease;
}

.zalo-community__btn:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.zalo-community__btn:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 3px;
}

.zalo-community__link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.zalo-community__link a {
  color: rgba(250, 204, 21, 0.92);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(250, 204, 21, 0.35);
}

.zalo-community__link a:hover {
  color: rgba(250, 204, 21, 1);
  text-decoration-color: rgba(250, 204, 21, 0.65);
}

.zalo-community__qr {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
}

.zalo-community__qr-btn {
  width: min(320px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.35rem;
  cursor: zoom-in;
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.26s ease;
}

.zalo-community__qr-btn img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.zalo-community__qr-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.24);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(250, 204, 21, 0.08) inset;
}

.zalo-community__qr-btn:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 3px;
}

.zalo-community__qr-hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .zalo-community__btn,
  .zalo-community__btn:hover,
  .zalo-community__qr-btn,
  .zalo-community__qr-btn:hover {
    transform: none;
    transition-duration: 0.15s;
  }
}

.install-thumb {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.26s ease;
}

.install-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.install-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.24);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(250, 204, 21, 0.08) inset;
}

.install-thumb:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 3px;
}

/* Image zoom modal */
.image-zoom {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}

.image-zoom__overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

@media (max-width: 520px) {
  .image-zoom__panel {
    width: calc(100vw - 0.5rem);
    height: calc(100vh - 0.25rem);
    border-radius: 14px;
  }
}

.image-zoom__panel {
  position: relative;
  width: min(1600px, 96vw);
  height: 96vh;
  max-height: 96vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 12, 0.86);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(250, 204, 21, 0.05) inset;
  overflow: hidden;
}

.image-zoom__img {
  width: 100%;
  height: 100%;
  max-height: 96vh;
  object-fit: contain;
  display: block;
}

.image-zoom__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.image-zoom__close:hover {
  transform: scale(1.06);
  border-color: rgba(250, 204, 21, 0.24);
  background: rgba(0, 0, 0, 0.55);
}

.image-zoom__close:focus-visible {
  outline: 3px solid rgba(250, 204, 21, 0.55);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .install-thumb,
  .install-thumb:hover,
  .image-zoom__close,
  .image-zoom__close:hover {
    transform: none;
    transition-duration: 0.15s;
  }
}

/* —— Scroll to top —— */
.scroll-top-btn {
  position: fixed;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  z-index: 88;
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  border-radius: 9999px;
  border: 1px solid rgba(255, 215, 0, 0.38);
  background: #111;
  color: #ffd700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 6px 24px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 215, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.94);
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  animation: scroll-top-glow-pulse 2.8s ease-in-out infinite;
}

.scroll-top-btn.is-visible:hover,
.scroll-top-btn.is-visible:focus-visible {
  animation: none;
  transform: translateY(0) scale(1.08);
  border-color: rgba(255, 215, 0, 0.65);
  background: #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.35),
    0 8px 32px rgba(0, 0, 0, 0.55),
    0 0 44px rgba(255, 215, 0, 0.32),
    0 0 64px rgba(255, 215, 0, 0.12);
}

.scroll-top-btn:focus {
  outline: none;
}

.scroll-top-btn:focus-visible {
  outline: 2px solid rgba(255, 215, 0, 0.75);
  outline-offset: 3px;
}

.scroll-top-btn__icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 640px) {
  .scroll-top-btn {
    width: 56px;
    height: 56px;
  }

  .scroll-top-btn__icon {
    width: 24px;
    height: 24px;
  }
}

@keyframes scroll-top-glow-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.35),
      0 6px 24px rgba(0, 0, 0, 0.5),
      0 0 26px rgba(255, 215, 0, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.25),
      0 8px 28px rgba(0, 0, 0, 0.52),
      0 0 40px rgba(255, 215, 0, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top-btn {
    transition-duration: 0.15s;
  }

  .scroll-top-btn.is-visible {
    animation: none;
  }
}

/* —— Mobile nav —— */
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(250, 204, 21, 0.5);
  color: #facc15;
}

/* Chat open: de-emphasize rail (contact stays above chat via z-index) */
body:has(#chat-widget.chat-widget--open) .floating-contact {
  opacity: 0.3;
}

/* —— SaaS-style chat widget (global) —— */
.chat-widget {
  position: fixed;
  right: max(
    1rem,
    min(
      calc(50px + 52px + 16px + env(safe-area-inset-right, 0px)),
      calc(100vw - 5.5rem)
    )
  );
  bottom: max(
    6.25rem,
    calc(1.25rem + 56px + 16px + env(safe-area-inset-bottom, 0px))
  );
  z-index: 9998;
  font-family: var(--font-sans, system-ui, sans-serif);
  pointer-events: none;
}

.chat-widget__launcher {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.19);
  background: #111;
  color: #facc15;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 4px 24px rgba(255, 215, 0, 0.18),
    0 8px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.chat-widget--launcher-visible .chat-widget__launcher {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.chat-widget__launcher:hover {
  transform: scale(1.1);
  border-color: rgba(255, 215, 0, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.18),
    0 6px 32px rgba(255, 215, 0, 0.38),
    0 0 40px rgba(255, 215, 0, 0.22),
    0 12px 40px rgba(0, 0, 0, 0.5);
}

.chat-widget__launcher:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.7);
  outline-offset: 3px;
}

.chat-widget__launcher-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.chat-widget__launcher-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.9);
  border: 2px solid #111;
}

.chat-widget__launcher-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.28);
  opacity: 0;
  animation: chat-widget-launcher-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes chat-widget-launcher-pulse {
  0%,
  88% {
    transform: scale(1);
    opacity: 0;
  }
  91% {
    opacity: 0.55;
  }
  96% {
    transform: scale(1.14);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.chat-widget--shake .chat-widget__launcher {
  animation: chat-widget-bubble-shake 0.45s ease;
}

@keyframes chat-widget-bubble-shake {
  0%,
  100% {
    transform: translateX(0) scale(1);
  }
  20% {
    transform: translateX(-2px) scale(1);
  }
  40% {
    transform: translateX(2px) scale(1);
  }
  60% {
    transform: translateX(-1px) scale(1);
  }
  80% {
    transform: translateX(1px) scale(1);
  }
}

.chat-widget--launcher-visible.chat-widget--shake .chat-widget__launcher:hover {
  transform: scale(1.1);
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 320px;
  max-width: min(320px, calc(100vw - 1.5rem));
  max-height: min(560px, calc(100dvh - 6rem));
  background: #0d0d0d;
  border-radius: 16px;
  border: 1px solid rgba(255, 215, 0, 0.125);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.08),
    0 12px 48px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(255, 215, 0, 0.14);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}

.chat-widget__panel:not(.chat-widget__panel--hidden) {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}

.chat-widget__panel--hidden {
  opacity: 0 !important;
  transform: translateY(12px) scale(0.98) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.chat-widget__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.06) 0%, transparent 100%);
}

.chat-widget__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
  flex: 1 1 auto;
  min-height: 0;
}

.chat-widget__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #facc15 0%, #ca8a04 100%);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.35);
}

.chat-widget__header-text {
  flex: 1;
  min-width: 0;
}

.chat-widget__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fafafa;
  letter-spacing: 0.02em;
}

.chat-widget__status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.chat-widget__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: chat-widget-status-pulse 2s ease-in-out infinite;
}

@keyframes chat-widget-status-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.15);
  }
}

.chat-widget__header-actions {
  display: flex;
  gap: 0.25rem;
}

.chat-widget__icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.chat-widget__icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(250, 204, 21, 0.35);
}

.chat-widget__icon-btn:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.6);
  outline-offset: 2px;
}

.chat-widget__messages {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 0;
  max-height: min(280px, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.25) transparent;
}

.chat-widget__messages::-webkit-scrollbar {
  width: 5px;
}

.chat-widget__messages::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.22);
  border-radius: 999px;
}

.chat-widget__msg {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.45;
  animation: chat-widget-msg-in 0.35s ease;
}

@keyframes chat-widget-msg-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-widget__msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-widget__msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22) 0%, rgba(202, 138, 4, 0.15) 100%);
  color: #fefce8;
  border: 1px solid rgba(250, 204, 21, 0.25);
}

.chat-widget__typing {
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-widget__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  animation: chat-widget-typing 1.2s ease-in-out infinite;
}

.chat-widget__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-widget__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chat-widget-typing {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.chat-widget__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.chat-widget__quick[hidden] {
  display: none !important;
}

.chat-widget__quick button {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 0;
  min-height: 40px;
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.38);
  background: rgba(0, 0, 0, 0.35);
  color: #fef9c3;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.chat-widget__quick button:hover:not(:disabled) {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.55);
  transform: scale(1.02);
}

.chat-widget__quick button:disabled {
  opacity: 0.45;
  cursor: default;
}

.chat-widget__ctas {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.chat-widget__cta {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fafafa;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.chat-widget__cta:hover {
  transform: scale(1.03);
}

.chat-widget__cta--primary {
  border: 1px solid rgba(250, 204, 21, 0.45);
  background: linear-gradient(135deg, #facc15 0%, #eab308 45%, #ca8a04 100%);
  color: #111;
  box-shadow:
    0 0 20px rgba(250, 204, 21, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.35);
}

.chat-widget__cta--primary:hover {
  box-shadow:
    0 0 28px rgba(250, 204, 21, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.4);
}

.chat-widget__cta--secondary:hover {
  border-color: rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.12);
}

.chat-widget__footer-meta {
  flex-shrink: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.48);
}

.chat-widget__footer-meta p {
  margin: 0.2rem 0 0;
}

.chat-widget__footer-meta p:first-child {
  margin-top: 0;
}

body.chat-widget-body-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  body:has(#chat-widget.chat-widget--open) .floating-contact {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .chat-widget {
    right: 0;
    left: 0;
    bottom: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .chat-widget__launcher {
    position: fixed;
    right: max(
      1rem,
      min(
        calc(56px + 52px + 12px + env(safe-area-inset-right, 0px)),
        calc(100vw - 5rem)
      )
    );
    bottom: max(
      6.25rem,
      calc(1.25rem + 56px + 16px + env(safe-area-inset-bottom, 0px))
    );
  }

  .chat-widget__body {
    padding: 0 1rem max(1rem, env(safe-area-inset-bottom, 0px));
    gap: 0.65rem;
  }

  .chat-widget__panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: min(88vh, calc(100dvh - env(safe-area-inset-bottom, 0px)));
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }

  .chat-widget__panel:not(.chat-widget__panel--hidden) {
    transform: translateY(0);
  }

  .chat-widget__panel--hidden {
    transform: translateY(100%) !important;
  }

  .chat-widget__messages {
    max-height: min(240px, 40vh);
  }

  .chat-widget__quick button {
    flex: 1 1 100%;
    min-height: 44px;
    font-size: 0.8125rem;
  }

  .chat-widget__cta {
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-widget__launcher,
  .chat-widget__launcher-pulse-ring,
  .chat-widget__panel,
  .chat-widget__msg,
  .chat-widget__typing span,
  .chat-widget__status-dot {
    animation: none !important;
    transition-duration: 0.15s !important;
  }

  .chat-widget__launcher-pulse-ring {
    display: none;
  }
}

/* —— Payment modal (pricing.html) —— */
body.payment-modal-open {
  overflow: hidden;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.payment-modal[hidden] {
  display: none !important;
}

.payment-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.payment-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(61.25rem, calc(100vw - 2rem));
  max-height: min(94vh, 58rem);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: linear-gradient(165deg, rgba(22, 22, 22, 0.96) 0%, rgba(8, 8, 8, 0.98) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, 0.06),
    0 24px 64px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(250, 204, 21, 0.12);
  animation: payment-modal-in 0.32s ease;
}

@keyframes payment-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.payment-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.payment-modal__close:hover {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.4);
  color: #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.payment-modal__close:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.7);
  outline-offset: 2px;
}

.payment-modal__flow {
  padding: 36px;
}

@media (max-width: 480px) {
  .payment-modal__flow {
    padding: 24px;
  }
}

.payment-modal__lead {
  margin: 0 3rem 1.25rem 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.52);
}

.payment-modal__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .payment-modal__grid {
    grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
    gap: 2rem;
    align-items: start;
  }

  .payment-modal__col--qr {
    align-self: start;
  }
}

.payment-modal__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fafafa;
}

.payment-modal__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.payment-modal__optional-id {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-modal__optional-label {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  color: #888;
}

.payment-modal__optional-hint {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #777;
}

.payment-modal__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: #fafafa;
  font: inherit;
  font-size: 0.875rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.payment-modal__input:focus {
  outline: none;
  border-color: rgba(250, 204, 21, 0.45);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.12);
}

.payment-modal__input--id {
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.65);
  opacity: 0.85;
}

.payment-modal__input--id:focus {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  opacity: 1;
}

.payment-modal__error {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f87171;
}

.payment-modal__verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.6rem 1rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.payment-modal__verify-btn {
  background: #2a2a2a;
  color: #aaa;
  border: 1px solid #444;
  box-shadow: none;
  opacity: 0.85;
  animation: none;
}

.payment-modal__verify-btn:hover:not(:disabled) {
  background: #333;
  color: #ddd;
  border-color: #555;
  opacity: 0.92;
  transform: none;
  filter: none;
}

.payment-modal__verify-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.25);
  outline-offset: 2px;
}

.payment-modal__verify.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.payment-modal__qr-label,
.payment-modal__price-label,
.payment-modal__transfer-hint {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

/* QR box: no fixed height — flex centers bitmap without stretching */
.payment-modal__qr-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding: 16px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 0 30px rgba(255, 215, 0, 0.08),
    0 0 0 1px rgba(250, 204, 21, 0.06),
    0 0 40px rgba(250, 204, 21, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.payment-modal__qr-skeleton {
  position: absolute;
  inset: 16px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  margin: auto;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0.05) 90%
  );
  background-size: 200% 100%;
  animation: payment-modal-qr-skeleton 1.1s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes payment-modal-qr-skeleton {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.payment-modal__qr-img-hit {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: zoom-in;
  line-height: 0;
  position: relative;
  z-index: 0;
}

.payment-modal__qr-img-hit:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.55);
  outline-offset: 3px;
}

.payment-modal__qr-img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0 auto;
  flex-shrink: 0;
  align-self: center;
  border-radius: 8px;
  background: #fff;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition:
    opacity 0.35s ease,
    transform 0.25s ease;
}

.payment-modal__qr-img--loading {
  opacity: 0;
}

.payment-modal__qr-wrap--loading .payment-modal__qr-img-hit {
  pointer-events: none;
}

.payment-modal__qr-img:hover {
  transform: scale(1.05);
}

.payment-modal__qr-countdown {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(250, 204, 21, 0.88);
  text-align: center;
}

.payment-modal__payment-status {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.payment-modal__qr-note {
  margin: 0 0 0.75rem;
  font-size: 11px;
  line-height: 1.45;
  color: #777;
}

.payment-modal__qr-zoom {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.payment-modal__qr-zoom[hidden] {
  display: none !important;
}

.payment-modal__qr-zoom-frame {
  cursor: default;
  max-width: min(92vw, 420px);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 24px 64px rgba(0, 0, 0, 0.55);
}

.payment-modal__qr-zoom-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
}

@media (max-width: 767px) {
  .payment-modal__col--qr {
    text-align: center;
    padding-top: 0.5rem;
  }

  .payment-modal__qr-wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .payment-modal__qr-img-hit,
  .payment-modal__qr-img {
    max-width: 220px;
  }
}

.payment-modal__bank-details {
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-modal__bank-line {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #ccc;
}

.payment-modal__bank-line + .payment-modal__bank-line {
  margin-top: 6px;
}

.payment-modal__bank-line--legal {
  font-size: 0.75rem;
  color: #9ca3af;
  padding-left: 0.25rem;
}

.payment-modal__bank-k {
  display: inline-block;
  min-width: 4.25rem;
  margin-right: 0.35rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.payment-modal__discount-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.payment-modal__discount-msg {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #fbbf24;
}

.payment-modal__discount-msg[hidden] {
  display: none !important;
}

.payment-modal .discount-box {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.payment-modal .discount-box input {
  flex: 1;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
}

.payment-modal .discount-box input:focus {
  outline: none;
  border-color: rgba(250, 204, 21, 0.35);
}

.payment-modal .discount-box input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.payment-modal .discount-box button {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: #2a2a2a;
  color: #ccc;
  border: 1px solid #444;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.payment-modal .discount-box button:hover {
  background: #333;
  color: #fff;
  border-color: #555;
}

.payment-modal .discount-box button:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.45);
  outline-offset: 2px;
}

.payment-modal__price {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 28px rgba(255, 215, 0, 0.35),
    0 0 48px rgba(250, 204, 21, 0.2);
}

.payment-modal__transfer-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.payment-modal__transfer-code {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.42);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.06);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fef9c3;
  word-break: break-all;
  line-height: 1.4;
}

.payment-modal__copy-btn {
  flex-shrink: 0;
  align-self: center;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e5e5e5;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.payment-modal__copy-btn:hover {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.35);
  color: #facc15;
}

.payment-modal__copy-btn:focus-visible {
  outline: 2px solid rgba(250, 204, 21, 0.5);
  outline-offset: 2px;
}

.payment-modal__copy-btn--success {
  animation: payment-modal-copy-glow 0.6s ease-out 2;
  border-color: rgba(250, 204, 21, 0.65) !important;
  color: #fef9c3 !important;
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.25),
    0 0 24px rgba(250, 204, 21, 0.45);
}

@keyframes payment-modal-copy-glow {
  0% {
    box-shadow:
      0 0 0 1px rgba(250, 204, 21, 0.2),
      0 0 8px rgba(250, 204, 21, 0.15);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(250, 204, 21, 0.45),
      0 0 28px rgba(250, 204, 21, 0.55);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(250, 204, 21, 0.25),
      0 0 24px rgba(250, 204, 21, 0.45);
  }
}

.payment-modal__sepay-hint {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.4);
}

.payment-modal__success {
  padding: 2.5rem 36px;
  text-align: center;
}

.payment-modal__success-inner {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.payment-modal__success--show .payment-modal__success-inner {
  opacity: 1;
  transform: scale(1);
}

.payment-modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(22, 163, 74, 0.15) 100%);
  border: 1px solid rgba(34, 197, 94, 0.45);
  font-size: 1.5rem;
  font-weight: 800;
  color: #4ade80;
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.2);
}

.payment-modal__success-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fafafa;
}

.payment-modal__success-text {
  margin: 0 auto 1.5rem;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.payment-modal__success-cta {
  display: inline-flex;
  min-width: 12rem;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .payment-modal__dialog {
    animation: none;
  }

  .payment-modal__success-inner {
    transition-duration: 0.15s;
  }

  .payment-modal__qr-img {
    transition-duration: 0.15s;
  }

  .payment-modal__qr-img:hover {
    transform: none;
  }

  .payment-modal__qr-skeleton {
    animation: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .payment-modal__copy-btn--success {
    animation: none;
  }
}

/* —— Home image slider (below result showcase) —— */
.slider-section {
  margin-top: -60px;
  margin-bottom: 80px;
}

.slider-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider-track img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* —— Mobile UX only (max-width: 768px); desktop unchanged —— */
@media (max-width: 768px) {
  /* Hero banner: no stretch; optional dedicated mobile asset first in stack */
  .hero-banner::before {
    background:
      url("assets/hero-mobile.webp") center top / contain no-repeat,
      url("assets/hero-banner.webp") center top / contain no-repeat,
      url("assets/hero-banner.png") center top / contain no-repeat,
      url("assets/hero-banner.jpg") center top / contain no-repeat,
      url("assets/hero-banner.jpeg") center top / contain no-repeat,
      url("assets/hero-banner.gif") center top / contain no-repeat,
      #0a0a0b;
  }

  /* Home image slider: show full image, natural height */
  .slider-container {
    height: auto !important;
  }

  .slider-container img,
  .slider-track img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
  }

  /* Before/after: allow vertical page scroll; handle keeps horizontal drag */
  .compare {
    touch-action: pan-y !important;
  }

  .compare__handle {
    touch-action: pan-x !important;
  }

  /* Horizontal spacing for sections (Tailwind px-* still applies where larger) */
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
