body[data-site-style="cinematic"] {
  --bg: #060a12;
  --surface: rgba(16, 22, 40, 0.65);
  --surface-solid: #0f1525;
  --line: rgba(100, 160, 255, 0.12);
  --ink: #e8ecf4;
  --muted: #7a8498;
  --gold: #00d4ff;
  --gold-bright: #00d4ff;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.25);
  --accent-dim: rgba(0, 212, 255, 0.08);
  --success: #00e676;
  --text-faint: #4a5268;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body[data-site-style="cinematic"]::before,
body[data-site-style="cinematic"]::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body[data-site-style="cinematic"]::before {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(0, 100, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
}

body[data-site-style="cinematic"]::after {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

body[data-site-style="cinematic"] .site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 10, 18, 0.7);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

body[data-site-style="cinematic"] .nav-links a {
  color: var(--muted);
  font-weight: 500;
}

body[data-site-style="cinematic"] .nav-links a:hover {
  color: var(--ink);
}

body[data-site-style="cinematic"] .button-primary {
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: #000;
  border-color: transparent;
  box-shadow: none;
}

body[data-site-style="cinematic"] .button-primary:hover {
  box-shadow: 0 8px 30px var(--accent-glow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.ai-payment-hero {
  display: block;
  width: min(900px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: 100px 0 60px;
  color: var(--ink);
  text-align: center;
  background: transparent;
}

.ai-payment-copy {
  max-width: 800px;
  margin: 0 auto;
}

.ai-payment-copy h1 {
  max-width: 800px;
  margin: 0 auto;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

.ai-payment-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 20px);
  line-height: 1.7;
}

.ai-payment-copy .eyebrow,
.ai-payment-section .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 6px 18px;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ai-payment-summary,
.ai-checkout-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.ai-payment-summary {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 34px auto 0;
  padding: clamp(18px, 3vw, 26px);
  text-align: left;
}

.ai-payment-summary[hidden],
.checkout-section[hidden] {
  display: none;
}

.ai-payment-summary h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.ai-payment-summary p:not(.preview-label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.summary-price {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.summary-price__original,
.plan-price__original {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
}

.summary-price__original::after,
.plan-price__original::after {
  content: none;
}

.summary-price[data-promo-applied="true"] .summary-price__original::after,
.plan-price[data-promo-applied="true"] .plan-price__original::after {
  content: "";
  position: absolute;
  left: -0.15em;
  right: -0.15em;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: #ff3b30;
  transform: rotate(-14deg);
  transform-origin: center;
}

.plan-price[data-promo-applied="true"] > strong {
  color: var(--accent);
}

.summary-price strong {
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.summary-price span:last-child {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.ai-payment-section {
  padding: 80px 0;
  background: transparent;
}

.payment-dashboard-return {
  width: min(1180px, calc(100% - 28px));
  margin: 18px auto 0;
}

.payment-dashboard-return .button {
  width: max-content;
  max-width: 100%;
}

.ai-payment-section:first-child {
  padding-top: 18px;
}

.ai-payment-section .section-inner {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

.pricing-promo-panel {
  width: min(620px, 100%);
  margin: 0 auto 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 22, 40, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.pricing-promo-field {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.pricing-promo-field span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.pricing-promo-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.pricing-promo-field input[data-state="error"] {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.15);
}

.pricing-promo-apply {
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.ai-payment-section .section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.ai-payment-section .section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.ai-payment-section .section-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.55;
}

.ai-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.ai-price-card {
  position: relative;
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  cursor: pointer;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ai-price-card:hover {
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.ai-price-card:has(input:checked) {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow:
    0 0 0 3px rgba(0, 212, 255, 0.1),
    0 0 60px rgba(0, 212, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.3);
}

.ai-price-card.popular {
  background:
    linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 102, 255, 0.06)),
    var(--surface-solid);
}

.ai-price-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.plan-select-dot {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.ai-price-card:has(input:checked) .plan-select-dot {
  border-color: var(--accent);
  background:
    radial-gradient(circle, var(--accent) 0 42%, transparent 45%),
    var(--accent-dim);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 28px;
  padding: 5px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent), #0099cc);
  color: #000;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.plan-name {
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0;
}

.plan-desc,
.plan-footnote,
.plan-renewal {
  color: var(--muted);
  line-height: 1.5;
}

.plan-price {
  display: grid;
  gap: 5px;
  align-items: baseline;
  margin-top: 4px;
}

.plan-price__original-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.plan-price__original-row[hidden] {
  display: none;
}

.plan-price strong {
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.plan-price__original span {
  text-decoration: none;
}

.plan-discount {
  width: fit-content;
  padding: 4px 8px;
  border: 1px solid rgba(255, 59, 48, 0.34);
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.1);
  color: #ffb1ab;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.plan-price__term {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.plan-renewal {
  font-size: 0.8125rem;
  font-weight: 500;
}

.plan-minutes {
  width: fit-content;
  padding: 8px 11px;
  border: 1px solid rgba(0, 230, 118, 0.22);
  border-radius: 999px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--success);
  font-size: 0.86rem;
  font-weight: 700;
}

.checkout-section {
  background: rgba(0, 212, 255, 0.03);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.64fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: start;
}

.checkout-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.checkout-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.checkout-points {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checkout-points li {
  position: relative;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 800;
}

.checkout-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.ai-checkout-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
}

.selected-checkout-pack {
  display: grid;
  gap: 4px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.selected-checkout-pack span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.selected-checkout-pack strong {
  color: var(--ink);
  line-height: 1.35;
}

.promo-terms {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(0, 230, 118, 0.24);
  border-radius: 16px;
  background: rgba(0, 230, 118, 0.08);
}

.promo-terms[hidden] {
  display: none;
}

.promo-terms strong {
  color: #98f5bf;
  font-size: 0.92rem;
}

.promo-terms p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.ai-payment-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ai-checkout-panel label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.ai-checkout-panel input {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ai-checkout-panel input[data-state="error"] {
  border-color: #ff8a8a;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.15);
}

.details-acknowledgement {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 212, 255, 0.06);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.45;
}

.details-acknowledgement input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.2em;
  padding: 0;
  accent-color: var(--accent);
}

.details-acknowledgement input[data-state="error"] {
  outline: 3px solid rgba(255, 82, 82, 0.25);
  outline-offset: 2px;
}

.field-error {
  color: #ffb4b4;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.35;
}

.ai-payment-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ai-payment-status[data-state="error"] {
  color: #ffb4b4;
}

.ai-payment-status[data-state="success"] {
  color: #98f5bf;
}

.promo-code-field {
  grid-column: 1 / -1;
}

.promo-code-message {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  font-size: 0.82rem;
  font-weight: 600;
}

.promo-code-message[data-state="success"] {
  color: #98f5bf;
}

.promo-code-message[data-state="error"] {
  color: #ffb4b4;
}

.ai-payment-submit {
  width: 100%;
}

@media (max-width: 860px) {
  .pricing-promo-field span {
    grid-template-columns: 1fr;
  }

  .pricing-promo-apply {
    width: 100%;
  }

  .ai-payment-hero,
  .ai-plan-grid,
  .checkout-layout,
  .ai-payment-fields {
    grid-template-columns: 1fr;
  }

  .ai-payment-hero {
    min-height: 0;
    padding-top: 42px;
  }

  .ai-payment-copy h1 {
    font-size: 2.55rem;
  }

  .ai-payment-summary,
  .ai-checkout-panel {
    width: 100%;
  }

  .details-acknowledgement {
    grid-template-columns: 1fr;
  }
}
