:root {
  color-scheme: dark;
  --primary: #2563eb;
  --primary-bright: #3b82f6;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --yellow: #fbbf24;
  --white: #ffffff;
  --bg-dark: #090d16;
  --card-bg: #111827;
  --border-card: #1f2937;
  --page-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--bg-dark);
  color: #f1f5f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.page-shell {
  width: min(var(--page-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 74px;
}

.hero { text-align: center; }
.hero h1 {
  margin: 0 auto 20px;
  max-width: 1060px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
  font-weight: 850;
  overflow-wrap: anywhere;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent-light); }
.hero h2 {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  color: #cbd5e1;
}
.hero h2 span { color: #38bdf8; font-weight: 800; }

.video-frame {
  width: 100%;
  border: 2px solid var(--primary);
  background: #000;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Authentic Comic Vault Showcase Frame (Safe Page Hero) */
.showcase-frame {
  width: 100%;
  border: 2px solid var(--primary);
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  border-radius: 12px;
  padding: 18px 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.showcase-badge {
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.showcase-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 10px;
}
.showcase-card {
  width: 28%;
  max-width: 135px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s;
  display: block;
}
.card-center {
  width: 36%;
  max-width: 160px;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
  border: 2px solid var(--yellow);
  transform: scale(1.05);
}
.showcase-caption {
  font-size: 13px;
  color: #f8fafc;
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.35;
}

.buy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 58px;
  margin: 39px auto 16px;
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--yellow);
  color: #050505;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 7px 20px rgba(255, 204, 11, .15);
  transition: transform .18s ease, filter .18s ease;
}
.buy-button:hover { transform: translateY(-2px); filter: brightness(1.06); }

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 72px;
  margin: 0 auto;
}
.countdown div { display: grid; min-width: 50px; }
.countdown strong { font-size: 2rem; line-height: 1; font-weight: 400; letter-spacing: 1px; }
.countdown small { margin-top: 5px; color: #d9e70f; font-size: .67rem; font-weight: 700; }
.countdown b { font-size: 2rem; line-height: .9; font-weight: 400; }

.section {
  border-top: 1px dashed #aaa;
  padding-top: 36px;
  margin-top: 10px;
}
.section-bar {
  margin: 0 0 24px;
  padding: 12px 18px;
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.5px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #0f172a 100%);
  border-left: 5px solid var(--yellow);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.25);
}
.benefits { margin: 0 0 29px; }
.benefits p { margin: 6px 0; font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 800; color: #f8fafc; }
.benefits p::first-letter { color: var(--yellow); }

.image-grid { display: grid; gap: 20px; }
.sample-grid { grid-template-columns: repeat(3, 1fr); }
.feedback-grid { grid-template-columns: repeat(3, 1fr); }
figure {
  margin: 0;
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
figure:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}
.sample-grid figure { aspect-ratio: 768 / 852; }
.feedback-grid figure { aspect-ratio: 635 / 1024; }
figure img { display: block; width: 100%; height: 100%; object-fit: cover; }

.sample-buy { margin-top: 34px; margin-bottom: 18px; }
.feedback { margin-top: 16px; }
.feedback h2 { margin: 0 0 33px; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.25; }
.second-buy { margin-top: 48px; }
.offer-note { margin: -5px 0 12px; text-align: center; font-size: .82rem; }

.faq { margin-top: 42px; padding-bottom: 70px; }
.faq h2 { margin: 22px 0 28px; text-align: center; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.accordion { border: 1px solid #ddd; }
.accordion details { border-bottom: 1px solid #ddd; }
.accordion details:last-child { border-bottom: 0; }
.accordion summary {
  position: relative;
  padding: 16px 18px 16px 42px;
  cursor: pointer;
  color: #f0f0f0;
  font-size: 1rem;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::before { content: "+"; position: absolute; left: 14px; top: 13px; font-size: 1.35rem; }
.accordion details[open] summary::before { content: "−"; }
.accordion p { margin: 0; padding: 0 20px 19px 42px; color: #ddd; line-height: 1.55; }

.mobile-cta { display: none; }

/* ========================================================================== */
/* RAZORPAY STANDARD POPUP CHECKOUT (EXACT REPLICA DESIGN)                    */
/* ========================================================================== */
.rzp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: rzpFadeIn 0.2s ease-out;
  box-sizing: border-box;
}
.rzp-backdrop.open { display: flex; }

@keyframes rzpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rzp-modal {
  background: #ffffff;
  color: #1e293b;
  border-radius: 18px;
  width: 100%;
  max-width: 420px;
  max-height: 94vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  animation: rzpSlideUp 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rzpSlideUp {
  from { transform: translateY(20px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Razorpay Header: Premium Royal Blue */
.rzp-header {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  color: #ffffff;
  padding: 16px 18px 14px;
  position: relative;
}

.rzp-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rzp-merchant-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rzp-merchant-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  color: #0c2340;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.rzp-merchant-meta {
  display: flex;
  flex-direction: column;
}

.rzp-merchant-name {
  font-size: 15px;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.25;
}

.rzp-trusted-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #34d399;
  margin-top: 2px;
  font-weight: 600;
}

.rzp-close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
.rzp-close:hover { color: #ffffff; }

/* Amount Strip in Header */
.rzp-amount-strip {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rzp-amount-label {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rzp-amount-val {
  font-size: 22px;
  font-weight: 850;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.rzp-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  color: #e2e8f0;
  cursor: pointer;
  transition: background 0.15s;
}
.rzp-user-pill:hover { background: rgba(255, 255, 255, 0.2); }

/* Body Screen Steps */
.rzp-body {
  padding: 18px 20px;
  display: none;
  background: #ffffff;
  flex: 1;
}
.rzp-body.active { display: block; }

.rzp-section-title {
  font-size: 13.5px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 4px;
}

.rzp-subtext {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.4;
}

/* Form Inputs */
.rzp-input-group {
  margin-bottom: 14px;
}
.rzp-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
}

.rzp-phone-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #f8fafc;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rzp-phone-wrap:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.rzp-country-code {
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border-right: 1px solid #cbd5e1;
}
.rzp-phone-wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 11px 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
}

.rzp-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rzp-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* ========================================================================== */
/* CREATORSPACK-STYLE CLEAN SETUP MODAL (SCREEN 1)                            */
/* ========================================================================== */
.cp-contact-screen {
  position: relative;
  padding: 24px 22px 20px !important;
  background: #ffffff;
  box-sizing: border-box;
  width: 100%;
}
.cp-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 28px;
  font-weight: 400;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
  z-index: 10;
}
.cp-close-btn:hover, .cp-close-btn:active {
  color: #0f172a;
  background: #f1f5f9;
}
.cp-modal-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.cp-modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  margin: 0 0 4px;
  line-height: 1.25;
}
.cp-modal-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.45;
}
.cp-plan-name {
  font-weight: 700;
  color: #2563eb;
}
.cp-plan-price {
  font-weight: 800;
  color: #16a34a;
  font-size: 15px;
}
.cp-input-group {
  margin-bottom: 14px;
  text-align: left;
}
.cp-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.cp-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.cp-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.cp-input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15);
}
.cp-field-hint {
  font-size: 11px;
  color: #64748b;
  margin: 5px 0 0 2px;
  line-height: 1.35;
}
.cp-submit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: clamp(14px, 4vw, 15.5px);
  font-weight: 700;
  letter-spacing: -0.2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all 0.15s ease;
  box-sizing: border-box;
  font-family: inherit;
}
.cp-submit-btn:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}
.cp-submit-btn:active {
  transform: scale(0.985);
}
.cp-submit-btn .btn-main {
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
}
.cp-submit-btn .btn-sub {
  font-size: 11px;
  font-weight: 500;
  color: #dcfce7;
  opacity: 0.95;
}
.cp-trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 2px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.cp-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* SCREEN 2: YOUPI AUTO-LISTENER & UPI SCREEN */
.rzp-listener-bar {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #166534;
  margin-bottom: 12px;
}
.rzp-pulse-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: rzpPulse 1.4s infinite;
  flex-shrink: 0;
}
@keyframes rzpPulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}
.rzp-timer {
  margin-left: auto;
  font-family: monospace;
  font-weight: 700;
  color: #dc2626;
  background: #fee2e2;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* HERO QR CODE CARD (MOBILE OPTIMIZED) */
.rzp-qr-hero-card {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.rzp-qr-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 11px;
  font-weight: 750;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.rzp-qr-wrapper {
  position: relative;
  display: inline-block;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.rzp-qr-wrapper img {
  display: block;
  border-radius: 6px;
  width: 190px;
  height: 190px;
}
.rzp-qr-merchant-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: #334155;
  flex-wrap: wrap;
}
.rzp-qr-amt-tag {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.rzp-qr-name-tag {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
}
.rzp-save-hero-btn {
  width: 100%;
  margin-top: 12px;
  padding: 13px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 750;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s, background 0.15s;
}
.rzp-save-hero-btn:active {
  transform: scale(0.98);
}

/* SIMPLE 3-STEP MOBILE GUIDE */
.rzp-mobile-guide {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.rzp-guide-title {
  font-size: 12px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 6px;
}
.rzp-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rzp-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #334155;
  line-height: 1.35;
}
.rzp-step-item .step-num {
  width: 18px;
  height: 18px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rzp-guide-note {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  padding: 4px 8px;
  border-radius: 6px;
  border-left: 3px solid #16a34a;
}

/* COLLAPSIBLE APP FALLBACK DETAILS */
.rzp-app-fallback-details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
  background: #f8fafc;
}
.rzp-app-fallback-details summary {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  outline: none;
}

/* Razorpay UPI QR Card */
.rzp-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}
.rzp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.rzp-instant-tag {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 750;
}

.rzp-qr-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.rzp-qr-frame {
  position: relative;
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  flex-shrink: 0;
  overflow: hidden;
}
.rzp-qr-frame img { display: block; border-radius: 4px; }
.rzp-qr-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  box-shadow: 0 0 6px #2563eb;
  animation: rzpScan 2s ease-in-out infinite alternate;
}
@keyframes rzpScan {
  from { top: 6px; }
  to { top: calc(100% - 8px); }
}

.rzp-qr-instructions { flex: 1; }
.rzp-qr-title { font-size: 13.5px; font-weight: 750; color: #0f172a; margin-bottom: 3px; }
.rzp-qr-desc { font-size: 11.5px; color: #64748b; line-height: 1.4; margin-bottom: 8px; }

.rzp-upi-icons { display: flex; gap: 5px; flex-wrap: wrap; }
.upi-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
}

/* High-Converting 1-Tap Primary UPI Button */
.rzp-primary-upi-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  padding: 13px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 850;
  font-size: 15px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
  text-align: center;
  margin-bottom: 6px;
}
.rzp-primary-upi-btn:hover, .rzp-primary-upi-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}
.rzp-primary-upi-btn small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 2px;
}

/* Dedicated UPI ID Card */
.rzp-upi-id-card {
  background: #f8fafc;
  border: 1.5px dashed #0284c7;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
}
.rzp-upi-id-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #0369a1;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.rzp-upi-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rzp-upi-id-row code {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  background: #e0f2fe;
  padding: 3px 6px;
  border-radius: 4px;
  word-break: break-all;
}
.rzp-upi-id-sub {
  font-size: 10.5px;
  color: #64748b;
  margin-top: 5px;
}

/* Save QR to Gallery button */
.rzp-save-qr-btn {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  border: 0;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  margin: 4px 0;
  transition: background 0.15s;
}
.rzp-save-qr-btn:hover { background: #1d4ed8; }

/* Direct UTR Box */
.rzp-utr-box {
  margin-top: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}
.rzp-utr-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

/* Pay using UPI App Grid: High-converting 2x2 touch layout */
.rzp-app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.rzp-app-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  text-decoration: none;
  color: #0f172a;
  transition: all 0.16s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.rzp-app-item:hover, .rzp-app-item:active {
  border-color: #2563eb;
  background: #f0f7ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.14);
}
.rzp-app-logo-box {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rzp-app-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.rzp-app-name {
  font-size: 13px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.2;
}
.rzp-app-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: #16a34a;
  margin-top: 1px;
}
.rzp-chevron {
  flex-shrink: 0;
  margin-left: auto;
}

/* Fallback VPA & Manual UTR */
.rzp-fallback-box {
  margin-top: 14px;
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
}
.rzp-vpa-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
  margin-bottom: 8px;
}
.rzp-copy-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.rzp-copy-btn:hover { background: #e2e8f0; }

.rzp-utr-details {
  font-size: 11.5px;
  color: #64748b;
}
.rzp-utr-details summary {
  cursor: pointer;
  color: #2563eb;
  font-weight: 600;
  margin-bottom: 6px;
}
.rzp-utr-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.rzp-utr-row input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 1px;
  outline: none;
}
.rzp-utr-row button {
  background: #0f172a;
  color: #ffffff;
  border: 0;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.rzp-utr-feedback { font-size: 11px; margin-top: 4px; display: none; }

/* SCREEN 3: SUCCESS ANIMATION & UNLOCK */
.rzp-success-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #10b981;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
  animation: rzpPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes rzpPop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.rzp-success-title {
  font-size: 21px;
  font-weight: 850;
  color: #0f172a;
  margin: 0 0 4px;
}
.rzp-success-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px;
}

.rzp-delivery-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
}
.rzp-delivery-head {
  font-size: 11.5px;
  font-weight: 800;
  color: #059669;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.rzp-download-btn {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 8px;
  transition: transform 0.1s, filter 0.15s;
}
.rzp-download-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.rzp-download-btn.mega { background: #dc2626; color: #ffffff; }
.rzp-download-btn.gdrive { background: #2563eb; color: #ffffff; margin-bottom: 0; }

/* Razorpay Footer */
.rzp-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #64748b;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}
.rzp-footer-left { display: flex; align-items: center; gap: 5px; }
.rzp-footer-badges { font-weight: 600; color: #94a3b8; }

/* Mobile responsiveness */
@media (max-width: 700px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .page-shell { width: min(calc(100% - 20px), 560px); padding: 13px 0 30px; }
  .desktop-break { display: none; }
  .hero h1 { font-size: clamp(1.65rem, 8vw, 2rem); line-height: 1.18; margin-bottom: 18px; }
  .hero h2 { font-size: clamp(1rem, 4.5vw, 1.08rem); margin-bottom: 17px; }
  .buy-button { width: 100%; min-height: 56px; margin-top: 22px; padding: 15px 10px; font-size: clamp(.98rem, 4.4vw, 1.12rem); }
  .sample-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .feedback-grid { grid-template-columns: 1fr; gap: 14px; }
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 20;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 13px 14px;
    border-radius: 8px;
    background: var(--yellow);
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 6px 30px rgba(0,0,0,.75);
  }

  .rzp-backdrop {
    padding: 10px;
    align-items: center;
  }
  .rzp-modal {
    width: 100%;
    max-width: 410px;
    border-radius: 18px;
    max-height: 92vh;
    margin: auto;
  }
  .cp-contact-screen {
    padding: 22px 18px 18px !important;
  }
  .cp-modal-title {
    font-size: 20px;
  }
  .cp-modal-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .cp-input-group {
    margin-bottom: 12px;
  }
  .cp-label {
    font-size: 12.5px;
    margin-bottom: 4px;
  }
  .cp-input {
    padding: 11px 13px;
    font-size: 14.5px;
    border-radius: 8px;
  }
  .cp-submit-btn {
    padding: 13px 14px;
    font-size: 15px;
    border-radius: 10px;
  }
}


/* ========================================================================== */
/* HIGH-CONVERTING FINTECH REDIRECT OVERLAY (SUPERPROFILE GATEWAY)            */
/* ========================================================================== */
.redirect-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 16px;
  box-sizing: border-box;
}

.redirect-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.redirect-card {
  background: #ffffff;
  color: #0f172a;
  width: min(100%, 410px);
  border-radius: 20px;
  padding: 30px 22px 24px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.redirect-overlay.active .redirect-card {
  transform: translateY(0) scale(1);
}

.redirect-icon-box {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
}

.redirect-spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: #2563eb;
  border-right-color: #38bdf8;
  animation: redirectSpin 0.75s linear infinite;
  box-sizing: border-box;
}

.redirect-lock-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  user-select: none;
}

.redirect-title {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
  font-family: inherit;
}

.redirect-desc {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 18px;
  line-height: 1.4;
  font-family: inherit;
}

.redirect-bar-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.redirect-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  border-radius: 999px;
  animation: redirectBarProgress 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.redirect-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #0369a1;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.redirect-subhint {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
  font-weight: 500;
  font-family: inherit;
}

@keyframes redirectSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes redirectBarProgress {
  0% { width: 5%; }
  35% { width: 45%; }
  75% { width: 85%; }
  100% { width: 100%; }
}
