/**
 * Rameez Scripts — Payment Gateway design system
 * Developed by Mohammad Rameez Imdad (Rameez Scripts)
 * WhatsApp: https://wa.me/923224083545 (For Custom Projects)
 * YouTube: https://www.youtube.com/@rameezimdad (Subscribe for more!)
 */

:root {
  --navy-primary: #001f3f;
  --navy-dark: #001529;
  --navy-light: #003366;
  --navy-accent: #0074D9;
  --navy-hover: #002a52;
  --success: #24B47E;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #DF1B41;
  --danger-bg: #fef2f2;
  --border: #E3E8EE;
  --border-strong: #c9d1dd;
  --text: #1A1F36;
  --text-muted: #525F7F;
  --text-light: #8898AA;
  --bg: #F6F9FC;
  --bg-card: #ffffff;
  --bg-subtle: #FAFBFC;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.06);
  --shadow-md: 0 6px 18px rgba(16,24,40,.08);
  --shadow-lg: 0 14px 40px rgba(16,24,40,.14);
  --shadow-pop: 0 24px 60px rgba(0,31,63,.18);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --ring: 0 0 0 4px rgba(0,116,217,.15);
  --tx: cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  background-image:
    radial-gradient(at 12% 8%,  rgba(0,116,217,.10) 0, transparent 32%),
    radial-gradient(at 88% 4%,  rgba(36,180,126,.06) 0, transparent 28%),
    radial-gradient(at 50% 95%, rgba(0,31,63,.07)  0, transparent 38%),
    radial-gradient(at 95% 65%, rgba(0,116,217,.07) 0, transparent 30%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
input, select, textarea, button { font-family: inherit; }
input, select, textarea { font-size: 16px; touch-action: manipulation; }
img { max-width: 100%; display: block; }
a { color: var(--navy-accent); text-decoration: none; transition: color .15s var(--tx); }
a:hover { color: var(--navy-hover); }

/* trust strip — top of every page */
.trust-strip {
  display: flex; justify-content: center; align-items: center; gap: 28px;
  padding: 10px 16px; background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-muted);
  flex-wrap: wrap;
}
.trust-strip-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.trust-strip-item i { color: var(--success); }

/* app logo / brand */
.app-brand { display: inline-flex !important; align-items: center; gap: 12px; }
.app-brand-img { height: 44px !important; width: 44px !important; max-width: 44px !important; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); flex: 0 0 44px; }
.app-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.app-brand-name { font-size: 15px; font-weight: 700; color: var(--navy-primary); letter-spacing: -.01em; }
.app-brand-tagline { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }

/* page top bar (above content) */
.topbar {
  display: flex !important; justify-content: space-between; align-items: center;
  padding: 14px 28px; background: var(--bg-card); border-bottom: 1px solid var(--border);
  width: 100%; flex-wrap: nowrap;
}
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; transition: all .2s var(--tx);
}
.icon-btn:hover { color: var(--navy-primary); border-color: var(--navy-accent); background: rgba(0,116,217,.06); transform: translateY(-1px); }
@media(max-width: 640px) { .topbar { padding: 14px 18px; } .app-brand-tagline { display: none; } }

/* progress stepper */
.progress-steps {
  display: flex; justify-content: space-between; align-items: flex-start;
  max-width: 540px; margin: 30px auto; padding: 0 14px; position: relative;
}
.progress-steps::before {
  content: ''; position: absolute; top: 18px; left: 14px; right: 14px;
  height: 3px; background: var(--border); z-index: 0; border-radius: 2px;
}
.progress-steps-fill {
  position: absolute; top: 18px; left: 14px;
  height: 3px; background: linear-gradient(90deg, var(--success), var(--navy-accent));
  z-index: 1; border-radius: 2px; transition: width .6s var(--tx);
}
.progress-step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; z-index: 2; gap: 8px; }
.step-circle {
  width: 38px; height: 38px; border-radius: 50%; background: var(--bg-card);
  border: 2px solid var(--border); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: var(--text-light); transition: all .3s var(--tx);
}
.progress-step.active .step-circle {
  background: var(--navy-accent); border-color: var(--navy-accent); color: white;
  box-shadow: 0 0 0 6px rgba(0,116,217,.15); animation: pulseRing 2s infinite;
}
.progress-step.completed .step-circle { background: var(--success); border-color: var(--success); color: white; }
.progress-step.failed .step-circle { background: var(--danger); border-color: var(--danger); color: white; }
.step-label { font-size: 12px; font-weight: 500; color: var(--text-light); text-align: center; }
.progress-step.active .step-label { color: var(--navy-accent); font-weight: 600; }
.progress-step.completed .step-label { color: var(--success); font-weight: 600; }
.progress-step.failed .step-label { color: var(--danger); font-weight: 600; }
@keyframes pulseRing { 0%,100% { box-shadow: 0 0 0 6px rgba(0,116,217,.15); } 50% { box-shadow: 0 0 0 10px rgba(0,116,217,.05); } }
@media(max-width: 540px) { .step-circle { width: 32px; height: 32px; font-size: 12px; } .step-label { font-size: 10px; } .progress-steps::before, .progress-steps-fill { top: 15px; } }

/* page card */
.page-card {
  width: 92%; max-width: 620px; margin: 24px auto;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 36px 32px; animation: cardIn .4s var(--tx);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width: 640px) { .page-card { padding: 26px 20px; } }

/* section title */
.section-title { font-size: 11px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.section-title i { color: var(--navy-accent); }

/* form */
.form-group { margin-bottom: 18px; }
.form-label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-label i { color: var(--text-light); font-size: 12px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 16px; background: var(--bg-card); color: var(--text); transition: border-color .15s var(--tx), box-shadow .15s var(--tx), background .15s var(--tx);
}
.form-control:hover { border-color: var(--border-strong); }
.form-control:focus { outline: none; border-color: var(--navy-accent); box-shadow: var(--ring); }
.form-control.error { border-color: var(--danger); background: var(--danger-bg); }
.form-control.error:focus { box-shadow: 0 0 0 4px rgba(223,27,65,.12); }
.form-control.success { border-color: var(--success); padding-right: 38px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%2324B47E'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") right 14px center/16px no-repeat var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media(max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.error-message { color: var(--danger); font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 5px; animation: msgIn .25s var(--tx), shake .3s var(--tx); }
.success-message { color: var(--success); font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 5px; animation: msgIn .25s var(--tx); }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: translateY(0); } }

.input-group { position: relative; display: flex; }
.input-prefix {
  display: inline-flex; align-items: center; padding: 0 14px;
  background: var(--bg-subtle); border: 1.5px solid var(--border); border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: .04em;
}
.input-group .form-control { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; flex: 1; }
.input-group:focus-within .input-prefix { border-color: var(--navy-accent); color: var(--navy-accent); background: rgba(0,116,217,.05); }

.field-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 8px 12px; background: var(--success-bg); border: 1px solid #a7f3d0; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600; color: #15803d; animation: slideDown .3s var(--tx); }
.field-hint .field-hint-meta { color: var(--text-light); font-weight: 400; margin-left: 4px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: none; border-radius: var(--radius-sm); cursor: pointer;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: all .15s var(--tx); min-height: 46px; touch-action: manipulation;
}
.btn-primary { background: var(--navy-primary); color: white; }
.btn-primary:hover { background: var(--navy-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); color: white; }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: var(--text-light); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary { background: var(--bg-subtle); color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { background: var(--border); color: var(--text); transform: translateY(-1px); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebe5a; color: white; transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; font-size: 16px; padding: 14px 24px; }

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-row > .btn { flex: 1; min-width: 140px; }
@media(max-width: 540px) { .btn-row > .btn { flex-basis: 100%; } }

/* checkout layout (index.php) */
.checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
.checkout-form-wrap { background: var(--bg-card); padding: 40px 44px; min-width: 0; }
.checkout-summary-wrap {
  background: linear-gradient(160deg, rgba(255,255,255,.6) 0%, rgba(238,242,247,.55) 100%);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-left: 1px solid rgba(227,232,238,.7);
  padding: 40px 44px; min-width: 0;
  position: relative;
}
.checkout-summary-wrap::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(0,116,217,.07) 0, transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(36,180,126,.05) 0, transparent 42%);
  pointer-events: none; z-index: 0;
}
.checkout-summary-wrap > * { position: relative; z-index: 1; }
@media(max-width: 1024px) { .checkout-layout { grid-template-columns: 1fr; } .checkout-summary-wrap { border-left: none; border-top: 1px solid var(--border); order: -1; } }
@media(max-width: 640px) { .checkout-form-wrap, .checkout-summary-wrap { padding: 28px 22px; } }

/* invoice ticker */
.invoice-ticker {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
  border: 1px solid #ffd666; border-left: 4px solid var(--warning);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 22px;
  font-size: 13px; line-height: 1.55; color: #7a4f00; display: flex; gap: 10px; align-items: flex-start;
}
.invoice-ticker i { color: var(--warning); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.invoice-ticker strong { color: #5a3a00; font-weight: 700; }

/* charge banner — hero amount card (credit-card feel) */
.charge-banner {
  background:
    linear-gradient(135deg, #001529 0%, #001f3f 35%, #003366 70%, #001f3f 100%);
  color: white; padding: 32px 22px 26px; border-radius: 14px; margin-bottom: 18px;
  text-align: center; position: relative; overflow: hidden;
  box-shadow:
    0 18px 44px rgba(0,31,63,.32),
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 1px 0 rgba(255,255,255,.10);
}
.charge-banner::before {
  content: ''; position: absolute; top: -40%; right: -12%; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(0,116,217,.5) 0%, transparent 70%);
  pointer-events: none;
}
.charge-banner::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 18px 18px; pointer-events: none;
}
.charge-banner-chip {
  position: absolute; top: 14px; left: 16px;
  width: 30px; height: 22px; border-radius: 4px;
  background: linear-gradient(135deg, #d4af37 0%, #f4e58a 45%, #b8941f 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 1px 2px rgba(0,0,0,.3);
  z-index: 2;
}
.charge-banner-chip::before {
  content: ''; position: absolute; inset: 4px 5px;
  background:
    linear-gradient(90deg, transparent 32%, rgba(0,0,0,.18) 32% 38%, transparent 38% 62%, rgba(0,0,0,.18) 62% 68%, transparent 68%),
    linear-gradient(0deg,  transparent 32%, rgba(0,0,0,.18) 32% 38%, transparent 38% 62%, rgba(0,0,0,.18) 62% 68%, transparent 68%);
  border-radius: 1px;
}
.charge-banner-shimmer {
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.07) 50%, transparent);
  transform: skewX(-20deg);
  animation: bannerShimmer 5.5s ease-in-out infinite;
  pointer-events: none; z-index: 1;
}
@keyframes bannerShimmer {
  0%, 100% { left: -100%; }
  50% { left: 130%; }
}
.charge-banner-label { font-size: 11px; opacity: .82; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; position: relative; font-weight: 600; z-index: 2; }
.charge-banner-amount { font-size: 36px; font-weight: 800; letter-spacing: -.025em; position: relative; z-index: 2; font-variant-numeric: tabular-nums; line-height: 1.1; }
.charge-banner-secondary { font-size: 11.5px; opacity: .75; margin-top: 6px; position: relative; z-index: 2; }
@media(max-width: 540px) { .charge-banner-amount { font-size: 28px; } .charge-banner { padding: 30px 18px 22px; } }

/* summary card */
.summary-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; }
.summary-row + .summary-row { border-top: 1px dashed var(--border); }
.summary-row.total { border-top: 1.5px solid var(--border); margin-top: 6px; padding-top: 14px; font-size: 16px; font-weight: 700; }
.summary-row.total .summary-value { color: var(--navy-accent); }
.summary-label { color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.summary-label i { color: var(--text-light); font-size: 11px; }
.summary-value { color: var(--text); font-weight: 600; }

/* currency switcher (USD/PKR display toggle) */
.currency-toggle { display: inline-flex; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 3px; }
.currency-toggle-btn { padding: 6px 12px; font-size: 12px; font-weight: 600; border: none; background: transparent; color: var(--text-light); cursor: pointer; border-radius: 4px; transition: all .15s var(--tx); }
.currency-toggle-btn.active { background: var(--bg-card); color: var(--navy-accent); box-shadow: var(--shadow-sm); }

/* payment methods strip */
.pm-strip { padding: 18px 0; border-top: 1px solid var(--border); margin-top: 16px; }
.pm-strip-title { font-size: 11px; text-transform: uppercase; color: var(--text-light); letter-spacing: .08em; text-align: center; margin-bottom: 10px; font-weight: 600; }
.pm-icons { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm-icon { background: var(--bg-card); padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); transition: all .2s var(--tx); }
.pm-icon:hover { border-color: var(--navy-accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pm-icon img { height: 22px; width: auto; max-width: 50px; object-fit: contain; }

/* feature list */
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.feature-list-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.feature-list-item i { color: var(--navy-accent); font-size: 14px; margin-top: 2px; flex-shrink: 0; width: 18px; text-align: center; }
.feature-list-item strong { color: var(--text); font-weight: 600; }

/* status icon (large illustration on processing/success/failure pages) */
.status-illu { width: 96px; height: 96px; margin: 0 auto 22px; position: relative; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.status-illu.processing { background: linear-gradient(135deg, var(--navy-primary), var(--navy-light)); color: white; }
.status-illu.processing i { font-size: 40px; animation: spin 1.6s linear infinite; }
.status-illu.success { background: var(--success-bg); }
.status-illu.failed { background: var(--danger-bg); }
.status-illu svg { width: 96px; height: 96px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* drawn checkmark */
.draw-circle { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 295; stroke-dashoffset: 295; animation: drawCircle .8s var(--tx) forwards; }
.draw-check { fill: none; stroke: var(--success); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 75; stroke-dashoffset: 75; animation: drawCheck .5s .7s var(--tx) forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* drawn cross */
.draw-circle-x { fill: none; stroke: var(--danger); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 295; stroke-dashoffset: 295; animation: drawCircle .8s var(--tx) forwards; }
.draw-x1 { fill: none; stroke: var(--danger); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck .35s .7s var(--tx) forwards; }
.draw-x2 { fill: none; stroke: var(--danger); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck .35s 1s var(--tx) forwards; }

.page-title { font-size: 26px; font-weight: 700; color: var(--text); text-align: center; margin-bottom: 6px; letter-spacing: -.02em; }
.page-subtitle { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 26px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* alert */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: 13.5px; line-height: 1.5; }
.alert i { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.alert strong { font-weight: 700; }
.alert-success { background: var(--success-bg); border: 1px solid #a7f3d0; color: #065f46; }
.alert-success i { color: var(--success); }
.alert-danger { background: var(--danger-bg); border: 1px solid #fecaca; color: #991b1b; }
.alert-danger i { color: var(--danger); }
.alert-warning { background: var(--warning-bg); border: 1px solid #fde68a; color: #854d0e; }
.alert-warning i { color: var(--warning); }

/* status / details grid */
.detail-card { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; text-align: left; }
.detail-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); }
.detail-card-title { font-size: 13px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .04em; }
.detail-card-title i { color: var(--navy-accent); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width: 540px) { .detail-grid { grid-template-columns: 1fr; gap: 10px; } }
.detail-item { display: flex; flex-direction: column; gap: 4px; }
.detail-label { font-size: 11px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .04em; }
.detail-value { font-size: 14px; font-weight: 600; color: var(--text); word-break: break-word; }
.detail-value.amount { color: var(--navy-accent); font-size: 16px; }
.detail-value.success { color: var(--success); }
.detail-value.danger { color: var(--danger); }
.copy-inline { background: transparent; border: none; color: var(--text-light); cursor: pointer; padding: 2px 6px; border-radius: 4px; font-size: 12px; transition: all .15s var(--tx); }
.copy-inline:hover { color: var(--navy-accent); background: rgba(0,116,217,.08); }

.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.status-pill.success { background: var(--success-bg); color: #065f46; border: 1px solid #a7f3d0; }
.status-pill.danger { background: var(--danger-bg); color: #991b1b; border: 1px solid #fecaca; }

/* timer card on payment.php */
.timer-card { display: flex; flex-direction: column; align-items: center; padding: 20px 0; }
.timer-display { font-size: 56px; font-weight: 800; color: var(--navy-accent); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.timer-label { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; font-weight: 600; }
.timer-progress { width: 100%; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; margin: 18px 0 8px; }
.timer-progress-fill { height: 100%; background: linear-gradient(90deg, var(--navy-accent), var(--navy-primary)); border-radius: 3px; width: 0%; transition: width .3s linear; }
.timer-info { display: flex; justify-content: space-between; width: 100%; font-size: 12px; color: var(--text-muted); }

/* security note (footer of result pages) */
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; font-size: 12px; color: var(--text-light); padding: 12px; background: var(--bg-subtle); border-radius: var(--radius-sm); }
.secure-note i { color: var(--success); }

.powered-by { text-align: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.powered-by-label { font-size: 10px; color: var(--text-light); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }

/* confetti (success page) */
.confetti-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 100; overflow: hidden; }
.confetti-piece { position: absolute; width: 8px; height: 14px; opacity: 0; animation: confettiFall 2.5s ease-out forwards; }
@keyframes confettiFall { 0% { opacity: 1; transform: translateY(-20vh) rotate(0deg); } 100% { opacity: 0; transform: translateY(110vh) rotate(720deg); } }

/* SweetAlert2 customization */
.swal2-popup { font-family: inherit !important; border-radius: var(--radius-lg) !important; }
.swal2-title { color: var(--text) !important; font-weight: 700 !important; }
.swal2-html-container { color: var(--text-muted) !important; }
.swal2-styled.swal2-confirm { background: var(--navy-primary) !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; }
.swal2-styled.swal2-confirm:hover { background: var(--navy-hover) !important; }
.swal2-styled.swal2-cancel { background: var(--bg-subtle) !important; color: var(--text) !important; border: 1.5px solid var(--border) !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; }
.swal2-icon.swal2-warning { border-color: var(--warning) !important; color: var(--warning) !important; }
.swal2-icon.swal2-success { border-color: var(--success) !important; }
.swal2-icon.swal2-error { border-color: var(--danger) !important; color: var(--danger) !important; }

/* social proof bar */
.social-proof {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 14px; margin-bottom: 22px;
  background: linear-gradient(90deg, var(--success-bg) 0%, #f0fdf4 50%, var(--success-bg) 100%);
  border: 1px solid #a7f3d0; border-radius: 999px;
  font-size: 12px; color: #065f46; font-weight: 600;
}
.social-proof .pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--success); display: inline-block; }
.social-proof .pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--success); animation: pulseDot 1.6s infinite; }
@keyframes pulseDot { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }
.stars { color: #fbbc04; letter-spacing: 1px; font-size: 13px; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .4; }

/* shared liveDot pulse (used by .charge-banner-secure .live-dot) */
@keyframes liveDot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

/* encrypted inline tag (next to label) */
.encrypted-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 700; color: var(--success); text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; background: var(--success-bg); border: 1px solid rgba(36,180,126,.3); border-radius: 4px; margin-left: 6px; }
.encrypted-tag i { font-size: 9px; }

/* trust seals grid */
.trust-seals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0; padding: 18px 14px; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); }
.trust-seal { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.trust-seal-icon { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-card); border: 2px solid #a7f3d0; color: var(--success); font-size: 17px; box-shadow: var(--shadow-sm); }
.trust-seal-icon.navy { color: var(--navy-accent); border-color: rgba(0,116,217,.25); }
.trust-seal-icon.warm { color: var(--warning); border-color: rgba(245,158,11,.3); }
.trust-seal-icon.danger { color: #b91c1c; border-color: rgba(185,28,28,.25); }
.trust-seal-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; }
@media(max-width: 540px) { .trust-seals { grid-template-columns: repeat(2, 1fr); } }

/* money-back guarantee */
.guarantee-badge { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: linear-gradient(135deg, #fffbeb, #fff9e6); border: 1px solid #fde68a; border-left: 4px solid var(--warning); border-radius: var(--radius-sm); margin: 16px 0; }
.guarantee-badge i { color: var(--warning); font-size: 26px; flex-shrink: 0; }
.guarantee-badge strong { display: block; color: #78350f; font-weight: 700; font-size: 13.5px; margin-bottom: 2px; }
.guarantee-badge p { color: #92400e; font-size: 12px; line-height: 1.4; margin: 0; }

/* secure-by footer strip */
.secure-strip { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 16px; margin-top: 18px; border-top: 1px solid var(--border); font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }
.secure-strip-item { display: inline-flex; align-items: center; gap: 5px; }
.secure-strip-item i { color: var(--navy-accent); }

/* enhanced CTA glow */
.btn-primary.btn-lg { background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%); position: relative; overflow: hidden; box-shadow: 0 8px 22px rgba(0,31,63,.22); }
.btn-primary.btn-lg::before { content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: skewX(-22deg); animation: btnShine 3.2s ease-in-out infinite; }
@keyframes btnShine { 0% { left: -120%; } 65%, 100% { left: 130%; } }
.btn-primary.btn-lg:hover { box-shadow: 0 14px 32px rgba(0,31,63,.32); transform: translateY(-2px); }

/* charge banner — secure indicator */
.charge-banner-secure { position: absolute; top: 12px; right: 14px; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.95); background: rgba(36,180,126,.25); border: 1px solid rgba(36,180,126,.5); padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.charge-banner-secure .live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: liveDot 1.6s infinite; }

/* small utility */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ─── on-screen receipt card (success.php) ─── */
.receipt-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 22px; overflow: hidden; box-shadow: var(--shadow-sm); text-align: left;
}
.receipt-card-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
  color: #fff; flex-wrap: wrap;
}
.receipt-card-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.receipt-card-title i { color: #4dc3ff; }
.receipt-tbl { width: 100%; border-collapse: collapse; }
.receipt-tbl td { padding: 12px 18px; font-size: 14px; vertical-align: top; border-bottom: 1px dashed var(--border); }
.receipt-tbl tbody tr:last-child td { border-bottom: 1px solid var(--border); }
.receipt-tbl .lbl { color: var(--text-light); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; width: 38%; padding-top: 14px; }
.receipt-tbl .val { color: var(--text); font-weight: 600; word-break: break-word; }
.receipt-tbl .val.mono { font-family: 'Monaco', 'Consolas', 'Courier New', monospace; font-size: 13px; }
.receipt-tbl .val.danger { color: var(--danger); }
.receipt-tbl tfoot .receipt-tbl-total td { background: linear-gradient(135deg, #f6f9fc 0%, #eef2f7 100%); padding: 16px 18px; border-bottom: none; border-top: 2px solid var(--border); }
.receipt-tbl .val.amount { color: var(--navy-accent); font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
@media(max-width: 540px) {
  .receipt-tbl td { padding: 11px 14px; font-size: 14px; }
  .receipt-tbl .lbl { width: 40%; font-size: 11px; padding-top: 13px; }
  .receipt-tbl .val { font-size: 13.5px; }
  .receipt-tbl .val.amount { font-size: 18px; }
  .receipt-tbl .val.mono { font-size: 12.5px; }
  .receipt-card-head { padding: 12px 14px; }
}

/* ─── print slips (thermal + A4) — hidden on screen by default ─── */
.print-slip { display: none; }

/* THERMAL — 80mm receipt printer */
.thermal-slip {
  width: 72mm; margin: 0 auto; padding: 4mm 4mm 6mm;
  font-family: 'Courier New', Courier, monospace;
  font-size: 11px; line-height: 1.45; color: #000; background: #fff;
}
.thermal-slip .t-tbl { width: 100%; border-collapse: collapse; }
.thermal-slip .t-tbl td { padding: 1px 0; vertical-align: top; }
.thermal-slip .t-brand { font-size: 14px; font-weight: 700; letter-spacing: .06em; padding-top: 4px; }
.thermal-slip .t-tag { font-size: 9px; letter-spacing: .04em; }
.thermal-slip .t-title { font-size: 12px; font-weight: 700; padding: 3px 0; }
.thermal-slip .t-center { text-align: center; }
.thermal-slip .t-right { text-align: right; }
.thermal-slip .t-bold { font-weight: 700; }
.thermal-slip .t-big { font-size: 13px; }
.thermal-slip .t-small { font-size: 9.5px; }
.thermal-slip .t-sep { white-space: nowrap; overflow: hidden; text-align: center; letter-spacing: -.5px; padding: 2px 0; font-size: 11px; }
.thermal-slip .t-stamp-cell { padding: 6px 0 4px !important; }
.thermal-slip .t-stamp {
  border: 2px solid #000;
  padding: 6px 4px;
  margin: 2px 4px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1.1;
}
.thermal-slip .t-stamp.t-stamp-fail { border-color: #000; }

/* A4 — full page invoice (HD print quality) */
.a4-slip {
  width: 100%; max-width: 180mm; margin: 0 auto; padding: 0;
  position: relative;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11.5px; color: #111; background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
.a4-slip table { width: 100%; border-collapse: collapse; }
.a4-slip .a4-right { text-align: right; }

/* watermark — large faded PAID across the page (success only) */
.a4-slip .a4-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-28deg);
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  font-size: 200px; font-weight: 900;
  color: #16a34a; opacity: .07;
  letter-spacing: .1em;
  text-transform: uppercase;
  pointer-events: none; user-select: none;
  z-index: 0; white-space: nowrap;
}
.a4-slip > table,
.a4-slip > .a4-footer { position: relative; z-index: 2; }

/* a4 header */
.a4-slip .a4-header { margin-bottom: 18px; padding-bottom: 12px; border-bottom: 3px solid #001f3f; }
.a4-slip .a4-header td { padding: 0; vertical-align: top; }
.a4-slip .a4-brand-cell { width: 60%; }
.a4-slip .a4-brand-cell .a4-brand-block { display: inline-block; vertical-align: middle; padding-left: 14px; }
.a4-slip .a4-logo {
  width: 64px; height: 64px; object-fit: cover; border-radius: 8px;
  vertical-align: middle; display: inline-block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.a4-slip .a4-brand-name { font-size: 23px; font-weight: 800; color: #001f3f; letter-spacing: .015em; }
.a4-slip .a4-brand-tag { font-size: 9.5px; color: #444; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; font-weight: 600; }
.a4-slip .a4-brand-meta { font-size: 10px; color: #444; margin-top: 5px; letter-spacing: .01em; }
.a4-slip .a4-doc-title { font-size: 25px; font-weight: 900; color: #001f3f; letter-spacing: .03em; }
.a4-slip .a4-doc-meta { font-size: 10.5px; color: #333; margin-top: 3px; letter-spacing: .01em; }

/* PAID stamp — rubber-stamp style (double border, sub-line, date) */
.a4-slip .a4-paid-stamp {
  position: relative;
  display: inline-block;
  margin-top: 14px;
  padding: 11px 24px 9px;
  border: 3px solid #16a34a;
  color: #16a34a;
  font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  text-align: center;
  transform: rotate(-7deg);
  border-radius: 4px;
  line-height: 1;
  background: rgba(22, 163, 74, .04);
}
.a4-slip .a4-paid-stamp::before {
  content: '';
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border: 1px solid #16a34a;
  border-radius: 2px;
  pointer-events: none;
}
.a4-slip .a4-paid-stamp-text { display: block; font-size: 26px; font-weight: 900; letter-spacing: .22em; }
.a4-slip .a4-paid-stamp-sub { display: block; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 7.5px; font-weight: 700; letter-spacing: .18em; margin-top: 5px; opacity: .9; }
.a4-slip .a4-paid-stamp-date { display: block; font-family: 'Helvetica Neue', Arial, sans-serif; font-size: 7px; font-weight: 600; letter-spacing: .12em; margin-top: 2px; opacity: .75; }
.a4-slip .a4-paid-stamp.danger { border-color: #dc2626; color: #dc2626; background: rgba(220, 38, 38, .04); }
.a4-slip .a4-paid-stamp.danger::before { border-color: #dc2626; }

/* a4 info two-col */
.a4-slip .a4-info { margin-bottom: 16px; }
.a4-slip .a4-info-cell { padding: 13px 15px; vertical-align: top; border: 1.2px solid #4a5568; width: 50%; background: #fafbfc; }
.a4-slip .a4-info-cell:first-child { border-right: none; }
.a4-slip .a4-info-label { font-size: 9.5px; font-weight: 800; color: #444; text-transform: uppercase; letter-spacing: .1em; padding-bottom: 5px; margin-bottom: 7px; border-bottom: 1px dashed #999; }
.a4-slip .a4-info-name { font-size: 14.5px; font-weight: 800; color: #001f3f; margin-bottom: 5px; letter-spacing: .01em; }
.a4-slip .a4-info-line { font-size: 10.5px; color: #333; line-height: 1.55; }
.a4-slip .a4-info-grid { width: 100%; }
.a4-slip .a4-info-grid td { padding: 3.5px 0; font-size: 10.5px; vertical-align: top; border: none; }
.a4-slip .a4-info-grid td:first-child { color: #555; width: 40%; font-weight: 600; }
.a4-slip .a4-info-grid td:last-child { font-weight: 700; color: #000; word-break: break-all; overflow-wrap: anywhere; }
.a4-slip .a4-status.ok { color: #16a34a; font-weight: 700; }
.a4-slip .a4-status.fail { color: #dc2626; font-weight: 700; }

/* a4 items */
.a4-slip .a4-items { border: 1.5px solid #001f3f; }
.a4-slip .a4-items th { background: #001f3f; color: #fff; padding: 11px 12px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; text-align: left; border: 1px solid #001f3f; }
.a4-slip .a4-items td { padding: 11px 12px; font-size: 11.5px; border: 1px solid #b8c0cc; vertical-align: top; }
.a4-slip .a4-item-sub { font-size: 9.5px; color: #555; margin-top: 3px; letter-spacing: .01em; }
.a4-slip .a4-items tfoot td { font-weight: 700; background: #f0f3f7; padding: 9px 12px; font-size: 11.5px; }
.a4-slip .a4-items .a4-total-row td { background: #001f3f; color: #fff; font-size: 14.5px; font-weight: 800; padding: 13px; letter-spacing: .03em; }
.a4-slip .a4-w-50 { width: 50px; }
.a4-slip .a4-w-150 { width: 150px; }

/* a4 notes + sigs */
.a4-slip .a4-notes { margin-top: 16px; }
.a4-slip .a4-notes td { padding: 12px 14px; border: 1px dashed #999; vertical-align: top; }
.a4-slip .a4-notes-label { font-size: 10px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.a4-slip .a4-notes p { font-size: 11px; color: #444; line-height: 1.5; }

.a4-slip .a4-sig { margin-top: 32px; }
.a4-slip .a4-sig td { padding: 0 14px; vertical-align: bottom; width: 50%; border: none; }
.a4-slip .a4-sig-line { border-top: 1px solid #333; margin-top: 44px; }
.a4-slip .a4-sig-label { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: .06em; padding-top: 4px; text-align: center; }

/* a4 footer */
.a4-slip .a4-footer { margin-top: 26px; padding-top: 10px; border-top: 1px solid #ccc; text-align: center; font-size: 10px; color: #555; line-height: 1.6; }
.a4-slip .a4-footer-meta { font-size: 9px; color: #888; margin-top: 2px; }

/* keep major slip sections together when the browser prints to paper / PDF */
.a4-slip .a4-header,
.a4-slip .a4-info,
.a4-slip .a4-items,
.a4-slip .a4-notes,
.a4-slip .a4-sig,
.a4-slip .a4-footer { page-break-inside: avoid; break-inside: avoid; }
.a4-slip .a4-items thead { display: table-header-group; }
.a4-slip .a4-items tfoot { display: table-row-group; }

/* PRINT — show only the active slip, hide everything else */
@media print {
  body.print-thermal,
  body.print-a4 {
    background: #fff !important; margin: 0 !important; padding: 0 !important;
  }
  body.print-thermal .trust-strip,
  body.print-thermal .topbar,
  body.print-thermal .progress-steps,
  body.print-thermal .page-card,
  body.print-thermal .about-fab,
  body.print-thermal .confetti-wrap,
  body.print-thermal .float-whatsapp,
  body.print-thermal .trust-footer,
  body.print-a4 .trust-strip,
  body.print-a4 .topbar,
  body.print-a4 .progress-steps,
  body.print-a4 .page-card,
  body.print-a4 .about-fab,
  body.print-a4 .confetti-wrap,
  body.print-a4 .float-whatsapp,
  body.print-a4 .trust-footer { display: none !important; }
  body.print-thermal .thermal-slip { display: block !important; }
  body.print-a4 .a4-slip { display: block !important; }

  /* force colour-true backgrounds for thead etc */
  .a4-slip, .a4-slip * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* ─── touch / mobile smoothness (Android + iOS) ─── */

/* iOS momentum scrolling, no rubber-band overflow */
html, body { -webkit-overflow-scrolling: touch; }
body { overscroll-behavior-y: none; }

/* touch devices — kill sticky :hover lifts, give quick tap-press feedback */
@media (hover: none) and (pointer: coarse) {
  .icon-btn:hover,
  .btn:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-whatsapp:hover,
  .btn-primary.btn-lg:hover,
  .pm-icon:hover,
  .copy-inline:hover,
  .currency-toggle-btn:hover,
  .form-control:hover { transform: none !important; }
  .form-control:hover { border-color: var(--border) !important; box-shadow: none !important; }
  .btn:active,
  .icon-btn:active,
  .pm-icon:active { transform: scale(.97); transition: transform .08s var(--tx); }
  /* infinite shine drains battery on phones */
  .btn-primary.btn-lg::before { display: none !important; }
  /* drop blur — cheaper compositing on mid-range Android */
  .trust-strip { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.94); }
}

/* respect reduced-motion preference (system setting) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn-primary.btn-lg::before { display: none !important; }
  .progress-step.active .step-circle,
  .pulse-dot::after,
  .charge-banner-secure .live-dot { animation: none !important; }
}

/* tap-target minimums + tighter spacing on small phones */
@media (max-width: 540px) {
  .btn { min-height: 48px; }
  .icon-btn { width: 42px; height: 42px; }
  .copy-inline { padding: 4px 8px; min-height: 30px; min-width: 30px; }
  .btn-row { gap: 8px; }
}

/* iOS notch / safe-area bottom padding */
@supports (padding: max(0px)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ─────────────────────────────────────────────────────────
   ELITE CHECKOUT — hero, stats, ticker, testimonial, footer, float
   ───────────────────────────────────────────────────────── */

/* hero block at top of checkout form */
.checkout-hero { text-align: center; margin: 6px 0 24px; }
.checkout-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy-accent); padding: 6px 14px;
  background: linear-gradient(135deg, rgba(0,116,217,.10), rgba(36,180,126,.06));
  border: 1px solid rgba(0,116,217,.18); border-radius: 999px;
  margin-bottom: 14px;
}
.checkout-hero-eyebrow i { font-size: 10px; color: var(--success); }
.checkout-hero-title {
  font-size: 28px; font-weight: 800; color: var(--text); letter-spacing: -.022em;
  line-height: 1.15; margin-bottom: 8px;
}
.checkout-hero-title .accent { background: linear-gradient(135deg, var(--navy-primary), var(--navy-accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.checkout-hero-sub { font-size: 13.5px; color: var(--text-muted); max-width: 440px; margin: 0 auto 14px; line-height: 1.55; }
.live-indicator {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted); font-weight: 600;
  padding: 7px 14px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.live-indicator strong { color: var(--success); font-weight: 800; font-variant-numeric: tabular-nums; }
.live-indicator .live-dot-pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); display: inline-block;
}
.live-indicator .live-dot-pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--success); animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (max-width: 540px) {
  .checkout-hero-title { font-size: 22px; }
  .checkout-hero-sub { font-size: 12.5px; }
}

/* stats strip — prestigious metrics row */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 8px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,116,217,.04) 0%, transparent 50%, rgba(36,180,126,.03) 100%);
  pointer-events: none;
}
.stat-item { text-align: center; position: relative; padding: 4px 6px; }
.stat-item + .stat-item { border-left: 1px solid var(--border); }
.stat-num {
  font-size: 18px; font-weight: 800; color: var(--navy-primary);
  letter-spacing: -.015em; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 11px; font-weight: 700; opacity: .7; margin-left: 1px; }
.stat-num .star { color: #fbbc04; font-size: 14px; margin-left: 1px; }
.stat-lbl {
  font-size: 9.5px; font-weight: 700; color: var(--text-light);
  text-transform: uppercase; letter-spacing: .08em; margin-top: 5px;
}
@media (max-width: 540px) {
  .stats-strip { padding: 12px 4px; }
  .stat-num { font-size: 14.5px; }
  .stat-lbl { font-size: 8.5px; letter-spacing: .06em; }
}

/* live activity ticker — recent payments rotator */
.activity-ticker {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; margin-bottom: 22px;
  background: linear-gradient(90deg, #fffaeb 0%, #fffefb 60%, #fffaeb 100%);
  border: 1px solid #fde68a; border-radius: 999px;
  font-size: 12.5px; color: #7a4f00;
  overflow: hidden;
}
.activity-ticker-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--warning), #facc15);
  color: white; display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px;
  box-shadow: 0 4px 10px rgba(245,158,11,.35);
}
.activity-ticker-content {
  flex: 1; line-height: 1.4;
  transition: opacity .35s var(--tx);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.activity-ticker-content strong { color: #5a3a00; font-weight: 700; }

/* testimonial card */
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin: 22px 0; box-shadow: var(--shadow-sm);
  text-align: left; position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: -12px; right: 14px;
  font-family: Georgia, 'Times New Roman', serif; font-size: 96px; line-height: 1;
  color: var(--navy-accent); opacity: .12; font-weight: 900;
}
.testimonial-stars { color: #fbbc04; letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }
.testimonial-quote {
  font-size: 14px; color: var(--text); line-height: 1.6;
  margin: 0 0 14px; font-style: italic; font-weight: 500; padding-right: 50px;
}
.testimonial-author { display: flex; align-items: center; gap: 11px; }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-accent));
  color: white; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.testimonial-name { font-size: 13px; font-weight: 700; color: var(--text); }
.testimonial-meta { font-size: 11px; color: var(--text-light); margin-top: 1px; display: flex; align-items: center; gap: 4px; }
.testimonial-meta i { color: var(--success); font-size: 10px; }

/* trust footer — corporate-style block at bottom */
.trust-footer {
  margin: 24px auto 0; max-width: 1180px; padding: 28px 28px 22px;
  background: var(--bg-card); border-top: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -4px 16px rgba(16,24,40,.04);
}
.trust-footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding-bottom: 20px; border-bottom: 1px dashed var(--border); margin-bottom: 14px;
}
.trust-footer-col { display: flex; flex-direction: column; gap: 8px; }
.trust-footer-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; color: var(--navy-primary);
  text-transform: uppercase; letter-spacing: .08em;
}
.trust-footer-title i { color: var(--navy-accent); font-size: 14px; }
.trust-footer-col p { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin: 0; }
.trust-footer-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 11px; color: var(--text-light); flex-wrap: wrap;
}
.trust-footer-bar i { color: var(--success); margin-right: 4px; }
.trust-footer-bar .tf-badges { display: inline-flex; gap: 14px; flex-wrap: wrap; }
.trust-footer-bar .tf-badges span { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
@media (max-width: 768px) {
  .trust-footer { padding: 22px 18px 18px; }
  .trust-footer-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 16px; }
  .trust-footer-bar { justify-content: center; text-align: center; }
}

/* floating WhatsApp help bubble */
.float-whatsapp {
  position: fixed; bottom: 22px; right: 22px;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(37,211,102,.45), 0 4px 10px rgba(0,0,0,.12);
  z-index: 200; text-decoration: none;
  animation: whatsappBob 3s ease-in-out infinite;
  transition: transform .2s var(--tx);
}
.float-whatsapp:hover { color: white; transform: scale(1.08); }
.float-whatsapp::before {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; border: 2px solid #25D366;
  opacity: 0; animation: whatsappRing 2.2s infinite;
  pointer-events: none;
}
.float-whatsapp-tag {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--text); color: white; font-size: 12px; font-weight: 600;
  padding: 7px 12px; border-radius: 8px; white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .2s var(--tx), transform .2s var(--tx);
}
.float-whatsapp-tag::after {
  content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  border-left: 5px solid var(--text);
}
.float-whatsapp:hover .float-whatsapp-tag { opacity: 1; transform: translateY(-50%) translateX(-3px); }
@keyframes whatsappBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
@keyframes whatsappRing {
  0%   { transform: scale(.95); opacity: .55; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (max-width: 768px) {
  .float-whatsapp { bottom: 84px; right: 16px; width: 52px; height: 52px; font-size: 24px; }
  .float-whatsapp-tag { display: none; }
}
@media (hover: none) and (pointer: coarse) {
  .float-whatsapp:hover { transform: none; }
}
