/* ============================================================
   IT Freelancer Work Portal — Custom Stylesheet
   Blue + Purple Theme | Bootstrap 5 Extension
   ============================================================ */

/* ---- Google Font ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS Variables / Design Tokens
   ============================================================ */
:root {
  --blue:          #2563EB;
  --blue-dark:     #1D4ED8;
  --blue-light:    #DBEAFE;
  --purple:        #7C3AED;
  --purple-dark:   #6D28D9;
  --purple-light:  #EDE9FE;
  --gradient:      linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --gradient-soft: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
  --success:       #10B981;
  --danger:        #EF4444;
  --warning:       #F59E0B;
  --text-dark:     #0F172A;
  --text-body:     #334155;
  --text-muted:    #64748B;
  --border:        #E2E8F0;
  --bg-light:      #F8FAFC;
  --white:         #FFFFFF;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:     0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --radius:        0.75rem;
  --radius-lg:     1rem;
  --radius-xl:     1.5rem;
  --transition:    all 0.3s ease;
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

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

img { max-width: 100%; }

/* ============================================================
   Utility Classes
   ============================================================ */
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-brand { background: var(--gradient); }

.bg-soft { background: var(--gradient-soft); }

.text-accent  { color: var(--purple); }
.text-primary-brand { color: var(--blue); }
.text-muted-custom  { color: var(--text-muted); }

.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn-gradient {
  background: var(--gradient);
  color: var(--white) !important;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: .4px;
  padding: .65rem 1.75rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37,99,235,.35);
  position: relative;
  overflow: hidden;
}

.btn-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,99,235,.45);
  color: var(--white) !important;
}

.btn-gradient:hover::after { background: rgba(255,255,255,.1); }

.btn-gradient:active { transform: translateY(0); }

.btn-outline-brand {
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 50px;
  font-weight: 600;
  padding: .6rem 1.75rem;
  transition: var(--transition);
}

.btn-outline-brand:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg-custom {
  padding: .85rem 2.5rem;
  font-size: 1.05rem;
}

/* ============================================================
   Navbar
   ============================================================ */
#mainNavbar {
  background: transparent;
  padding: 1rem 0;
  transition: var(--transition);
  backdrop-filter: blur(0px);
}

#mainNavbar.scrolled,
#mainNavbar.navbar-solid {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  padding: .6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.brand-icon {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
}

.brand-icon-sm { width: 32px; height: 32px; font-size: .9rem; border-radius: 8px; }

.brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -.3px;
}

.brand-accent { color: #a78bfa; }

#mainNavbar .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .4rem .85rem !important;
  border-radius: 8px;
  transition: var(--transition);
}

#mainNavbar .nav-link:hover { color: white !important; background: rgba(255,255,255,.1); }

/* ============================================================
   Hero Section
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #1E3A8A 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

/* Animated background blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-blob-1 {
  width: 500px; height: 500px;
  background: rgba(37,99,235,.25);
  top: -100px; right: -150px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 400px; height: 400px;
  background: rgba(124,58,237,.25);
  bottom: -100px; left: -100px;
  animation-delay: 3s;
}

.hero-blob-3 {
  width: 300px; height: 300px;
  background: rgba(99,102,241,.2);
  top: 40%; left: 40%;
  animation-delay: 1.5s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -30px) scale(1.05); }
}

/* Dot grid overlay */
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge .badge-dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  padding: .9rem 1.25rem;
  border-radius: var(--radius);
  flex: 1;
}

.hero-stat-icon {
  width: 42px; height: 42px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
  flex-shrink: 0;
}

.hero-stat-num { font-size: 1.4rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.6); }

/* Hero right card (floating) */
.hero-card-float {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: white;
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.hero-card-icon-wrap {
  width: 60px; height: 60px;
  background: var(--gradient);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  background: rgba(255,255,255,.07);
  border-radius: .6rem;
  margin-bottom: .6rem;
}

.mini-step-num {
  width: 28px; height: 28px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mini-step-text { font-size: .88rem; color: rgba(255,255,255,.85); }

/* ============================================================
   Section Headers
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   How It Works Section
   ============================================================ */
.steps-section { background: var(--bg-light); }

.step-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-light);
}

.step-number {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 34px; height: 34px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
}

.step-icon {
  width: 70px; height: 70px;
  background: var(--gradient-soft);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.25rem;
  color: var(--blue);
  transition: var(--transition);
}

.step-card:hover .step-icon {
  background: var(--gradient);
  color: white;
}

.step-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step-desc  { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* Connector arrows between steps */
.step-connector {
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.4rem; opacity: .4;
  padding-top: 2rem;
}

/* ============================================================
   Benefits / Features Section
   ============================================================ */
.benefit-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.benefit-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.benefit-icon.blue   { background: var(--blue-light);   color: var(--blue); }
.benefit-icon.purple { background: var(--purple-light);  color: var(--purple); }
.benefit-icon.green  { background: #D1FAE5; color: var(--success); }
.benefit-icon.orange { background: #FEF3C7; color: var(--warning); }

.benefit-title { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.benefit-desc  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   Categories Section
   ============================================================ */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.2rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition);
  cursor: default;
}

.category-badge:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-badge i { color: var(--purple); font-size: .95rem; }

/* ============================================================
   CTA Banner Section
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, #1E1B4B 0%, #1E3A8A 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* ============================================================
   Form Pages — Shared
   ============================================================ */
.form-page-wrapper {
  min-height: 100vh;
  background: var(--gradient-soft);
  padding: 7rem 0 4rem;
}

.form-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.form-card-header {
  background: var(--gradient);
  padding: 2rem 2rem 1.75rem;
  color: white;
}

.form-card-header h2 { color: white; font-size: 1.6rem; margin-bottom: .3rem; }
.form-card-header p  { color: rgba(255,255,255,.8); margin: 0; font-size: .95rem; }

.form-card-body { padding: 2rem; }

/* Floating Labels */
.form-floating > .form-control,
.form-floating > .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

.form-floating > label { color: var(--text-muted); font-size: .9rem; }

.form-section-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: .5rem;
  margin: 1.75rem 0 1.25rem;
}

/* Progress steps */
.progress-steps {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.ps-step {
  display: flex;
  align-items: center;
  flex: 1;
  position: relative;
}

.ps-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%; right: -50%;
  top: 18px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.ps-step.done:not(:last-child)::after,
.ps-step.active:not(:last-child)::after { background: var(--gradient); }

.ps-step-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: .35rem; z-index: 1;
}

.ps-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700;
  background: var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}

.ps-step.active .ps-num {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}

.ps-step.done .ps-num {
  background: var(--success);
  color: white;
}

.ps-label { font-size: .7rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.ps-step.active .ps-label { color: var(--blue); }
.ps-step.done  .ps-label  { color: var(--success); }

/* ============================================================
   OTP Page
   ============================================================ */
.otp-inputs { display: flex; gap: .75rem; justify-content: center; margin: 1.5rem 0; }

.otp-box {
  width: 54px; height: 60px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  outline: none;
}

.otp-box:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.otp-box.filled {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--purple-dark);
}

.otp-box.success {
  border-color: var(--success);
  background: #D1FAE5;
  color: var(--success);
}

.otp-box.error {
  border-color: var(--danger);
  background: #FEE2E2;
  color: var(--danger);
  animation: shake .4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-6px); }
  75%       { transform: translateX(6px); }
}

.mobile-display {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}

.mobile-icon-wrap {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
  flex-shrink: 0;
}

.mobile-number { font-weight: 700; color: var(--text-dark); font-size: 1.05rem; }
.mobile-hint   { font-size: .8rem; color: var(--text-muted); }

.countdown-text { font-size: .9rem; color: var(--text-muted); }
.countdown-num  { font-weight: 700; color: var(--blue); }

/* ============================================================
   Payment Page
   ============================================================ */
.payment-summary-card {
  background: var(--gradient);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.payment-amount-display {
  font-size: 3rem; font-weight: 900; line-height: 1;
  letter-spacing: -2px;
}

.payment-amount-label { font-size: .9rem; opacity: .8; margin-bottom: .25rem; }

.payment-benefit-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .6rem;
  transition: var(--transition);
}

.payment-benefit-item:hover {
  border-color: var(--success);
  background: #F0FDF4;
}

.payment-check {
  width: 28px; height: 28px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  font-size: .85rem;
  flex-shrink: 0;
}

.secure-badge {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-muted);
  font-size: .82rem;
  justify-content: center;
  margin-top: 1rem;
}

.razorpay-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #072654;
  color: white;
  padding: .3rem .75rem;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
}

/* ============================================================
   Success Page
   ============================================================ */
.success-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #F0FDF4 0%, #EFF6FF 50%, #F5F3FF 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}

.success-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 560px;
  width: 100%;
  border: 1px solid var(--border);
}

.success-icon-wrap {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 3rem;
  color: var(--success);
  animation: successPop .6s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 0 0 0 rgba(16,185,129,.3);
  animation: successPop .6s cubic-bezier(.34,1.56,.64,1) forwards,
             successGlow 2s ease 1s infinite;
}

@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes successGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.3); }
  50%       { box-shadow: 0 0 0 16px rgba(16,185,129,0); }
}

.success-title { font-size: 1.9rem; font-weight: 800; color: var(--text-dark); margin-bottom: .5rem; }
.success-sub   { color: var(--text-muted); margin-bottom: 1.75rem; line-height: 1.7; }

.success-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .93rem;
}

.success-detail-row:last-child { border-bottom: none; }
.success-detail-label { color: var(--text-muted); }
.success-detail-value { font-weight: 600; color: var(--text-dark); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #0F172A; }

.footer-top { padding: 4rem 0 3rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}

.footer-heading {
  color: white;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  margin-bottom: .5rem;
  transition: var(--transition);
}

.footer-links a {
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}

.footer-links a:hover { color: white; padding-left: 4px; }

.text-muted-light { color: rgba(255,255,255,.55) !important; }

.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--gradient);
  color: white;
  transform: translateY(-3px);
}

.footer-policy-link {
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  transition: var(--transition);
}

.footer-policy-link:hover { color: rgba(255,255,255,.85); }

/* ============================================================
   Loading Overlay
   ============================================================ */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}

.loading-overlay.show { opacity: 1; pointer-events: all; }

.loading-spinner-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.spinner-gradient {
  width: 50px; height: 50px;
  border: 4px solid var(--border);
  border-top-color: var(--blue);
  border-right-color: var(--purple);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto .75rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   Toasts
   ============================================================ */
.toast-custom {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .hero-section { padding: 7rem 0 4rem; }
  .hero-stats   { gap: .75rem; }
  .hero-stat    { padding: .7rem .9rem; }
  .otp-box      { width: 44px; height: 52px; font-size: 1.3rem; }
  .form-card-body { padding: 1.5rem; }
  .section-pad  { padding: 3.5rem 0; }
  .step-connector { display: none; }
  .success-card { padding: 2rem 1.25rem; }
  .payment-amount-display { font-size: 2.2rem; }
}

@media (max-width: 576px) {
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; }
  .otp-inputs { gap: .4rem; }
  .otp-box    { width: 40px; height: 48px; font-size: 1.2rem; }
  .ps-label   { display: none; }
}
