/* ================================================================
   login.css — High-Contrast Modern White & Black Theme
   VINSAK CRM — Enterprise Authentication Portal
   Vinsak India Pvt. Ltd.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color Palette - Modern High Contrast White & Black */
  --bg-page:           #f8fafc;
  --bg-card:           rgba(255, 255, 255, 0.94);
  --bg-right-panel:    linear-gradient(145deg, #ffffff 0%, #fdf2f8 50%, #f0f9ff 100%);
  --bg-right-card:     #ffffff;
  
  --text-main:         #09090b;
  --text-muted:        #64748b;
  --text-light:        #94a3b8;
  --text-white:        #f8fafc;
  
  --brand-blue:        #0284c7;
  --brand-blue-hover:  #0369a1;
  --brand-magenta:     #db2777;
  
  --border-light:      #e2e8f0;
  --border-medium:     #cbd5e1;
  --border-dark:       #1e293b;
  
  --input-bg:          #ffffff;
  --input-border:      #d1d5db;
  --input-focus:       #09090b;
  
  --btn-black:         #09090b;
  --btn-black-hover:   #18181b;
  --btn-black-text:    #ffffff;
  
  --danger:            #ef4444;
  --danger-light:      #fef2f2;
  --danger-border:     #fecaca;
  
  --success:           #10b981;
  --success-light:     #f0fdf4;
  --success-border:    #bbf7d0;
  
  --info:              #0284c7;
  --info-light:        #f0f9ff;
  --info-border:       #bae6fd;
  
  /* Fonts */
  --font-primary:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:         'JetBrains Mono', monospace;
  
  /* Elevation Shadows */
  --shadow-container:  0 25px 65px -15px rgba(219, 39, 119, 0.08), 0 15px 35px -10px rgba(2, 132, 199, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.04);
  --shadow-image:      0 20px 40px -10px rgba(0, 0, 0, 0.45);
}

html, body {
  height: 100%;
  font-family: var(--font-primary);
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Full Viewport Centered Wrapper ─────────────────────────── */
.viewport-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  background: radial-gradient(circle at 50% 20%, #ffffff 0%, #fdf2f8 40%, #f0f9ff 80%, #f8fafc 100%);
  overflow-x: hidden;
}

/* ── Ambient Tech Grid Pattern ──────────────────────────────── */
.tech-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: 1;
}

/* ── Main Dual Split Container ── */
.login-split-container {
  width: 100%;
  max-width: 1180px;
  min-height: auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 
    0 24px 64px -16px rgba(15, 23, 42, 0.09),
    0 8px 24px -6px rgba(2, 132, 199, 0.05),
    0 0 0 1px rgba(255, 255, 255, 0.85) inset;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════
   LEFT COLUMN: BRAND, FORM & OTP
   ═══════════════════════════════════════════════════════════════ */
.login-left-panel {
  flex: 1;
  max-width: 480px;
  background: transparent;
  padding: 46px 48px 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.panel-inner-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* ── Brand Header Area with Animated Fade ── */
.brand-header {
  margin-bottom: 24px;
  animation: leftSideFadeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo-container {
  display: inline-block;
  margin-bottom: 12px;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(2, 132, 199, 0.12));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover {
  transform: scale(1.03);
}

.company-title-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(219, 39, 119, 0.22);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #db2777;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.08);
}

.company-title-tag i {
  color: #db2777;
  font-size: 11px;
}

.portal-heading {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.portal-subtext {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

/* Staggered Fade Animations for Left Side */
.form-field-group:nth-child(1) {
  animation: leftSideFadeIn 0.75s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-field-group:nth-child(2) {
  animation: leftSideFadeIn 0.75s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-primary-auth {
  animation: leftSideFadeIn 0.75s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.panel-bottom-footer {
  animation: leftSideFadeIn 0.75s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes leftSideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ── Alert & Notification Banner ── */
.alert-banner {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.4;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-banner.error {
  background: var(--danger-light);
  border: 1px solid var(--danger-border);
  color: #991b1b;
}

.alert-banner.success {
  background: var(--success-light);
  border: 1px solid var(--success-border);
  color: #166534;
}

.alert-banner.info {
  background: var(--info-light);
  border: 1px solid var(--info-border);
  color: #0369a1;
}

/* ── Step Panels Management ── */
.auth-step-panel {
  display: none;
}

.auth-step-panel.active {
  display: block;
  animation: fadeIn 0.25s ease-out;
}

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

/* ── Form Fields & Inputs ── */
.form-field-group {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.required-indicator {
  color: var(--danger);
  margin-left: 2px;
}

.forgot-link {
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}

.forgot-link:hover {
  color: #09090b;
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-left {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  font-size: 14px;
  pointer-events: none;
  transition: color 0.15s;
}

.form-input {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 0 42px 0 40px;
  font-size: 13.5px;
  font-family: inherit;
  font-weight: 500;
  color: #09090b;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.form-input:focus {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.14), 0 4px 14px rgba(219, 39, 119, 0.05);
}

.form-input:focus ~ .input-icon-left {
  color: #0284c7;
}

.eye-toggle-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: color 0.15s;
}

.eye-toggle-btn:hover {
  color: #09090b;
}

/* ── Primary Auth Button (Signature Brand Blue by Default) ── */
.btn-primary-auth {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 22px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 22px -4px rgba(2, 132, 199, 0.42), 0 2px 6px rgba(2, 132, 199, 0.2);
}

.btn-primary-auth:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(2, 132, 199, 0.52), 0 4px 10px rgba(2, 132, 199, 0.3);
}

.btn-primary-auth:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-primary-auth .btn-arrow-icon {
  font-size: 12px;
  transition: transform 0.15s;
}

.btn-primary-auth:hover .btn-arrow-icon {
  transform: translateX(3px);
}

/* Button Loading State */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-primary-auth.loading .btn-spinner {
  display: inline-block;
}

.btn-primary-auth.loading .btn-text,
.btn-primary-auth.loading .btn-arrow-icon {
  display: none;
}

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

/* ═══════════════════════════════════════════════════════════════
   STEP 2: OTP VERIFICATION UI
   ═══════════════════════════════════════════════════════════════ */
.otp-instruction-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 20px;
}

.otp-shield-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #09090b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.otp-instruction-text h2 {
  font-size: 14px;
  font-weight: 700;
  color: #09090b;
  margin-bottom: 2px;
}

.otp-instruction-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.otp-instruction-text strong {
  color: #09090b;
  font-weight: 700;
}

/* ── 6 Digit Input Boxes ── */
.otp-boxes-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.otp-digit-box {
  width: 100%;
  height: 52px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 800;
  color: #09090b;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.otp-digit-box:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.15), 0 4px 12px rgba(219, 39, 119, 0.05);
  background: #ffffff;
}

.otp-digit-box.filled {
  border-color: #09090b;
  background: #ffffff;
}

/* ── OTP Meta Toolbar (Timer & Resend) ── */
.otp-meta-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding: 0 2px;
}

.otp-countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.otp-countdown-pill i {
  font-size: 11px;
}

.btn-resend-trigger {
  background: none;
  border: none;
  color: var(--brand-blue);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.btn-resend-trigger:hover:not(:disabled) {
  color: var(--brand-blue-hover);
  text-decoration: underline;
}

.btn-resend-trigger:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: none;
}

/* Back Link */
.btn-secondary-back {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  height: 40px;
  color: #475569;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-secondary-back:hover {
  background: #f8fafc;
  color: #09090b;
  border-color: #94a3b8;
}

/* ── Bottom Left Footer ── */
.panel-bottom-footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-security-note {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.footer-security-note i {
  color: #10b981;
  font-size: 11px;
}

.footer-copyright {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
   RIGHT COLUMN: SLEEK WHITE & BLUE MODERN CRM SHOWCASE
   ═══════════════════════════════════════════════════════════════ */
.login-right-panel {
  flex: 1.2;
  background: linear-gradient(150deg, #f0f9ff 0%, #f8fafc 45%, #fdf2f8 100%);
  border-left: 1px solid rgba(226, 232, 240, 0.85);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px 18px;
  overflow: hidden;
}

/* Ambient Subtle Lighting inside right panel */
.login-right-panel::before {
  content: '';
  position: absolute;
  top: -12%;
  right: -10%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12), transparent 70%);
  pointer-events: none;
}

.login-right-panel::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.10), transparent 70%);
  pointer-events: none;
}

.visual-wrapper {
  width: 100%;
  max-width: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

/* ── CRM Image Showcase Frame ── */
.crm-image-frame {
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 22px;
  background: #ffffff;
}

.crm-showcase-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(2, 132, 199, 0.16);
  box-shadow: 0 20px 45px -12px rgba(2, 132, 199, 0.20), 0 4px 12px rgba(0, 0, 0, 0.04);
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.crm-showcase-img:hover {
  transform: scale(1.015);
  box-shadow: 0 25px 55px -12px rgba(2, 132, 199, 0.26), 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* ── Floating Frosted Glass Badges (Light Theme) ── */
.glass-feature-pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(2, 132, 199, 0.20);
  border-radius: 999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 25px -4px rgba(2, 132, 199, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  z-index: 10;
}

.glass-feature-pill.top-left {
  top: -12px;
  left: -12px;
  animation: floatSlow 4s ease-in-out infinite;
}

.glass-feature-pill.bottom-right {
  bottom: -12px;
  right: -12px;
  animation: floatSlow 4s ease-in-out infinite 2s;
}

.glass-feature-pill i {
  color: #0284c7;
  font-size: 12px;
}

.pill-glow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
}

.pill-glow-dot.active {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

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

/* ── Showcase Caption ── */
.showcase-caption {
  text-align: center;
  color: #0f172a;
}

.showcase-caption h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.showcase-caption p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto;
}

.showcase-feature-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #0369a1;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.05);
}

.feature-tag i {
  color: #0284c7;
  font-size: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (Tablets & Mobile)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .login-split-container {
    flex-direction: column;
    max-width: 480px;
  }

  .login-left-panel {
    padding: 36px 28px;
  }

  .login-right-panel {
    padding: 32px 24px;
  }

  .glass-feature-pill.top-left {
    top: 10px;
    left: 10px;
  }

  .glass-feature-pill.bottom-right {
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {
  .viewport-wrapper {
    padding: 12px;
  }

  .login-left-panel {
    padding: 28px 18px;
  }

  .portal-heading {
    font-size: 22px;
  }

  .otp-boxes-container {
    gap: 6px;
  }

  .otp-digit-box {
    height: 46px;
    font-size: 19px;
  }
}

/* ================================================================
   FULL-SCREEN PIXEL SPARKLE TRANSITION STYLES
   ================================================================ */
.pixel-sparkle-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(6, 13, 26, 0.4) 0%, rgba(6, 13, 26, 0.85) 100%);
  animation: sparkleOverlayFadeIn 0.25s ease-out both;
}

.pixel-sparkle-overlay.fading-out {
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

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

.pixel-sparkle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.pixel-sparkle-hud {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  width: 90%;
  padding: 28px 32px;
  background: rgba(6, 13, 26, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 24px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 45px rgba(0, 240, 255, 0.3),
    inset 0 0 25px rgba(0, 240, 255, 0.12);
  animation: agyHudPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes agyHudPop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

.hud-scanner-ring {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.hud-outer-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 240, 255, 0.6);
  animation: agySpinRing 5s linear infinite;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

@keyframes agySpinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hud-inner-core {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060d1a;
  font-size: 24px;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
  animation: agyCoreGlow 1.8s ease-in-out infinite alternate;
}

@keyframes agyCoreGlow {
  from { transform: scale(0.96); filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5)); }
  to   { transform: scale(1.04); filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.9)); }
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #38bdf8;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: agyDotBlink 1s ease-in-out infinite;
}

@keyframes agyDotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hud-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.hud-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.hud-role {
  color: #38bdf8;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.hud-progress-track {
  width: 100%;
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.hud-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #0284c7, #00f0ff, #facc15);
  transform: translateX(-100%);
  animation: agyLaserBar 1.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  box-shadow: 0 0 12px #00f0ff;
}

@keyframes agyLaserBar {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(-20%); }
  100% { transform: translateX(0%); }
}

/* ── Screen Disintegration & Spreading Particle Styles ── */
.disintegration-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.4s ease-out;
}

/* ── Refined White, Pink & Blue Particle Fade & Welcome Card ── */
.refined-fade-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.97) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: refinedFadeIn 0.35s ease-out both;
  pointer-events: auto;
}

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

.refined-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.refined-welcome-card {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  width: 90%;
  padding: 36px 32px 30px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 28px;
  box-shadow: 
    0 25px 60px -15px rgba(219, 39, 119, 0.12),
    0 12px 32px -8px rgba(2, 132, 199, 0.1),
    0 0 1px 1px rgba(0, 0, 0, 0.04);
  animation: refinedCardPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes refinedCardPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.welcome-emblem {
  position: relative;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.emblem-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(219, 39, 119, 0.25), rgba(2, 132, 199, 0.25));
  filter: blur(8px);
  animation: emblemPulse 2s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
  0%   { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

.emblem-core {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #db2777 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.35);
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #db2777;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #db2777;
  box-shadow: 0 0 6px rgba(219, 39, 119, 0.6);
  animation: badgeBlink 1.2s ease-in-out infinite;
}

@keyframes badgeBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.welcome-heading {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}

.welcome-sub {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 16px 0;
  font-weight: 500;
}

.welcome-role-tag {
  color: #0284c7;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: #f0f9ff;
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid #bae6fd;
}

.welcome-status-line {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 14px;
}

.welcome-progress-track {
  width: 100%;
  height: 5px;
  border-radius: 9999px;
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.welcome-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #db2777 0%, #ec4899 50%, #0284c7 100%);
  transform: translateX(-100%);
  animation: welcomeProgressAnim 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  border-radius: 9999px;
}

@keyframes welcomeProgressAnim {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(-25%); }
  100% { transform: translateX(0%); }
}

/* ================================================================
   AMBIENT BACKGROUND SPARKLE CANVAS & FROSTED GLASS ORBS
   ================================================================ */
.login-ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.login-ambient-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.55;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.login-ambient-orb.orb-pink {
  width: 500px;
  height: 500px;
  top: -15%;
  right: 5%;
  background: radial-gradient(circle, rgba(251, 207, 232, 0.7) 0%, rgba(244, 114, 182, 0.25) 50%, transparent 75%);
}

.login-ambient-orb.orb-blue {
  width: 550px;
  height: 550px;
  bottom: -20%;
  left: 0%;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.8) 0%, rgba(56, 189, 248, 0.25) 50%, transparent 75%);
  animation-duration: 18s;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-25px, 20px) scale(0.96); }
}

/* ================================================================
   ANIMATED FEATURE SHOWCASE: CIRCULAR ORBIT & SPOTLIGHT CARD
   ================================================================ */
.animated-showcase-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 5;
  animation: rightSideFadeIn 0.85s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes rightSideFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ── Top HUD Tech Header Bar ── */
.showcase-tech-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.showcase-header-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(219, 39, 119, 0.25);
  border-radius: 9999px;
  color: #db2777;
  font-family: var(--font-mono, monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(219, 39, 119, 0.06);
}

.tech-system-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  font-family: var(--font-mono, monospace);
  font-size: 9px;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.03em;
}

.status-indicator-green {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: badgeBlink 1.4s infinite ease-in-out;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #db2777;
  box-shadow: 0 0 6px rgba(219, 39, 119, 0.8);
  animation: badgeBlink 1.4s infinite ease-in-out;
}

/* ── Tech Hub Viewport: Connected Ecosystem ── */
.tech-hub-viewport {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* ── 4 Corner Telemetry Metric Chips ── */
.telemetry-chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 11px;
  padding: 5px 11px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  pointer-events: none;
  z-index: 7;
  transition: transform 0.3s ease;
}

.telemetry-chip.top-left {
  top: 6px;
  left: 0px;
}

.telemetry-chip.top-right {
  top: 6px;
  right: 0px;
}

.telemetry-chip.bottom-left {
  top: 152px;
  left: 0px;
}

.telemetry-chip.bottom-right {
  top: 152px;
  right: 0px;
}

.chip-label {
  font-size: 8px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 1px;
}

.chip-val {
  font-size: 11.5px;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.chip-trend-up {
  font-size: 8.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0 4px;
  border-radius: 999px;
}

.chip-status-pill {
  font-size: 8.5px;
  font-weight: 700;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  padding: 0 4px;
  border-radius: 999px;
}

.chip-sub {
  font-size: 8.5px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 0;
}

.chip-sparkline-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
}

.sparkline-svg {
  width: 40px;
  height: 9px;
}

.sparkline-lbl {
  font-size: 8px;
  color: #64748b;
  font-weight: 600;
}

.trend-badge {
  font-size: 8.5px;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 0 4px;
  border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════════
   ROTARY WHEEL SYSTEM (True 3D Rotating Tech Mechanism)
   ════════════════════════════════════════════════════════════════ */
.rotary-wheel-system {
  position: relative;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0 2px;
  perspective: 1000px;
}

/* Fixed ambient radar rings behind wheel */
.rotary-fixed-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.rotary-fixed-ring.outer {
  width: 242px;
  height: 242px;
  border: 1.5px dashed rgba(2, 132, 199, 0.22);
  animation: radarRotate 50s linear infinite;
}

.rotary-fixed-ring.inner {
  width: 135px;
  height: 135px;
  border: 1px solid rgba(219, 39, 119, 0.18);
  box-shadow: inset 0 0 16px rgba(2, 132, 199, 0.04);
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Static Center SAP Core Hub */
.rotary-static-hub {
  position: absolute;
  z-index: 10;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hub-pulse-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(2, 132, 199, 0.35);
  animation: hubPulseRing 2.4s ease-in-out infinite;
}

@keyframes hubPulseRing {
  0% { transform: scale(0.92); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.2; }
  100% { transform: scale(0.92); opacity: 0.8; }
}

.hub-icon-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid rgba(56, 189, 248, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(2, 132, 199, 0.35);
  position: relative;
  z-index: 2;
}

.hub-logo-letter {
  font-family: var(--font-primary, sans-serif);
  font-weight: 900;
  font-size: 19px;
  background: linear-gradient(135deg, #38bdf8 0%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.05em;
}

.hub-core-sublabel {
  position: absolute;
  bottom: -14px;
  font-family: var(--font-mono, monospace);
  font-size: 7.5px;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.96);
  padding: 1px 5px;
  border-radius: 999px;
  border: 1px solid rgba(2, 132, 199, 0.25);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* PHYSICAL ROTATING WHEEL ROTOR */
.rotary-wheel-rotor {
  position: absolute;
  width: 250px;
  height: 250px;
  inset: 0;
  transform-origin: 125px 125px;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

/* SVG Wheel Spokes */
.rotary-spokes-svg {
  position: absolute;
  inset: 0;
  width: 250px;
  height: 250px;
  pointer-events: none;
}

/* 5 Rotating Module Pods on Rim */
.rotary-pod {
  position: absolute;
  width: 46px;
  height: 46px;
  cursor: pointer;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Counter-Rotor keeps content upright as wheel turns */
.pod-counter-rotor {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.pod-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #475569;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.07);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rotary-pod:hover .pod-icon-circle {
  transform: scale(1.1);
  border-color: #0284c7;
  color: #0284c7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Active Pod States with Individual Accents */
.rotary-pod.active .pod-icon-circle {
  transform: scale(1.15);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.2);
}

.rotary-pod.pod-0.active .pod-icon-circle {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.rotary-pod.pod-1.active .pod-icon-circle {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #6ee7b7;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.45);
}

.rotary-pod.pod-2.active .pod-icon-circle {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-color: #fcd34d;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.rotary-pod.pod-3.active .pod-icon-circle {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border-color: #c4b5fd;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.45);
}

.rotary-pod.pod-4.active .pod-icon-circle {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  border-color: #f472b6;
  box-shadow: 0 6px 18px rgba(219, 39, 119, 0.45);
}

.pod-tag-badge {
  position: absolute;
  bottom: -14px;
  font-size: 8px;
  font-weight: 700;
  color: #475569;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 1px 6px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  pointer-events: none;
  transition: all 0.25s;
}

.rotary-pod.active .pod-tag-badge {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  font-weight: 800;
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

/* ════════════════════════════════════════════════════════════════
   5-STEP ASCENDING CRM PIPELINE STAIRCASE
   ════════════════════════════════════════════════════════════════ */
.crm-pipeline-stairs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  padding: 7px 14px 3px;
  margin: 10px 0 5px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
}

.stair-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1px;
}

.stair-step:hover {
  transform: translateY(-2px);
}

.stair-pillar {
  width: 100%;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(241, 245, 249, 0.9) 0%, rgba(226, 232, 240, 0.7) 100%);
  border: 1px solid rgba(203, 213, 225, 0.75);
  border-top: 2px solid rgba(148, 163, 184, 0.45);
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stair-step:hover .stair-pillar {
  border-color: #94a3b8;
  background: rgba(226, 232, 240, 0.95);
}

/* Ascending Heights for the 5 Pipeline Stages */
.stair-step.step-0 .stair-pillar { height: 16px; }
.stair-step.step-1 .stair-pillar { height: 22px; }
.stair-step.step-2 .stair-pillar { height: 28px; }
.stair-step.step-3 .stair-pillar { height: 35px; }
.stair-step.step-4 .stair-pillar { height: 42px; }

.stair-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.3s;
}

/* Active Step Glow & Dynamic Color Tint */
.stair-step.step-0.active .stair-pillar {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
  border-color: #0284c7;
  border-top-color: #bae6fd;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
}

.stair-step.step-1.active .stair-pillar {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  border-color: #10b981;
  border-top-color: #a7f3d0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.stair-step.step-2.active .stair-pillar {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #f59e0b;
  border-top-color: #fef08a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.stair-step.step-3.active .stair-pillar {
  background: linear-gradient(180deg, #a78bfa 0%, #8b5cf6 100%);
  border-color: #8b5cf6;
  border-top-color: #ddd6fe;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.stair-step.step-4.active .stair-pillar {
  background: linear-gradient(180deg, #f472b6 0%, #db2777 100%);
  border-color: #db2777;
  border-top-color: #fbcfe8;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.4);
}

.stair-step.active .stair-glow {
  opacity: 1;
}

.stair-label {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.25s;
}

.stair-step.active .stair-label {
  color: #0f172a;
  font-weight: 800;
}

.stair-step:hover .stair-label {
  color: #0284c7;
}

/* ── Spotlight Feature Glass Card ── */
.feature-spotlight-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 13px 18px 11px;
  box-shadow: 
    0 12px 30px -10px rgba(219, 39, 119, 0.08),
    0 6px 18px -4px rgba(2, 132, 199, 0.06),
    0 0 1px 1px rgba(0, 0, 0, 0.04);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-spotlight-card.switching {
  opacity: 0.35;
  transform: scale(0.985);
}

.spotlight-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.spotlight-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  background: #f0f9ff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  transition: all 0.3s;
}

.spotlight-meta {
  flex: 1;
  min-width: 0;
}

.spotlight-cat-tag {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.spotlight-main-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 1px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2.5px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  background: #f0f9ff;
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  transition: all 0.3s;
}

.spotlight-desc-text {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.4;
  margin: 6px 0 8px;
}

/* Mini KPI highlight bar */
.spotlight-kpi-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
}

.kpi-metric-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.kpi-val {
  font-size: 14px;
  font-weight: 800;
  color: #0284c7;
  font-family: var(--font-primary, sans-serif);
}

.kpi-lbl {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 600;
}

.kpi-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
}

/* Progress line inside card */
.showcase-progress-track {
  width: 100%;
  height: 2.5px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}

.showcase-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #db2777 0%, #ec4899 50%, #0284c7 100%);
  border-radius: 999px;
}

@keyframes showcaseProgressFill {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}

/* Bottom Navigation Dots */
.showcase-nav-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
}

.showcase-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-nav-dot:hover {
  background: #94a3b8;
  transform: scale(1.2);
}

.showcase-nav-dot.active {
  width: 20px;
  border-radius: 9999px;
  background: linear-gradient(90deg, #db2777, #0284c7);
  box-shadow: 0 2px 6px rgba(219, 39, 119, 0.3);
}

