

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

/* ---- CSS Variables ---- */
:root {
  --primary: #6c63ff;
  --primary-dark: #5548e0;
  --primary-light: #8b85ff;
  --accent: #ff6b9d;
  --accent2: #ffd166;
  --success: #06d6a0;
  --danger: #ef476f;
  /* --bg-dark: #080b1a;
  --bg-card: #0f1328; 
  --bg-card2: #141833; 
  --text-primary: #ffffff; 
  --text-secondary: #a0a8c8;*/
  --text-muted: #6b7299;
  --border: rgba(108, 99, 255, 0.2);
  --gradient: #203167;
  --gradient2: linear-gradient(135deg, #6c63ff 0%, #ef476f 100%);
  --glow: 0 0 40px rgba(108, 99, 255, 0.4);
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--accent);
}

/* ---- Utility ---- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hidden {
  display: none !important;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(8, 11, 26, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(8, 11, 26, 0.95);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  flex: 1;
}
.logo-icon {
  font-size: 1.6rem;
}
.logo-text {
  color: var(--text-primary);
}
.logo-accent {
  color: var(--primary-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--text-primary);
}

.btn-apply-nav {
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}
.btn-apply-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.6);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}
.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}
.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  right: 200px;
  animation-delay: 3s;
}
.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--success);
  top: 50%;
  left: 40%;
  animation-delay: 6s;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -20px) scale(1.05);
  }
}

.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding: 20px 28px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stat-item {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.btn-apply-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: #fff;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 40px rgba(108, 99, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.btn-apply-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-apply-hero:hover::before {
  opacity: 1;
}
.btn-apply-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 50px rgba(108, 99, 255, 0.7);
}
.btn-apply-hero:active {
  transform: translateY(-1px);
}
.btn-apply-hero svg {
  transition: transform 0.3s;
}
.btn-apply-hero:hover svg {
  transform: translateX(4px);
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- Hero Visual ---- */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.card-mockup {
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.card-glow {
  position: absolute;
  inset: -20px;
  background: var(--gradient);
  border-radius: 30px;
  filter: blur(40px);
  opacity: 0.3;
}
.mockup-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 340px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 1;
}
.mc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mc-logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-light);
}
.mc-chip {
  background: var(--success);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
.mc-amount {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mc-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.mc-details {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background: rgba(108, 99, 255, 0.08);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.mc-details div {
  text-align: center;
}
.mc-details span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.mc-details strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}
.mc-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mc-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 2px;
  opacity: 0.6;
}
.mc-status {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

.floating-badge {
  position: absolute;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--card-shadow);
  white-space: nowrap;
}
.fb1 {
  top: -20px;
  right: -40px;
  animation: float 5s ease-in-out infinite 1s;
}
.fb2 {
  bottom: 20px;
  left: -50px;
  animation: float 5s ease-in-out infinite 2.5s;
}

/* ===================== SECTIONS ===================== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ---- Features ---- */
.features {
  padding: 100px 24px;
  background: var(--bg-card);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.5);
}
.feature-card:hover::before {
  opacity: 0.05;
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 100px 24px;
}
.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 32px 24px;
  position: relative;
}
.step-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.step-arrow {
  font-size: 2rem;
  color: var(--primary);
  align-self: center;
  margin: 0 -10px;
  opacity: 0.5;
}

/* ---- CTA ---- */
.cta-section {
  padding: 100px 24px;
  background: var(--bg-card);
  text-align: center;
}
.cta-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.cta-content .btn-apply-hero {
  margin: 0 auto;
}

/* ---- Footer ---- */
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  transform: translateY(30px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: rgba(239, 71, 111, 0.2);
  color: var(--danger);
}

/* ---- Progress ---- */
.modal-progress {
  margin-bottom: 24px;
}
.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 10px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 12.5%;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.ps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0.4;
  transition: var(--transition);
  min-width: 48px;
}
.ps.active {
  opacity: 1;
}
.ps.done {
  opacity: 0.8;
}
.ps span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--bg-dark);
  transition: var(--transition);
}
.ps.active span {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}
.ps.done span {
  border-color: var(--success);
  background: var(--success);
  color: #000;
}
.ps label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ---- Section Divider & New Inputs ---- */
.section-divider {
  width: 100%;
  border-bottom: 1px dashed rgba(108, 99, 255, 0.3);
  margin: 18px 0 14px;
  padding-bottom: 4px;
  font-weight: 700;
  color: var(--primary-light);
  text-align: left;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
}
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}
.form-select option {
  background: #0f1328;
  color: #fff;
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
}
.input-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.input-row .input-group {
  flex: 1;
}

/* ---- Radio Pills & Selectable Cards ---- */
.pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  width: 100%;
}
.pill-label {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 12px 14px;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-secondary);
  user-select: none;
}
.pill-label input {
  display: none;
}
.pill-label.selected {
  background: rgba(108, 99, 255, 0.25);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

/* ---- Resume Journey Banner ---- */
.resume-banner {
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid #06d6a0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #06d6a0;
  width: 100%;
  animation: slideUp 0.4s ease;
}
.btn-resume-reset {
  background: rgba(239, 71, 111, 0.2);
  border: 1px solid #ef476f;
  color: #ef476f;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-resume-reset:hover {
  background: #ef476f;
  color: #fff;
}

/* ---- Form Steps ---- */
.form-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: slideUp 0.4s ease;
}
.form-step.active {
  display: flex;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  animation: bounceIn 0.5s ease;
}
.anim-bounce {
  animation: bounceIn 0.5s ease;
}
@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.form-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ---- Inputs ---- */
.input-group {
  width: 100%;
  margin-bottom: 16px;
  text-align: left;
}
.input-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.5;
  cursor: pointer;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.phone-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15);
}
.country-code {
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-right: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}
.phone-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.pan-input-wrap {
  position: relative;
}
.pan-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.input-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 6px;
  min-height: 18px;
}

/* ---- Checkbox ---- */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: left;
  width: 100%;
  margin-bottom: 20px;
}
.checkbox-label input {
  display: none;
}
.checkmark {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  transition: var(--transition);
}
.checkbox-label input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  font-size: 0.7rem;
  color: #fff;
  font-weight: 700;
}

/* ---- Buttons ---- */
.btn-primary {
  width: 100%;
  padding: 15px;
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(108, 99, 255, 0.6);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 8px;
  margin-top: 8px;
  transition: var(--transition);
}
.btn-ghost:hover {
  color: var(--text-primary);
}
.btn-link {
  background: none;
  border: none;
  color: var(--primary-light);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.btn-link:hover {
  color: var(--accent);
}

/* ---- Spinner ---- */
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- OTP Boxes ---- */
.otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
}
.otp-box {
  width: 52px;
  height: 58px;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  caret-color: var(--primary);
  outline: none;
  transition: var(--transition);
}
.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
  transform: scale(1.05);
}
.otp-box.filled {
  border-color: var(--primary);
  background: rgba(108, 99, 255, 0.1);
}
.otp-box.error {
  border-color: var(--danger);
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.resend-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- KYC Step ---- */
.kyc-info-box {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.kyc-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.kyc-info-item:last-child {
  border-bottom: none;
}
.ki-icon {
  font-size: 1.1rem;
}

.digilocker-card {
  width: 100%;
  background: linear-gradient(135deg, #1a1a3e, #0f0f2d);
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.digi-text-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #5b8def;
  margin-bottom: 8px;
}
.digilocker-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.digi-logo {
  height: 36px;
  margin-bottom: 8px;
}

.btn-digilocker {
  background: linear-gradient(135deg, #1a4fd6, #3b82f6) !important;
  box-shadow: 0 4px 20px rgba(26, 79, 214, 0.4) !important;
}
.btn-digilocker:hover {
  box-shadow: 0 8px 30px rgba(26, 79, 214, 0.6) !important;
}

.secure-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ---- Confirmation Popup ---- */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.confirm-overlay.active {
  opacity: 1;
  visibility: visible;
}
.confirm-box {
  background: var(--bg-card2);
  border: 1px solid rgba(108, 99, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 40px 100px rgba(108, 99, 255, 0.3);
}
.confirm-overlay.active .confirm-box {
  transform: scale(1);
}
.confirm-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.confirm-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.confirm-box > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.confirm-details {
  background: var(--bg-dark);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 24px;
  text-align: left;
}
.cd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cd-row:last-child {
  border-bottom: none;
}
.cd-key {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.cd-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.confirm-actions {
  display: flex;
  gap: 12px;
}
.confirm-actions .btn-ghost {
  flex: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 50px;
  margin-top: 0;
  color: var(--text-secondary);
}
.confirm-actions .btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}
.confirm-actions .btn-primary {
  flex: 1;
  margin-top: 0;
}

/* ---- Calendar Picker ---- */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.calendar-day {
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-day:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  transform: translateY(-2px);
}

.calendar-day.selected {
  background: var(--success);
  color: white;
  border-color: var(--success);
  font-weight: 700;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card2);
  border: 1px solid var(--success);
  border-radius: 50px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-icon {
  font-size: 1.2rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 120px 24px 60px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-note {
    text-align: center;
  }
  .nav-links {
    display: none;
  }
  .hero-visual {
    order: -1;
  }
  .mockup-card {
    width: 280px;
  }
  .mc-amount {
    font-size: 1.8rem;
  }
  .step-arrow {
    display: none;
  }
  .steps-container {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 500px) {
  .modal-box {
    padding: 28px 20px;
  }
  .otp-box {
    width: 44px;
    height: 50px;
    font-size: 1.2rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .stat-divider {
    display: none;
  }
}

/* Mobile view adjustments for Modal OTP boxes */
@media (max-width: 576px) {
    .otp-container {
        gap: 5px !important;
        justify-content: center !important;
    }
    .otp-box {
        width: 45px !important;
        height: 50px !important;
        font-size: 20px !important;
        border-radius: 8px !important;
        padding: 0px !important;
    }
}

/* Extra small mobile screens */
@media (max-width: 360px) {
    .otp-box {
        width: 38px !important;
        height: 45px !important;
        font-size: 16px !important;
    }
}
