/* ═══════════════════════════════════════════════
   DIGITECH INDIA — Premium Finance Design System
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── CSS Variables ─── */
:root {
  /* Primary Palette */
  --navy-900: #0B192C;
  --navy-800: #112240;
  --navy-700: #1E3E62;
  --navy-600: #2A5A8E;
  --navy-500: #3B82F6;
  
  /* Bull Green */
  --green-500: #00D09C;
  --green-400: #10B981;
  --green-600: #059669;
  --green-glow: rgba(0, 208, 156, 0.3);
  
  /* Bear Red */
  --red-500: #EF4444;
  --red-400: #F87171;
  
  /* Accent Gold */
  --gold-500: #F59E0B;
  --gold-400: #FBBF24;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Typography */
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
  --shadow-glow-green: 0 0 20px rgba(0, 208, 156, 0.3);
  --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-smooth: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #000000;
}

body {
  font-family: var(--font-body);
  color: #E2E8F0;
  background: #000000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ─── Moving White Dots Particle Canvas ─── */
#bgParticlesCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Ensure all page content layers float gracefully above particle canvas */
.ticker-bar,
.header,
.hero,
.section,
.footer,
.modal-overlay {
  position: relative;
  z-index: 1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Stock Ticker Bar ─── */
.ticker-bar {
  background: rgba(2, 6, 23, 0.95);
  color: var(--gray-300);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  overflow: hidden;
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  backdrop-filter: blur(8px);
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ticker-item .name {
  color: var(--gray-400);
  font-weight: 500;
}

.ticker-item .price {
  color: var(--white);
  font-weight: 600;
}

.ticker-item .change.up {
  color: var(--green-500);
}

.ticker-item .change.down {
  color: var(--red-500);
}

.ticker-item .arrow {
  font-size: 0.65rem;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Header / Navigation ─── */
.header {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy-700), var(--green-500));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-primary);
  font-size: 1.1rem;
}

.logo-text {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.35rem;
  color: #FFFFFF;
}

.logo-text span {
  color: var(--green-500);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mobile-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94A3B8;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--green-500);
  box-shadow: 0 0 10px var(--green-500);
  border-radius: 1px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

/* ─── Upper Right Registration Panel ─── */
.nav-reg-panel {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-reg-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #00D09C 0%, #009E75 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.44rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 180, 0.6);
  box-shadow: 0 0 16px rgba(0, 208, 156, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  text-decoration: none;
}

.nav-reg-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 245, 180, 0.75), 0 4px 14px rgba(0, 0, 0, 0.4);
  border-color: #00F5B4;
}

.nav-reg-btn:active {
  transform: translateY(1px);
}

.reg-beacon-dot {
  width: 8px;
  height: 8px;
  background: #FFFFFF;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 8px #FFFFFF;
  display: inline-block;
}

.reg-beacon-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
  animation: regBeaconPulse 1.8s infinite ease-out;
}

@keyframes regBeaconPulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.reg-btn-text {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.reg-badge-fee {
  background: rgba(0, 0, 0, 0.4);
  color: #FFDF00;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 223, 0, 0.4);
  line-height: 1.3;
  display: inline-block;
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.44rem 1.05rem;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
}

.nav-login-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.nav-login-btn:active {
  transform: translateY(1px);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: var(--green-500);
  color: var(--white);
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
}

.user-badge .avatar {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Backdrop & Shell Elements */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 25, 44, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.drawer-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-drawer-header,
.mobile-drawer-close,
.mobile-nav-user,
.mobile-drawer-footer {
  display: none;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.kyc-filter-group {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-400));
  color: var(--white);
  box-shadow: 0 4px 16px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--green-glow);
}

.btn-secondary {
  background: var(--navy-700);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
}

.btn-outline:hover {
  border-color: var(--green-500);
  color: var(--green-500);
}

.btn-danger {
  background: var(--red-500);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn-icon {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 1rem;
}

.btn-icon:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

/* ─── Hero Section: Clean & Minimalist (Zero Picture Clutter) ─── */
.hero,
.hero.hero-simple {
  position: relative;
  min-height: 520px;
  height: auto;
  padding: 6.5rem 0 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-simple-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-simple-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 180, 0.1);
  border: 1px solid rgba(0, 245, 180, 0.35);
  color: #00F5B4;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 245, 180, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-simple-title {
  font-family: var(--font-primary);
  font-size: 3.6rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -1px;
  line-height: 1.1;
  margin: 0 0 1rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-simple-subtitle {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 600;
  color: #00F5B4;
  line-height: 1.4;
  margin: 0 0 1rem;
  max-width: 720px;
}

.hero-simple-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero-simple-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-cta-btn {
  background: linear-gradient(135deg, #00F5B4, #00D09C) !important;
  color: #021B13 !important;
  font-weight: 800 !important;
  box-shadow: 0 0 30px rgba(0, 245, 180, 0.45) !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(0, 245, 180, 0.65) !important;
}

.hero-explore-btn {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.hero-explore-btn:hover {
  border-color: #00F5B4 !important;
  color: #00F5B4 !important;
  background: rgba(0, 245, 180, 0.08) !important;
}

.hero-simple-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 820px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F5B4;
  box-shadow: 0 0 8px #00F5B4;
}

/* ═══════════════════════════════════════════════════════════
   LIVE AUTO-SLIDING AD RUNNER (DUBAI, TRADING, FINTECH, MUTUAL FUNDS)
   ═══════════════════════════════════════════════════════════ */
.ad-runner-section {
  padding: 3.5rem 0 2rem;
  background: radial-gradient(circle at 50% 0%, rgba(11, 25, 44, 0.6) 0%, rgba(3, 7, 18, 0.95) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.ad-live-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F5B4;
  box-shadow: 0 0 10px #00F5B4;
  display: inline-block;
  animation: regBeaconPulse 1.5s infinite;
}

.ad-runner-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.25rem 0;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.ad-runner-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: adMarqueeScroll 48s linear infinite;
  will-change: transform;
}

.ad-runner-track:hover {
  animation-play-state: paused;
}

@keyframes adMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ad-card {
  width: 330px;
  flex-shrink: 0;
  background: rgba(11, 25, 44, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.ad-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(0, 245, 180, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 245, 180, 0.25);
}

.ad-card-img-wrap {
  width: 100%;
  height: 185px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.ad-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-card:hover .ad-card-img-wrap img {
  transform: scale(1.08);
}

.ad-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 245, 180, 0.45);
  color: #00F5B4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  z-index: 2;
}

.ad-card-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ad-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
  line-height: 1.3;
  font-family: var(--font-primary);
}

.ad-card-desc {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.ad-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
}

@media (max-width: 768px) {
  .ad-card {
    width: 275px;
  }
  .ad-card-img-wrap {
    height: 155px;
  }
  .ad-runner-track {
    animation-duration: 38s;
  }
}

/* ═══════════════════════════════════════════════════════════
   KYC HELP VIDEOS & STEP-BY-STEP TUTORIALS SECTION
   ═══════════════════════════════════════════════════════════ */
.kyc-video-section {
  padding: 4.5rem 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(0, 245, 180, 0.04) 0%, rgba(3, 7, 18, 0.8) 70%, #000000 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.kyc-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.kyc-video-card {
  background: rgba(13, 22, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.kyc-video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 180, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(0, 245, 180, 0.15);
}

/* Video Thumbnail with Play Button */
.kyc-video-thumb-wrap {
  position: relative;
  height: 190px;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
  background: #0B192C;
}

.kyc-video-thumb-bg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.4s ease;
}

.kyc-video-thumb-wrap:hover .kyc-video-thumb-bg {
  transform: scale(1.04);
}

.zerodha-gradient { background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%); }
.angel-gradient   { background: linear-gradient(135deg, #7C2D12 0%, #0F172A 100%); }
.upstox-gradient  { background: linear-gradient(135deg, #581C87 0%, #0F172A 100%); }
.groww-gradient   { background: linear-gradient(135deg, #064E3B 0%, #0F172A 100%); }
.cams-gradient    { background: linear-gradient(135deg, #1E40AF 0%, #0B132B 100%); }
.cdsl-gradient    { background: linear-gradient(135deg, #881337 0%, #0F172A 100%); }

.kyc-video-brand-logo {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  margin-bottom: 4px;
}

.kyc-video-step-preview {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kyc-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 245, 180, 0.9);
  color: #021B13;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 245, 180, 0.6);
  transition: all 0.25s ease;
  z-index: 2;
}

.kyc-video-thumb-wrap:hover .kyc-video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #00FF88;
  box-shadow: 0 0 35px rgba(0, 245, 180, 0.9);
}

.kyc-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 245, 180, 0.18);
  border: 1px solid rgba(0, 245, 180, 0.4);
  color: #00F5B4;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.kyc-video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  z-index: 2;
}

/* Card Body */
.kyc-video-body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kyc-video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.kyc-video-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #00F5B4;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.kyc-video-hd {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.kyc-video-title {
  font-family: var(--font-primary);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.kyc-video-desc {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kyc-video-steps-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
}

.kyc-vstep {
  font-size: 0.76rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 7px;
}

.vstep-num {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(0, 245, 180, 0.15);
  color: #00F5B4;
  font-size: 0.65rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kyc-video-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: auto;
}

/* ─── Video Modal (Dark Cyber Pop-up) ─── */
.kyc-video-modal-overlay {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.kyc-video-modal-dialog {
  max-width: min(780px, 94vw) !important;
  background: #0B192C !important;
  border: 1px solid rgba(0, 245, 180, 0.3) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 245, 180, 0.2) !important;
}

.kyc-video-modal-header {
  background: rgba(15, 23, 42, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.kyc-video-modal-body {
  padding: 1.25rem !important;
}

.video-player-frame-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
}

.video-player-frame-wrap iframe,
.video-player-frame-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-guide-timeline-wrap {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.video-timeline-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #00F5B4;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.video-timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.video-timeline-item {
  font-size: 0.78rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.video-time-tag {
  color: #FBBF24;
  font-weight: 700;
  font-size: 0.72rem;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.video-modal-footer-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 992px) {
  .kyc-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (max-width: 600px) {
  .kyc-video-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .video-timeline-grid {
    grid-template-columns: 1fr;
  }
  .kyc-video-thumb-wrap {
    height: 170px;
  }
}
/* ─── Sections ─── */
.section {
  padding: var(--space-3xl) 0;
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #00F5B4;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: #94A3B8;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-subtitle {
  color: var(--gray-400);
}

/* ─── KYC Cards Grid ─── */
.kyc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.kyc-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.kyc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00F5B4, #38BDF8);
  opacity: 0;
  transition: var(--transition-smooth);
}

.kyc-card:hover {
  border-color: #00D09C;
  box-shadow: 0 12px 35px rgba(0, 208, 156, 0.25), 0 0 15px rgba(0, 208, 156, 0.15);
  transform: translateY(-5px);
}

.kyc-card:hover::before {
  opacity: 1;
}

.kyc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.kyc-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(30, 62, 98, 0.6), rgba(11, 25, 44, 0.8));
  border: 1px solid rgba(0, 208, 156, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00F5B4;
  font-size: 1.3rem;
}

.kyc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kyc-badge.popular {
  background: rgba(0, 208, 156, 0.15);
  color: #00F5B4;
  border: 1px solid rgba(0, 208, 156, 0.3);
}

.kyc-badge.trusted {
  background: rgba(59, 130, 246, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.kyc-badge.required {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-500);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.kyc-badge.easy, .kyc-badge.zero-fee {
  background: rgba(16, 185, 129, 0.15);
  color: var(--green-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.kyc-badge.depository {
  background: rgba(148, 163, 184, 0.15);
  color: #CBD5E1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.kyc-card h3 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.kyc-card p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.kyc-card .btn {
  width: 100%;
}

/* ─── Stats Grid ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.stat-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: #00D09C;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 208, 156, 0.2);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 900;
  color: #00F5B4;
  margin-bottom: var(--space-xs);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

/* ─── Feature Cards ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 208, 156, 0.2);
  border-color: #00D09C;
  transform: translateY(-4px);
}

.feature-card-img {
  height: 200px;
  overflow: hidden;
}

.feature-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-card-img img {
  transform: scale(1.05);
}

.feature-card-body {
  padding: var(--space-xl);
}

.feature-card-body h3 {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.feature-card-body p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* ─── About Section ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-primary);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.about-text p {
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-manager {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-xl);
}

.about-manager img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--green-500);
}

.about-manager-info h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
}

.about-manager-info p {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0;
}

.about-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.about-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.about-details {
  margin-top: var(--space-lg);
}

.about-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.about-detail-item .icon {
  width: 36px;
  height: 36px;
  background: var(--green-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.about-detail-item .text h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
}

.about-detail-item .text p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin: 0;
}

/* ─── Support / Contact ─── */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.support-info h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: var(--space-md);
}

.support-info p {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.support-email-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--green-500);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.support-email-link:hover {
  color: var(--green-600);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-control::placeholder {
  color: var(--gray-400);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.75rem;
  color: var(--red-500);
  margin-top: var(--space-xs);
}

/* ─── Registration Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000 !important;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  padding: var(--space-xl);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.modal-body {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
}

.modal-footer {
  padding: 0 var(--space-xl) var(--space-xl);
}

/* ─── Payment Section ─── */
.payment-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--white);
  text-align: center;
}

.payment-amount {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-500);
  margin: var(--space-md) 0;
}

.payment-label {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.payment-success {
  text-align: center;
  padding: var(--space-2xl);
}

.payment-success .check-icon {
  width: 80px;
  height: 80px;
  background: var(--green-500);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  font-size: 2.5rem;
  color: var(--white);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

/* ─── Footer ─── */
.footer {
  background: var(--navy-900);
  color: var(--gray-400);
  padding: var(--space-3xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr 0.9fr 1fr 1.3fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--gray-400);
  margin-bottom: var(--space-lg);
}

.footer h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-400);
  padding: 0.3rem 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--green-500);
  padding-left: 4px;
}

.footer-bottom {
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--green-500);
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ─── Footer QR Code Mobile Access Card ─── */
.footer-qr-col h4 {
  margin-bottom: var(--space-md);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-qr-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 245, 180, 0.3);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 245, 180, 0.1);
  transition: all 0.3s ease;
}

.footer-qr-card:hover {
  border-color: #00F5B4;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 245, 180, 0.25);
  transform: translateY(-2px);
}

.footer-qr-code-box {
  background: #FFFFFF;
  padding: 6px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.65rem;
  transition: transform 0.2s ease;
}

.footer-qr-code-box:hover {
  transform: scale(1.05);
}

.footer-qr-img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 4px;
}

.footer-qr-badge {
  display: inline-block;
  background: rgba(0, 245, 180, 0.15);
  border: 1px solid rgba(0, 245, 180, 0.4);
  color: #00F5B4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 0.45rem;
}

.footer-qr-text p {
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.footer-qr-domain-link {
  font-size: 0.74rem;
  color: #00F5B4;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-all;
}

.footer-qr-domain-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}


/* ─── Toast Notifications (High-Priority Global Floating Layer) ─── */
.toast-container {
  position: fixed !important;
  top: max(24px, env(safe-area-inset-top, 24px)) !important;
  right: max(24px, env(safe-area-inset-right, 24px)) !important;
  z-index: 999999999 !important; /* Floats above all modals (1000000) and overlays */
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  pointer-events: none !important;
  max-width: 440px !important;
  width: calc(100% - 48px) !important;
}

.toast {
  pointer-events: auto !important;
  background: #0B192C !important;
  color: #FFFFFF !important;
  border-radius: 14px !important;
  padding: 1rem 1.25rem !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 245, 180, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  min-width: 320px !important;
  max-width: 100% !important;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  border: 1.5px solid rgba(0, 245, 180, 0.5) !important;
  border-left: 6px solid #00F5B4 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.toast.error {
  border-color: rgba(239, 68, 68, 0.6) !important;
  border-left-color: #EF4444 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(239, 68, 68, 0.35) !important;
}

.toast.warning {
  border-color: rgba(255, 184, 0, 0.6) !important;
  border-left-color: #FFB800 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 184, 0, 0.35) !important;
}

.toast.info {
  border-color: rgba(59, 130, 246, 0.6) !important;
  border-left-color: #3B82F6 !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 24px rgba(59, 130, 246, 0.35) !important;
}

.toast-message {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #F8FAFC !important;
  flex: 1 !important;
  line-height: 1.45 !important;
}

.toast-close {
  background: none !important;
  color: #94A3B8 !important;
  font-size: 1.35rem !important;
  padding: 0 4px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  transition: color 0.2s ease !important;
}

.toast-close:hover {
  color: #FFFFFF !important;
}

@keyframes slideInRight {
  from { transform: translateX(110%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInTop {
  from { transform: translate(-50%, -100%); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ─── Loading Spinner ─── */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--green-500);
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  flex-direction: column;
  gap: var(--space-md);
}

.loading-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ─── Status Pills ─── */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pill.paid {
  background: rgba(0, 208, 156, 0.1);
  color: var(--green-500);
}

.status-pill.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--gold-500);
}

.status-pill.failed {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red-500);
}

/* ─── Page Views (SPA sections) ─── */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* ─── Landing (pre-login) ─── */
.landing-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.landing-hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.landing-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.landing-content h1 {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.landing-content p {
  font-size: 1.15rem;
  color: var(--gray-400);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.landing-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Calculator Widget ─── */
.calculator-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 500px;
  margin: 0 auto;
}

.calc-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: var(--space-xl);
}

.calc-tab {
  flex: 1;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--gray-500);
  transition: var(--transition-fast);
}

.calc-tab.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.calc-result {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  margin-top: var(--space-xl);
}

.calc-result-amount {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-500);
}

.calc-result-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

/* ─── Responsive Design System ─── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  /* ─── Tablet & Mobile Header & Navigation System ─── */
  .header-inner {
    height: 66px;
    padding: 0 1.15rem;
    gap: 0.5rem;
  }

  .brand-logo-wrap {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 175px;
    object-fit: contain;
  }

  .hamburger {
    display: flex;
    margin-left: 0.25rem;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .nav-user {
    margin-left: auto;
    margin-right: 0.25rem;
    gap: 0.45rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .nav-reg-panel {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  /* Both Registration and Login tabs are ALWAYS visible on Tablet & Mobile */
  .nav-user .nav-login-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.82rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.2s ease;
  }

  .nav-user .nav-login-btn:hover,
  .nav-user .nav-login-btn:active {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
  }

  .nav-reg-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
    gap: 5px;
    line-height: 1.2;
  }

  .reg-badge-fee {
    font-size: 0.7rem;
    padding: 1px 6px;
    border-radius: 999px;
  }

  /* Hide non-essential logged-in text metadata on compact screens */
  .nav-user .nav-user-logout,
  .nav-user .nav-user-name,
  .nav-user .status-pill {
    display: none !important;
  }

  .nav-user .user-badge {
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    border-radius: 999px;
  }

  .nav-user .btn-sm {
    padding: 0.36rem 0.7rem;
    font-size: 0.78rem;
  }

  /* ─── Tablet & Mobile Slide-out Drawer Menu (Dark Luxury Aesthetic) ─── */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100dvh;
    height: 100vh;
    background: #030712;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    flex-direction: column;
    padding: 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #030712;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .mobile-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-fast);
  }

  .mobile-drawer-close:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
  }

  .mobile-nav-user {
    display: block;
    padding: 1rem 1.15rem;
    background: rgba(11, 25, 44, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-reg-panel-card {
    background: linear-gradient(135deg, rgba(11, 25, 44, 0.95), rgba(3, 7, 18, 0.98));
    border: 1px solid rgba(0, 208, 156, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(0, 245, 180, 0.2);
    border-radius: 14px;
    padding: 1.15rem;
    color: #FFFFFF;
  }

  .mobile-reg-badge-sebi {
    display: inline-block;
    background: rgba(0, 208, 156, 0.15);
    border: 1px solid rgba(0, 208, 156, 0.4);
    color: #00F5B4;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
  }

  .mobile-reg-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 4px;
    font-family: var(--font-primary);
  }

  .mobile-reg-desc {
    font-size: 0.8rem;
    color: #94A3B8;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .mobile-user-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
  }

  .mobile-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--green-500);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .mobile-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
    line-height: 1.2;
  }

  .mobile-user-contact {
    font-size: 0.78rem;
    color: #94A3B8;
    margin-top: 2px;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.5rem;
    gap: 4px;
    flex: 1;
  }

  .mobile-nav-links .nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    border-radius: var(--radius-md);
    width: 100%;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .mobile-nav-links .nav-link:active,
  .mobile-nav-links .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #00F5B4;
  }

  .mobile-nav-links .nav-link.active {
    background: rgba(0, 208, 156, 0.15);
    color: #00F5B4;
    font-weight: 700;
    border: 1px solid rgba(0, 208, 156, 0.3);
  }

  .mobile-nav-links .nav-link.active::after {
    display: none;
  }

  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #64748B;
    text-align: center;
    background: #030712;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal screen shift and ensure comfortable touch targets */
  html, body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  button, a {
    touch-action: manipulation;
  }

  .container {
    padding: 0 1rem;
  }

  /* ─── Mobile Header (Phones) ─── */
  .header-inner {
    height: 58px !important;
    padding: 0 0.65rem !important;
    gap: 0.35rem !important;
  }

  .brand-logo-wrap {
    flex-shrink: 1;
    min-width: 0;
  }

  .brand-logo-img {
    height: 32px !important;
    max-width: 135px !important;
    object-fit: contain !important;
  }

  .logo {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex !important;
    margin-left: 0.15rem !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
  }

  .nav-user {
    margin-left: auto !important;
    margin-right: 0.15rem !important;
    gap: 0.3rem !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .nav-reg-panel {
    gap: 0.3rem !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  /* Prominent Dual Auth Tabs in Mobile Phone Header */
  .nav-user .nav-login-btn {
    display: inline-flex !important;
    padding: 0.32rem 0.58rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .nav-reg-btn {
    display: inline-flex !important;
    padding: 0.32rem 0.65rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .reg-badge-fee {
    font-size: 0.65rem !important;
    padding: 1px 4px !important;
  }

  .nav-user .user-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 999px;
  }

  .nav-user .btn-sm {
    padding: 0.34rem 0.62rem;
    font-size: 0.76rem;
  }

  .mobile-user-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(3, 7, 18, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    box-shadow: var(--shadow-sm);
  }

  .mobile-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--green-500);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .mobile-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #FFFFFF;
    line-height: 1.2;
  }

  .mobile-user-contact {
    font-size: 0.78rem;
    color: #94A3B8;
    margin-top: 2px;
  }

  .mobile-drawer-footer {
    display: block;
    padding: 1.25rem;
    background: #030712;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748B;
    font-size: 0.78rem;
    text-align: center;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.5rem;
    gap: 4px;
    flex: 1;
  }

  .mobile-nav-links .nav-link {
    display: flex;
    align-items: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    border-radius: var(--radius-md);
    width: 100%;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .mobile-nav-links .nav-link:active,
  .mobile-nav-links .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #00F5B4;
  }

  .mobile-nav-links .nav-link.active {
    background: rgba(0, 208, 156, 0.15);
    color: #00F5B4;
    font-weight: 700;
    border: 1px solid rgba(0, 208, 156, 0.3);
  }

  .mobile-nav-links .nav-link.active::after {
    display: none;
  }

  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    color: #64748B;
    text-align: center;
    background: #030712;
  }

  /* ─── Hero Slider on Mobile ─── */
  .hero {
    position: relative;
    height: 480px;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    background: #000000;
  }

  .hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    z-index: 1;
  }

  .hero-slide .overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Clean transparent gradient: top 45% is open and crystal clear so the image is fully visible! */
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(3, 7, 18, 0.18) 35%,
      rgba(3, 7, 18, 0.75) 65%,
      rgba(2, 6, 23, 0.96) 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-content {
    padding: 0.75rem 1rem 2.25rem;
    text-align: center;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-content .tagline {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.35rem;
  }

  .hero-content h1 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
    max-width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  }

  .hero-content p {
    font-size: 0.82rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    max-width: 100%;
    color: #CBD5E1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.95);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
  }

  .hero-actions .btn {
    flex: 1;
    min-height: 42px;
    font-size: 0.84rem;
    padding: 0.45rem 0.75rem;
    justify-content: center;
  }

  .hero-dots {
    bottom: 8px;
    z-index: 6;
    gap: 6px;
  }

  .hero-dot {
    width: 7px;
    height: 7px;
  }

  .hero-dot.active {
    width: 20px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.05rem;
    top: 35%;
  }

  .hero-arrow-prev { left: 8px; }
  .hero-arrow-next { right: 8px; }

  /* ─── Member Gate & Greeting ─── */
  #landingGate {
    padding: 0.85rem 1rem;
  }

  #landingGate .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  #landingGate span {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  #landingGate button {
    width: 100%;
    max-width: 280px;
    min-height: 44px;
    justify-content: center;
  }

  #memberPortal {
    padding: 1rem 0;
  }

  #memberPortal .container {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.85rem;
  }

  #memberPortal .container > div:last-child {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }

  #memberPortal .container > div:last-child a {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  /* ─── Trust Stats Grid ─── */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .stat-card {
    padding: 1rem 0.75rem;
    border-radius: var(--radius-md);
  }

  .stat-number {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }

  .stat-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  /* ─── KYC Section & Filters ─── */
  .section {
    padding: 2.75rem 0;
  }

  .section-title {
    font-size: 1.65rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* Horizontal swipeable category pills for mobile touch */
  .kyc-filter-group {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem 0.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .kyc-filter-group::-webkit-scrollbar {
    display: none;
  }

  .kyc-filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-size: 0.8rem;
  }

  .kyc-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .kyc-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .kyc-card h3 {
    font-size: 1.15rem;
  }

  .kyc-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .kyc-card button {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  /* ─── Features Grid ─── */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  /* ─── SIP Calculator on Mobile ─── */
  .calculator-widget {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
    max-width: 100%;
  }

  .calc-result {
    padding: 1.25rem 1rem;
    margin-top: 1.25rem;
  }

  .calc-result-amount {
    font-size: 1.75rem;
  }

  /* ─── About & Support on Mobile ─── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }

  .about-manager {
    padding: 1rem;
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  .about-manager img {
    width: 64px;
    height: 64px;
  }

  .about-manager-info h4 {
    font-size: 1rem;
  }

  .about-manager-info p {
    font-size: 0.78rem;
  }

  .about-map iframe {
    height: 240px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .support-info h3 {
    font-size: 1.35rem;
  }

  .contact-form {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  /* CRITICAL: 16px minimum on mobile inputs prevents iOS auto-zoom disorienting user */
  .form-control {
    font-size: 16px !important;
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

  .contact-form .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* ─── Mobile Modals (Dialog / Full Natural Scroll Sheet) ─── */
  .modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    padding: 0.65rem 0.5rem 5rem !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    z-index: 10000000 !important;
  }

  .modal,
  .modal.pink-glossy {
    width: 100% !important;
    max-width: min(460px, 95vw) !important;
    border-radius: 20px !important;
    margin: 0.5rem auto 3.5rem !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    touch-action: pan-y !important;
    transform: none !important;
  }

  .modal-overlay.active .modal,
  .modal-overlay.active .modal.pink-glossy {
    transform: none !important;
  }

  .modal-header,
  .pink-glossy .modal-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 25 !important;
    background: rgba(255, 240, 246, 0.98) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 0.85rem 1rem 0.65rem !important;
  }

  #loginModal .modal-header,
  #paymentModal .modal-header {
    background: #0B192C !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .modal-body {
    padding: 0.75rem 1rem 2.5rem !important;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  .modal-header h2 {
    font-size: 1.15rem;
  }

  .modal-close {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }

  .modal-body {
    padding: 0.65rem 1rem 1.25rem;
  }

  /* Compact Monkey Guide & Stepper on Mobile */
  .monkey-mascot-card {
    padding: 8px 10px;
    gap: 10px;
    margin-bottom: 10px;
    border-radius: 14px;
  }

  .monkey-avatar-wrap {
    width: 44px;
    height: 44px;
  }

  .monkey-avatar-wrap svg {
    width: 32px;
    height: 32px;
  }

  .monkey-speech {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .journey-stepper {
    margin-bottom: 12px;
  }

  .journey-step-circle {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .journey-step-label {
    font-size: 0.65rem;
  }

  .journey-step-sub {
    font-size: 0.56rem;
  }

  .pink-glossy .form-control {
    font-size: 16px !important;
    min-height: 44px;
    padding: 0.55rem 0.85rem;
  }

  .btn-pink-glossy {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .payment-card {
    padding: 1.25rem 1rem;
  }

  .payment-amount {
    font-size: 2.4rem;
    margin: 0.5rem 0;
  }

  .modal-body .btn-lg {
    min-height: 48px;
    font-size: 0.95rem;
  }

  /* ─── Toast Notifications on Mobile (Centered at Top with Safe Area) ─── */
  .toast-container {
    top: max(14px, env(safe-area-inset-top, 14px)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 420px) !important;
    max-width: 92vw !important;
    align-items: center !important;
  }

  .toast {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    animation: slideInTop 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* ─── Footer on Mobile ─── */
  .footer {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 8px;
    gap: 0.35rem;
  }

  .brand-logo-img {
    height: 34px;
    max-width: 145px;
  }

  .nav-reg-btn {
    padding: 0.34rem 0.62rem;
    font-size: 0.74rem;
    gap: 5px;
  }

  .reg-badge-fee {
    font-size: 0.65rem;
    padding: 1px 5px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .logo-text span {
    display: inline;
  }

  .hero {
    height: 460px;
    min-height: 460px;
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-actions {
    max-width: 290px;
  }

  .hero-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    min-height: 38px;
  }

  .stat-number {
    font-size: 1.35rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .modal-body {
    padding: 0.65rem 1rem 1rem;
  }

  .modal-header {
    padding: 1rem 1rem 0.5rem;
  }
}

@media (max-width: 360px) {
  .brand-logo-img {
    height: 30px;
    max-width: 125px;
  }

  .nav-reg-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .reg-badge-fee {
    display: none;
  }

  .hamburger {
    width: 34px;
    height: 34px;
  }
}

/* ═══════════════════════════════════════════════════════════
   BRAND LOGO & SEBI CERTIFIED BADGE
   ═══════════════════════════════════════════════════════════ */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.brand-logo-img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 10px rgba(0, 245, 180, 0.3));
}
.brand-sebi-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid #FFB800;
  color: #FFB800;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   TRANSPARENT PINK GLOSSY REGISTRATION MODAL & MONKEY MASCOT
   ═══════════════════════════════════════════════════════════ */
.modal-overlay.pink-glossy-overlay {
  background: rgba(11, 25, 44, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal.pink-glossy {
  background: linear-gradient(135deg, rgba(255, 240, 246, 0.98) 0%, rgba(255, 214, 230, 0.94) 50%, rgba(255, 245, 250, 0.98) 100%) !important;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 2px solid rgba(255, 105, 180, 0.5) !important;
  box-shadow: 0 25px 60px rgba(255, 105, 180, 0.28), 0 0 40px rgba(255, 192, 203, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.9) !important;
  border-radius: 20px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  position: relative;
  max-width: 480px;
  max-height: 92vh;
  max-height: 92dvh;
}

.modal.pink-glossy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Monkey Mascot Card */
.monkey-mascot-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 105, 180, 0.35);
  box-shadow: 0 8px 20px rgba(255, 105, 180, 0.15);
  border-radius: 18px;
  padding: 12px 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.monkey-avatar-wrap {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FFB6C1, #FF69B4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(255, 105, 180, 0.35);
  border: 2px solid #FFFFFF;
  animation: monkeyBounce 3s ease-in-out infinite;
}

@keyframes monkeyBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

.monkey-speech {
  font-size: 0.82rem;
  color: #880e4f;
  line-height: 1.38;
}

.monkey-speech strong {
  display: block;
  font-size: 0.88rem;
  color: #ad1457;
  margin-bottom: 2px;
}

/* 3-Step Journey Stepper */
.journey-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 18px;
  padding: 0 6px;
  z-index: 2;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.journey-step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 2px solid #F48FB1;
  color: #AD1457;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(255, 105, 180, 0.2);
}

.journey-step.active .journey-step-circle {
  background: linear-gradient(135deg, #FF4081, #E91E63);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(233, 30, 99, 0.45);
}

.journey-step.completed .journey-step-circle {
  background: #00D09C;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.journey-step-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #880E4F;
  white-space: nowrap;
}

.journey-step-sub {
  font-size: 0.62rem;
  color: #C2185B;
  opacity: 0.85;
}

.journey-stepper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 18%;
  right: 18%;
  height: 3px;
  background: rgba(244, 143, 177, 0.5);
  z-index: 1;
}

/* Pink Glossy Inputs & Buttons */
.pink-glossy .form-control {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1.5px solid rgba(255, 105, 180, 0.35) !important;
  color: #2D0C27 !important;
  box-shadow: inset 0 2px 4px rgba(255, 192, 203, 0.15) !important;
  border-radius: 12px !important;
}

.pink-glossy .form-control:focus {
  border-color: #E91E63 !important;
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.2), inset 0 2px 4px rgba(255, 192, 203, 0.15) !important;
}

.btn-pink-glossy {
  background: linear-gradient(135deg, #FF4081 0%, #E91E63 50%, #C2185B 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 8px 24px rgba(233, 30, 99, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px;
  border-radius: 12px;
  transition: all 0.25s ease !important;
  cursor: pointer;
}

.btn-pink-glossy:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(233, 30, 99, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.8) !important;
}

/* ═══════════════════════════════════════════════════════════
   AUTH MODAL SEGMENTED TABS (Candidate Register vs Member Login)
   Touch-friendly for Mobile Phones & Tablets
   ═══════════════════════════════════════════════════════════ */
.auth-modal-nav-tabs {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.15rem;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;
}

.auth-modal-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.52rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.2;
}

.auth-modal-tab:active {
  transform: scale(0.97);
}

.auth-modal-tab-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.2;
}

/* Pink Glossy Modal Tabs (Candidate Register Modal) */
.pink-glossy .auth-modal-nav-tabs {
  background: rgba(255, 105, 180, 0.12);
  border: 1.5px solid rgba(255, 105, 180, 0.3);
  box-shadow: inset 0 1px 3px rgba(136, 14, 79, 0.08);
}

.pink-glossy .auth-modal-tab {
  color: #880E4F;
}

.pink-glossy .auth-modal-tab.active {
  background: linear-gradient(135deg, #FF69B4 0%, #D81B60 100%);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(216, 27, 96, 0.35);
}

.pink-glossy .auth-modal-tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.7);
  color: #AD1457;
}

.pink-glossy .auth-modal-tab.active .auth-modal-tab-badge {
  background: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
}

.pink-glossy .auth-modal-tab:not(.active) .auth-modal-tab-badge {
  background: rgba(216, 27, 96, 0.15);
  color: #C2185B;
}

/* Dark Modal Tabs (Member Login Modal) */
#loginModal .auth-modal-nav-tabs {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

#loginModal .auth-modal-tab {
  color: #94A3B8;
}

#loginModal .auth-modal-tab.active {
  background: linear-gradient(135deg, #00D09C 0%, #009E75 100%);
  color: #030712 !important;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 208, 156, 0.4);
}

#loginModal .auth-modal-tab:not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

#loginModal .auth-modal-tab.active .auth-modal-tab-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #030712;
}

#loginModal .auth-modal-tab:not(.active) .auth-modal-tab-badge {
  background: rgba(0, 208, 156, 0.2);
  color: #00F5B4;
}

@media (min-width: 769px) {
  .auth-modal-nav-tabs {
    padding: 5px;
    margin-bottom: 1.25rem;
  }
  .auth-modal-tab {
    padding: 0.62rem 1.15rem;
    font-size: 0.88rem;
    gap: 8px;
  }
  .auth-modal-tab-badge {
    font-size: 0.72rem;
    padding: 2px 7px;
  }
}

@media (max-width: 480px) {
  .auth-modal-tab {
    padding: 0.45rem 0.55rem;
    font-size: 0.76rem;
    gap: 4px;
  }
  .auth-modal-tab-badge {
    font-size: 0.64rem;
    padding: 1px 4px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SEBI CERTIFIED REGISTRATION POPUP
   ═══════════════════════════════════════════════════════════ */
.modal.sebi-certificate-modal {
  background: linear-gradient(145deg, #0B192C 0%, #152A4A 60%, #1E3E62 100%) !important;
  border: 2px solid #FFB800 !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 184, 0, 0.25) !important;
  color: #FFFFFF;
  border-radius: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 520px;
}

.sebi-gold-ribbon {
  background: linear-gradient(90deg, #FFB800, #FFE600, #FFB800);
  color: #0B192C;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  text-transform: uppercase;
}

.sebi-seal-badge {
  width: 74px;
  height: 74px;
  margin: 16px auto 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE600 0%, #FFB800 65%, #C78B00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.6);
  border: 3px solid #FFFFFF;
  animation: sealPulse 2.5s infinite;
}

@keyframes sealPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(255, 184, 0, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 35px rgba(255, 184, 0, 0.8); }
}

.certificate-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0;
  text-align: left;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   WORK FROM HOME CONGRATULATIONS POPUP & TELEGRAM CTA
   ═══════════════════════════════════════════════════════════ */
.modal.wfh-congrats-modal {
  background: linear-gradient(145deg, #071E22 0%, #0B2B26 50%, #1D2D44 100%) !important;
  border: 2px solid #00D09C !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 208, 156, 0.35) !important;
  color: #FFFFFF;
  border-radius: 24px;
  text-align: center;
  max-width: 520px;
}

.wfh-badge-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F5B4, #00D09C);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 0 30px rgba(0, 208, 156, 0.6);
  border: 3px solid #FFFFFF;
}

.telegram-btn-wfh {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 50%, #1789C9 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.45) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  width: 100%;
  margin: 16px 0 10px;
  cursor: pointer;
}

.telegram-btn-wfh:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(34, 158, 217, 0.6) !important;
}

/* ═══════════════════════════════════════════════════════════
   CLIENT DASHBOARD & AFFILIATION SECTION (OBSIDIAN GLASS)
   ═══════════════════════════════════════════════════════════ */
.dashboard-section {
  background: rgba(5, 11, 24, 0.45);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-glass-card {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 1.75rem !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6) !important;
  color: #FFFFFF;
}

.dashboard-glass-card:hover {
  border-color: rgba(0, 208, 156, 0.3) !important;
}

.client-dashboard-wrap {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  padding: 2rem;
  margin-top: 1.5rem;
}

.wfh-progress-card {
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.9) 0%, rgba(30, 62, 98, 0.7) 100%);
  backdrop-filter: blur(20px);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 208, 156, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 208, 156, 0.1);
  position: relative;
  overflow: hidden;
}

.wfh-progress-bar-bg {
  height: 12px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 8px;
}

.wfh-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FFB800 0%, #00F5B4 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 245, 180, 0.6);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.affiliation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .affiliation-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SIP Calculator Widget & Visual Grid ─── */
.calc-container-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.calc-container-grid .calculator-widget {
  max-width: 100%;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-visual-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.calc-visual-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 180, 0.4);
}

.calc-visual-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.calc-visual-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.calc-visual-card:hover .calc-visual-img-wrap img {
  transform: scale(1.06);
}

.calc-visual-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.calc-visual-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(0, 245, 180, 0.2);
  border: 1px solid #00F5B4;
  color: #00F5B4;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.calc-visual-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.calc-milestone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 0.6rem;
}

.calculator-widget {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.25rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.calculator-widget label {
  color: #E2E8F0 !important;
  font-weight: 600;
}

.calculator-widget span[id^="calc"] {
  color: #00F5B4 !important;
}

.calc-result {
  background: linear-gradient(135deg, rgba(0, 208, 156, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid rgba(0, 208, 156, 0.35);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

.calc-result-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: #00F5B4;
  font-family: var(--font-primary);
  text-shadow: 0 0 20px rgba(0, 245, 180, 0.4);
}

.calc-result-label {
  font-size: 0.85rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─── Support Desk & Direct Contact Card ─── */
.support-channels-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.contact-form h3 {
  color: #FFFFFF !important;
}

.contact-form label {
  color: #E2E8F0 !important;
}

/* Global Form Controls (Dark Cyber Glass) */
.form-control {
  background: rgba(3, 7, 18, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  color: #FFFFFF !important;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: #00F5B4 !important;
  box-shadow: 0 0 15px rgba(0, 245, 180, 0.25) !important;
  outline: none;
}

/* Buttons Polish */
.btn-primary {
  background: linear-gradient(135deg, #00F5B4 0%, #00D09C 50%, #059669 100%) !important;
  color: #021B13 !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 6px 20px rgba(0, 208, 156, 0.35) !important;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 208, 156, 0.5) !important;
}

/* Footer Dark Polish */
.footer {
  background: rgba(2, 6, 18, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: #FFFFFF;
}

.footer-links a {
  color: #94A3B8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00F5B4;
}

/* ─── Corporate HQ Photo Card in About Section ─── */
.about-hq-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  background: var(--navy-900);
}

.about-hq-photo-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-hq-photo-card:hover img {
  transform: scale(1.05);
}

.about-hq-photo-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 30, 0.95) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── Support Desk Photo Wrap ─── */
.support-photo-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  background: var(--navy-900);
}

.support-photo-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.support-photo-wrap:hover img {
  transform: scale(1.05);
}

.support-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 30, 0.95) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* ─── Compact Section Padding & Spacing Polish ─── */
.section {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

@media (max-width: 992px) {
  .calc-container-grid {
    grid-template-columns: 1fr;
  }
}



/* ---------------------------------------------------------------
   PREMIUM FINTECH UI/UX REDESIGN ENHANCEMENTS
   Cohesive glassmorphic dark theme, luminous emerald accents,
   refined typography, and harmonious homepage hierarchy.
   --------------------------------------------------------------- */

/* Section Label & Header Upgrades */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 245, 180, 0.08);
  border: 1px solid rgba(0, 245, 180, 0.24);
  color: #00F5B4;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 16px rgba(0, 245, 180, 0.12);
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF 25%, #E2E8F0 75%, #94A3B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.98rem;
  color: #94A3B8;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Floating Registration Trust Bar */
.landing-trust-bar {
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.88), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 245, 180, 0.25);
  border-bottom: 1px solid rgba(0, 245, 180, 0.25);
  padding: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.landing-trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.landing-trust-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.trust-beacon-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00F5B4;
  box-shadow: 0 0 10px #00F5B4, 0 0 20px #00F5B4;
  display: inline-block;
  animation: regBeaconPulse 1.5s infinite;
  flex-shrink: 0;
}

.trust-badge-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  background: rgba(0, 245, 180, 0.12);
  border: 1px solid rgba(0, 245, 180, 0.3);
  color: #00F5B4;
  flex-shrink: 0;
}

.trust-message {
  font-size: 0.92rem;
  color: #E2E8F0;
  line-height: 1.45;
}

.trust-fee-highlight {
  color: #00F5B4;
  font-weight: 800;
  font-size: 1.05rem;
}

.landing-trust-btn {
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 208, 156, 0.4);
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0.55rem 1.25rem;
}

/* Upgraded Stat Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 0;
}

.stat-card {
  background: rgba(13, 22, 38, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.6rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-card:hover {
  background: rgba(15, 26, 46, 0.88);
  border-color: rgba(0, 245, 180, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 245, 180, 0.15);
}

.stat-card-featured {
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 245, 180, 0.06);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.65rem;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 2.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 500;
}

.stat-glow-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0.85;
}

/* Feature Cards / Market Insights Upgrades */
.feature-card {
  background: rgba(13, 22, 38, 0.75) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.35s ease;
}

.feature-card:hover {
  border-color: rgba(0, 245, 180, 0.4) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 245, 180, 0.15);
  transform: translateY(-5px);
}

.feature-card-img {
  position: relative;
  height: 195px;
  overflow: hidden;
}

.feature-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid rgba(0, 245, 180, 0.35);
  color: #00F5B4;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 2;
}

.feature-card-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 0.5rem;
}

.feature-card-body p {
  color: #94A3B8 !important;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Support Section Typography & Color Polish */
.support-heading {
  font-family: var(--font-primary);
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 0.65rem;
  letter-spacing: -0.3px;
}

.support-subtext {
  color: #94A3B8 !important;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Custom Styled Range Sliders for SIP Calculator */
.calculator-widget input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: none;
  margin: 0.65rem 0 0.25rem;
  cursor: pointer;
  border: none !important;
}

.calculator-widget input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00F5B4;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 12px #00F5B4, 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.calculator-widget input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 18px #00F5B4, 0 3px 8px rgba(0, 0, 0, 0.6);
}

.calculator-widget input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00F5B4;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 12px #00F5B4, 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* ---------------------------------------------------------------
   CREATIVE & ULTRA-OPTIMIZED CLIENT DASHBOARD (NO IMAGES)
   Vector SVG-based, cyber-glassmorphic, hardware-accelerated.
   --------------------------------------------------------------- */

.dashboard-section {
  background: radial-gradient(circle at 50% 0%, rgba(11, 25, 44, 0.7) 0%, rgba(3, 7, 18, 0.98) 75%) !important;
  border-bottom: 1px solid rgba(0, 245, 180, 0.15) !important;
  position: relative;
}

/* Candidate Cockpit Header Bar */
.cockpit-header-card {
  background: rgba(13, 22, 38, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cockpit-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00F5B4, #3B82F6, #10B981, #00FF66);
}

.cockpit-telemetry-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.cockpit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  color: #CBD5E1;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.cockpit-pill.active {
  background: rgba(0, 245, 180, 0.12);
  border-color: rgba(0, 245, 180, 0.35);
  color: #00F5B4;
}

/* Creative 4-Stage Stepper */
.cockpit-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 1.25rem 0 0.85rem;
}

@media (max-width: 820px) {
  .cockpit-stepper {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.cockpit-step-item {
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.cockpit-step-item.completed {
  border-color: rgba(0, 245, 180, 0.45);
  background: rgba(0, 245, 180, 0.06);
  box-shadow: inset 0 0 14px rgba(0, 245, 180, 0.05);
}

.cockpit-step-item.active {
  border-color: rgba(255, 184, 0, 0.45);
  background: rgba(255, 184, 0, 0.06);
}

.step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  flex-shrink: 0;
}

.cockpit-step-item.completed .step-num-badge {
  background: #00F5B4;
  color: #030712;
  box-shadow: 0 0 10px rgba(0, 245, 180, 0.6);
}

.cockpit-step-item.active .step-num-badge {
  background: #FFB800;
  color: #030712;
  box-shadow: 0 0 10px rgba(255, 184, 0, 0.6);
}

.step-text-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.step-text-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  margin-top: 1px;
}

/* Broker Quick Chips */
.broker-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.broker-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.broker-chip:hover, .broker-chip.active {
  background: rgba(0, 245, 180, 0.15);
  border-color: #00F5B4;
  color: #00F5B4;
  box-shadow: 0 0 12px rgba(0, 245, 180, 0.2);
}

/* Vector Input Wrappers */
.vector-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.vector-input-icon {
  position: absolute;
  left: 14px;
  color: #00F5B4;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vector-form-control {
  width: 100%;
  padding-left: 44px !important;
}

/* Affiliation Ledger Item */
.ledger-item-card {
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.ledger-item-card:hover {
  border-color: rgba(0, 245, 180, 0.35);
  background: rgba(5, 12, 28, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ledger-item-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00F5B4;
}

/* ══════════════════════════════════════════════════════
   CLIENT DASHBOARD ONLY MODE (WHEN ACTIVE, ONLY DASHBOARD OPENS)
   WHEN BACK IS CLICKED, RETURNS TO HOME PAGE
   ══════════════════════════════════════════════════════ */
#dashboard {
  display: none;
}

body.dashboard-active .hero,
body.dashboard-active #home,
body.dashboard-active .ticker-bar,
body.dashboard-active #landingGate,
body.dashboard-active #memberPortal,
body.dashboard-active .stats-section,
body.dashboard-active #kycs,
body.dashboard-active #kyc-videos,
body.dashboard-active #about,
body.dashboard-active #support,
body.dashboard-active .footer {
  display: none !important;
}

body.dashboard-active #dashboard {
  display: block !important;
  min-height: calc(100vh - 74px);
  padding: calc(74px + 1.25rem) 0 3.5rem !important;
  background: radial-gradient(circle at 50% 0%, rgba(15, 23, 42, 0.95) 0%, rgba(3, 7, 18, 0.98) 100%) !important;
  position: relative;
  z-index: 10;
}

@media (max-width: 1024px) {
  body.dashboard-active #dashboard {
    min-height: calc(100vh - 60px);
    padding: calc(60px + 1rem) 0 2.5rem !important;
  }
}

/* Strictly text, clean badges & structured data inside Client Dashboard */
#dashboard img,
#dashboard svg.decorative-icon,
#dashboard .vector-input-icon {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE FRAMING & RESPONSIVE OPTIMIZATION SYSTEM
   Guarantees 100% viewport containment, zero horizontal overflow,
   crystal-clear touch interactions, and cohesive typography across all mobile devices.
   ═══════════════════════════════════════════════════════════════ */

/* Global Mobile Viewport Containment */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  /* Container Padding & Width */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  /* Header Framing */
  .header {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .header-inner {
    height: 60px !important;
    padding: 0 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .brand-logo-img {
    height: 35px !important;
    max-width: 145px !important;
    object-fit: contain !important;
  }

  .nav-user {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin-left: auto !important;
    margin-right: 0.2rem !important;
  }

  .nav-reg-panel {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }

  .nav-user .nav-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.34rem 0.62rem !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .nav-reg-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.34rem 0.72rem !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
  }

  .hamburger {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }

  /* Section Title & Subtitle Hierarchy */
  .section-title {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 0.5rem !important;
  }

  .section-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    padding: 0 0.5rem !important;
  }

  .section {
    padding: 2.5rem 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Hero Section Framing: Clean & Minimalist */
  .hero,
  .hero.hero-simple {
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    padding: 3.5rem 1rem 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .hero-simple-badge {
    font-size: 0.72rem !important;
    padding: 4px 12px !important;
    margin-bottom: 1rem !important;
  }

  .hero-simple-title {
    font-size: 2.2rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-simple-subtitle {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-simple-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-simple-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 1.5rem !important;
  }

  .hero-simple-actions .btn {
    width: 100% !important;
    min-height: 44px !important;
    font-size: 0.88rem !important;
    justify-content: center !important;
  }

  .hero-simple-chips {
    gap: 0.45rem !important;
  }

  .hero-chip {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }

  /* Registration Gate Bar on Mobile */
  .landing-trust-bar {
    padding: 0.9rem 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .landing-trust-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.75rem !important;
    justify-content: center !important;
  }

  .landing-trust-content {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
  }

  .trust-message {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }

  .landing-trust-btn {
    width: 100% !important;
    max-width: 280px !important;
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
  }

  /* Fixed Stats Grid: Force 2 Columns on Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-card {
    padding: 1.15rem 0.75rem !important;
    border-radius: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .stat-number {
    font-size: 1.55rem !important;
  }

  .stat-label {
    font-size: 0.78rem !important;
  }

  .stat-sub {
    font-size: 0.7rem !important;
  }

  /* Live Ad Runner Ribbon */
  .ad-runner-section {
    padding: 2.5rem 0 1.5rem !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .ad-runner-marquee-container {
    width: 100% !important;
    overflow: hidden !important;
    padding: 0.75rem 0 !important;
  }

  .ad-card {
    width: 265px !important;
    border-radius: 14px !important;
  }

  .ad-card-img-wrap {
    height: 145px !important;
  }

  /* KYC Directory Grid & Filter Ribbon */
  .kyc-filter-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 6px !important;
    padding: 0.5rem 0.25rem 0.75rem !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  .kyc-filter-group::-webkit-scrollbar {
    display: none !important;
  }

  .kyc-filter-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0.4rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  .kyc-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .kyc-card {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .kyc-card button {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  /* SIP Calculator Container */
  .calc-container-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    width: 100% !important;
  }

  .calculator-widget {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .calc-visual-card {
    border-radius: 16px !important;
    width: 100% !important;
  }

  /* KYC Video Help on Mobile */
  .kyc-video-modal-dialog {
    max-width: 95vw !important;
    margin: 0.5rem auto 3.5rem !important;
  }

  /* About & Support Sections */
  .about-grid,
  .support-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .contact-form {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .form-control {
    font-size: 16px !important;
    min-height: 48px !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Client Dashboard on Mobile */
  .cockpit-header-card {
    padding: 1.15rem 1rem !important;
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
  }

  .cockpit-header-card h2 {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
  }

  .cockpit-header-card > div:first-child > div:last-child {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
  }

  .cockpit-header-card > div:first-child > div:last-child a,
  .cockpit-header-card > div:first-child > div:last-child button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 0.45rem 0.5rem !important;
    font-size: 0.78rem !important;
  }

  .cockpit-telemetry-row {
    gap: 5px !important;
    margin-top: 0.75rem !important;
  }

  .cockpit-pill {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
  }

  .wfh-progress-card {
    padding: 1.15rem 1rem !important;
    border-radius: 16px !important;
    margin-bottom: 1rem !important;
  }

  .cockpit-stepper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin: 1rem 0 0.75rem !important;
  }

  .cockpit-step-item {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    gap: 8px !important;
  }

  .step-num-badge {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }

  .step-text-title {
    font-size: 0.74rem !important;
  }

  .step-text-sub {
    font-size: 0.64rem !important;
  }

  .affiliation-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .dashboard-glass-card {
    padding: 1.25rem 1rem !important;
    border-radius: 16px !important;
  }

  /* Modals on Mobile - Full Natural Scrolling Container */
  .modal-overlay {
    padding: 0.65rem 0.5rem 5rem !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }

  .modal,
  .modal.pink-glossy {
    width: 100% !important;
    max-width: min(460px, 95vw) !important;
    border-radius: 20px !important;
    margin: 0.5rem auto 3.5rem !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    touch-action: pan-y !important;
  }
}

@media (max-width: 480px) {
  .hero.hero-simple {
    padding: 3rem 0.75rem 2rem !important;
  }

  .hero-simple-title {
    font-size: 1.85rem !important;
  }

  .hero-simple-subtitle {
    font-size: 0.94rem !important;
  }

  .hero-simple-desc {
    font-size: 0.84rem !important;
  }

  .brand-logo-img {
    height: 30px !important;
    max-width: 125px !important;
  }

  .nav-user .nav-login-btn {
    display: inline-flex !important;
    padding: 0.3rem 0.52rem !important;
    font-size: 0.72rem !important;
  }

  .nav-reg-btn {
    display: inline-flex !important;
    padding: 0.3rem 0.6rem !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 0 4px !important;
    gap: 0.2rem !important;
  }

  .brand-logo-img {
    height: 26px !important;
    max-width: 105px !important;
  }

  .nav-user {
    gap: 0.2rem !important;
  }

  .nav-reg-panel {
    gap: 0.2rem !important;
  }

  .nav-user .nav-login-btn {
    display: inline-flex !important;
    padding: 0.26rem 0.42rem !important;
    font-size: 0.68rem !important;
  }

  .nav-reg-btn {
    display: inline-flex !important;
    padding: 0.26rem 0.48rem !important;
    font-size: 0.68rem !important;
  }

  .reg-badge-fee {
    display: inline-block !important;
    font-size: 0.58rem !important;
    padding: 0 3px !important;
  }

  .hamburger {
    width: 32px !important;
    height: 32px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.4rem !important;
  }

  .stat-card {
    padding: 0.85rem 0.4rem !important;
  }

  .stat-number {
    font-size: 1.3rem !important;
  }

  .stat-label {
    font-size: 0.7rem !important;
  }

  .stat-sub {
    font-size: 0.65rem !important;
  }
}


/* Pipeline section removed */

/* ═══════════════════════════════════════════════════════════════
   DIGITECH LISTENS — FLOATING AI INFORMATION ASSISTANT (RIGHT-BELOW CORNER)
   ═══════════════════════════════════════════════════════════════ */
.digitech-listens-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-primary);
}

/* Floating Launcher Trigger Button */
.digitech-listens-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(0, 245, 180, 0.4);
  color: #FFFFFF;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 245, 180, 0.25);
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.digitech-listens-trigger:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #00F5B4;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 245, 180, 0.45);
}

.digitech-listens-trigger.chat-open {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.dl-ai-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 245, 180, 0.15);
  color: #00F5B4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0, 245, 180, 0.3);
}

.dl-trigger-text {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.dl-beacon-pulse {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00F5B4;
  box-shadow: 0 0 10px #00F5B4;
  animation: dlBeaconPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes dlBeaconPing {
  0% { transform: scale(0.95); opacity: 1; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.dl-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F5B4;
  box-shadow: 0 0 8px #00F5B4;
}

/* Chat Card Window */
.digitech-listens-card {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: rgba(11, 17, 32, 0.96);
  border: 1px solid rgba(0, 245, 180, 0.3);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 245, 180, 0.15);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.digitech-listens-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.dl-card-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(11, 25, 44, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dl-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-avatar-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 245, 180, 0.12);
  border: 1px solid rgba(0, 245, 180, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dl-avatar-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 180, 0.4);
  animation: dlAvatarPulse 3s ease-in-out infinite;
}

@keyframes dlAvatarPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.06); }
}

.dl-header-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dl-header-badge {
  font-size: 0.62rem;
  background: rgba(0, 245, 180, 0.18);
  color: #00F5B4;
  border: 1px solid rgba(0, 245, 180, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
}

.dl-header-sub {
  font-size: 0.72rem;
  color: #94A3B8;
  margin-top: 1px;
}

.dl-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Audio Speech Toggle in Header */
.dl-audio-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 245, 180, 0.12);
  border: 1px solid rgba(0, 245, 180, 0.35);
  color: #00F5B4;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dl-audio-toggle:hover {
  background: rgba(0, 245, 180, 0.22);
  box-shadow: 0 0 12px rgba(0, 245, 180, 0.3);
}

.dl-audio-toggle.muted {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #94A3B8;
}

/* Soundwave Animation inside Audio Button & Speaking State */
.dl-audio-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.dl-audio-wave span {
  display: inline-block;
  width: 2px;
  height: 4px;
  background: #00F5B4;
  border-radius: 999px;
  transition: height 0.2s ease;
}

.dl-speaking .dl-audio-wave span:nth-child(1) {
  animation: dlSoundwave 0.6s infinite ease-in-out alternate;
}

.dl-speaking .dl-audio-wave span:nth-child(2) {
  animation: dlSoundwave 0.8s infinite ease-in-out 0.2s alternate;
}

.dl-speaking .dl-audio-wave span:nth-child(3) {
  animation: dlSoundwave 0.5s infinite ease-in-out 0.4s alternate;
}

@keyframes dlSoundwave {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* Voice Replay Button on AI Bubbles */
.dl-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.dl-replay-voice-btn {
  background: rgba(0, 245, 180, 0.1);
  border: 1px solid rgba(0, 245, 180, 0.25);
  color: #00F5B4;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.dl-replay-voice-btn:hover {
  background: rgba(0, 245, 180, 0.25);
  transform: scale(1.1);
}

.dl-speaking-bubble {
  border-color: rgba(0, 245, 180, 0.6) !important;
  box-shadow: 0 0 16px rgba(0, 245, 180, 0.25) !important;
}

.dl-header-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dl-header-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.dl-close-btn {
  font-size: 1.35rem;
  line-height: 1;
}

/* Security notice strip */
.dl-trust-strip {
  background: rgba(0, 245, 180, 0.06);
  border-bottom: 1px solid rgba(0, 245, 180, 0.12);
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #00F5B4;
  text-align: center;
  letter-spacing: 0.3px;
}

/* Messages Stream */
.dl-messages-stream {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.dl-messages-stream::-webkit-scrollbar {
  width: 5px;
}

.dl-messages-stream::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.dl-msg-row {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.dl-msg-row.user {
  align-self: flex-end;
  align-items: flex-end;
}

.dl-msg-row.ai {
  align-self: flex-start;
  align-items: flex-start;
}

.dl-fade-in {
  animation: dlMsgFade 0.25s ease-out;
}

@keyframes dlMsgFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dl-msg-bubble {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  word-break: break-word;
}

.dl-msg-row.user .dl-msg-bubble {
  background: linear-gradient(135deg, #00D09C, #059669);
  color: #FFFFFF;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 208, 156, 0.25);
}

.dl-msg-row.ai .dl-msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border-bottom-left-radius: 4px;
}

.dl-msg-time {
  font-size: 0.65rem;
  color: #64748B;
  margin-top: 3px;
  padding: 0 4px;
}

/* Markdown styling inside bubbles */
.dl-msg-h2, .dl-msg-h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #00F5B4;
  margin: 0 0 6px;
}

.dl-msg-ul, .dl-msg-ol {
  margin: 6px 0 6px 16px;
  padding: 0;
}

.dl-msg-li, .dl-msg-oli {
  margin-bottom: 4px;
  font-size: 0.84rem;
}

/* Quick prompt chips */
.dl-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.dl-chip {
  background: rgba(0, 245, 180, 0.08);
  border: 1px solid rgba(0, 245, 180, 0.25);
  color: #00F5B4;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.dl-chip:hover {
  background: rgba(0, 245, 180, 0.2);
  border-color: #00F5B4;
  transform: translateY(-1px);
}

/* Typing Indicator */
.dl-typing-indicator {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  margin: 0 14px;
  gap: 4px;
}

.dl-typing-indicator span:not(:last-child) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00F5B4;
  animation: dlBounce 1.4s infinite ease-in-out both;
}

.dl-typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.dl-typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes dlBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Input Bar */
.dl-input-bar {
  padding: 10px 14px 12px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dl-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: #FFFFFF;
  outline: none;
  transition: all 0.2s ease;
}

.dl-input:focus {
  border-color: #00F5B4;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 16px rgba(0, 245, 180, 0.2);
}

.dl-input::placeholder {
  color: #64748B;
  font-size: 0.82rem;
}

.dl-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00F5B4, #00D09C);
  color: #021B13;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 14px rgba(0, 245, 180, 0.35);
  flex-shrink: 0;
}

.dl-send-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(0, 245, 180, 0.55);
}

.dl-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Mobile Responsiveness for Digitech Listens */
@media (max-width: 480px) {
  .digitech-listens-wrapper {
    bottom: 16px;
    right: 16px;
  }
  .digitech-listens-trigger {
    padding: 8px 14px 8px 10px;
  }
  .dl-trigger-text {
    font-size: 0.8rem;
  }
  .dl-ai-icon {
    width: 30px;
    height: 30px;
  }
  .digitech-listens-card {
    width: calc(100vw - 28px);
    right: -4px;
    height: 480px;
    max-height: calc(100vh - 90px);
    bottom: calc(100% + 10px);
  }
}








/* ═══════════════════════════════════════════════════════════════
   MASTER RESPONSIVE MOBILE-FIRST ARCHITECTURE (PRODUCTION-READY)
   Strictly engineered for all viewports:
   - 320px – Small Mobile (e.g., iPhone SE 1st gen, Galaxy Z Flip cover)
   - 375px – Standard Mobile (e.g., iPhone SE 2/3, iPhone 11 Pro)
   - 390px – Modern Smartphone (e.g., iPhone 12/13/14/15/16)
   - 430px – Large Smartphone (e.g., iPhone Pro Max, Galaxy S Ultra)
   - 768px – Tablet (e.g., iPad Mini, iPad 10.2")
   - 1024px – Small Laptop / iPad Landscape
   - 1366px – Standard Desktop & Laptop
   - 1920px – Large Desktop Monitor
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. GLOBAL MOBILE-FIRST BASE CONTAINMENT ── */
html, body {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  position: relative !important;
  -webkit-text-size-adjust: 100% !important;
  -webkit-tap-highlight-color: transparent !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, iframe, canvas {
  max-width: 100% !important;
  height: auto;
}

button, a, input, select, textarea {
  touch-action: manipulation;
}

/* ── 2. DESKTOP & LARGE SCREENS (>= 1025px to 1920px+) ── */
@media screen and (min-width: 1025px) {
  /* Header & Navigation Bar */
  .header {
    height: 74px;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
  }

  .brand-logo-img {
    height: 42px;
    max-width: 180px;
    object-fit: contain;
  }

  .hamburger {
    display: none !important;
  }

  .nav-menu {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  .mobile-drawer-header,
  .mobile-nav-user,
  .mobile-drawer-footer,
  .mobile-drawer-close {
    display: none !important;
  }

  .mobile-nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem !important;
    padding: 0 !important;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #94A3B8;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
  }

  .nav-link:hover,
  .nav-link.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-user {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin-left: 1rem !important;
  }

  .nav-backdrop {
    display: none !important;
  }

  /* Desktop Grids */
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
  }

  .kyc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }

  .kyc-video-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }

  .about-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }

  .support-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.25fr !important;
    gap: 2.5rem !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: 1.7fr 0.9fr 0.9fr 1fr 1.3fr !important;
    gap: 2rem !important;
  }

  /* Desktop Cockpit Dashboard */
  .cockpit-stepper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
  }

  .affiliation-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: 1.5rem !important;
  }

  .hero-simple-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 1rem !important;
  }

  .hero-simple-actions .btn {
    width: auto !important;
    min-width: 200px !important;
  }
}

/* ── 3. TABLET & SMALL LAPTOPS (768px to 1024px) ── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header-inner {
    padding: 0 1.25rem !important;
    height: 64px !important;
  }

  .brand-logo-img {
    height: 36px !important;
    max-width: 155px !important;
  }

  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  .kyc-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .kyc-video-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .about-grid,
  .support-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.75rem !important;
  }

  .cockpit-stepper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .affiliation-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* ── 4. ALL SMARTPHONES & MOBILE DEVICES (<= 1024px) ── */
@media screen and (max-width: 1024px) {
  /* Top Bar Header */
  .header {
    height: 60px !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(8, 8, 16, 0.95) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .header-inner {
    height: 60px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .brand-logo-wrap {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  .brand-logo-img {
    height: 32px !important;
    max-width: 130px !important;
    object-fit: contain !important;
  }

  /* Hamburger Menu Button */
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .hamburger span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #FFFFFF !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
    background: #00F5B4 !important;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
    background: #00F5B4 !important;
  }

  /* Slide-Out Mobile Navigation Drawer */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(320px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: #0A0A16 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    z-index: 10001 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease, visibility 0.32s !important;
  }

  .nav-menu.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: #0B0B1A !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
  }

  .mobile-drawer-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    font-size: 1.5rem !important;
    border: none !important;
    cursor: pointer !important;
  }

  .mobile-nav-user {
    display: block !important;
    padding: 14px 16px 0 !important;
  }

  .mobile-reg-panel-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(0, 245, 180, 0.3) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-links {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 16px !important;
    gap: 4px !important;
  }

  .mobile-nav-links .nav-link {
    display: block !important;
    padding: 10px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #CBD5E1 !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
  }

  .mobile-nav-links .nav-link:hover,
  .mobile-nav-links .nav-link.active {
    color: #00F5B4 !important;
    background: rgba(0, 245, 180, 0.1) !important;
  }

  .mobile-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    margin-top: auto !important;
    padding: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #64748B !important;
    font-size: 0.78rem !important;
  }

  /* Full Screen Backdrop */
  .nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s !important;
  }

  .nav-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Header Right Dual Buttons */
  .nav-user {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: auto !important;
    margin-right: 4px !important;
  }

  .nav-reg-panel {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .nav-user .nav-login-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
  }

  .nav-user .nav-reg-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    gap: 4px !important;
  }
}

/* ── 5. MOBILE PHONES (<= 767px: 320px to 480px) ── */
@media screen and (max-width: 767px) {
  /* Screen Container Fit */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .section {
    padding: 2.25rem 0 !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  /* Hero Section Mobile Formatting */
  .hero.hero-simple {
    padding-top: 84px !important;
    padding-bottom: 2rem !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    min-height: auto !important;
    height: auto !important;
    width: 100% !important;
  }

  .hero-simple-badge {
    font-size: 0.7rem !important;
    padding: 4px 10px !important;
    margin: 0 auto 0.75rem !important;
    max-width: 100% !important;
    word-break: break-word !important;
  }

  .hero-simple-title {
    font-size: clamp(1.85rem, 8vw, 2.45rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 0.65rem !important;
  }

  .hero-simple-subtitle {
    font-size: clamp(0.92rem, 3.8vw, 1.15rem) !important;
    line-height: 1.4 !important;
    margin-bottom: 0.75rem !important;
  }

  .hero-simple-desc {
    font-size: clamp(0.82rem, 3.4vw, 0.95rem) !important;
    line-height: 1.6 !important;
    margin: 0 auto 1.5rem !important;
  }

  .hero-simple-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 1.5rem !important;
  }

  .hero-simple-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .hero-simple-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .hero-chip {
    font-size: 0.68rem !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
  }

  /* Stats Grid (2 Columns) */
  .stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .stat-card {
    padding: 12px 8px !important;
    border-radius: 12px !important;
  }

  .stat-number {
    font-size: 1.35rem !important;
  }

  .stat-label {
    font-size: 0.72rem !important;
  }

  .stat-sub {
    font-size: 0.65rem !important;
  }

  /* Affiliate Directory (Single Column Stack) */
  .kyc-filter-group {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 1rem auto 1.25rem !important;
  }

  .kyc-filter-btn {
    padding: 6px 12px !important;
    font-size: 0.74rem !important;
    border-radius: 999px !important;
  }

  .kyc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .kyc-card {
    width: 100% !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  .kyc-card .btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
  }

  /* Video Tutorials (Single Column Stack) */
  .kyc-video-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .kyc-video-card {
    width: 100% !important;
    border-radius: 16px !important;
  }

  .kyc-video-thumb-wrap {
    height: 175px !important;
  }

  .kyc-video-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .kyc-video-actions .btn {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
  }

  /* Cockpit & Affiliate Lead Form */
  .cockpit-header-card,
  .wfh-progress-card,
  .dashboard-glass-card {
    width: 100% !important;
    padding: 16px 12px !important;
    border-radius: 16px !important;
  }

  .cockpit-telemetry-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
  }

  .cockpit-stepper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .affiliation-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  /* Prevent iOS Auto-Zoom */
  .form-control,
  select.form-control {
    font-size: 16px !important;
    min-height: 48px !important;
    width: 100% !important;
    border-radius: 10px !important;
  }

  /* About & Support Sections */
  .about-grid,
  .support-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  /* Footer Stack */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .footer-qr-card {
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
  }

  /* Modals: Natural Touch Scroll */
  .modal-overlay {
    padding: 10px 10px 80px !important;
    align-items: flex-start !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
  }

  .modal,
  .modal.pink-glossy,
  .modal.sebi-certificate-modal,
  .kyc-video-modal-dialog {
    width: 100% !important;
    max-width: min(460px, 96vw) !important;
    margin: 10px auto 40px !important;
    border-radius: 18px !important;
  }
}

/* ── 6. SMALL MOBILE SCREENS (<= 360px: 320px to 360px) ── */
@media screen and (max-width: 360px) {
  .header-inner {
    padding: 0 4px !important;
    gap: 3px !important;
  }

  .brand-logo-img {
    height: 28px !important;
    max-width: 105px !important;
  }

  .nav-user .nav-login-btn {
    padding: 4px 7px !important;
    font-size: 0.68rem !important;
  }

  .nav-user .nav-reg-btn {
    padding: 4px 8px !important;
    font-size: 0.68rem !important;
  }

  .reg-badge-fee {
    display: none !important;
  }

  .hamburger {
    width: 34px !important;
    height: 34px !important;
  }

  .hero-simple-title {
    font-size: 1.65rem !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .cockpit-stepper {
    grid-template-columns: 1fr !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   DEDICATED MOBILE DRAWER & MULTI-PANEL SUITE (PRODUCTION READY)
   ═══════════════════════════════════════════════════════════════ */

/* ── Desktop View (>= 1025px): Hide Mobile Drawer completely ── */
@media screen and (min-width: 1025px) {
  .hamburger {
    display: none !important;
  }
  .mobile-nav-drawer {
    display: none !important;
  }
  .nav-backdrop {
    display: none !important;
  }
  .desktop-nav-menu {
    display: flex !important;
  }
  .desktop-nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
  }
}

/* ── Mobile & Tablet View (<= 1024px): Full Hamburger & Drawer Suite ── */
@media screen and (max-width: 1024px) {
  .desktop-nav-menu {
    display: none !important;
  }

  .header {
    height: 60px !important;
    padding-top: env(safe-area-inset-top, 0px) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background: rgba(8, 8, 16, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .header-inner {
    height: 60px !important;
    padding: 0 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* Hamburger Three-Lines Navigation Key */
  .hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 10002 !important;
    position: relative !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
  }

  .hamburger:active {
    background: rgba(0, 245, 180, 0.15) !important;
    border-color: #00F5B4 !important;
  }

  .hamburger span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    background: #FFFFFF !important;
    border-radius: 2px !important;
    pointer-events: none !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background 0.2s ease !important;
  }

  .hamburger.active {
    background: rgba(0, 245, 180, 0.12) !important;
    border-color: #00F5B4 !important;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
    background: #00F5B4 !important;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
    background: #00F5B4 !important;
  }

  /* Full Screen Backdrop */
  .nav-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 99990 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.28s ease, visibility 0.28s ease !important;
  }

  .nav-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Dedicated Slide-Out Drawer Shell */
  .mobile-nav-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(340px, 88vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: #090D1A !important;
    border-left: 1px solid rgba(0, 245, 180, 0.3) !important;
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    z-index: 100000 !important;
    overflow: hidden !important;
    transform: translateX(105%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease !important;
  }

  .mobile-nav-drawer.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Drawer Top Sticky Header */
  .mobile-drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 16px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: #060913 !important;
    flex-shrink: 0 !important;
  }

  .mobile-drawer-close {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #FFFFFF !important;
    font-size: 1.6rem !important;
    line-height: 1 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
  }

  .mobile-drawer-close:active {
    background: rgba(255, 100, 100, 0.2) !important;
    transform: scale(0.92) !important;
  }

  /* Drawer Scrollable Body */
  .mobile-drawer-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    padding: 12px 14px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* Drawer Sections & Headings */
  .mobile-drawer-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .mobile-section-heading {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #00F5B4 !important;
    padding-left: 4px !important;
  }

  /* Panel 1: Auth Card */
  .mobile-auth-panel .mobile-reg-panel-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(0, 245, 180, 0.35) !important;
    border-radius: 14px !important;
    padding: 14px !important;
    box-sizing: border-box !important;
  }

  .mobile-reg-badge-sebi {
    display: inline-block !important;
    background: rgba(0, 245, 180, 0.12) !important;
    border: 1px solid rgba(0, 245, 180, 0.4) !important;
    color: #00F5B4 !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    margin-bottom: 6px !important;
  }

  .mobile-reg-title {
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
  }

  .mobile-reg-desc {
    color: #94A3B8 !important;
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }

  /* Panel 2: Navigation Links */
  .mobile-nav-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .mobile-nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 11px 14px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    color: #E2E8F0 !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease !important;
  }

  .mobile-nav-item:active,
  .mobile-nav-item.active {
    background: rgba(0, 245, 180, 0.12) !important;
    border-color: rgba(0, 245, 180, 0.45) !important;
    color: #00F5B4 !important;
  }

  .mobile-nav-icon {
    font-size: 1.15rem !important;
    line-height: 1 !important;
  }

  .mobile-nav-text {
    flex: 1 1 auto !important;
  }

  .mobile-link-badge {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    background: rgba(0, 245, 180, 0.2) !important;
    color: #00F5B4 !important;
    border: 1px solid rgba(0, 245, 180, 0.4) !important;
  }

  /* Panel 3: Workstation Tools Grid */
  .mobile-tools-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .mobile-tool-card {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    text-align: left !important;
    text-decoration: none !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-tool-card.wfh-tracker {
    border-color: rgba(0, 245, 180, 0.3) !important;
  }

  .mobile-tool-card.telegram {
    border-color: rgba(34, 158, 217, 0.35) !important;
    background: rgba(34, 158, 217, 0.06) !important;
  }

  .mobile-tool-card.ai-assistant {
    border-color: rgba(168, 85, 247, 0.35) !important;
    background: rgba(168, 85, 247, 0.06) !important;
  }

  .tool-card-icon {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }

  .tool-card-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .tool-card-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
  }

  .tool-card-sub {
    font-size: 0.74rem !important;
    color: #94A3B8 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .tool-card-arrow {
    color: #00F5B4 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
  }

  /* Panel 4: Legal Chips */
  .mobile-legal-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .mobile-legal-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #CBD5E1 !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .mobile-legal-chip:active {
    color: #00F5B4 !important;
    border-color: #00F5B4 !important;
  }

  /* Panel 5: Drawer Footer */
  .mobile-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.75rem !important;
    color: #64748B !important;
    line-height: 1.4 !important;
  }

  .mobile-footer-brand {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    color: #94A3B8 !important;
    letter-spacing: 0.5px !important;
  }

  .mobile-footer-item {
    color: #94A3B8 !important;
  }

  .mobile-footer-copy {
    color: #475569 !important;
    margin-top: 4px !important;
    font-size: 0.7rem !important;
  }
}

/* ─── Enhanced Auth Security: Password Controls & OTP Verification UI (Tasks 3 & 4) ─── */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrap .form-control {
  padding-right: 42px !important;
  width: 100% !important;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94A3B8;
  font-size: 1.1rem;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  outline: none;
  transition: color 0.2s ease;
}

.pink-glossy .password-toggle-btn {
  color: #AD1457;
}

.password-toggle-btn:hover {
  color: #00F5B4;
}

.pink-glossy .password-toggle-btn:hover {
  color: #D81B60;
}

.password-strength-container {
  margin-top: 6px;
}

.password-strength-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 4px;
}

.pink-glossy .password-strength-track {
  background: rgba(255, 105, 180, 0.2);
}

.password-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-text {
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}

/* OTP Verification Box */
.otp-verification-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(0, 245, 180, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
}

.pink-glossy .otp-verification-box {
  background: rgba(255, 255, 255, 0.75);
  border: 1.5px dashed rgba(255, 105, 180, 0.5);
}

.otp-send-btn {
  white-space: nowrap;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 0 12px !important;
  border-radius: 0 12px 12px 0 !important;
  flex-shrink: 0;
}

.otp-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}


/* Step 4 Payment Summary Card & Active Highlights */
.payment-summary-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.payment-summary-card:hover {
  transform: translateY(-2px);
}

.cockpit-step-item#cockpitStep4.active {
  border-color: #00F5B4 !important;
  background: rgba(0, 245, 180, 0.1) !important;
  box-shadow: 0 0 20px rgba(0, 245, 180, 0.25) !important;
}

.cockpit-step-item#cockpitStep4.active .step-num-badge {
  background: #00F5B4 !important;
  color: #030712 !important;
  box-shadow: 0 0 12px rgba(0, 245, 180, 0.7) !important;
}

#btnUnlockStep4AndContinue:hover {
  transform: translateY(-2px) scale(1.02);
}
