/* ==========================================================================
   Frictionless Checkout Stylesheet — Cyber Dark & Electric Neon
   ========================================================================== */

.checkout-page {
  padding: 40px 0 80px 0;
  min-height: 100vh;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.1);
  position: relative;
}

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

.form-header h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #E2E8F0;
}

.form-label span.required {
  color: var(--accent-red);
  text-shadow: 0 0 6px rgba(255, 42, 85, 0.5);
}

.form-label span.optional {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: normal;
  margin-left: 6px;
}

.form-input {
  width: 100%;
  background: #060812;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  color: #FFFFFF;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.45);
}

.field-helper {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 6px;
  display: block;
}

/* ================= Upsell Bonus Order Bumps ================= */
.order-bumps-section {
  background: rgba(0, 240, 255, 0.04);
  border: 2px solid rgba(0, 240, 255, 0.45);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.12);
}

.order-bump-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00FF9D 0%, #00F0FF 100%);
  color: #030712;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.8px;
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.5);
}

.order-bump-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.order-bump-header p {
  font-size: 0.88rem;
  color: #BAE6FD;
  margin-bottom: 16px;
  line-height: 1.45;
}

.bump-bundle-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255, 230, 0, 0.08) 0%, rgba(0, 240, 255, 0.06) 100%);
  border: 2px solid rgba(255, 230, 0, 0.5);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.25s ease;
  box-shadow: 0 0 15px rgba(255, 230, 0, 0.15);
}

.bump-bundle-option:hover {
  background: linear-gradient(135deg, rgba(255, 230, 0, 0.14) 0%, rgba(0, 240, 255, 0.1) 100%);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 25px rgba(255, 230, 0, 0.3);
}

.bump-bundle-option.selected {
  background: linear-gradient(135deg, rgba(255, 230, 0, 0.18) 0%, rgba(0, 255, 157, 0.12) 100%);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 30px rgba(255, 230, 0, 0.4);
}

.bump-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.bump-bundle-details {
  flex: 1;
}

.bump-bundle-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 8px;
}

.bump-bundle-title {
  font-weight: 800;
  font-size: 1rem;
  color: #FFFFFF;
}

.bump-bundle-price {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--accent-yellow);
  text-shadow: 0 0 8px rgba(255, 230, 0, 0.5);
}

.bump-strike {
  font-size: 0.85rem;
  color: var(--accent-red);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 600;
}

.bump-bundle-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.bump-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.bump-divider::before, .bump-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.2);
}

.bump-divider span {
  padding: 0 12px;
  color: var(--accent-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

.bump-individual-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bump-item-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #080B14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bump-item-card:hover {
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.bump-item-card.selected {
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.28);
}

.bump-item-content {
  flex: 1;
}

.bump-item-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.bump-item-title {
  color: #FFFFFF;
}

.bump-item-price {
  color: var(--accent-cyan);
  font-weight: 800;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

.bump-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Gateway Selection */
.gateway-selection-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 14px 0;
  color: #E2E8F0;
}

.gateway-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.gateway-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080B14;
  border: 2px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
}

.gateway-option:hover {
  border-color: rgba(0, 255, 157, 0.4);
}

.gateway-option.selected {
  border-color: var(--accent-green);
  background: rgba(0, 255, 157, 0.08);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.25);
}

.gateway-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gateway-radio {
  accent-color: var(--accent-green);
  width: 18px;
  height: 18px;
}

.gateway-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.gateway-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 230, 0, 0.15);
  color: var(--accent-yellow);
}

.gateway-tag.simulation {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.35);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

.gateway-tag.production {
  background: rgba(0, 255, 157, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 255, 157, 0.35);
  text-shadow: 0 0 6px rgba(0, 255, 157, 0.4);
}

/* Order Summary Box */
.order-summary-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 157, 0.35);
  border-radius: 18px;
  padding: 28px;
  position: sticky;
  top: 24px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 255, 157, 0.15);
}

.summary-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 255, 157, 0.2);
  color: #FFFFFF;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.summary-item-title {
  font-weight: 600;
}

.summary-item-subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.checkout-ai-usp-box {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12) 0%, rgba(0, 255, 157, 0.08) 100%);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.12);
}

.ai-usp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 240, 255, 0.5);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

.ai-usp-text {
  font-size: 0.82rem;
  color: #E2E8F0;
  line-height: 1.45;
  margin: 0;
}

.summary-bonus-list {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 16px 0;
  font-size: 0.85rem;
  color: #C0FFE3;
}

.summary-bonus-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.summary-bonus-item:last-child {
  margin-bottom: 0;
}

.summary-divider {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  margin: 16px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.summary-total-val {
  color: var(--accent-green);
  font-size: 1.7rem;
  text-shadow: 0 0 15px rgba(0, 255, 157, 0.6);
}

.trust-badges-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ================= Simulator Modal ================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #0A0D18;
  border: 1px solid var(--accent-cyan);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 240, 255, 0.25);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #FFFFFF;
}

.sim-qr-box {
  background: #FFFFFF;
  padding: 16px;
  border-radius: 12px;
  display: inline-block;
  margin: 20px 0;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

.sim-qr-code {
  width: 160px;
  height: 160px;
  display: block;
}

.sim-apps {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.sim-app-badge {
  background: #080B14;
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .order-summary-box {
    position: static;
    top: auto;
  }
}

/* Social Proof Micro-Review Ticker */
.checkout-review-ticker {
  background: rgba(8, 11, 20, 0.95);
  border: 1px solid rgba(0, 240, 255, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.ticker-stars {
  font-size: 0.85rem;
  color: #FFE600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  text-shadow: 0 0 8px rgba(255, 230, 0, 0.5);
}

.ticker-score {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 800;
}

.ticker-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #CBD5E1;
  font-style: italic;
  margin-bottom: 10px;
}

.ticker-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ticker-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F0FF, #00FF9D);
  color: #020712;
  font-weight: 800;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= Checkout Error Banner ================= */
.checkout-error-banner {
  background: rgba(255, 42, 85, 0.12);
  border: 1.5px solid rgba(255, 42, 85, 0.65);
  box-shadow: 0 0 25px rgba(255, 42, 85, 0.25);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: fadeInShake 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-error-icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 42, 85, 0.6));
}

.checkout-error-content {
  flex: 1;
}

.checkout-error-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FF2A55;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(255, 42, 85, 0.4);
}

.checkout-error-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #F8FAFC;
  margin: 0;
}

@keyframes fadeInShake {
  0% { opacity: 0; transform: translateY(-6px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { opacity: 1; transform: translateY(0); }
}
