:root {
  --bg: #050309;
  --primary: #c026d3;
  --primary-2: #891cff;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --muted-2: rgba(255, 255, 255, 0.4);
  --line: rgba(255, 255, 255, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  display: block;
  flex-shrink: 0;
}

.icon-sm {
  width: 0.95em;
  height: 0.95em;
}

.bg-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.8;
  background:
    radial-gradient(70% 38% at 100% 0%, rgba(192, 38, 211, 0.21), transparent 70%),
    radial-gradient(55% 40% at 0% 45%, rgba(109, 0, 140, 0.25), transparent 70%),
    radial-gradient(45% 30% at 100% 90%, rgba(192, 38, 211, 0.13), transparent 75%);
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 570px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}

/* Header — espelha CheckoutHeader */
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(217, 70, 239, 0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(217, 70, 239, 0.45);
}

.brand-avatar--fallback {
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  background: linear-gradient(135deg, var(--primary), #761cff);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.8);
}

.secure-badge .icon {
  color: #e879f9;
  width: 16px;
  height: 16px;
}

.secure-badge small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

/* Hero — espelha CheckoutHero */
.hero {
  position: relative;
  margin-top: 8px;
  min-height: 360px;
  overflow: hidden;
  border-radius: 0;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #06030a 0%, rgba(6, 3, 10, 0.8) 45%, transparent 100%),
    linear-gradient(0deg, #06030a 0%, transparent 55%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
  position: absolute;
  left: 4px;
  right: 16px;
  bottom: 28px;
  z-index: 2;
  max-width: 340px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, rgba(192, 38, 211, 0.8), rgba(124, 32, 255, 0.8));
}

.hero h1 {
  margin-top: 12px;
  font-size: clamp(28px, 8vw, 36px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero-accent {
  display: block;
  margin-top: 4px;
  font-size: clamp(34px, 10vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  text-shadow: 0 0 22px rgba(192, 38, 211, 0.4);
}

.hero-desc {
  margin-top: 12px;
  max-width: 310px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

/* Premium card — espelha .premium-card do checkout */
.premium-card {
  margin-top: 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 48%, transparent);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(18, 9, 27, 0.98), rgba(7, 5, 14, 0.98));
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 0 30px color-mix(in srgb, var(--primary) 8%, transparent);
}

.gate-card {
  padding: 28px 20px 22px;
  text-align: center;
}

.gate-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--primary) 22%, transparent);
}

.gate-icon .icon {
  width: 28px;
  height: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}

.gate-card h2 {
  font-size: clamp(24px, 6vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.gate-card .hl {
  color: var(--primary);
  text-shadow: 0 0 18px rgba(192, 38, 211, 0.35);
}

.gate-sub {
  margin: 10px auto 22px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.gate-choices {
  display: grid;
  gap: 10px;
}

.gate-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 14px 16px;
  border-radius: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.gate-choice:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.06);
}

.gate-choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 28%, transparent), color-mix(in srgb, var(--primary) 6%, transparent));
  color: var(--primary);
  box-shadow: 0 0 14px color-mix(in srgb, var(--primary) 18%, transparent);
}

.gate-choice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gate-choice-text strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gate-choice-text small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.gate-choice--yes {
  border-color: color-mix(in srgb, var(--primary) 55%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 14%, transparent), transparent 70%);
}

.gate-choice--yes:hover {
  border-color: var(--primary);
  box-shadow: 0 0 24px color-mix(in srgb, var(--primary) 22%, transparent);
}

.gate-choice--no:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.gate-choice.is-disabled,
.gate-choice[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.gate-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

.gate-note .icon {
  color: var(--primary);
}

/* Footer — espelha FinalCta */
.final-cta {
  padding: 36px 0 8px;
  text-align: center;
}

.final-cta-line {
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.25;
  transform: rotate(-2deg);
  color: var(--primary);
  text-shadow: 0 0 18px rgba(192, 38, 211, 0.33);
}

.final-cta-line span {
  display: block;
}

.final-cta-brand {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.final-cta-brand img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.final-cta-brand strong {
  display: block;
  font-size: 12px;
  color: #fff;
}

.final-cta-brand small {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 480px) {
  .hero {
    min-height: 420px;
  }

  .gate-card {
    padding: 32px 24px 24px;
  }
}
