@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap);
body {
  margin: 0;
  font-family: 'Inter', 'Poppins', 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 40%, #fed7aa 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  width: 100%;
  overflow-x: hidden;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

/* Fonts imported in public/index.html */

:root {
  /* Kashley purple brand palette */
  --primary: #a855f7;
  --primary-dark: #9333ea;
  --primary-darker: #7e22ce;
  --primary-light: #c084fc;
  --primary-lighter: #ffedd5;

  /* Secondary Colors */
  --secondary: #7c2d12;
  --secondary-dark: #431407;

  /* Accent Colors */
  --accent-gold: #c084fc;
  --accent-gold-dark: #9333ea;

  /* Text Colors */
  --text-strong: #1f1308;
  --text-muted: #4a4a4a;

  /* Surface Colors */
  --surface: #ffffff;
  --surface-alt: #fff1e6;
  --surface-soft: #fff7ed;
  --surface-dark: #111111;

  /* Borders */
  --border-soft: rgba(124, 45, 18, 0.08);
  --border-strong: rgba(124, 45, 18, 0.16);

  /* Shadows */
  --shadow-soft: 0 25px 65px rgba(124, 45, 18, 0.12);
  --shadow-gold: 0 20px 50px rgba(168, 85, 247, 0.25);

  /* Premium Multi-Tone Gradients */

  /* Main Background Gradient - Visible Yellow (Light to Dark) */
  --gradient-background: linear-gradient(to right,
      #fff7ed 0%,
      #ffedd5 50%,
      #fed7aa 100%);

  /* Hero Section - Warm yellow glow */
  --gradient-hero: linear-gradient(to right,
      rgba(255, 237, 213, 0.35) 0%,
      rgba(254, 215, 170, 0.35) 50%,
      rgba(251, 146, 60, 0.32) 100%);

  /* Primary Gradient - Deep purple to vibrant violet */
  --gradient-primary: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);

  /* Accent Gradient - Orange with subtle rose gold */
  --gradient-accent: linear-gradient(120deg,
      #c084fc 0%,
      #d8b4fe 20%,
      #a855f7 40%,
      #9333ea 60%,
      #7e22ce 80%,
      #9a3412 100%);

  /* Sophisticated Dark - Deep blacks with subtle blue undertone */
  --gradient-dark: linear-gradient(135deg,
      #1a1a1a 0%,
      #111111 50%,
      #0a0a0a 100%);

  /* New Premium Gradients */

  /* Radial glow for cards and highlights */
  --gradient-glow: radial-gradient(circle at top right,
      rgba(168, 85, 247, 0.15) 0%,
      rgba(168, 85, 247, 0.05) 40%,
      rgba(168, 85, 247, 0) 70%);

  /* Mesh gradient for modern backgrounds */
  --gradient-mesh: linear-gradient(135deg,
      rgba(168, 85, 247, 0.1) 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(234, 88, 12, 0.08) 60%,
      rgba(255, 255, 255, 0) 100%);

  /* Button hover - more vibrant */
  --gradient-button-hover: linear-gradient(135deg,
      #d8b4fe 0%,
      #a855f7 50%,
      #9333ea 100%);

  /* Subtle card background */
  --gradient-card: linear-gradient(to right,
      #fff7ed 0%,
      #fed7aa 35%,
      #a855f7 100%);

  /* Premium overlay for sections */
  --gradient-overlay: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(168, 85, 247, 0.03) 50%,
      rgba(255, 255, 255, 0) 100%);

  /* Typography - Poppins as primary font (matching Unity Bank) */
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1f1308;
  color: var(--text-strong);
}

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

html {
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

body {
  margin: 0;
  font-family: inherit;
  color: #1f1308;
  color: var(--text-strong);
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Performance optimizations */
  text-rendering: optimizeSpeed;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.App {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
}

.main-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
}

@media (max-width: 640px) {
  .main-content {
    padding-top: 70px;
  }
}

.page {
  /* Full width background like footer */
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 0;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  background-attachment: fixed;
  min-height: calc(100vh - 80px);
}

/* Center content inside pages */
.page>section,
.page>div:not(.hero-block):not(.admin-dashboard-layout) {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3vw;
  padding-right: 3vw;
}

.fibe-home {
  padding-top: 1.5rem;
  min-height: 100vh;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  background-attachment: fixed;
  /* Override .page width to extend full width like footer */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  /* Remove bottom padding to eliminate gap with footer */
}

/* Container for centered content inside fibe-home */
.fibe-home>section,
.fibe-home>.hero-block {
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 3vw;
  padding-right: 3vw;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #9333ea;
  color: var(--primary-dark);
}

.primary-btn,
.ghost-btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.primary-btn {
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 20px 50px rgba(168, 85, 247, 0.25);
  box-shadow: var(--shadow-gold);
  text-decoration: none;
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg,
      #d8b4fe 0%,
      #a855f7 50%,
      #9333ea 100%);
  background: var(--gradient-button-hover);
  box-shadow: 0 25px 60px rgba(246, 183, 9, 0.928);
}

.ghost-btn {
  background: transparent;
  color: #7c2d12;
  color: var(--secondary);
  border: 2px solid rgba(168, 85, 247, 0.4);
  text-decoration: none;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(168, 85, 247, 0.08);
  border-color: #a855f7;
  border-color: var(--primary);
}

.primary-link {
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.hero-block {
  margin-top: 2rem;
  padding: 3rem;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3rem;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0.4rem 0 1rem;
}

.hero-content h1 span {
  color: #9333ea;
  color: var(--primary-dark);
}

.hero-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.hero-form {
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.hero-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-form input {
  flex: 1 1;
  min-width: 200px;
  border-radius: 16px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
}

.hero-form button {
  background: #7c2d12;
  background: var(--secondary);
  color: #a855f7;
  color: var(--primary);
  border: 1px solid #9333ea;
  border: 1px solid var(--primary-dark);
  border-radius: 16px;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
}

.form-success {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: #0f9d58;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-carousel {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.landing-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.landing-carousel-slide.active {
  opacity: 1;
}

.landing-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.landing-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.landing-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.landing-carousel-dots .dot.active {
  background: #ffffff;
  width: 14px;
  height: 14px;
}

.landing-carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero-insight {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 1.75rem;
  box-shadow: 0 35px 65px rgba(15, 23, 42, 0.12);
  position: relative;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hero-insight.primary {
  background: rgba(255, 255, 255, 0.15);
}

.hero-pill {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.18);
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-snapshot h3 {
  font-size: 2.2rem;
  margin: 0.4rem 0 1rem;
}

.hero-snapshot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-mini-cards {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

.hero-mini-cards div {
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1.1rem;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.hero-mini-cards span {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stats-bar {
  margin: 3rem 0;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  text-align: center;
  padding: 1.5rem;
  grid-gap: 1rem;
  gap: 1rem;
}

.stats-bar strong {
  display: block;
  font-size: 1.8rem;
}

.section-block {
  margin: 4rem 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  margin: 0.75rem 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-heading p {
  color: #4a4a4a;
  color: var(--text-muted);
  margin: 0 auto;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.product-card {
  background: linear-gradient(to right,
      #fff7ed 0%,
      #fed7aa 35%,
      #a855f7 100%);
  background: var(--gradient-card);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right,
      rgba(168, 85, 247, 0.15) 0%,
      rgba(168, 85, 247, 0.05) 40%,
      rgba(168, 85, 247, 0) 70%);
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.product-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card p {
  color: #4a4a4a;
  color: var(--text-muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.steps-grid article {
  background: #fff;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  position: relative;
}

.step-index {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(168, 85, 247, 0.18);
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calculator-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
  align-items: flex-start;
}

.calculator-copy {
  background: #fff;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.calculator-tools {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.tool-card {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tool-card:hover {
  border-color: rgba(168, 85, 247, 0.45);
  transform: translateY(-3px);
}

.tool-card p {
  color: #4a4a4a;
  color: var(--text-muted);
}

.tool-card span {
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 600;
}

.calculator-widget .loan-calculator {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.loan-calculator {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.loan-calculator__inputs {
  flex: 1.4 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 260px;
}

.slider-field {
  padding: 1.25rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: #fff7ed;
  background: var(--surface-soft);
}

.slider-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.slider-heading label {
  font-weight: 600;
  font-size: 1rem;
}

.value-chip {
  background: #fff;
  border-radius: 12px;
  padding: 0.4rem 0.95rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.slider-field input[type='range'] {
  width: 100%;
  accent-color: #a855f7;
  accent-color: var(--primary);
}

.range-extents {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.loan-calculator__summary {
  flex: 1 1;
  min-width: 260px;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  background: linear-gradient(180deg, #fffef7 0%, #fff8df 100%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.emi-highlight {
  background: #7c2d12;
  background: var(--secondary);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  color: #a855f7;
  color: var(--primary);
}

.emi-highlight p {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: #ffffff;
  color: var(--surface);
}

.emi-highlight strong {
  font-size: 2rem;
  color: #a855f7;
  color: var(--primary);
}

.summary-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.summary-row strong {
  font-size: 1.1rem;
  color: #1f1308;
  color: var(--text-strong);
}

.summary-row.total {
  border-top: 1px dashed rgba(124, 45, 18, 0.08);
  border-top: 1px dashed var(--border-soft);
  padding-top: 0.85rem;
  margin-top: 0.3rem;
  font-weight: 600;
  color: #1f1308;
  color: var(--text-strong);
}

.loan-calculator__summary .primary-btn {
  width: 100%;
  justify-content: center;
}

.card-footnote {
  font-size: 0.82rem;
  color: #4a4a4a;
  color: var(--text-muted);
  margin: 0;
}

.offerings-block {
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  border-radius: 34px;
  padding: 3rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.offering-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: #fff7ed;
  background: var(--surface-soft);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.offering-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.offering-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.offering-card span {
  display: inline-block;
  margin-top: 0.5rem;
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 600;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.why-grid article {
  padding: 1.75rem;
  border-radius: 24px;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  min-height: 200px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.awards-grid article {
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff7ed;
  background: var(--surface-soft);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.why-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.why-metrics div {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.why-metrics strong {
  display: block;
  font-size: 1.2rem;
}

.why-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #fff7ed;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.testimonials-block blockquote {
  background: #fff;
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 260px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.testimonial-marquee {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: linear-gradient(135deg, #f7f9ff, #fff7ef);
  padding: 1rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.testimonial-track {
  display: flex;
  gap: 1rem;
  width: -webkit-max-content;
  width: max-content;
  animation: testimonial-slide 28s linear infinite;
}

.testimonial-item {
  min-width: 320px;
  max-width: 360px;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  align-items: start;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff7ed;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
}

.testimonial-avatar.round {
  border-radius: 50%;
  border: 2px solid #fff7ed;
  border: 2px solid var(--surface-soft);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text p {
  margin: 0.35rem 0 0.5rem;
}

.testimonial-meta {
  display: grid;
  grid-gap: 0.15rem;
  gap: 0.15rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

@keyframes testimonial-slide {
  0% {
    transform: translateX(-40%);
  }

  100% {
    transform: translateX(0);
  }
}

.quote-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9333ea;
  color: var(--primary-dark);
  text-transform: uppercase;
}

blockquote p {
  margin: 0;
  color: #1f1308;
  color: var(--text-strong);
  line-height: 1.6;
}

blockquote cite {
  font-style: normal;
  color: #4a4a4a;
  color: var(--text-muted);
}

.download-block {
  margin-top: 5rem;
}

.download-card {
  padding: 3rem;
  border-radius: 36px;
  background: linear-gradient(120deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.download-card .store-badge {
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.store-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
}

.store-badge img {
  width: 140px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.store-badge img {
  width: 135px;
  height: auto;
  display: block;
}

.hero-store-badges {
  margin-top: 1rem;
}

.download-card .store-badges {
  justify-content: flex-start;
}

/* Modern Homepage Styles */
.highlight-text {
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-stats-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(168, 85, 247, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-item-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.stat-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

.stat-item-hero strong {
  font-size: 1.8rem;
  color: #7c2d12;
  color: var(--secondary);
  display: block;
  line-height: 1;
}

.stat-item-hero p {
  margin: 0.3rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-form-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.hero-form-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  color: #7c2d12;
  color: var(--secondary);
}

.hero-form-card>p {
  margin: 0 0 1.5rem;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.store-badges-inline {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(124, 45, 18, 0.08);
  border-top: 1px solid var(--border-soft);
}

.store-badges-inline .store-badge img {
  width: 120px;
}

/* Why Choose Us Section */
.why-choose-section {
  background: linear-gradient(135deg, #fff7da, #ffffff);
  border-radius: 40px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.why-card {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(168, 85, 247, 0.3);
}

.why-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.why-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #7c2d12;
  color: var(--secondary);
}

.why-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Modern Product Cards */
.product-card.modern {
  position: relative;
  overflow: hidden;
}

.product-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  width: -webkit-fit-content;
  width: fit-content;
}

.product-arrow {
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-card.modern:hover .product-arrow {
  transform: translateX(4px);
  display: inline-block;
  transition: transform 0.3s ease;
}

/* CTA Section */
.cta-section {
  margin: 4rem 0 2rem;
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  border-radius: 40px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: #000000;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 800;
}

.cta-section p {
  color: #000000;
  font-size: 1.2rem;
  margin: 0 0 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-btn.large,
.ghost-btn.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.ghost-btn.large {
  background: rgba(255, 255, 255, 0.15);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.5);
}

.ghost-btn.large:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #a855f7;
}



.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.blog-grid article {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.blog-grid h3 {
  margin: 0;
}

.blogs-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3rem;
}

.blogs-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(168, 85, 247, 0.18), transparent 50%),
    radial-gradient(circle at 90% 10% 0%, rgba(232, 169, 26, 0.18), transparent 50%),
    linear-gradient(120deg, #ffffff, #fff8e0);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 32px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.blogs-hero__copy {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.blogs-hero__copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.blogs-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blogs-hero__meta span {
  border-radius: 999px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.35rem 0.75rem;
  background: #ffffff;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.9rem;
}

.blogs-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.blogs-filters button {
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.02);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  font-weight: 700;
}

.blogs-filters button.selected {
  background: linear-gradient(135deg, #a855f7, #9333ea);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.12);
}

.blogs-featured {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.4rem;
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.blogs-featured__badge {
  align-self: flex-start;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(135deg, #a855f7, #9333ea);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 12px;
  font-weight: 800;
  width: -webkit-fit-content;
  width: fit-content;
}

.blogs-featured h2 {
  margin: 0.25rem 0 0.25rem;
}

.blog-meta-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 700;
}

.blogs-featured .ghost-btn {
  justify-self: flex-start;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.blog-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.blog-card__badge {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 12px;
  background: #fff7ed;
  background: var(--surface-soft);
  font-weight: 800;
  color: #7c2d12;
  color: var(--secondary);
  width: -webkit-fit-content;
  width: fit-content;
}

.blog-card h3 {
  margin: 0;
}

.blog-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.blog-card .blog-meta-row {
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-page {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.calculator-hero {
  background: linear-gradient(135deg, #f7f3ff, #e9ffff, #fff2e1);
  border-radius: 36px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.calculator-hero.enhanced {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: radial-gradient(circle at 0% 0% 0%, rgba(168, 85, 247, 0.18), transparent 50%),
    radial-gradient(circle at 80% 20% 0%, rgba(232, 169, 26, 0.12), transparent 45%),
    linear-gradient(120deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.calculator-hero.enhanced::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.calc-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-hero-copy h1 {
  margin: 0.25rem 0;
}

.calc-hero-copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.calc-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.calc-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-width: 150px;
}

.calc-chip strong {
  font-size: 1.1rem;
}

.calc-chip small {
  color: rgba(255, 255, 255, 0.78);
}

.calc-hero-panel {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.calc-hero-stat p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-hero-stat strong {
  display: block;
  font-size: 1.4rem;
}

.calc-hero-stat span {
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.support-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3rem;
}

.contact-stack {
  background: linear-gradient(135deg, #ffffff, #fff8df);
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-stack__left,
.contact-stack__right {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.contact-stack-head h2 {
  margin: 0.25rem 0 0.3rem;
}

.contact-stack-lead {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.contact-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-assurance span {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.85rem;
  background: #fff;
  font-weight: 700;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(168, 85, 247, 0.2), transparent 45%),
    radial-gradient(circle at 80% 20% 0%, rgba(17, 17, 17, 0.12), transparent 55%),
    linear-gradient(120deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 36px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.contact-hero-copy h1 {
  margin: 0.2rem 0 0.4rem;
}

.contact-hero-copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0.5rem;
}

.contact-badges span {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  background: var(--surface);
  padding: 0.6rem 0.85rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 130px;
}

.contact-badges strong {
  font-size: 1.05rem;
}

.contact-badges small {
  color: #4a4a4a;
  color: var(--text-muted);
}

.contact-quick {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-hero-visual {
  position: relative;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  justify-items: center;
}

.contact-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.4rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-hero-card h3 {
  margin: 0.3rem 0 0.35rem;
}

.contact-hero-note {
  margin: 0 0 0.65rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.support-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.support-highlight-card {
  background: linear-gradient(135deg, #ffffff, #f5f8ff);
  border-radius: 20px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.support-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.support-info-card {
  border-radius: 22px;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  color: #7c2d12;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.support-info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.support-info-card.blue {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.support-info-card.teal {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.support-info-card.amber {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.support-info-card ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.support-info-card h3 {
  margin: 0;
}

.support-faqs {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.faq-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.faq-card {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 16px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1rem;
}

.faq-card summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-card p {
  margin: 0.5rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-hero.eligibility-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(168, 85, 247, 0.2), transparent 50%),
    radial-gradient(circle at 80% 20% 0%, rgba(232, 169, 26, 0.16), transparent 55%),
    linear-gradient(120deg, #ffffff, #fff8e0);
  color: #7c2d12;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.calculator-hero.credit-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(168, 85, 247, 0.2), transparent 55%),
    radial-gradient(circle at 80% 20% 0%, rgba(17, 17, 17, 0.12), transparent 55%),
    linear-gradient(120deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.eligibility-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  grid-gap: 0.65rem;
  gap: 0.65rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.eligibility-hero-card h3 {
  margin: 0.2rem 0 0.1rem;
}

.credit-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 1.5rem;
  display: grid;
  grid-gap: 0.65rem;
  gap: 0.65rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.credit-hero-card h3 {
  margin: 0.2rem 0 0.1rem;
}

.doodle-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble.mini {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26), transparent 70%);
  top: 12%;
  right: 18%;
}

.sparkle {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.12), transparent 65%);
  bottom: 10%;
  left: 10%;
}

.calculator-hero.two-wheeler-hero {
  background:
    radial-gradient(circle at 0% 0%, rgba(168, 85, 247, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(17, 17, 17, 0.12) 0%, transparent 50%),
    linear-gradient(120deg, #ffffff, #fff8df);
  color: #7c2d12;
  color: var(--secondary);
  overflow: hidden;
  position: relative;
}

.two-wheeler-hero-visual {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.two-wheeler-hero-card {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 24px;
  padding: 1.6rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
}

.two-wheeler-hero-card h3 {
  margin: 0.35rem 0 0.25rem;
}

.calc-hero-note {
  margin: 0 0 0.75rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.hero-mini-stats div {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  text-align: center;
}

.doodle-bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(0);
  z-index: 0;
}

.bubble-a {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.26), transparent 70%);
  top: 10%;
  right: 12%;
}

.bubble-b {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.12), transparent 70%);
  bottom: 5%;
  left: 5%;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.hero-facts li {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-facts.compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.calculator-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
}

.calculator-body.modern {
  background: #fff;
  border-radius: 32px;
  padding: 1.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  align-items: start;
}

.calculator-main-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.calculator-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.calculator-subhead {
  margin: 0.35rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-meta-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calculator-meta-tags span {
  border-radius: 999px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.35rem 0.75rem;
  background: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.calculator-aside {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.calculator-body.stacked {
  grid-template-columns: 1fr;
}

.calc-side-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calc-side-card ul,
.calc-side-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-side-card .note {
  margin: 0;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calculator-visual-shell {
  background: #fff;
  border-radius: 28px;
  padding: 1.25rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  position: relative;
}

.calculator-carousel {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: #fff7ed;
  background: var(--surface-soft);
  position: relative;
}

.calculator-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
}

.calculator-carousel__slide {
  min-width: 100%;
}

.calculator-carousel__slide img {
  width: 100%;
  display: block;
}

.compact-carousel .calculator-carousel {
  max-height: 360px;
}

.compact-carousel .calculator-carousel__slide img {
  max-height: 320px;
  object-fit: cover;
}

.calculator-carousel__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
}

.calculator-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calculator-carousel__dot.is-active {
  background: #7c2d12;
  background: var(--secondary);
  border-color: #7c2d12;
  border-color: var(--secondary);
  transform: scale(1.05);
}

.carousel-tags {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.carousel-tags span {
  border-radius: 999px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.35rem 0.8rem;
  background: #fff7ed;
  background: var(--surface-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.carousel-doodle .doodle-dot,
.carousel-doodle .doodle-line {
  position: absolute;
  display: inline-block;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(17, 17, 17, 0.12));
  filter: blur(0);
  opacity: 0.8;
}

.carousel-doodle .doodle-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 6%;
  right: 10%;
}

.carousel-doodle .doodle-line {
  width: 120px;
  height: 10px;
  border-radius: 999px;
  bottom: 8%;
  left: 6%;
}

.calc-side-card.tinted {
  background: linear-gradient(180deg, #fff7ed, #fff);
}

.calc-side-card.compact ul {
  padding-left: 1.1rem;
  margin: 0;
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-bullet-list {
  list-style: disc;
}

.calc-side-card ol {
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
  padding-left: 1.2rem;
}

.calc-side-card ol strong {
  display: block;
}

.calc-grid-section {
  display: grid;
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.calc-scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.calc-scenario-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.calc-scenario-card h3 {
  margin: 0.35rem 0;
}

.calc-scenario-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.calc-scenario-card .ghost-btn {
  width: -webkit-fit-content;
  width: fit-content;
}

.calc-scenario-kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #9333ea;
  color: var(--primary-dark);
  margin: 0;
}

.apply-page {
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.apply-hero {
  background: linear-gradient(120deg, #f7f3ff, #fff2e1);
  border-radius: 36px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.apply-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.apply-highlights div {
  background: #fff;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.apply-highlights span {
  display: block;
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.apply-highlights strong {
  font-size: 1.2rem;
}

.apply-content {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
}

.apply-form {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.form-grid input,
.form-grid select {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.slider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.slider-grid>div {
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: #fff7ed;
  background: var(--surface-soft);
}

.slider-heading {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.slider-grid input[type='range'] {
  width: 100%;
  accent-color: #a855f7;
  accent-color: var(--primary);
}

.apply-form .primary-btn {
  width: max(240px, 40%);
}

.form-note {
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
  margin: 0;
}

.form-note.success {
  color: #0f9d58;
  font-weight: 600;
}

.apply-summary {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.summary-card,
.contact-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.summary-card h2 {
  margin-top: 0;
}

.summary-card div {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.summary-card div strong {
  color: #1f1308;
  color: var(--text-strong);
}

.contact-card a {
  display: block;
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.35rem;
}

.company-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.company-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
}

.fact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fact-grid div {
  border-radius: 20px;
  border: 1px dashed rgba(124, 45, 18, 0.08);
  border: 1px dashed var(--border-soft);
  padding: 1rem 1.25rem;
  background: #fff7ed;
  background: var(--surface-soft);
}

.mission-list {
  list-style: disc;
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-strip div {
  flex: 1 1;
  min-width: 200px;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
}

.contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.contact-channel {
  border-radius: 22px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-channel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.contact-channel:nth-child(1) {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.contact-channel:nth-child(2) {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.contact-channel:nth-child(3) {
  background: linear-gradient(135deg, #ffffff, #fff7da);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}

.contact-channel h3 {
  margin: 0;
}

.contact-channel p {
  margin: 0.35rem 0 0.5rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.contact-channel .primary-link {
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 700;
}

.careers-page,
.newsroom-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 3rem;
}

.benefit-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

.roles-section .roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.role-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag-row span {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #fff7ed;
  background: var(--surface-soft);
  font-size: 0.85rem;
}

.roles-section .ghost-btn {
  align-self: flex-start;
}

.career-form-card {
  margin-top: 1.5rem;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.career-form {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.career-form .form-grid label,
.career-message {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #1f1308;
  color: var(--text-strong);
}

.career-form input,
.career-form textarea {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  background: var(--surface);
}

.career-form input[type='file'] {
  padding: 0.6rem;
}

.career-form textarea {
  resize: vertical;
}

.section-note {
  text-align: center;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-top: 1rem;
}

.newsroom-page .press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.press-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.media-kit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.tag-row.wrap {
  flex-wrap: wrap;
}

.timeline-section {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.timeline-grid article {
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  background: #fff7ed;
  background: var(--surface-soft);
}

.testimonials-section .testimonial-grid.wide {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-cta {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 32px;
  padding: 2.5rem;
  color: #7c2d12;
  color: var(--secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-cta .ghost-btn {
  border-color: rgba(168, 85, 247, 0.5);
  color: #7c2d12;
  color: var(--secondary);
}

.contact-form-shell {
  background: linear-gradient(135deg, #f5f7ff, #fff7ef);
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.contact-form-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
  border-radius: 26px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-form-card h2 {
  margin: 0.35rem 0 0.75rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 0.9rem 1rem;
  gap: 0.9rem 1rem;
}

.contact-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.contact-form-grid input,
.contact-form-grid select,
.contact-form-grid textarea {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-form-grid textarea {
  resize: vertical;
}

.contact-form-grid .span-2 {
  grid-column: 1 / -1;
}

.contact-info-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  color: #7c2d12;
  color: var(--secondary);
}

.contact-info-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.contact-quick-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.contact-info-card .ghost-btn,
.support-cta-band .ghost-btn {
  border-color: rgba(168, 85, 247, 0.5);
  color: #7c2d12;
  color: var(--secondary);
}

.contact-info-card .primary-link {
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 700;
}

.support-cta-band {
  background: linear-gradient(120deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.support-cta-band p {
  margin: 0.4rem 0 0.75rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.support-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.support-info-cards+.branch-locator {
  margin-top: 1rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.branch-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-gap: 0.4rem;
  gap: 0.4rem;
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #fff7ed;
  background: var(--surface-soft);
  font-weight: 700;
}

.policy-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.policy-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 20px;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.policy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20% 0%, rgba(255, 255, 255, 0.1), transparent 55%);
  pointer-events: none;
}

.policy-card h3 {
  margin: 0.35rem 0 0.25rem;
}

.policy-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.policy-tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(17, 17, 17, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
}

.support-timeline {
  background: linear-gradient(135deg, #f7f9ff, #fff8ef);
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  display: grid;
  grid-gap: 1.1rem;
  gap: 1.1rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.timeline-head h2 {
  margin: 0.35rem 0 0.25rem;
}

.timeline-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  position: relative;
}

.timeline-node {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.timeline-connector {
  display: none;
}

.timeline-node h3 {
  margin: 0 0 0.35rem;
}

.timeline-node p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.timeline-node .step-number {
  background: #a855f7;
  background: var(--primary);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.35);
}

@media (min-width: 900px) {
  .timeline-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-connector {
    display: block;
    height: 2px;
    background: linear-gradient(90deg, rgba(6, 148, 254, 0.25), rgba(246, 130, 31, 0.25));
    align-self: center;
  }
}

.eligibility-calculator {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.eligibility-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.eligibility-grid input[type='number'],
.eligibility-grid input[type='date'],
.eligibility-grid input[type='text'] {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.eligibility-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 24px;
  padding: 1.5rem;
}

.eligibility-summary div {
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.eligibility-summary p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.credit-score-widget {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.credit-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.credit-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
}

.credit-form input {
  border-radius: 14px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
}

.credit-form button {
  grid-column: 1 / -1;
  width: -webkit-fit-content;
  width: fit-content;
}

.credit-score-result {
  background: linear-gradient(165deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid rgba(168, 85, 247, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.score-circle span {
  font-size: 1rem;
}

.success-banner {
  background: rgba(168, 85, 247, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}


.info-page {
  padding-top: 3rem;
}

.info-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.info-copy {
  border-radius: 32px;
  padding: 2.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: #fff;
}

.info-hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fff4e7 0%, #eef4ff 100%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

.info-hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20% 0%, rgba(246, 130, 31, 0.16), transparent 50%);
  pointer-events: none;
}

.info-hero-card h1 {
  margin: 0.35rem 0 0.75rem;
}

.info-hero-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.7;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(6, 148, 254, 0.1);
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-highlight-chips {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.info-highlight-chips span {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  color: #1f1308;
  color: var(--text-strong);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.info-speed-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 0.6rem;
  gap: 0.6rem;
  margin-top: 1rem;
}

.info-speed-row div {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.info-speed-row strong {
  display: block;
  font-size: 1.05rem;
}

.info-speed-row span {
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 600;
}

.info-helper {
  margin: 0.9rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 600;
}

.info-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.info-visual {
  display: flex;
}

.info-hero-visual {
  position: relative;
}

.info-visual-card {
  background: linear-gradient(145deg, #ffffff, #fff7da);
  border-radius: 28px;
  padding: 1.75rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.info-visual-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.info-visual img {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.25));
}

.info-hero.theme-cash .info-hero-card {
  background: linear-gradient(135deg, #fff7ed, #fff7da);
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.info-hero.theme-cash .info-visual-card {
  background: linear-gradient(145deg, #ffffff, #fff7da);
  border-color: rgba(124, 45, 18, 0.08);
  border-color: var(--border-soft);
}

.info-hero.theme-cash .info-speed-row div {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(168, 85, 247, 0.35);
}

.info-visual-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  width: 100%;
}

.info-visual-stats div {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  text-align: center;
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-visual-stats strong {
  display: block;
  color: #7c2d12;
  color: var(--secondary);
  font-size: 1.4rem;
}

.info-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  background: linear-gradient(135deg, #f7f9ff, #fff7ef);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-stats div {
  text-align: center;
}

.info-stats strong {
  display: block;
  font-size: 1.6rem;
  color: #1f1308;
  color: var(--text-strong);
}

.info-section {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-action-card {
  background: linear-gradient(135deg, #ffffff, #f7f9ff);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  align-items: start;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.info-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff7ed;
  background: var(--surface-soft);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.info-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-value-card {
  background: #fff;
  border-radius: 22px;
  padding: 1.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.info-value-index {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 800;
}

.info-value-card h3 {
  margin: 0;
}

.info-value-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.info-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-step {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border-radius: 20px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #a855f7;
  background: var(--primary);
  color: #7c2d12;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(168, 85, 247, 0.35);
}

.info-step h3 {
  margin: 0 0 0.35rem;
}

.info-step p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.info-guardrail {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 26px;
  padding: 1.75rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.info-guardrail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.info-guardrail-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.info-bullet-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #a855f7, #9333ea);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: inline-flex;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.info-guardrail-item strong {
  display: block;
  margin-bottom: 0.25rem;
}

.info-guardrail-item p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.info-faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.faq-grid details {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem 1.15rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-grid p {
  margin: 0.6rem 0 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 0;
  /* Remove gap above footer */
  background: linear-gradient(to right, #fff7ed 0%, #fed7aa 35%, #a855f7 100%);
  color: #1f1308;
  color: var(--text-strong, #0b0b0b);
  padding: clamp(3rem, 8vw, 4.5rem) clamp(1.5rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-brand .brand {
  font-size: 1.35rem;
}

.footer-brand img {
  height: 100px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transform: scale(1.1);
  transform-origin: left center;
}

.footer-brand p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  line-height: 1.6;
}

.footer-brand,
.footer-links,
.footer-visit {
  flex: 1 1 240px;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
  font-size: 1.1rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  grid-gap: 1rem 1.5rem;
  gap: 1rem 1.5rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-title {
  margin: 0;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #7c2d12;
  color: var(--secondary, #111);
  font-weight: 700;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  padding: 0.2rem 0;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-link:hover,
.footer-link.active {
  color: #9333ea;
  color: var(--primary-dark, #7e22ce);
}

.footer-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.2);
  min-height: 320px;
  height: clamp(280px, 35vw, 360px);
  width: 100%;
}

.footer-visit {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-visit h3 {
  margin: 0;
  font-size: 1.6rem;
  color: #7c2d12;
  color: var(--secondary, #111);
}

.footer-visit p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
}

.footer-address-secondary {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  color: #7c2d12;
  color: var(--secondary, #111);
}

.footer-cta {
  margin-top: 0.75rem;
  align-self: flex-start;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  color: #7c2d12;
  color: var(--secondary, #111);
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(168, 85, 247, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(168, 85, 247, 0.45);
}

.footer-bottom {
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  position: relative;
  z-index: 1;
}

.footer-bottom-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #4a4a4a;
  color: var(--text-muted, #4a4a4a);
  font-size: 0.9rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #9333ea;
  color: var(--primary-dark, #7e22ce);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-brand,
  .footer-links,
  .footer-visit {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


.solutions-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2.5rem;
}

.solutions-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 10% 0%, rgba(245, 180, 0, 0.22), transparent 45%),
    linear-gradient(135deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.solutions-hero__content h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.solutions-hero__content p {
  margin: 0 0 1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.audience-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.audience-pills button {
  border-radius: 999px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.03);
  color: #7c2d12;
  color: var(--secondary);
  padding: 0.45rem 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audience-pills button.selected {
  border-color: rgba(168, 85, 247, 0.6);
  background: linear-gradient(135deg, #a855f7, #9333ea);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 700;
}

.solution-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-top: 1rem;
}

.solution-metrics div {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  text-align: left;
}

.solutions-hero__visual {
  position: relative;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  justify-items: center;
}

.solutions-hero__tile {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  background: var(--surface);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.solutions-hero__tile strong {
  font-size: 1.8rem;
}

.solutions-section {
  padding: 1rem 0 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.solution-card {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 20px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
}

.solution-card__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.solution-card ul {
  margin: 0.25rem 0 0;
  padding-left: 1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.solution-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.4rem;
  color: #9333ea;
  color: var(--primary-dark);
}

.industry-grid,
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.industry-card,
.journey-grid article {
  background: #fff;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 14px 35px rgba(13, 15, 20, 0.08);
}

.journey-grid article span {
  display: inline-block;
  background: #fff7ed;
  background: var(--surface-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
}

.journey-grid article ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.partner-grid strong {
  display: block;
  margin-bottom: 0.35rem;
}

.partner-grid span {
  display: inline-block;
  margin: 0.15rem 0.35rem 0.15rem 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #fff7ed;
  background: var(--surface-soft);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .solutions-hero {
    padding: 1.75rem;
  }

  .solution-card {
    padding: 1rem;
  }
}

.footer-map-col {
  justify-self: end;
  align-self: start;
  max-width: 400px;
  width: 100%;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.footer-links-grid h4 {
  margin: 0 0 0.8rem;
}

.footer-links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links-grid a {
  color: #4a4a4a;
  color: var(--text-muted);
  text-decoration: none;
}


@media (max-width: 768px) {
  .hero-block {
    padding: 2rem;
    margin-top: 1.5rem;
  }

  .hero-form-row {
    flex-direction: column;
  }

  .calculator-block {
    grid-template-columns: 1fr;
  }

  .download-card {
    padding: 2.5rem;
  }

  .offerings-block {
    padding: 2rem;
  }

  .apply-content {
    grid-template-columns: 1fr;
  }

  .apply-form {
    padding: 1.75rem;
  }

  .apply-hero {
    padding: 2rem;
  }

  .calculator-body {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .calculator-hero {
    padding: 2rem;
  }

  .credit-score-widget {
    padding: 1.75rem;
  }

  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero-grid {
    gap: 1.5rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid article,
  .why-grid article,
  .product-card,
  .offering-card,
  .tool-card,
  .blog-grid article {
    padding: 1.25rem;
  }

  .apply-form .primary-btn {
    width: 100%;
  }

  .calculator-hero,
  .calc-side-card,
  .eligibility-calculator {
    padding: 1.5rem;
  }

  .credit-form {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    width: 100%;
    flex-direction: column;
  }

  .contact-buttons .primary-btn,
  .contact-buttons .ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  padding: 3rem;
  border-radius: 36px;
  background: linear-gradient(120deg, #e9ffff, #fff2e1, #fef0f4);
  align-items: center;
}

.about-hero-illustration {
  justify-self: center;
}

.hero-stat-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.hero-stat-grid li {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
}

.hero-stat-grid strong {
  display: block;
  font-size: 1.4rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.25rem;
}

.pillar-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.pillar-card h3 {
  margin: 0 0 0.35rem;
}

.pillar-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.insight-card {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.insight-card ul {
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.mission-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin: 1rem 0 2rem;
}

.impact-grid article {
  background: linear-gradient(135deg, #f7f9ff, #fff7ef);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.impact-grid strong {
  display: block;
  font-size: 1.4rem;
}

.leadership-grid {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.leadership-head h2 {
  margin: 0.3rem 0 0.2rem;
}

.leader-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.leader-card {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: center;
}

.leader-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a855f7, #9333ea);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #7c2d12;
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.leader-card h3 {
  margin: 0;
}

.leader-card p {
  margin: 0;
  font-weight: 700;
}

.leader-card span {
  color: #4a4a4a;
  color: var(--text-muted);
}

.quiz-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 3rem;
}

.quiz-hero {
  background:
    radial-gradient(circle at 0% 0% 0%, rgba(168, 85, 247, 0.18), transparent 50%),
    radial-gradient(circle at 90% 10% 0%, rgba(232, 169, 26, 0.16), transparent 50%),
    linear-gradient(120deg, #ffffff, #fff8e0);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 32px;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.quiz-hero__copy {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.quiz-hero__copy p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.quiz-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.quiz-badges span {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.quiz-hero__card {
  background: #ffffff;
  background: var(--surface);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 1.25rem;
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.quiz-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 0.6rem;
  gap: 0.6rem;
}

.quiz-stats-row div {
  background: #ffffff;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 0.65rem 0.8rem;
  text-align: center;
}

.quiz-note {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.quiz-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.quiz-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.quiz-questions {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.quiz-question {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
}

.quiz-question__index {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #a855f7;
  background: var(--primary);
  color: #7c2d12;
  color: var(--secondary);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.35);
}

.quiz-options {
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
}

.quiz-option {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.55rem;
  gap: 0.55rem;
  align-items: center;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 0.65rem 0.8rem;
  background: #fff7ed;
  background: var(--surface-soft);
}

.quiz-option.selected {
  border-color: #7c2d12;
  border-color: var(--secondary);
  background: #eef6ff;
}

.quiz-option input {
  accent-color: #7c2d12;
  accent-color: var(--secondary);
}

.quiz-aside {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.quiz-tip-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.quiz-tip-card ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  color: var(--text-muted);
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.reach-section .office-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

.partner-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: stretch;
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
}

.ally-hero {
  background: linear-gradient(135deg, rgba(233, 255, 255, 0.7), rgba(255, 242, 225, 0.7));
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ally-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.ally-list li {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 20px;
  padding: 1rem;
  flex: 1 1;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.ally-carousel {
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1rem;
  background: #fefefe;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.carousel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr);
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: stretch;
}

.carousel-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.carousel-slide {
  border-radius: 24px;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.25);
  animation: pulseBackground 6s ease-in-out infinite;
}

.about-cta {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 28px;
  padding: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.about-cta p {
  margin: 0.25rem 0;
  color: #4a4a4a;
  color: var(--text-muted);
}

.about-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@keyframes pulseBackground {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #1f1308;
  color: var(--text-strong);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.carousel-control:hover {
  transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev {
  left: 1rem;
}

.carousel-control.next {
  right: 1rem;
}

.carousel-content {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.carousel-content ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #4a4a4a;
  color: var(--text-muted);
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.2);
}

.carousel-dots button.active {
  background: #7c2d12;
  background: var(--secondary);
}

.value-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.value-blocks article {
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.value-blocks article .eyebrow {
  margin-bottom: 0.35rem;
}

.testimonial-showcase {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-header {
  max-width: 720px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.25rem;
  gap: 1.25rem;
}

.testimonial-cards article {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.inclusion-section {
  background: linear-gradient(135deg, #fef6ee, #e9ffff);
  border-radius: 32px;
  padding: 2.5rem;
  display: grid;
  grid-gap: 2rem;
  gap: 2rem;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.impact-grid .impact-card {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.governance-section {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.governance-section .journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.governance-section .journey-grid article {
  padding: 1.5rem;
  border-radius: 24px;
  background: #fff7ed;
  background: var(--surface-soft);
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.insight-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.mission-card {
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.75rem;
}

.reach-section {
  background: #fff;
  border-radius: 32px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.office-card {
  background: #fff7ed;
  background: var(--surface-soft);
  border-radius: 24px;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
}

/* ===== Personal Loan Page Styles ===== */
.personal-loan-page {
  padding-top: 0;
  background: #fff;
}

/* Hero Section */
.personal-loan-hero {
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 50%, #ffffff 100%);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.personal-loan-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 20px) scale(1.05);
  }
}

.hero-content-wrapper {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-gap: 5rem;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, #a855f7, #d8b4fe);
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-features {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  border: 2px solid rgba(168, 85, 247, 0.25);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #7c2d12;
  color: var(--secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.feature-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  border-color: var(--primary);
}

.feature-pill .icon {
  font-size: 1.3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.loan-highlight-card {
  background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
  padding: 3rem 2.5rem;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(168, 85, 247, 0.15);
  position: relative;
  overflow: hidden;
}

.loan-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
}

.highlight-amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.highlight-label {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(168, 85, 247, 0.2);
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(168, 85, 247, 0.05);
  border-radius: 12px;
}

.stat-item strong {
  display: block;
  font-size: 1.75rem;
  color: #7c2d12;
  color: var(--secondary);
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.stat-item span {
  color: #666;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Section Block Base */
.section-block {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #7c2d12;
  color: var(--secondary);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.section-heading p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Eligibility Section */
.eligibility-section {
  background: linear-gradient(to bottom, #fff 0%, #fffef9 100%);
}

.eligibility-grid {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.75rem;
  gap: 1.75rem;
}

.eligibility-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(168, 85, 247, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.eligibility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.eligibility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.15);
  border-color: #a855f7;
  border-color: var(--primary);
}

.eligibility-card:hover::before {
  opacity: 1;
}

.eligibility-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #9333ea;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.eligibility-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #7c2d12;
  color: var(--secondary);
  line-height: 1.6;
}

/* Documents Section */
.documents-section {
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 100%);
}

.documents-grid {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.document-card {
  padding: 2.25rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(17, 17, 17, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: rgba(168, 85, 247, 0.3);
}

.document-icon {
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.document-card h3 {
  font-size: 1.15rem;
  margin: 0 0 1.25rem;
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 800;
}

.document-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-card li {
  padding: 0.65rem 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  font-weight: 500;
}

.document-card li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.document-card li::before {
  content: '✓';
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Fees Section */
.fees-section {
  background: #fff;
}

.fees-table-wrapper {
  width: min(1240px, 94vw);
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(168, 85, 247, 0.15);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.fees-table thead {
  background: linear-gradient(135deg, #a855f7, #d8b4fe);
}

.fees-table th {
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-weight: 800;
  color: #7c2d12;
  color: var(--secondary);
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.fees-table td {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.fees-table tbody tr:last-child td {
  border-bottom: none;
}

.fee-type {
  font-weight: 700;
  color: #7c2d12;
  color: var(--secondary);
  width: 35%;
  font-size: 0.95rem;
}

.fee-charge {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
}

.fees-table tbody tr {
  transition: background 0.2s ease;
}

.fees-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.04);
}

/* Apply Steps Section */
.apply-steps-section {
  background: linear-gradient(to bottom, #fffef9 0%, #fff 100%);
}

.steps-timeline {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
}

.step-card {
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 2px solid rgba(168, 85, 247, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.2);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #a855f7, #d8b4fe);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

.step-card h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

/* CTA Section */
.personal-loan-cta {
  background: linear-gradient(135deg, #fffef9 0%, #fff7e6 50%, #ffffff 100%);
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.personal-loan-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 800;
  color: #a855f7;
}

.cta-content p {
  font-size: 1.2rem;
  color: #a855f7;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Button size variants */
.primary-btn.large,
.ghost-btn.large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.25);
  transition: all 0.3s ease;
}

.primary-btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.35);
}

.ghost-btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loan-highlight-card {
    max-width: 450px;
    margin: 0 auto;
  }

  .section-block {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .personal-loan-hero {
    padding: 3rem 0 4rem;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .eligibility-grid,
  .documents-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .fees-table-wrapper {
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .fees-table th,
  .fees-table td {
    padding: 1rem;
  }

  .hero-actions,
  .cta-buttons {
    flex-direction: column;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn,
  .cta-buttons .primary-btn,
  .cta-buttons .ghost-btn {
    width: 100%;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .section-block {
    padding: 3.5rem 0;
  }
}

*/ .personal-loan-page {
  padding-top: 0;
}

/* Hero Section */
.personal-loan-hero {
  background: linear-gradient(135deg, #ffedd5, #fff7ed, #ffffff);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.personal-loan-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content-wrapper {
  width: min(1240px, 94vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-gap: 4rem;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  color: #7c2d12;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #7c2d12;
  color: var(--secondary);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-pill .icon {
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.loan-highlight-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.highlight-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #9333ea;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.highlight-label {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.highlight-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: #7c2d12;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}

.stat-item span {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Eligibility Section */
.eligibility-section {
  background: #fff;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.eligibility-card {
  padding: 1.75rem;
  background: linear-gradient(135deg, #ffffff, #fff7da);
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.eligibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.eligibility-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #9333ea;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.eligibility-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #7c2d12;
  color: var(--secondary);
  line-height: 1.5;
}

/* Documents Section */
.documents-section {
  background: linear-gradient(135deg, #fff7ed, #fff7da);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.document-card {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.document-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.document-card h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: #7c2d12;
  color: var(--secondary);
}

.document-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.document-card li {
  padding: 0.5rem 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.document-card li:last-child {
  border-bottom: none;
}

/* Fees Section */
.fees-section {
  background: #fff;
}

.fees-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.fees-table thead {
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
}

.fees-table th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 700;
  color: #7c2d12;
  color: var(--secondary);
  font-size: 1rem;
}

.fees-table td {
  padding: 1.25rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.05);
}

.fees-table tbody tr:last-child td {
  border-bottom: none;
}

.fee-type {
  font-weight: 600;
  color: #7c2d12;
  color: var(--secondary);
  width: 30%;
}

.fee-charge {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

.fees-table tbody tr:hover {
  background: rgba(168, 85, 247, 0.05);
}

/* Apply Steps Section */
.apply-steps-section {
  background: linear-gradient(135deg, #ffedd5, #fff7ed);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.step-card {
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.step-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #7c2d12;
  color: var(--secondary);
}

.step-card p {
  margin: 0;
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
.personal-loan-cta {
  background: linear-gradient(135deg, #ffffff, #fff7da);
  text-align: center;
  padding: 4rem 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .loan-highlight-card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .personal-loan-hero {
    padding: 3rem 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .eligibility-grid,
  .documents-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .fees-table-wrapper {
    font-size: 0.9rem;
  }

  .fees-table th,
  .fees-table td {
    padding: 0.875rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn {
    width: 100%;
  }
}

/* Button size variants */
.primary-btn.large,
.ghost-btn.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin: 0 0 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: #a855f7;
  margin: 0 0 2rem;
}

/* Additional Visual Enhancements for Personal Loan Page */
.card-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.3));
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.trust-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(168, 85, 247, 0.2);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #7c2d12;
  color: var(--secondary);
}

.badge-icon {
  font-size: 1.2rem;
}

.section-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.2));
}

.card-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #a855f7, #d8b4fe);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

/* Improve fees table visual */
.fees-table thead th:first-child {
  border-radius: 20px 0 0 0;
}

.fees-table thead th:last-child {
  border-radius: 0 20px 0 0;
}

/* Add more visual appeal */
.loan-highlight-card {
  animation: card-float 6s ease-in-out infinite;
}

@keyframes card-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

/* Illustration Styles */
.hero-illustration {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-illustration img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
  animation: float-illustration 4s ease-in-out infinite;
}

@keyframes float-illustration {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.section-illustration {
  margin-bottom: 2rem;
  text-align: center;
}

.section-illustration img {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(168, 85, 247, 0.15));
  animation: subtle-float 6s ease-in-out infinite;
}

@keyframes subtle-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-illustration img {
    max-width: 300px;
  }

  .section-illustration img {
    max-width: 200px;
  }
}

/* ==========================================
   About Page Styles - Modern & Clean
   ========================================== */

/* About Hero Section */
.about-hero-modern {
  margin-top: 2rem;
  padding: 4rem 3rem;
  border-radius: 40px;
  background: linear-gradient(135deg,
      rgba(255, 251, 234, 0.95) 0%,
      rgba(255, 248, 225, 0.85) 50%,
      rgba(255, 243, 214, 0.75) 100%);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(168, 85, 247, 0.2);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #7c2d12;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.about-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #1f1308;
  color: var(--text-strong);
}

.about-hero-content .gradient-text {
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-content .hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4a4a;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-top: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(168, 85, 247, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #9333ea;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 500;
}

/* Values Section */
.values-section {
  margin-top: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.value-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at top right,
      rgba(168, 85, 247, 0.15) 0%,
      rgba(168, 85, 247, 0.05) 40%,
      rgba(168, 85, 247, 0) 70%);
  background: var(--gradient-glow);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(168, 85, 247, 0.4);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: #1f1308;
  color: var(--text-strong);
}

.value-card p {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Journey Timeline Section */
.journey-section {
  margin-top: 5rem;
}

.journey-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  border: 4px solid rgba(168, 85, 247, 0.2);
  z-index: 2;
  flex-shrink: 0;
}

.timeline-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.1));
  margin-top: 0.5rem;
  flex-grow: 1;
}

.timeline-content {
  background: white;
  border-radius: 20px;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateX(6px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.timeline-year {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  color: #1f1308;
  color: var(--text-strong);
}

.timeline-content p {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Mission & Vision Section */
.mission-vision-section {
  margin-top: 5rem;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 2.5rem;
  gap: 2.5rem;
}

.mission-card.modern,
.vision-card.modern {
  background: linear-gradient(135deg, #ffffff 0%, #fff9e6 100%);
  border-radius: 32px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card.modern:hover,
.vision-card.modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
}

.mission-card .card-badge,
.vision-card .card-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(168, 85, 247, 0.15);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: #7c2d12;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mission-card h2,
.vision-card h2 {
  font-size: 1.9rem;
  margin: 0 0 1.25rem;
  color: #1f1308;
  color: var(--text-strong);
}

.mission-card p,
.vision-card p {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  font-size: 1.05rem;
}

/* Leadership Team Section */
.leadership-section {
  margin-top: 5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.team-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(168, 85, 247, 0.4);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      #c084fc 0%,
      #a855f7 25%,
      #9333ea 55%,
      #dc2626 100%);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: #7c2d12;
  color: var(--secondary);
  flex-shrink: 0;
}

.team-info h3 {
  font-size: 1.3rem;
  margin: 0 0 0.35rem;
  color: #1f1308;
  color: var(--text-strong);
}

.team-role {
  color: #9333ea;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.team-focus {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Legal & Compliance Section */
.legal-section {
  margin-top: 5rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.legal-card {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
}

.legal-card h3 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
  color: #1f1308;
  color: var(--text-strong);
}

.legal-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(124, 45, 18, 0.08);
  border-bottom: 1px solid var(--border-soft);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.info-value {
  color: #1f1308;
  color: var(--text-strong);
  font-weight: 600;
  text-align: right;
}

.certification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.certification-list li {
  padding: 0.75rem 0;
  color: #4a4a4a;
  color: var(--text-muted);
  font-size: 1rem;
  border-bottom: 1px solid rgba(124, 45, 18, 0.08);
  border-bottom: 1px solid var(--border-soft);
}

.certification-list li:last-child {
  border-bottom: none;
}

/* Office Locations Section */
.office-section {
  margin-top: 5rem;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 3rem;
}

.office-card.modern {
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.office-card.modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 65px rgba(124, 45, 18, 0.12);
  box-shadow: var(--shadow-soft);
  border-color: rgba(168, 85, 247, 0.4);
}

.office-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.office-card h3 {
  font-size: 1.3rem;
  margin: 0 0 1rem;
  color: #1f1308;
  color: var(--text-strong);
}

.office-address {
  color: #4a4a4a;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.office-city {
  color: #1f1308;
  color: var(--text-strong);
  font-weight: 600;
  margin: 0;
}

.contact-info-section {
  background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
  border-radius: 24px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  border: 1px solid rgba(124, 45, 18, 0.08);
  border: 1px solid var(--border-soft);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item>div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.85rem;
  color: #4a4a4a;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.1rem;
  color: #1f1308;
  color: var(--text-strong);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-value:hover {
  color: #9333ea;
  color: var(--primary-dark);
}

/* About Page CTA */
.about-cta {
  margin-top: 5rem;
  padding: 4rem 3rem;
  background: linear-gradient(135deg,
      #1a1a1a 0%,
      #111111 50%,
      #0a0a0a 100%);
  background: var(--gradient-dark);
  border-radius: 40px;
  text-align: center;
}

.about-cta .cta-content h2 {
  color: #a855f7;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.about-cta .cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-cta .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .about-hero-modern {
    padding: 2.5rem 1.5rem;
  }

  .about-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
  }

  .team-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-info-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-hero-stats {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 2rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .primary-btn,
  .hero-cta-group .ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* Mobile-First Product Card Background Fix */
.product-card {
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.product-card.modern {
  background: rgba(255, 255, 255, 0.98) !important;
}

/* Section Block Mobile Optimization */
@media (max-width: 1024px) {
  .section-block {
    margin: 3rem 0;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .page {
    width: min(1240px, 92vw);
  }
}

/* Tablet Responsive Styles */
@media (max-width: 768px) {

  /* Hero Section */
  .hero-block {
    margin-top: 1rem;
    padding: 2rem 1.5rem;
    border-radius: 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta .primary-btn,
  .hero-cta .ghost-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .hero-carousel {
    height: 300px;
  }

  /* Section Headings */
  .section-heading {
    max-width: 100%;
    margin: 0 auto 2rem;
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
  }

  .section-heading p {
    font-size: 0.95rem;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  /* Product Grid */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-card {
    min-height: 180px;
    padding: 1.25rem;
    border-radius: 20px;
  }

  .product-card img {
    width: 56px;
    height: 56px;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.9rem;
  }

  .product-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

  /* Stats Bar */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.25rem;
    gap: 0.75rem;
    margin: 2rem 0;
  }

  .stats-bar strong {
    font-size: 1.5rem;
  }

  /* Calculator Block */
  .calculator-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .loan-calculator {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .loan-calculator__inputs,
  .loan-calculator__summary {
    min-width: 100%;
  }

  /* Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .steps-grid article {
    padding: 1.5rem;
  }

  /* Offerings */
  .offerings-block {
    padding: 2rem 1.5rem;
    border-radius: 28px;
  }

  .offering-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 2rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-buttons .primary-btn,
  .cta-buttons .ghost-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  /* Testimonials */
  .testimonial-item {
    min-width: 280px;
    padding: 1.25rem;
  }
}

/* Mobile Phone Responsive Styles */
@media (max-width: 480px) {

  /* Page Container */
  .page {
    width: min(1240px, 90vw);
    padding-bottom: 3rem;
  }

  .fibe-home {
    padding-top: 1rem;
  }

  /* Hero Section */
  .hero-block {
    padding: 1.5rem 1rem;
    border-radius: 24px;
    margin-top: 0.5rem;
  }

  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-badges {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .hero-carousel {
    height: 250px;
    border-radius: 20px;
  }

  /* Buttons */
  .primary-btn,
  .ghost-btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
  }

  .primary-btn.large,
  .ghost-btn.large {
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
  }

  /* Section Headings */
  .section-block {
    margin: 2.5rem 0;
  }

  .section-heading {
    margin: 0 auto 1.5rem;
  }

  .section-heading h2 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  .section-heading p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }

  /* Product Cards */
  .product-grid {
    gap: 0.875rem;
  }

  .product-card {
    padding: 1.125rem;
    min-height: 160px;
    border-radius: 18px;
  }

  .product-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.75rem;
  }

  .product-card h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
  }

  .product-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .product-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  .product-arrow {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  /* Stats Bar */
  .stats-bar {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 0.5rem;
    border-radius: 20px;
    margin: 1.5rem 0;
  }

  .stats-bar strong {
    font-size: 1.35rem;
  }

  .stats-bar span {
    font-size: 0.85rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 1.5rem 1rem;
    margin: 2rem 0;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 0.9rem;
  }
}

/* Product Content Improvements */
.product-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1;
}

.product-content h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f1308;
  color: var(--text-strong);
}

.product-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a4a4a;
  color: var(--text-muted);
}

.product-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(168, 85, 247, 0.15);
  color: #7c2d12;
  color: var(--secondary);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  width: -webkit-fit-content;
  width: fit-content;
}

.product-arrow {
  margin-top: 1rem;
  font-weight: 600;
  color: #9333ea;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

/* Prevent horizontal scroll */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .App {
    overflow-x: hidden;
  }

  .page {
    overflow-x: hidden;
    padding-top: 90px !important;
    /* Ensure space for fixed header */
  }

  .hero-grid,
  .product-grid,
  .stats-bar,
  .calculator-block,
  .steps-grid,
  .offering-grid {
    width: 100%;
    max-width: 100%;
  }
}

/* ============================================
   MOBILE PAGE SYNC & OPTIMIZATION
   ============================================ */

/* Ensure all pages have proper spacing for fixed header */
.page {
  padding-top: 100px;
  min-height: 100vh;
}

@media (max-width: 900px) {
  .page {
    padding-top: 90px;
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 85px;
  }
}

/* Global mobile card & background sync */
@media (max-width: 768px) {

  /* Ensure all hero sections have consistent styling */
  [class*="-hero"],
  [class*="hero-"] {
    margin: 1rem 0 2rem !important;
    padding: 2rem 1.5rem !important;
    border-radius: 24px !important;
  }

  /* Ensure all section cards are consistent */
  [class*="-section"],
  [class*="section-"] {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }

  /* Ensure all content cards are consistent */
  [class*="-card"],
  [class*="card-"] {
    border-radius: 18px !important;
  }

  /* Full width buttons on mobile */
  .hero-cta .primary-btn,
  .hero-cta .ghost-btn,
  [class*="cta"] .primary-btn,
  [class*="cta"] .ghost-btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }

  /* Consistent section heading sizes */
  .section-heading h2,
  [class*="-section"] h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  }

  /* Consistent eyebrow sizes */
  .eyebrow,
  [class*="eyebrow"] {
    font-size: 0.75rem !important;
  }

  /* Grid mobile optimization */
  [class*="-grid"],
  [class*="grid-"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Ensure no overflow on any container */
  * {
    max-width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .page {
    width: min(1280px, 94vw) !important;
    padding-top: 80px;
  }

  [class*="-hero"],
  [class*="hero-"] {
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
  }

  .section-heading h2,
  [class*="-section"] h2 {
    font-size: 1.5rem !important;
  }

  .primary-btn,
  .ghost-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Ensure proper background colors everywhere */
@media (max-width: 768px) {
  body {
    background: linear-gradient(135deg,
        rgba(255, 251, 234, 0.4) 0%,
        rgba(255, 248, 225, 0.3) 25%,
        rgba(255, 243, 214, 0.2) 50%,
        rgba(255, 237, 196, 0.3) 75%,
        rgba(255, 232, 161, 0.4) 100%) !important;
  }
}

/* ============================================
   COMPREHENSIVE DEVICE OPTIMIZATION
   ============================================ */

/* Tablet Specific (iPad, tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
  .page {
    width: min(1280px, 92vw);
  }

  /* Optimize grids for tablet */
  [class*="-grid"]:not(.form-grid),
  [class*="grid-"]:not(.form-grid) {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Form grids stay single column on tablet for better UX */
  .form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Large Mobile / Small Tablet (iPhone Pro Max, small tablets) */
@media (min-width: 481px) and (max-width: 768px) {
  .page {
    width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Ensure touch targets are at least 44px */
  button,
  a,
  input,
  select,
  textarea {
    min-height: 44px;
  }
}

/* Small Mobile (iPhone SE, small phones) */
@media (max-width: 480px) {
  .page {
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 80px;
  }

  /* Reduce font sizes slightly for small screens */
  html {
    font-size: 15px;
  }

  /* Adjust Hero Spacing */
  [class*="-hero"],
  [class*="hero-"] {
    padding: 1.5rem 1rem !important;
    border-radius: 20px !important;
  }

  .hero-content h1 {
    font-size: 2rem !important;
  }

  /* Ensure buttons are easily tappable */
  .primary-btn,
  .ghost-btn,
  button {
    min-height: 48px;
    padding: 0.875rem 1.5rem;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
  }

  /* Full width tables with scroll */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Landscape Mode Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .page {
    padding-top: 70px;
  }

  [class*="-hero"],
  [class*="hero-"] {
    padding: 1.5rem 2rem !important;
  }

  /* Reduce vertical spacing in landscape */
  section {
    margin: 2rem 0;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

  /* Ensure images are sharp on retina displays */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {

  /* Larger touch targets for touch devices */
  a,
  button,
  input,
  select {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover effects on touch devices */
  *:hover {
    transform: none !important;
  }

  /* But keep active states */
  *:active {
    opacity: 0.8;
  }
}

/* Safe Area for Devices with Notches (iPhone X, etc.) */
@supports (padding: max(0px)) {
  .page {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  .fibe-header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Ensure Carousel Visibility on Mobile */
@media (max-width: 768px) {
  .hero-visual {
    display: flex !important;
    width: 100%;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
  }

  .hero-carousel {
    display: block !important;
    width: 100% !important;
    height: 300px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    /* Placeholder background */
  }

  .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .carousel-track {
    width: 100%;
    height: 100%;
  }
}

/* Prevent zoom on input focus (iOS) */
@media (max-width: 768px) {

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Ensure smooth scrolling on all devices */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: #a855f7;
  min-height: 100vh;
}

/* Optimize for print */
@media print {

  .fibe-header,
  .site-footer,
  .primary-btn,
  .ghost-btn,
  nav,
  [class*="cta"] {
    display: none !important;
  }

  .page {
    padding-top: 0 !important;
  }

  * {
    background: white !important;
    color: black !important;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Final Overflow Prevention */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.page,
section,
div {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure iframes are responsive */
iframe {
  max-width: 100%;
}
/* Placeholder Page Styles */
.placeholder-page {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

.placeholder-page h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.placeholder-page p {
    font-size: 1.15rem;
    color: #666;
    margin: 0;
}

/* ════════════════════════════════════════════════════════
   KASHLEY — Login / Signup Page  (Premium Animated Design)
════════════════════════════════════════════════════════ */

/* ── Root ────────────────────────────────────────────── */
.lp-root {
  font-family: 'Inter', -apple-system, sans-serif;
  height: 100vh;
  display: flex;
  background: linear-gradient(135deg,#fff7ed 0%,#ffedd5 35%,#fed7aa 70%,#d8b4fe 100%);
  position: relative;
  overflow: hidden;
}

/* ── Blobs ───────────────────────────────────────────── */
.lp-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: blob-float 9s ease-in-out infinite;
  pointer-events: none;
}
.lp-blob-1 { width:480px;height:480px;background:radial-gradient(#c084fc,#a855f7);top:-100px;left:-100px; }
.lp-blob-2 { width:340px;height:340px;background:radial-gradient(#d8b4fe,#c084fc);bottom:-60px;right:38%;animation-delay:3.5s; }
.lp-blob-3 { width:260px;height:260px;background:radial-gradient(#fde68a,#fbbf24);top:38%;right:12%;animation-delay:6s; }
@keyframes blob-float {
  0%,100% { transform:translate(0,0) scale(1); }
  33%     { transform:translate(18px,-22px) scale(1.05); }
  66%     { transform:translate(-12px,14px) scale(0.96); }
}

/* ── Shell ───────────────────────────────────────────── */
.lp-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════════
   LEFT PANEL + ANIMATION
════════════════════════════════════════════════════════ */
.lp-left {
  background: linear-gradient(150deg,#7e22ce 0%,#8b5cf6 30%,#9333ea 65%,#6b21a8 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.lp-left-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2.8rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

/* ── Logo ── */
.lp-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  background: rgba(255,255,255,0.22);
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 18px;
  padding: 0.75rem 1.4rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: -webkit-fit-content;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.lp-logo-wrap-transparent {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lp-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
  display: block;
  flex-shrink: 0;
}

.lp-logo-transparent {
  height: 78px;
  max-width: min(320px, 68vw);
  width: auto;
  filter: none;
  opacity: 1;
}

.lp-logo-name {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-family: 'Inter', sans-serif;
}

/* ── Badge / headline ── */
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 99px;
  padding: 0.32rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.lp-hero-h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -1px;
  margin: 0 0 0.9rem;
}

.lp-hero-h1 span {
  background: linear-gradient(90deg,#fff,rgba(255,255,255,0.68));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero-p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin: 0 0 2rem;
}

/* ── Stats ── */
.lp-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-gap: 0.45rem;
  gap: 0.45rem;
}

.lp-stat {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.lp-stat:hover { background: rgba(255,255,255,0.2); }
.lp-stat strong { font-size: 1.05rem; font-weight:800; color:#fff; line-height:1; }
.lp-stat span { font-size:0.62rem; font-weight:600; color:rgba(255,255,255,0.7); text-transform:uppercase; letter-spacing:0.5px; }

/* ════════════════════════════════════════════════════════
   ANIMATION SCENE
════════════════════════════════════════════════════════ */
.anim-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

/* ── Floating Coins ── */
.coin {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,#fef3c7,#fde68a,#fbbf24);
  color: #92400e;
  font-size: 0.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18), inset 0 1px 2px rgba(255,255,255,0.6);
  animation: coin-rise linear infinite;
  opacity: 0;
}

.coin-1  { left:8%;   animation-duration:6s;  animation-delay:0s;   width:32px;height:32px; }
.coin-2  { left:18%;  animation-duration:8s;  animation-delay:1.2s; width:28px;height:28px; }
.coin-3  { left:28%;  animation-duration:7s;  animation-delay:2.4s; }
.coin-4  { left:42%;  animation-duration:9s;  animation-delay:0.8s; width:42px;height:42px;font-size:1rem; }
.coin-5  { left:55%;  animation-duration:6.5s;animation-delay:3s; }
.coin-6  { left:65%;  animation-duration:8.5s;animation-delay:1.5s;width:30px;height:30px; }
.coin-7  { left:75%;  animation-duration:7.5s;animation-delay:0.4s; }
.coin-8  { left:85%;  animation-duration:6s;  animation-delay:2s; }
.coin-9  { left:12%;  animation-duration:9s;  animation-delay:4s;  width:26px;height:26px; }
.coin-10 { left:60%;  animation-duration:7s;  animation-delay:5s;  width:38px;height:38px; }

@keyframes coin-rise {
  0%   { bottom:-50px; opacity:0;   transform:rotate(0deg)   translateX(0); }
  10%  { opacity:0.85; }
  80%  { opacity:0.6; }
  100% { bottom:110%;  opacity:0;   transform:rotate(360deg) translateX(30px); }
}

/* ════════════════════════════════════════════════════════
   SVG LION — new mascot
════════════════════════════════════════════════════════ */

/* The lion sits inline in the left-inner column at the bottom */
.lion-scene {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  margin-top: 1.5rem;
  position: relative;
}

/* ── Think bubble ── */
.lion-bubble {
  background: #ffffff;
  border: 2.5px solid #c084fc;
  border-radius: 18px;
  padding: 0.75rem 1.1rem;
  box-shadow: 0 10px 32px rgba(0,0,0,0.18);
  position: relative;
  margin-right: 8px;
  margin-bottom: 30px;
  animation: bubble-float 3.5s ease-in-out infinite;
  flex-shrink: 0;
  max-width: 155px;
}

.lion-bubble p {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0 0 0.15rem;
  line-height: 1.3;
}
.lion-bubble strong {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: #9333ea;
  display: block;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}
.lion-bubble-sub {
  font-size: 0.65rem !important;
  color: #9ca3af !important;
  letter-spacing: 0.2px;
}

/* Bubble tail dots */
.lion-bubble-tail {
  position: absolute;
  right: -22px;
  bottom: 12px;
  display: flex;
  flex-direction: row;
  gap: 3px;
  align-items: flex-end;
}

.bt {
  display: inline-block;
  border-radius: 50%;
  background: #c084fc;
}
.bt.bt1 { width:7px;  height:7px;  }
.bt.bt2 { width:10px; height:10px; }
.bt.bt3 { width:14px; height:14px; }

@keyframes bubble-float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%     { transform: translateY(-7px) rotate(1deg); }
}

/* ── SVG lion ── */
.lion-svg {
  width: 160px;
  height: auto;
  animation: lion-bob 3s ease-in-out infinite;
  flex-shrink: 0;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
}

@keyframes lion-bob {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* ── Sparkles ── */
.sparkle {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  animation: sparkle-pulse ease-in-out infinite;
  box-shadow: 0 0 6px 2px rgba(255,255,255,0.5);
}

.sp-1  { top:8%;  left:12%; animation-duration:2s;   animation-delay:0s;   }
.sp-2  { top:15%; left:40%; animation-duration:2.8s; animation-delay:0.5s; }
.sp-3  { top:6%;  left:70%; animation-duration:1.8s; animation-delay:1s;   }
.sp-4  { top:30%; left:80%; animation-duration:2.4s; animation-delay:0.3s; }
.sp-5  { top:50%; left:15%; animation-duration:3s;   animation-delay:0.8s; }
.sp-6  { top:65%; left:55%; animation-duration:2.2s; animation-delay:1.5s; }
.sp-7  { top:75%; left:25%; animation-duration:1.9s; animation-delay:0.2s; }
.sp-8  { top:85%; left:70%; animation-duration:2.6s; animation-delay:0.7s; }
.sp-9  { top:22%; left:55%; animation-duration:2s;   animation-delay:1.2s; width:4px;height:4px; }
.sp-10 { top:40%; left:35%; animation-duration:3.2s; animation-delay:0.4s; width:8px;height:8px; }
.sp-11 { top:55%; left:88%; animation-duration:2.5s; animation-delay:0.9s; width:5px;height:5px; }
.sp-12 { top:12%; left:85%; animation-duration:1.7s; animation-delay:1.8s; }

@keyframes sparkle-pulse {
  0%,100% { transform:scale(1);   opacity:0.8; }
  50%     { transform:scale(1.8); opacity:0.3; }
}

/* ── Grid bg ── */
.anim-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ════════════════════════════════════════════════════════
   RIGHT PANEL + CARD
════════════════════════════════════════════════════════ */
.lp-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  position: relative;
}

.lp-right::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  top: -5%;
  right: -5%;
  pointer-events: none;
}
.lp-right::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 254, 0.2), transparent 70%);
  bottom: 5%;
  left: -2%;
  pointer-events: none;
}

/* ── Glass card ── */
.lp-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 32px;
  padding: 2.8rem 2.4rem;
  box-shadow: 0 25px 60px rgba(147, 51, 234, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
  animation: card-in 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  position: relative;
  z-index: 1;
}

@keyframes card-in {
  from { opacity:0; transform:translateY(24px) scale(0.98); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

/* ── Mode switcher (Sign In / Sign Up) ── */
.lp-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0;
  gap: 0;
  border-bottom: 2px solid #f3e8ff;
  margin-bottom: 1.5rem;
}

.lp-mode-tab {
  background: none;
  border: none;
  padding: 0.7rem 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.lp-mode-tab.active {
  color: #9333ea;
  border-bottom-color: #9333ea;
}

.lp-mode-tab:not(.active):hover { color: #3b0764; }

/* ── Card header ── */
.lp-card-head { margin-bottom: 1.5rem; }
.lp-card-head h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1e1b4b;
  margin: 0 0 0.35rem;
  letter-spacing: -0.5px;
}
.lp-card-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

/* ── Alerts ── */
.lp-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1rem;
  animation: shake 0.4s ease-in-out;
}
.lp-alert-error   { background:rgba(239,68,68,0.08);   border:1px solid rgba(239,68,68,0.2);  color:#dc2626; }
.lp-alert-success { background:rgba(34,197,94,0.08);   border:1px solid rgba(34,197,94,0.22); color:#15803d; }

@keyframes shake {
  0%,100% { transform:translateX(0); }
  20%     { transform:translateX(-5px); }
  40%     { transform:translateX(5px); }
  60%     { transform:translateX(-3px); }
  80%     { transform:translateX(3px); }
}

/* ── Sign-in sub-tabs (OTP/Password) ── */
.lp-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  background: #f3f4f6;
  border-radius: 11px;
  padding: 0.28rem;
  margin-bottom: 1.25rem;
}

.lp-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.lp-tab.active { background:#fff; color:#a855f7; box-shadow:0 2px 8px rgba(0,0,0,0.09); }
.lp-tab:not(.active):hover { color:#374151; }

/* ── Form ── */
.lp-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lp-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lp-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.lp-label-note {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 400;
}

.lp-sent-to {
  font-size: 0.72rem;
  color: #9333ea;
  font-weight: 600;
}

/* Input wrap */
.lp-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1.5px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-input-wrap:focus-within { 
  border-color: #9333ea; 
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.15); 
  background: #ffffff;
  transform: translateY(-2px);
}
.lp-field.valid .lp-input-wrap   { border-color: #10b981; }
.lp-field.invalid .lp-input-wrap { border-color: #ef4444; }
.lp-field.typing .lp-input-wrap  { border-color: #c084fc; }

.lp-input-icon, .lp-input-prefix {
  display: flex; align-items: center; justify-content: center;
  padding: 0 0.85rem; color: #94a3b8; flex-shrink: 0;
  height: 54px; background: transparent; 
  border-right: 1.5px solid rgba(226, 232, 240, 0.5);
  transition: color 0.3s;
}
.lp-input-wrap:focus-within .lp-input-icon, 
.lp-input-wrap:focus-within .lp-input-prefix {
  color: #9333ea;
}
.lp-input-prefix { font-size: 0.82rem; font-weight: 700; color: #64748b; }

.lp-input-wrap input {
  flex: 1 1; border: none; outline: none;
  padding: 0 1rem; height: 54px;
  font-size: 0.95rem; font-family: inherit; font-weight: 600;
  color: #1e293b; background: transparent;
}
.lp-input-wrap input::placeholder { color: #94a3b8; font-weight: 400; }

.lp-check { padding:0 0.8rem; color:#10b981; font-weight:800; font-size:1rem; flex-shrink:0; }

.lp-forgot { font-size:0.76rem; color:#9333ea; font-weight:500; text-decoration:none; }
.lp-forgot:hover { text-decoration:underline; }

.lp-pwd-toggle {
  padding: 0 0.7rem; background:transparent; border:none;
  cursor:pointer; color:#9ca3af; display:flex; align-items:center;
  transition:color 0.15s;
}
.lp-pwd-toggle:hover { color:#a855f7; }

.lp-hint { font-size:0.72rem; color:#9ca3af; font-weight:500; }
.lp-hint.err { color:#ef4444; }

/* ── Custom checkbox ── */
.lp-check-row { margin-top: 0.2rem; }
.lp-checkbox {
  display: flex; align-items: flex-start; gap: 0.65rem;
  cursor: pointer; font-size: 0.8rem; color: #64748b;
  font-weight: 400; line-height: 1.45; -webkit-user-select: none; user-select: none;
}
.lp-checkbox input[type="checkbox"] { display: none; }
.lp-check-box {
  width: 18px; height: 18px; border: 1.5px solid #cbd5e1; 
  border-radius: 5px; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center; 
  transition: all 0.2s; background: #fff;
}
.lp-checkbox-text {
  display: inline;
  flex: 1 1;
  min-width: 0;
}
.lp-checkbox input:checked + .lp-check-box { background: #9333ea; border-color: #9333ea; }
.lp-checkbox input:checked + .lp-check-box::after { content: '✓'; color: #fff; font-size: 0.7rem; font-weight: 900; }
.lp-checkbox a { color: #9333ea; text-decoration: none; font-weight: 600; }
.lp-checkbox a:hover { text-decoration: underline; }

/* ── Primary button ── */
.lp-btn-primary {
  width: 100%;
  height: 56px;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  background: linear-gradient(135deg, #9333ea 0%, #6b21a8 100%);
  color: #fff; border: none; border-radius: 16px;
  font-size: 1.05rem; font-weight: 700; cursor: pointer;
  font-family: inherit; letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  margin-top: 0.8rem; position: relative; overflow: hidden;
}
.lp-btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  transition: all 0.5s;
}
.lp-btn-primary:hover:not(:disabled)::before {
  left: 150%;
  transition: 0.7s;
}
.lp-btn-primary:hover:not(:disabled) { transform: translateY(-3px) scale(1.01); box-shadow: 0 12px 30px rgba(147, 51, 234, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2); }
.lp-btn-primary:active:not(:disabled) { transform: translateY(0) scale(0.98); box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3); }
.lp-btn-primary:disabled { background: linear-gradient(135deg, #94a3b8, #64748b); cursor: not-allowed; box-shadow: none; color: #e2e8f0; }

/* Ghost button */
.lp-btn-ghost {
  width: 100%; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 11px; color: #cbd5e1; font-size: 0.88rem;
  font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.lp-btn-ghost:hover { border-color: #a855f7; color: #f8fafc; background: rgba(168, 85, 247, 0.1); }

.lp-login-link {
  align-self: center;
  color: #9333ea;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  width: -webkit-fit-content;
  width: fit-content;
}
.lp-login-link:hover { color: #6b21a8; text-decoration: underline; }

/* Link-style button */
.lp-link-btn {
  background:none; border:none; color:#a855f7; font-weight:600;
  font-size:0.82rem; cursor:pointer; font-family:inherit; padding:0;
  transition:opacity 0.15s;
}
.lp-link-btn:hover { opacity:0.75; text-decoration:underline; }

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

/* ── OTP Boxes ── */
.lp-otp-row {
  display: flex; gap: 0.8rem; justify-content: center;
  margin-bottom: 0.6rem;
}
.lp-otp-box {
  width: 64px; height: 70px;
  border: 1.5px solid rgba(226, 232, 240, 0.8); border-radius: 16px;
  text-align: center; font-size: 1.8rem; font-weight: 800;
  color: #1e293b; background: rgba(255, 255, 255, 0.6); outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-family: inherit; caret-color: #9333ea;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}
.lp-otp-box:focus {
  border-color: #9333ea;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.15);
  transform: translateY(-4px);
  background: #ffffff;
}
.lp-otp-box:not(:placeholder-shown) { border-color: #a855f7; background: #faf5ff; }

.lp-otp-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.8rem; color: #94a3b8;
}
.lp-resend-btn {
  background: none; border: none; color: #c084fc; font-weight: 600;
  font-size: 0.8rem; cursor: pointer; font-family: inherit; transition: opacity 0.15s;
}
.lp-resend-btn:hover { opacity: 0.8; text-decoration: underline; }
.lp-resend-btn:disabled { color: #475569; cursor: default; text-decoration: none; }
.lp-resend-wait { font-size: 0.8rem; color: #64748b; }

/* Card footer */
.lp-card-footer {
  text-align: center; margin: 1.5rem 0 0;
  font-size: 0.85rem; color: #94a3b8;
}

/* ════════════════════════════════════════════════════════
   PROFESSIONAL CAROUSEL (LEFT PANEL)
════════════════════════════════════════════════════════ */
.lp-carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0f172a;
}

.lp-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lp-carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.lp-carousel-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s linear;
  transform: scale(1.05);
}
.lp-carousel-slide:hover .lp-carousel-bg {
  transform: scale(1.08);
}

.lp-carousel-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%);
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 3.5rem;
}

.lp-carousel-content {
  color: white;
  max-width: 85%;
  animation: slide-up 1s ease forwards;
}

.lp-carousel-content h2 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.lp-carousel-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.lp-carousel-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 3.5rem;
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.lp-carousel-dot {
  width: 14px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.lp-carousel-dot.active {
  width: 36px;
  background: #a855f7;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════
   INTERACTIVE AVATAR MASCOT
════════════════════════════════════════════════════════ */
.lp-right-inner {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  z-index: 20;
}

.lp-avatar-wrapper {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 0; /* behind card when hidden */
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.lp-avatar-wrapper.peek {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  z-index: 2; /* on top when peeked */
}

.lp-avatar-img {
  width: auto;
  height: 160px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
  filter: contrast(1.05);
}

.lp-speech-bubble {
  position: absolute;
  top: 15px;
  right: -95px;
  background: #9333ea;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
  white-space: nowrap;
}

.lp-speech-bubble::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #9333ea;
  border-left: none;
}

.lp-avatar-wrapper.peek .lp-speech-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .lp-shell { grid-template-columns:1fr; }
  .lp-left  { display:none; }
  .lp-right { min-height:100vh; padding:1.25rem 1rem; }
  .lp-card  { max-width:100%; }
}

@media (max-width: 480px) {
  .lp-card    { padding:1.6rem 1.1rem; border-radius:20px; }
  .lp-otp-box { width:50px; height:54px; font-size:1.3rem; }
  .lp-hero-h1 { font-size:2.2rem; }
}

.reset-steps {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 2rem;
}

.reset-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.reset-step {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  background: #fff;
  transition: all 0.3s ease;
}

.reset-step.active {
  border-color: transparent;
  color: #1a1a1a;
  background: linear-gradient(135deg, #c084fc, #a855f7);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.reset-step.done {
  border-color: rgba(168, 85, 247, 0.5);
  color: var(--secondary);
  background: rgba(168, 85, 247, 0.15);
}

.reset-step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reset-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0;
}

.reset-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.reset-success {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
}

.reset-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
}

.reset-login-btn {
  width: 100%;
  max-width: 280px;
  text-align: center;
}

@media (max-width: 768px) {
  .reset-steps {
    gap: 1rem;
  }
}

/* ============================================================
   KASHLEY DASHBOARD PAGE — Premium Light Purple Theme
   ============================================================ */

.kdash {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Loading ── */
.kdash-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.88rem;
}
.kdash-spinner {
    width: 36px; height: 36px;
    border: 3px solid #e9d5ff;
    border-top: 3px solid #9333ea;
    border-radius: 50%;
    animation: kdashSpin 0.8s linear infinite;
}
@keyframes kdashSpin { to { transform: rotate(360deg); } }

/* ── Hero ── */
.kdash-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 60%, #ede9fe 100%);
    border: 1px solid #e9d5ff;
    box-shadow: 0 4px 20px rgba(109,40,217,0.07);
    position: relative;
    overflow: hidden;
}
.kdash-hero::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.kdash-hero-content { flex: 1 1; position: relative; z-index: 1; }

.kdash-hero-greeting {
    font-size: 0.85rem;
    font-weight: 600;
    color: #7c3aed;
    margin: 0 0 0.3rem;
    letter-spacing: 0.2px;
}
.kdash-hero-name {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin: 0 0 0.4rem;
    color: #1e1b4b;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.kdash-hero-sub {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0 0 0.85rem;
    line-height: 1.5;
}

.kdash-hero-top-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.kdash-hero-level-badge {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    border: 1px solid #fef9c3;
    border-radius: 12px;
    padding: 0.3rem 0.6rem 0.3rem 0.4rem;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
    gap: 0.5rem;
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kdash-hero-level-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(234, 179, 8, 0.3);
}

.level-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.level-badge-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.level-badge-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: #854d0e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-bottom: 0.1rem;
}

.level-badge-xp {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b45309;
    line-height: 1;
}

/* Dashboard Mascot */
.kdash-hero-mascot {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-right: 10px; /* Space from gauge */
    margin-bottom: -30px; /* Overlap bottom of hero card slightly for 3D effect */
}
.kdash-hero-mascot img {
    height: 170px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
    animation: dashboard-mascot-float 4s ease-in-out infinite;
}
@keyframes dashboard-mascot-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Gauge */
.kdash-hero-gauge {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.kdash-gauge-svg { width: 130px; height: 130px; }
.kdash-gauge-fill { transition: stroke-dasharray 1.4s cubic-bezier(0.4,0,0.2,1); }
.kdash-gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.kdash-gauge-value {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: -1px;
    line-height: 1;
}
.kdash-gauge-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-top: 0.1rem;
}
.kdash-gauge-caption {
    font-size: 0.68rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0.2rem 0 0;
}

/* ── Stat Cards ── */
/* ── Premium Stat Cards Redesign ── */
.kdash-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
}

.kdash-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
    padding: 1.25rem;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    position: relative;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.kdash-stat-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.kdash-stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(109, 40, 217, 0.12);
}
.kdash-stat-card:hover::before {
    opacity: 0.1;
}

/* Card 1: Next Payment */
.kdash-stat-card:nth-child(1) { background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%); border-color: #e9d5ff; }

/* Card 2: Reward Points */
.kdash-stat-card:nth-child(2) { background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%); border-color: #bbf7d0; }
.kdash-stat-card.points-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: #fde68a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.08);
}
.kdash-stat-card.points-card:hover {
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15);
}

.kdash-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.kdash-stat-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.kdash-stat-icon.green  { background: #dcfce7; color: #15803d; }
.kdash-stat-icon.purple { background: #f3e8ff; color: #7c3aed; }
.kdash-stat-icon.blue   { background: #dbeafe; color: #1d4ed8; }
.kdash-stat-icon.gold   { background: #fef08a; color: #854d0e; }

.kdash-stat-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

.kdash-stat-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.kdash-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.kdash-stat-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.kdash-stat-chip.green  { background: #dcfce7; color: #15803d; }
.kdash-stat-chip.red    { background: #fee2e2; color: #dc2626; }
.kdash-stat-chip.neutral{ background: #f1f5f9; color: #475569; }
.kdash-stat-chip.amber  { background: #fef08a; color: #92400e; }

/* ── Grid ── */
.kdash-grid { display: grid; grid-gap: 1rem; gap: 1rem; }
.kdash-grid-3 { grid-template-columns: 1fr 1fr 1.2fr; }

/* ── Panels ── */
.kdash-panel {
    border-radius: 18px;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e9d5ff;
    box-shadow: 0 2px 12px rgba(109,40,217,0.05);
}
.kdash-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3e8ff;
}
.kdash-panel-header h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.kdash-view-all {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9333ea;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    transition: background 0.15s;
}
.kdash-view-all:hover { background: #f3e8ff; }

.kdash-pts-badge {
    font-size: 0.72rem;
    font-weight: 700;
    background: #f3e8ff;
    color: #7c3aed;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #e9d5ff;
}

/* ── Apply Loan CTA Panel ── */
.kdash-apply-cta {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 60%, #a855f7 100%);
    border: none;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.apply-cta-badge {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(255,255,255,0.2);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
}
.kdash-apply-cta h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: white;
}
.kdash-apply-cta p {
    font-size: 0.82rem;
    opacity: 0.88;
    line-height: 1.5;
    margin: 0;
}
.apply-cta-points {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.25);
}
.apply-cta-points span { font-size: 0.7rem; opacity: 0.8; }
.apply-cta-points strong { font-size: 1.15rem; font-weight: 800; }
.apply-cta-btn {
    margin-top: auto;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: white;
    color: #7c3aed;
    font-size: 0.88rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
}
.apply-cta-btn:hover {
    background: #f3e8ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ── Journey Steps ── */
.kdash-journey-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.kdash-journey-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #f3e8ff;
    border: 2px solid #d8b4fe;
    color: #9333ea;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.kdash-journey-step.done .step-dot {
    background: #7c3aed;
    border-color: #7c3aed;
    color: white;
}
.step-line {
    width: 2px;
    height: 24px;
    background: #e9d5ff;
    margin: 2px 0;
}
.kdash-journey-step.done .step-line { background: #c084fc; }

.step-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1;
    padding: 0.35rem 0;
}
.step-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}
.kdash-journey-step.done .step-label { color: #1e1b4b; }
.step-pts {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9333ea;
    background: #f3e8ff;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}

/* ── Quick Actions Redesign ── */
.kdash-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.85rem;
    gap: 0.85rem;
}

.kdash-action-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.kdash-action-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, #7c3aed, #c084fc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.kdash-action-card:hover {
    transform: translateY(-4px);
    border-color: #d8b4fe;
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.1);
}
.kdash-action-card:hover::after {
    transform: scaleX(1);
}

.kdash-action-card.highlight {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    border: none;
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
}
.kdash-action-card.highlight:hover {
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.3);
}
.kdash-action-card.highlight .kdash-action-label,
.kdash-action-card.highlight .kdash-action-desc {
    color: white;
}
.kdash-action-card.highlight .kdash-action-desc {
    opacity: 0.9;
}

.kdash-action-emoji {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.kdash-action-card:hover .kdash-action-emoji { 
    transform: scale(1.2) rotate(5deg); 
}

.kdash-action-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: 0.2px;
}
.kdash-action-desc {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

/* ── Activity List ── */
.kdash-activity-list { display: flex; flex-direction: column; gap: 0.5rem; }
.kdash-activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    background: #faf5ff;
    border: 1px solid #f3e8ff;
    transition: all 0.15s ease;
}
.kdash-activity-item:hover {
    background: #f3e8ff;
    border-color: #e9d5ff;
    transform: translateX(3px);
}
.kdash-activity-left {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}
.kdash-activity-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.kdash-activity-info h4 {
    margin: 0 0 0.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kdash-activity-info p {
    margin: 0;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kdash-activity-time {
    font-size: 0.66rem;
    color: #94a3b8;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

/* ── Empty State ── */
.kdash-activity-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 0.3rem;
}
.kdash-empty-icon { font-size: 1.8rem; opacity: 0.4; margin-bottom: 0.25rem; }
.kdash-activity-empty p { font-size: 0.88rem; font-weight: 600; color: #64748b; margin: 0; }
.kdash-activity-empty span { font-size: 0.75rem; color: #94a3b8; max-width: 28ch; line-height: 1.5; }

/* ── Responsive ── */
@media (max-width: 1200px) {
    .kdash-stats { grid-template-columns: repeat(2, 1fr); }
    .kdash-grid-3 { grid-template-columns: 1fr 1fr; }
    .kdash-apply-cta { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .kdash-hero { flex-direction: column; text-align: center; padding: 1.25rem; }
    .kdash-hero-top-row { justify-content: center; flex-wrap: wrap; }
    .kdash-stats { grid-template-columns: 1fr 1fr; }
    .kdash-grid-3 { grid-template-columns: 1fr; }
    .kdash-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .kdash-stats { grid-template-columns: 1fr; }
    .kdash-actions { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   KASHLEY — Shared Page Styles (Light Purple Theme)
   All dashboard sub-pages use these styles
   ============================================================ */

/* ── Page Wrapper ── */
.pg-root {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

/* ── Page Header ── */
.pg-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.pg-header-text h1 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0 0 0.2rem;
    letter-spacing: -0.03em;
}
.pg-header-text p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}
.pg-header-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Stat Strip ── */
.pg-stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    grid-gap: 0.85rem;
    gap: 0.85rem;
}
.pg-stat {
    background: #ffffff;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 2px 10px rgba(109,40,217,0.04);
    transition: all 0.18s ease;
}
.pg-stat:hover { border-color: #c084fc; transform: translateY(-1px); }
.pg-stat-icon { font-size: 1.4rem; }
.pg-stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pg-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.4px;
    line-height: 1;
}
.pg-stat-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

/* ── Panel ── */
.pg-panel {
    background: #ffffff;
    border: 1px solid #e9d5ff;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(109,40,217,0.04);
}
.pg-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3e8ff;
    gap: 0.75rem;
}
.pg-panel-header h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.pg-panel-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #7c3aed;
    background: #f3e8ff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #e9d5ff;
    white-space: nowrap;
}

/* ── Buttons ── */
.pg-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.18s ease;
    text-decoration: none;
}
.pg-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: white;
    box-shadow: 0 4px 12px rgba(124,58,237,0.25);
}
.pg-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(124,58,237,0.35); }
.pg-btn-secondary {
    background: white;
    color: #7c3aed;
    border: 1.5px solid #d8b4fe;
}
.pg-btn-secondary:hover { background: #f3e8ff; border-color: #c084fc; }
.pg-btn-ghost {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}
.pg-btn-ghost:hover { background: #e9d5ff; color: #7c3aed; border-color: #c084fc; }
.pg-btn-danger {
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fecaca;
}
.pg-btn-danger:hover { background: #fee2e2; }

/* ── Cards Grid ── */
.pg-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
}
.pg-card {
    background: white;
    border: 1px solid #e9d5ff;
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.pg-card:hover {
    border-color: #c084fc;
    box-shadow: 0 8px 24px rgba(109,40,217,0.1);
    transform: translateY(-2px);
}
.pg-card-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #c084fc);
}
.pg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.pg-card-title { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin: 0; }
.pg-card-sub   { font-size: 0.72rem; color: #94a3b8; margin: 0.1rem 0 0; }

/* ── Badges / Chips ── */
.pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.pg-badge-green   { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.pg-badge-amber   { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.pg-badge-red     { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.pg-badge-blue    { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }
.pg-badge-purple  { background: #f3e8ff; color: #7c3aed; border: 1px solid #e9d5ff; }
.pg-badge-neutral { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* ── Progress Bar ── */
.pg-progress-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
.pg-progress-meta { display: flex; justify-content: space-between; font-size: 0.72rem; }
.pg-progress-meta span { color: #64748b; }
.pg-progress-meta strong { color: #7c3aed; font-weight: 700; }
.pg-progress-track {
    height: 8px;
    background: #f3e8ff;
    border-radius: 999px;
    overflow: hidden;
}
.pg-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4,0,0.2,1);
}

/* ── Info Row ── */
.pg-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.6rem 1rem;
    gap: 0.6rem 1rem;
}
.pg-info-item { display: flex; flex-direction: column; gap: 0.1rem; }
.pg-info-label { font-size: 0.68rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.4px; }
.pg-info-value { font-size: 0.88rem; font-weight: 600; color: #1e293b; }

/* ── Table ── */
.pg-table-wrap { overflow-x: auto; }
.pg-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
}
.pg-table th {
    padding: 0.7rem 0.9rem;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #faf5ff;
    border-bottom: 1px solid #e9d5ff;
    white-space: nowrap;
}
.pg-table th:first-child { border-radius: 10px 0 0 0; }
.pg-table th:last-child  { border-radius: 0 10px 0 0; }
.pg-table td {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid #f3e8ff;
    color: #334155;
    vertical-align: middle;
}
.pg-table tr:last-child td { border-bottom: none; }
.pg-table tr:hover td { background: #faf5ff; }
.pg-table .pg-table-amount { font-weight: 700; color: #7c3aed; }

/* ── Empty State ── */
.pg-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    gap: 0.5rem;
}
.pg-empty-icon { font-size: 3rem; opacity: 0.4; margin-bottom: 0.5rem; }
.pg-empty h3   { font-size: 1rem; font-weight: 700; color: #475569; margin: 0; }
.pg-empty p    { font-size: 0.85rem; color: #94a3b8; margin: 0; max-width: 28ch; line-height: 1.5; }

/* ── Loading ── */
.pg-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    gap: 0.85rem;
    color: #94a3b8;
    font-size: 0.85rem;
}
.pg-spinner {
    width: 32px; height: 32px;
    border: 3px solid #e9d5ff;
    border-top: 3px solid #9333ea;
    border-radius: 50%;
    animation: pgSpin 0.8s linear infinite;
}
@keyframes pgSpin { to { transform: rotate(360deg); } }

/* ── Alert Banners ── */
.pg-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.84rem;
}
.pg-alert-icon { font-size: 1.2rem; flex-shrink: 0; }
.pg-alert-body h4 { font-size: 0.85rem; font-weight: 700; margin: 0 0 0.2rem; }
.pg-alert-body p  { margin: 0; line-height: 1.5; }
.pg-alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.pg-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.pg-alert-warn    { background: #fef3c7; border: 1px solid #fde68a; color: #b45309; }
.pg-alert-danger  { background: #fee2e2; border: 1px solid #fecaca; color: #dc2626; }

/* ── Modal ── */
.pg-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(15,12,41,0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    padding: 1rem;
}
.pg-modal {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(109,40,217,0.2);
    animation: pgModalIn 0.2s ease;
    border: 1px solid #e9d5ff;
}
.pg-modal-lg { max-width: 660px; }
@keyframes pgModalIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.pg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 0;
}
.pg-modal-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e1b4b;
    margin: 0;
}
.pg-modal-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #64748b;
    transition: all 0.15s;
}
.pg-modal-close:hover { background: #fee2e2; color: #dc2626; border-color: #fecaca; }
.pg-modal-body  { padding: 1.25rem 1.5rem; }
.pg-modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 0 1.5rem 1.5rem;
}

/* ── Form Fields ── */
.pg-form { display: flex; flex-direction: column; gap: 1rem; }
.pg-field { display: flex; flex-direction: column; gap: 0.4rem; }
.pg-field-row { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 1rem; gap: 1rem; }
.pg-field label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #334155;
}
.pg-field input,
.pg-field select,
.pg-field textarea {
    padding: 0.65rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.88rem;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.15s ease;
    outline: none;
}
.pg-field input:focus,
.pg-field select:focus,
.pg-field textarea:focus {
    border-color: #a855f7;
    background: white;
    box-shadow: 0 0 0 3px rgba(168,85,247,0.12);
}
.pg-field textarea { resize: vertical; }

/* ── Profile Page ── */
.profile-layout {
    display: grid;
    grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
    grid-gap: 1.25rem;
    gap: 1.25rem;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.profile-avatar-panel {
    text-align: center;
    padding: 1.5rem 1rem;
}

.profile-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.profile-reward-card {
    margin-top: 1rem;
    padding: 0.6rem;
    background: #faf5ff;
    border-radius: 10px;
    border: 1px solid #f3e8ff;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 0;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 1.25rem;
    gap: 1.25rem;
}

.profile-detail-item {
    min-width: 0;
}

.profile-detail-value {
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}

.profile-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
}

.profile-setting-card {
    min-width: 0;
}

/* ── List Items ── */
.pg-list { display: flex; flex-direction: column; gap: 0.5rem; }
.pg-list-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: 12px;
    background: #faf5ff;
    border: 1px solid #f3e8ff;
    transition: all 0.15s ease;
}
.pg-list-item:hover { background: #f3e8ff; border-color: #e9d5ff; }
.pg-list-item-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: #f3e8ff;
    border: 1px solid #e9d5ff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.pg-list-item-body { flex: 1 1; min-width: 0; }
.pg-list-item-title { font-size: 0.85rem; font-weight: 600; color: #1e293b; display: block; }
.pg-list-item-sub   { font-size: 0.72rem; color: #94a3b8; display: block; margin-top: 0.05rem; }
.pg-list-item-right { flex-shrink: 0; text-align: right; }
.pg-list-item-amount { font-size: 0.9rem; font-weight: 700; color: #7c3aed; display: block; }
.pg-list-item-date   { font-size: 0.68rem; color: #94a3b8; display: block; }

/* ── KYC Steps ── */
.kyc-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    grid-gap: 1.25rem;
    gap: 1.25rem;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.kyc-page-layout > .pg-panel,
.kyc-page-sidebar {
    min-width: 0;
}

.kyc-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kyc-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kyc-benefit-item {
    min-width: 0;
    line-height: 1.35;
}

.pg-kyc-steps { display: flex; flex-direction: column; gap: 0; }
.pg-kyc-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f3e8ff;
}
.pg-kyc-step:last-child { border-bottom: none; }
.pg-kyc-dot {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f3e8ff;
    border: 2px solid #d8b4fe;
    color: #9333ea;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
}
.pg-kyc-dot.done   { background: #10b981; border-color: #10b981; color: white; }
.pg-kyc-dot.active { background: #7c3aed; border-color: #7c3aed; color: white; box-shadow: 0 0 0 4px rgba(124,58,237,0.15); }
.pg-kyc-info { flex: 1 1; min-width: 0; }
.pg-kyc-info h4 { font-size: 0.9rem; font-weight: 700; color: #1e293b; margin: 0 0 0.2rem; }
.pg-kyc-info p  { font-size: 0.78rem; color: #64748b; margin: 0; }
.pg-kyc-pts { font-size: 0.7rem; font-weight: 700; color: #7c3aed; background: #f3e8ff; padding: 0.18rem 0.5rem; border-radius: 999px; white-space: nowrap; flex: 0 0 auto; }

/* ── Support ── */
.pg-support-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
}
.pg-support-cat {
    background: #faf5ff;
    border: 1px solid #e9d5ff;
    border-radius: 14px;
    padding: 1.1rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.pg-support-cat:hover { background: #f3e8ff; border-color: #c084fc; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(109,40,217,0.1); }
.pg-support-cat.active { background: #7c3aed; border-color: #7c3aed; color: white; }
.pg-support-cat-icon { font-size: 1.8rem; }
.pg-support-cat-label { font-size: 0.78rem; font-weight: 700; }
.pg-support-cat-count { font-size: 0.65rem; opacity: 0.7; }

/* ── Doc Upload ── */
.pg-doc-grid { display: flex; flex-direction: column; gap: 0.65rem; }
.pg-doc-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1.5px dashed #d8b4fe;
    background: #faf5ff;
    transition: all 0.15s ease;
}
.pg-doc-item.uploaded { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.pg-doc-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.pg-doc-item-body { flex: 1 1; }
.pg-doc-item-name { font-size: 0.85rem; font-weight: 700; color: #1e293b; display: block; }
.pg-doc-item-hint { font-size: 0.72rem; color: #94a3b8; display: block; }
.pg-doc-upload-btn {
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    background: #7c3aed;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
    transition: background 0.15s;
}
.pg-doc-upload-btn:hover { background: #6d28d9; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .profile-layout {
        grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
        gap: 1rem;
    }

    .profile-details-grid {
        gap: 1rem;
    }

    .kyc-page-layout {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-avatar-panel {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        grid-gap: 0.9rem 1rem;
        gap: 0.9rem 1rem;
        align-items: center;
        text-align: left;
    }

    .profile-avatar-wrap {
        grid-row: span 3;
        margin: 0;
    }

    .profile-reward-card {
        grid-column: 1 / -1;
    }

    .kyc-page-layout {
        grid-template-columns: 1fr;
    }

    .kyc-page-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .kyc-page-sidebar .pg-alert {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .pg-header { flex-direction: column; }
    .pg-cards-grid { grid-template-columns: 1fr; }
    .pg-info-grid { grid-template-columns: 1fr; }
    .pg-field-row { grid-template-columns: 1fr; }
    .pg-table th, .pg-table td { padding: 0.6rem 0.7rem; font-size: 0.8rem; }

    .pg-root {
        gap: 1rem;
        width: 100%;
        min-width: 0;
        padding-bottom: 0.5rem;
    }

    .pg-panel {
        padding: 1rem;
        border-radius: 16px;
        min-width: 0;
    }

    .pg-panel-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .profile-details-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .profile-settings-grid {
        grid-template-columns: 1fr;
    }

    .kyc-page-sidebar {
        display: flex;
        flex-direction: column;
    }

    .pg-kyc-step {
        gap: 0.75rem;
        padding: 0.85rem 0;
    }

    .pg-kyc-dot {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }

    .pg-kyc-info h4 {
        font-size: 0.86rem;
        line-height: 1.25;
    }

    .pg-kyc-info p {
        font-size: 0.74rem;
        line-height: 1.35;
    }

    .pg-kyc-pts {
        font-size: 0.65rem;
        padding: 0.16rem 0.42rem;
    }
}

@media (max-width: 480px) {
    .pg-header-text h1 {
        font-size: 1.35rem;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .pg-header-text p {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .profile-avatar-panel {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-avatar {
        width: 86px !important;
        height: 86px !important;
        font-size: 2.15rem !important;
    }

    .profile-reward-card {
        width: 100%;
    }

    .profile-layout,
    .profile-main,
    .profile-details-grid,
    .profile-settings-grid {
        width: 100%;
        min-width: 0;
    }

    .pg-field input,
    .pg-field select,
    .pg-field textarea {
        width: 100%;
        min-width: 0;
    }

    .pg-modal-footer {
        flex-direction: column-reverse;
    }

    .pg-modal-footer .pg-btn {
        justify-content: center;
        width: 100%;
    }

    .pg-header .pg-badge {
        align-self: flex-start;
        white-space: normal;
        line-height: 1.25;
    }

    .pg-kyc-step {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        grid-gap: 0.7rem;
        gap: 0.7rem;
    }

    .pg-kyc-pts {
        grid-column: 2;
        justify-self: start;
    }
}
@keyframes spin { to { transform: rotate(360deg); } }

.payment-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.payment-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.payment-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.payment-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.payment-header p {
    margin: 0.5rem 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

.payment-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.user-details {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.user-details h3 {
    margin: 0 0 1rem;
    color: #1f2937;
    font-size: 1.1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #6b7280;
    font-weight: 500;
}

.detail-row .value {
    color: #1f2937;
    font-weight: 600;
}

.pay-button {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pay-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.pay-button:active:not(:disabled) {
    transform: translateY(0);
}

.pay-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #ecfdf5;
    border-radius: 8px;
}

.lock-icon {
    font-size: 1.25rem;
}

.security-note p {
    margin: 0;
    color: #059669;
    font-size: 0.875rem;
    font-weight: 500;
}

.payment-methods {
    padding: 2rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.payment-methods>p {
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
}

.method {
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.method:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-size: 1.5rem;
    color: white;
}

/* Error Box */
.error-box {
    background: #fee2e2;
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.error-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.error-box strong {
    display: block;
    color: #991b1b;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.error-box p {
    margin: 0;
    color: #7f1d1d;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Loan EMI Details */
.loan-emi-details {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loan-emi-details h3 {
    margin: 0 0 1rem;
    color: #0c4a6e;
    font-size: 1.1rem;
    font-weight: 700;
}

.emi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 0.75rem;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.emi-item {
    background: white;
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
}

.emi-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.emi-item.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.emi-item.highlight .emi-label,
.emi-item.highlight .emi-value {
    color: white;
}

.emi-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.emi-value {
    display: block;
    font-size: 1rem;
    color: #0c4a6e;
    font-weight: 700;
}

.late-fee-note {
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #0c4a6e;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.late-fee-note.late {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #991b1b;
    font-weight: 600;
}

.status-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.form-control:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-page {
        padding: 1rem;
    }

    .payment-header {
        padding: 2rem 1.5rem;
    }

    .payment-header h1 {
        font-size: 1.5rem;
    }

    .payment-form {
        padding: 1.5rem;
    }

    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .payment-icon {
        font-size: 3rem;
    }

    .payment-header h1 {
        font-size: 1.25rem;
    }

    .form-control {
        padding: 0.75rem;
    }

    .pay-button {
        padding: 1rem;
        font-size: 1rem;
    }
}

.kyc-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    max-width: 500px;
    width: 100%;
    margin: 2rem auto;
    text-align: center;
    transition: all 0.3s ease;
}

.kyc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

.kyc-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.kyc-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.55rem;
}

.kyc-description {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1.05rem;
}

.kyc-button {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.62rem 0.85rem;
    border-radius: 9px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.kyc-button:hover {
    background: #333;
    transform: scale(1.02);
}

.kyc-button:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.kyc-status-badge {
    display: inline-block;
    padding: 0.34rem 0.72rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.status-not_started {
    background: #f3f4f6;
    color: #6b7280;
}

.status-initiating {
    background: #eff6ff;
    color: #3b82f6;
}

.status-in_progress {
    background: #fffbeb;
    color: #d97706;
}

.status-completed {
    background: #f0fdf4;
    color: #16a34a;
}

.status-failed {
    background: #fef2f2;
    color: #dc2626;
}

.loading-spinner-kyc {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: kyc-spin 0.8s linear infinite;
}

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

.success-checkmark {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #16a34a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.kyc-error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.sl-root {
    min-height: calc(100vh - 72px);
    padding: 1.5rem;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.sl-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sl-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e0e7ff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
}

.sl-header h1 {
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    color: #0f172a;
    letter-spacing: -0.03em;
}

.sl-header p {
    margin: 0.35rem 0 0;
    color: #64748b;
}

.sl-actions {
    display: flex;
    gap: 0.75rem;
}

.sl-btn {
    border: 1px solid #cbd5e1;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    color: #0f172a;
    border-radius: 14px;
    padding: 0.8rem 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.sl-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.sl-btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: #1d4ed8;
}

.sl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.sl-meta span {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.26);
    color: #334155;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    font-size: 0.83rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.sl-error {
    padding: 0.9rem 1rem;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.sl-info {
    padding: 0.9rem 1rem;
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.sl-preview-shell {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    min-height: calc(100vh - 240px);
}

.sl-frame {
    display: block;
    width: 100%;
    height: calc(100vh - 240px);
    min-height: 900px;
    border: 0;
    background: #f3f4f6;
}

.sl-loading,
.sl-empty {
    display: grid;
    place-items: center;
    grid-gap: 0.75rem;
    gap: 0.75rem;
    min-height: 560px;
    text-align: center;
    padding: 2rem;
}

.sl-spinner {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    animation: slspin 0.8s linear infinite;
}

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

@media (max-width: 900px) {
    .sl-root {
        padding: 1rem;
    }

    .sl-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .sl-preview-shell,
    .sl-frame {
        min-height: 760px;
        height: calc(100vh - 260px);
    }
}

/* ============================================================
   KASHLEY · APPLY LOAN PAGE — Clean UI + Enhanced Simulation
   ============================================================ */

.alp-root {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: none;
    margin: 0 auto;
    padding: 1rem 1.2rem 1.5rem;
    animation: fadeIn 0.3s ease;
    color: #111936;
}

/* Forced compact mode for Apply Loan page (reduces first-fold scroll) */
.alp-root.alp-compact {
    padding: 0.6rem 0.8rem 1rem;
    gap: 0.75rem;
}

.alp-root.alp-submit-view {
    gap: 1.35rem;
}

.alp-root.alp-compact .alp-journey-card {
    padding: 0.7rem 0.85rem 0.75rem !important;
}

.alp-root.alp-compact .alp-card {
    padding: 1.1rem 1.15rem 0.9rem !important;
}

.alp-root.alp-compact .alp-premium-header.alp-aa-stage-header {
    padding: 0.9rem 1.1rem !important;
    margin: -1.1rem -1.15rem 0.55rem !important;
}

.alp-root.alp-compact .alp-step-body {
    gap: 0.75rem;
}

.alp-root.alp-compact .alp-journey-card h3 {
    margin: 0 0 0.45rem;
    font-size: 0.88rem;
    letter-spacing: 0.11em;
}

.alp-root.alp-compact .alp-journey-rail {
    grid-template-columns: repeat(8, minmax(72px, 1fr));
    min-width: 700px;
}

.alp-root.alp-compact .alp-journey-step {
    grid-template-rows: 56px 38px;
}

.alp-root.alp-compact .alp-journey-title {
    max-width: 76px;
    font-size: 0.73rem;
    line-height: 1.08;
}

.alp-root.alp-compact .alp-journey-node {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
}

.alp-root.alp-compact .alp-journey-step.active .alp-journey-node {
    font-size: 1.15rem;
}

.alp-root.alp-compact .alp-journey-step:not(:last-child)::after {
    left: calc(50% + 26px);
    right: calc(-50% + 26px);
    top: 29px;
}

.alp-root.alp-compact .alp-journey-step:not(:last-child)::before {
    top: 26px;
    width: 6px;
    height: 6px;
}

.alp-root.alp-compact .alp-aa-tabs {
    gap: 0.6rem;
    margin: 0;
}

.alp-root.alp-compact .alp-aa-header-intro h3 {
    font-size: 1.05rem;
}

.alp-root.alp-compact .alp-aa-header-intro p {
    font-size: 0.9rem;
    line-height: 1.25;
}

.alp-root.alp-compact .alp-aa-choices-grid {
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.alp-root.alp-compact .alp-aa-panel {
    padding: 0.9rem;
    border-radius: 14px;
}

.alp-root.alp-compact .alp-aa-choice-card {
    min-height: 250px !important;
    padding: 0.95rem 0.9rem !important;
}

.alp-root.alp-compact .alp-aa-choice-actions {
    margin-top: 0.5rem;
}

.alp-root.alp-compact .alp-aa-focus {
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
    gap: 0.75rem;
}

.alp-root.alp-compact .alp-nav {
    margin-top: 0.7rem;
}

/* Step 1 (Loan Amount) specific compact overrides */
.alp-root.alp-compact .alp-loan-dashboard {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    gap: 1rem;
    min-height: auto;
    align-items: start;
}

.alp-root.alp-compact .alp-loan-inputs {
    padding: 0.1rem 0 0.6rem;
}

.alp-root.alp-compact .alp-amt-display {
    margin: 0.25rem 0 0.6rem;
    font-size: clamp(2.6rem, 4vw, 3.4rem);
}

.alp-root.alp-compact .alp-slider {
    margin: 0.5rem 0 0.5rem;
}

.alp-root.alp-compact .alp-tenure-track {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 0.65rem;
    margin-top: 0.55rem;
    max-width: none;
}

.alp-root.alp-compact .alp-tenure-btn {
    min-height: 50px;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    gap: 0.6rem;
}

.alp-root.alp-compact .alp-tenure-icon {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
}

.alp-root.alp-compact .alp-tenure-check {
    width: 24px;
    height: 24px;
    top: -8px;
    right: -8px;
    font-size: 0.85rem;
}

.alp-root.alp-compact .alp-summary-card {
    padding: 0.9rem 1rem 1rem;
}

.alp-root.alp-compact .alp-summary-head {
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.alp-root.alp-compact .alp-summary-icon {
    width: 54px;
    height: 54px;
    font-size: 1.35rem;
}

.alp-root.alp-compact .alp-summary-card h3 {
    font-size: 1.05rem;
}

.alp-root.alp-compact .alp-s-row {
    padding: 0.48rem 0;
    font-size: 0.9rem;
}

.alp-root.alp-compact .alp-s-row i {
    width: 30px;
    height: 30px;
}

.alp-root.alp-compact .alp-s-row.big strong {
    font-size: 1.05rem;
}

.alp-root.alp-compact .alp-s-row.highlight strong {
    font-size: 1.1rem;
}

/* Step 2 (Employment) compact overrides */
.alp-root.alp-compact .alp-employment-shell {
    gap: 0.8rem;
}

.alp-root.alp-compact .alp-employment-intro {
    gap: 0.35rem;
    padding-top: 0.1rem;
}

.alp-root.alp-compact .alp-employment-intro h3 {
    font-size: 1.05rem;
}

.alp-root.alp-compact .alp-employment-intro p {
    font-size: 0.95rem;
    line-height: 1.3;
}

.alp-root.alp-compact .alp-employment-focus {
    grid-template-columns: minmax(185px, 230px) minmax(0, 1fr);
    gap: 0.7rem;
}

.alp-root.alp-compact .alp-pills {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 0.75rem;
}

.alp-root.alp-compact .alp-pill {
    min-height: 128px;
    padding: 0.8rem 0.7rem;
    border-radius: 12px;
    font-size: 0.82rem;
    gap: 0.55rem;
}

.alp-root.alp-compact .alp-pill-icon {
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
}

.alp-root.alp-compact .alp-pill-change {
    font-size: 0.68rem;
    padding: 0.16rem 0.48rem;
}

.alp-root.alp-compact .alp-form-wrap {
    padding: 0.8rem;
    border-radius: 14px;
}

.alp-root.alp-compact .alp-fields-grid {
    gap: 0.7rem;
}

.alp-root.alp-compact .alp-field label {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
}

.alp-root.alp-compact .alp-field input,
.alp-root.alp-compact .alp-field select {
    min-height: 42px;
    padding: 0.62rem 0.85rem;
    font-size: 0.95rem;
    border-radius: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.alp-title { font-size: 1.75rem; font-weight: 800; color: #1e293b; margin: 0; }
.alp-subtitle { font-size: 0.9rem; color: #64748b; margin-top: 0.25rem; }
.alp-step-count { font-size: 0.85rem; font-weight: 700; color: #2563eb; }

/* Hero */
.alp-journey-card {
    border-radius: 26px;
    border: 1px solid #dbe5f4;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 36px rgba(36, 74, 128, 0.12);
    padding: 1.5rem 1.8rem 1.6rem;
    overflow-x: auto;
}

.alp-journey-card h3 {
    margin: 0 0 1rem;
    color: #53668f;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.alp-journey-rail {
    display: grid;
    grid-template-columns: repeat(8, minmax(92px, 1fr));
    align-items: end;
    min-width: 860px;
}

.alp-journey-step {
    position: relative;
    display: grid;
    grid-template-rows: 72px 52px;
    justify-items: center;
    align-items: center;
    color: #4c5e88;
}

.alp-journey-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: calc(50% + 34px);
    right: calc(-50% + 34px);
    top: 37px;
    height: 2px;
    background: #d8e1ef;
}

.alp-journey-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(100% - 7px);
    top: 34px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d8e1ef;
    z-index: 1;
}

.alp-journey-step.done:not(:last-child)::after,
.alp-journey-step.done:not(:last-child)::before {
    background: #0b61ff;
}

.alp-journey-title {
    max-width: 96px;
    text-align: center;
    color: #4c5e88;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.18;
    grid-row: 2;
}

.alp-journey-step.active .alp-journey-title {
    color: #035cff;
}

.alp-journey-node {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 2px solid #dce5f2;
    background: #ffffff;
    color: #37456b;
    font-size: 1.35rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
    grid-row: 1;
}

.alp-journey-step.active .alp-journey-node {
    border-color: #0b61ff;
    color: #37456b;
    font-size: 1.55rem;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(0, 87, 255, 0.14);
}

.alp-journey-step.done .alp-journey-node::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #86efac;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.alp-journey-step.done .alp-journey-node {
    background: #ffffff;
    border-color: #0b61ff;
    color: #37456b;
}

.alp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    grid-gap: 1rem;
    gap: 1rem;
    align-items: stretch;
    padding: 2rem;
    border-radius: 32px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.75), transparent 42%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.alp-hero::after {
    content: '';
    position: absolute;
    inset: auto -18% -38% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--alp-accent-rgb), 0.22) 0%, transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

.alp-hero-copy,
.alp-hero-panel {
    position: relative;
    z-index: 1;
}

.alp-hero-kicker,
.alp-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(var(--alp-accent-rgb), 0.1);
    color: var(--alp-accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.alp-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 22px;
    padding: 1.1rem 1.1rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.alp-progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #e2e8f0;
}

.alp-progress-fill {
    height: 100%;
    border-radius: inherit;
    transition: width 0.35s ease;
}

.alp-progress-caption {
    font-size: 0.82rem;
    color: #475569;
    font-weight: 600;
}

.alp-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
}

.alp-stat-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1rem 1.05rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 98px;
}

.alp-stat-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alp-stat-value {
    font-size: 1.12rem;
    color: #0f172a;
}

.alp-stat-note {
    font-size: 0.8rem;
    color: #64748b;
}

/* Layout */
.alp-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    grid-gap: 1.75rem;
    gap: 1.75rem;
    align-items: start;
}

.alp-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

/* Sidebar Journey Map */
.alp-sidebar-inner {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 2rem 1.5rem;
    position: -webkit-sticky;
    position: sticky;
    top: 2rem;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.alp-sidebar-inner::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--alp-accent), rgba(8, 145, 178, 0.25));
}

.alp-sidebar-inner h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; margin-bottom: 1.5rem; }

.alp-s-node {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 0;
    color: #94a3b8;
    position: relative;
    --alp-step-color: #2563eb;
}

.alp-s-node.active {
    margin-left: -0.35rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.alp-s-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: white;
    transition: all 0.2s;
    z-index: 1;
    flex: 0 0 auto;
}

.alp-s-node::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 40px;
    bottom: -2px;
    width: 2px;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.95), rgba(226, 232, 240, 0.35));
}

.alp-s-node:last-child::before {
    display: none;
}

.alp-s-node.done::before {
    background: linear-gradient(180deg, var(--alp-step-color), rgba(226, 232, 240, 0.35));
}

.alp-s-node.done .alp-s-dot {
    background: var(--alp-step-color);
    border-color: var(--alp-step-color);
    color: white;
    box-shadow: 0 8px 16px var(--alp-step-color-soft);
}

.alp-s-node.active .alp-s-dot {
    border-color: var(--alp-step-color);
    color: var(--alp-step-color);
    background: var(--alp-step-color-soft);
    box-shadow: 0 0 0 4px var(--alp-step-color-soft);
}

.alp-s-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    flex: 1 1;
}

.alp-s-node.active .alp-s-name {
    color: #1e293b;
}

.alp-s-node.done .alp-s-name {
    color: #0f172a;
}

.alp-s-node:not(.active):not(.done) .alp-s-name {
    opacity: 0.92;
}

/* Simulation Component */
.alp-sim-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alp-sim-icon-ring {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s;
}

.alp-sim-icon { font-size: 2.5rem; }
.alp-sim-check { font-size: 2rem; }

.alp-sim-box.processing .alp-sim-icon-ring {
    border-top-color: transparent !important;
    animation: spin 1s linear infinite;
}

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

.alp-sim-box.processing .alp-sim-icon {
    animation: counterSpin 1s linear infinite;
}
@keyframes counterSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.alp-sim-progress-bg {
    width: 300px;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    margin: 1.5rem 0 0.75rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.alp-sim-progress-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.alp-sim-status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    height: 1rem;
}

.alp-sim-box h3 { font-size: 1.25rem; font-weight: 700; color: #1e293b; margin: 0 0 0.5rem; }
.alp-sim-box p { font-size: 0.9rem; color: #64748b; max-width: 400px; line-height: 1.5; }

/* Form Steps */
.alp-step-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.alp-employment-shell {
    display: flex;
    flex-direction: column;
    gap: 1.55rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.alp-employment-intro {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.2rem;
    border-top: 0;
}

.alp-employment-badge {
    display: none;
}

.alp-employment-intro h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #0f1d4a;
    font-weight: 900;
}

.alp-employment-intro p {
    margin: 0;
    color: #53668f;
    font-size: 1rem;
    line-height: 1.35;
    max-width: 76ch;
}

.alp-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
}

.alp-pill {
    -webkit-appearance: none;
            appearance: none;
    border: 1px solid #d9e3f2;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #07112f;
    border-radius: 16px;
    min-height: 156px;
    padding: 0.95rem 0.8rem 0.85rem;
    font-size: 1rem;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-align: center;
}

.alp-pill:hover {
    transform: translateY(-2px);
    border-color: #9bb6e9;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.alp-pill.active {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 55%), linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    color: #0a1d4d;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16), 0 16px 32px rgba(37, 99, 235, 0.18);
}

.alp-pill-icon {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

.alp-pill-cyan .alp-pill-icon {
    background: #d8f3f5;
    color: #0891b2;
}

.alp-pill-green .alp-pill-icon {
    background: #d9f4dc;
    color: #16a34a;
}

.alp-pill-purple .alp-pill-icon {
    background: #e8d4fb;
    color: #7e22ce;
}

.alp-pill-orange .alp-pill-icon {
    background: #fedfc7;
    color: #ea580c;
}

.alp-pill-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.alp-employment-focus {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    grid-gap: 0.9rem;
    gap: 0.9rem;
    align-items: stretch;
}

.alp-pill-selected {
    width: 100%;
    align-self: stretch;
    justify-content: center;
}

.alp-pill-change {
    display: inline-flex;
    margin-top: 0.15rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.alp-employment-card {
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid #d6e0f1;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 45%), linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.alp-eligibility-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alp-eligibility-card {
    padding: 1.25rem;
    border-radius: 22px;
    border: 1px solid #dbe7dd;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.92), rgba(255, 255, 255, 0.98));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.alp-eligibility-card.error {
    border-color: #fecaca;
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.95), rgba(255, 255, 255, 0.98));
}

.alp-eligibility-section-title {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 1.25rem 0 0.75rem;
    padding-left: 0.25rem;
    border-left: 3px solid var(--alp-accent);
}

.alp-eligibility-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.alp-eligibility-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex: 0 0 auto;
}

.alp-eligibility-icon.success {
    background: rgba(16, 185, 129, 0.12);
}

.alp-eligibility-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.65rem;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.12);
    color: #047857;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.alp-eligibility-top h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.alp-eligibility-top p {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

.alp-eligibility-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
    margin: 1rem 0;
}

.alp-eligibility-metric {
    border-radius: 16px;
    padding: 0.9rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.alp-eligibility-metric span {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.alp-eligibility-metric strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.alp-eligibility-metric.green strong { color: #059669; }
.alp-eligibility-metric.red strong { color: #dc2626; }
.alp-eligibility-metric.blue strong { color: #2563eb; }
.alp-eligibility-metric.amber strong { color: #d97706; }

.alp-eligibility-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 0.75rem;
    gap: 0.75rem;
}

.alp-eligibility-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.88);
}

.alp-eligibility-detail span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.alp-eligibility-detail strong {
    font-size: 0.92rem;
    color: #0f172a;
    line-height: 1.45;
}

.alp-eligibility-detail.highlight {
    background: rgba(var(--alp-accent-rgb), 0.04);
    border-color: rgba(var(--alp-accent-rgb), 0.15);
}

.alp-eligibility-detail.highlight strong {
    color: var(--alp-accent);
    font-size: 1.1rem;
}

.alp-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 1rem;
    gap: 1rem;
}

.alp-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 1.25rem;
    gap: 1.25rem;
}

.alp-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.alp-field-icon {
    font-size: 1rem;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.2s ease;
}

.alp-field:focus-within .alp-field-icon {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.alp-field label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #334155;
}

.alp-field input,
.alp-field select {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1.5px solid #dbe4f0;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.alp-field input::placeholder,
.alp-field select {
    color: #94a3b8;
}

.alp-field input:focus,
.alp-field select:focus {
    border-color: #0891b2;
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.alp-field input:hover,
.alp-field select:hover {
    border-color: #b8c7dd;
}

/* Rest of Clean Styles */
.alp-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 1.9rem 2.2rem 1.15rem;
    box-shadow: 0 14px 36px rgba(36, 74, 128, 0.12);
    position: relative;
    overflow: hidden;
}

.alp-card::before {
    display: none;
}

.alp-review-card {
    margin-bottom: 5.5rem;
    overflow: visible;
}

.alp-premium-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0 1.1rem;
    margin: 0 0 1.1rem;
    border-bottom: 1px solid #dbe5f4;
    overflow: hidden;
}

.alp-premium-header.alp-aa-stage-header {
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.2rem;
    margin: -1.9rem -2.2rem 0.8rem;
    border-bottom: 1px solid #e7d9bf;
    background: linear-gradient(105deg, rgba(217, 119, 6, 0.12) 0%, rgba(255, 255, 255, 0.95) 58%);
    border-top: 6px solid #d97706;
}

.alp-premium-header.alp-aa-stage-header .alp-premium-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    box-shadow: 0 18px 30px rgba(217, 119, 6, 0.22);
    font-size: 1.8rem;
}

.alp-premium-header.alp-aa-stage-header .alp-premium-kicker {
    color: #d97706;
    margin-bottom: 0.45rem;
}

.alp-premium-header.alp-aa-stage-header .alp-premium-copy h2 {
    font-size: 1.65rem;
}

.alp-premium-header.alp-aa-stage-header .alp-premium-copy p {
    font-size: 0.98rem;
}

.alp-premium-header.alp-bank-stage-header {
    align-items: center;
    gap: 1.55rem;
    padding: 3.1rem 4.2rem;
    margin: -3rem -3.75rem 1.55rem;
    border-bottom: 1px solid #eee3ff;
    background: linear-gradient(105deg, rgba(147, 51, 234, 0.18) 0%, rgba(255, 255, 255, 0.96) 62%);
    border-top: 0;
}

.alp-premium-header.alp-bank-stage-header .alp-premium-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #9333ea, #2563eb);
    box-shadow: 0 18px 30px rgba(147, 51, 234, 0.22);
    font-size: 2.15rem;
}

.alp-premium-header.alp-bank-stage-header .alp-premium-kicker {
    color: #9333ea;
    margin-bottom: 0.45rem;
}

.alp-premium-header.alp-bank-stage-header .alp-premium-copy h2 {
    font-size: 2.25rem;
}

.alp-premium-header.alp-bank-stage-header .alp-premium-copy p {
    display: none;
}

.alp-premium-header.alp-selfie-stage-header {
    align-items: center;
    gap: 1rem;
    padding: 1.45rem 2.2rem 1.25rem;
    margin: -1.9rem -2.2rem 0.8rem;
    border-bottom: 1px solid #ffd9e3;
    background: linear-gradient(105deg, rgba(225, 29, 72, 0.12) 0%, rgba(255, 255, 255, 0.95) 62%);
    border-top: 6px solid #e11d48;
}

.alp-premium-header.alp-selfie-stage-header .alp-premium-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f43f5e, #be123c);
    box-shadow: 0 16px 28px rgba(225, 29, 72, 0.24);
    font-size: 1.75rem;
}

.alp-premium-header.alp-selfie-stage-header .alp-premium-kicker {
    color: #be123c;
    margin-bottom: 0.45rem;
}

.alp-premium-header.alp-selfie-stage-header .alp-premium-copy h2 {
    font-size: 1.6rem;
}

.alp-premium-header.alp-selfie-stage-header .alp-premium-copy p {
    font-size: 0.98rem;
    color: #475569;
}

.alp-premium-header.alp-review-stage-header {
    padding: 3.4rem 3.2rem 2.4rem;
    margin: -1.9rem -2.2rem 1.8rem;
    border-top: 5px solid #10b981;
    border-bottom: 1px solid #e6edf5;
    background: linear-gradient(105deg, rgba(16, 185, 129, 0.14) 0%, rgba(255, 255, 255, 0.96) 52%);
}

.alp-premium-header.alp-review-stage-header .alp-premium-copy h2 {
    margin-bottom: 0.45rem;
    font-size: 1.45rem;
}

.alp-premium-header.alp-review-stage-header .alp-premium-copy p {
    font-size: 0.92rem;
    color: #475569;
}

.alp-premium-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.alp-premium-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
}

.alp-premium-copy {
    position: relative;
    z-index: 1;
}

.alp-premium-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.alp-premium-copy h2 {
    margin: 0 0 0.55rem;
    font-size: 2.35rem;
    color: #07112f;
    font-weight: 900;
    line-height: 1.15;
}

.alp-premium-copy p {
    margin: 0;
    color: #53668f;
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 50ch;
}

.alp-loan-dashboard {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
    grid-gap: clamp(2rem, 6vw, 5rem);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    min-height: 510px;
}

.alp-loan-inputs {
    padding: 0.5rem 0 1.5rem;
}

.alp-amt-display {
    display: block;
    margin: 0.55rem 0 1.2rem;
    font-size: clamp(3.4rem, 5vw, 4.5rem);
    line-height: 0.95;
    font-weight: 900;
    color: #0d5bff;
    letter-spacing: 0;
}

.alp-slider {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0b61ff 0%, #0b61ff 47%, #e4e9f2 47%, #e4e9f2 100%);
    background: linear-gradient(90deg, #0b61ff 0%, #0b61ff var(--alp-slider-percent, 47%), #e4e9f2 var(--alp-slider-percent, 47%), #e4e9f2 100%);
    outline: none;
    margin: 1rem 0 1.05rem;
    cursor: pointer;
    -webkit-appearance: none;
            appearance: none;
}

.alp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
            appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #0b61ff;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(11, 97, 255, 0.3);
}

.alp-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #0b61ff;
    border: 3px solid #ffffff;
    box-shadow: 0 8px 18px rgba(11, 97, 255, 0.3);
}

.alp-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #435477;
    font-weight: 600;
}

.alp-tenure-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    grid-gap: 1rem 1.5rem;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
    max-width: 545px;
}

.alp-tenure-btn {
    position: relative;
    min-height: 64px;
    padding: 0.9rem 1.35rem;
    border-radius: 10px;
    border: 1px solid #dbe5f4;
    background: white;
    color: #111936;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 13px rgba(32, 58, 102, 0.08);
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.alp-tenure-btn.active {
    background: #0b61ff;
    border-color: #0b61ff;
    color: white;
    box-shadow: 0 14px 26px rgba(11, 97, 255, 0.24);
}

.alp-tenure-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #eef5ff;
    color: #0b61ff;
    font-size: 1rem;
}

.alp-tenure-btn.active .alp-tenure-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.alp-tenure-check {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #2cb95f;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 1rem;
}

.alp-summary-card {
    background: rgba(255, 255, 255, 0.88);
    border-radius: 18px;
    padding: 1.35rem 1.6rem 1.5rem;
    border: 1px solid #dbe5f4;
    box-shadow: 0 10px 30px rgba(32, 58, 102, 0.08);
}

.alp-summary-head {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-bottom: 1.1rem;
}

.alp-summary-icon {
    width: 78px;
    height: 78px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #0b6cff, #0649f6);
    color: #ffffff;
    font-size: 2rem;
    box-shadow: 0 14px 26px rgba(11, 97, 255, 0.22);
    flex: 0 0 auto;
}

.alp-summary-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
    line-height: 1.1;
    color: #111936;
}

.alp-s-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1rem;
    color: #111936;
    padding: 0.76rem 0;
    border-bottom: 1px dashed #d7e1ef;
}

.alp-s-row span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.alp-s-row i {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid #dbe5f4;
    color: #0b61ff;
    background: #f6faff;
    font-style: normal;
    font-weight: 800;
    flex: 0 0 auto;
}

.alp-s-row.big {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    padding: 0;
    border: 0;
    color: #53668f;
}

.alp-s-row.big span:first-child {
    display: inline;
}

.alp-s-row.big strong {
    font-size: 2rem;
    color: #16a052;
    font-weight: 900;
}

.alp-s-row.highlight {
    border-bottom: 0;
    padding-top: 1.1rem;
    font-weight: 800;
}

.alp-s-row.highlight strong {
    color: #0b61ff;
    font-size: 1.8rem;
}

.alp-divider {
    height: 1px;
    background: #dbe5f4;
    margin: 1rem 0 0.2rem;
}

.alp-trust-strip {
    margin-top: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #eaf8ef;
    border: 1px solid #ccebd7;
    color: #098b3f;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alp-bank-panel {
    border: 1px solid #e4d7ff;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    padding: 1.35rem;
    box-shadow: 0 16px 34px rgba(147, 51, 234, 0.06);
}

.alp-bank-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    grid-gap: 0.9rem;
    gap: 0.9rem;
    align-items: start;
}

.alp-bank-panel-saved {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.alp-bank-panel-saved p {
    margin: 0.5rem 0 0.75rem;
    color: #64748b;
    font-size: 0.92rem;
}

.alp-bank-saved-list {
    display: grid;
    grid-gap: 0.5rem;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.alp-bank-saved-list > div {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    background: #ffffff;
}

.alp-bank-saved-list span {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.alp-bank-saved-list strong {
    font-size: 0.9rem;
    color: #0f172a;
}

.alp-bank-panel-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.alp-bank-panel-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #f4edff;
    font-size: 1.45rem;
    flex: 0 0 auto;
}

.alp-bank-kicker {
    margin-bottom: 0.32rem;
    color: #9333ea;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alp-bank-panel h3 {
    margin: 0;
    color: #07112f;
    font-size: 1.1rem;
    font-weight: 900;
}

.alp-bank-fields {
    display: grid;
    grid-gap: 1.15rem;
    gap: 1.15rem;
}

.alp-bank-panel .alp-field label {
    color: #34425f;
    font-size: 0.7rem;
}

.alp-bank-panel .alp-field input {
    min-height: 48px;
    border-radius: 11px;
    border-color: #dce4f1;
    font-size: 0.95rem;
}

.alp-bank-panel .alp-field input::placeholder {
    color: #c9c9c9;
    font-weight: 700;
}

.alp-bank-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
}

@media (max-width: 980px) {
    .alp-bank-grid {
        grid-template-columns: 1fr;
    }
}

.alp-bank-actions .alp-btn-primary {
    min-width: 174px;
    background: linear-gradient(135deg, #9333ea, #0b61ff);
    box-shadow: 0 12px 24px rgba(147, 51, 234, 0.18);
}

.alp-bank-actions .alp-btn-ghost {
    min-width: 174px;
}

.alp-premium-header.alp-bank-stage-header + .alp-step-body {
    margin-bottom: 1.75rem;
}

.alp-premium-header.alp-bank-stage-header ~ .alp-nav {
    margin-top: 2rem;
}

.alp-nav { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: flex-end; }
.alp-btn-ghost { padding: 0.85rem 2rem; border-radius: 10px; border: 1px solid #e2e8f0; background: white; font-weight: 700; color: #475569; cursor: pointer; }
.alp-btn-primary {
    padding: 0.85rem 2.1rem;
    border-radius: 12px;
    border: none;
    background: #0b61ff;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.alp-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.alp-btn-primary:disabled,
.alp-btn-ghost:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.alp-alert {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: #065f46;
}

/* Sanction eSign */
.alp-esign-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.alp-esign-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.alp-esign-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.1);
    color: #4338ca;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.alp-esign-head h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.alp-esign-head p {
    margin: 0.3rem 0 0;
    color: #64748b;
    font-size: 0.93rem;
    max-width: 58ch;
}

.alp-esign-badge {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.alp-esign-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.5rem;
    gap: 1.5rem;
    align-items: start;
}

.alp-esign-preview {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    min-height: 1080px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.alp-esign-frame {
    display: block;
    width: 100%;
    min-height: 1080px;
    height: 1080px;
    border: 0;
    background: #f8fafc;
}

.alp-esign-loading {
    min-height: 1080px;
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 600;
}

.alp-esign-signature {
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.alp-esign-pad-header h4 {
    margin: 0;
    font-size: 1rem;
    color: #0f172a;
}

.alp-esign-pad-header p {
    margin: 0.2rem 0 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.alp-signature-pad {
    position: relative;
    border: 1px dashed #94a3b8;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 1)),
        repeating-linear-gradient(180deg, transparent 0, transparent 30px, rgba(148, 163, 184, 0.08) 31px);
    overflow: hidden;
    height: 160px;
    touch-action: none;
    cursor: crosshair;
}

.alp-signature-canvas {
    display: block;
    width: 100%;
    height: 160px;
}

.alp-signature-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 0.95rem;
    font-weight: 700;
    pointer-events: none;
}

.alp-esign-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.alp-esign-actions .alp-btn-ghost,
.alp-esign-actions .alp-btn-primary {
    width: 100%;
}

/* Account Aggregator */
.alp-aa-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 240px));
    justify-content: center;
    grid-gap: clamp(0.8rem, 4vw, 2.5rem);
    gap: clamp(0.8rem, 4vw, 2.5rem);
    margin: 0 0 0.1rem;
}

.alp-aa-method-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.65rem;
    gap: 0.65rem;
    max-width: 520px;
}

.alp-aa-method-card {
    border: 1px solid #cfdcf3;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 0.8rem 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.alp-aa-method-card strong {
    font-size: 1rem;
    color: #0f1d4a;
}

.alp-aa-method-card span {
    font-size: 0.86rem;
    color: #607296;
}

.alp-aa-method-card.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
}

.alp-aa-tabs button {
    min-height: 36px;
    border: 2px solid #3f46c8;
    background: #ffffff;
    color: #111936;
    font-size: 1rem;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    cursor: pointer;
}

.alp-aa-tabs button span {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #3f46c8;
}

.alp-aa-tabs button.active span {
    background: #3f46c8;
    box-shadow: inset 0 0 0 3px #3f46c8;
}

.alp-aa-header-intro {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 760px;
}

@media (max-width: 1100px) {
    .alp-esign-preview,
    .alp-esign-frame,
    .alp-esign-loading {
        min-height: 820px;
        height: 820px;
    }
}

.alp-aa-header-intro h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #07112f;
    font-weight: 900;
}

.alp-aa-header-intro p {
    margin: 0;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.32;
    max-width: 62ch;
}

.alp-aa-panel {
    border: 1px solid #dbe5f4;
    border-radius: 18px;
    padding: 1.1rem 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.alp-aa-panel h4 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    color: #0f1d4a;
}

.alp-aa-panel > p {
    margin: 0 0 0.7rem;
    color: #64748b;
    font-size: 0.98rem;
}

.alp-aa-choices-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(340px, 420px));
    grid-gap: 1.15rem;
    gap: 1.15rem;
    margin-top: 0.45rem;
    justify-content: center;
}

.alp-aa-choice-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #dbe5f4;
    border-radius: 20px;
    padding: 1.35rem 1.3rem;
    min-height: 330px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    position: relative;
    overflow: hidden;
    transition: all 0.22s ease;
}

.alp-aa-choice-card.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18), 0 18px 34px rgba(37, 99, 235, 0.14);
}

.alp-aa-choice-card.uploaded {
    border-color: #22c55e;
    background: linear-gradient(180deg, #f4fff7 0%, #ffffff 100%);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18), 0 14px 30px rgba(34, 197, 94, 0.12);
}

.alp-aa-choice-card[type="button"] {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.alp-aa-choice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
}

.alp-upload-progress {
    margin-top: 0.65rem;
    border: 1px solid #dbe5f4;
    border-radius: 999px;
    overflow: hidden;
    background: #eef2ff;
    position: relative;
    height: 20px;
}

.alp-upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #22c55e);
    transition: width 0.2s ease;
}

.alp-upload-progress span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
}

.alp-aa-focus {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    grid-gap: 0.95rem;
    gap: 0.95rem;
    align-items: stretch;
}

.alp-aa-choice-selected {
    justify-content: center;
}

.alp-aa-change-text {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: #5470a0;
}

.alp-aa-choice-card.recommended {
    border-color: #2563eb;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), #ffffff);
    box-shadow: 0 0 0 1px #2563eb, 0 10px 30px rgba(37, 99, 235, 0.08);
}

.alp-aa-choice-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alp-aa-choice-badge.alt {
    background: rgba(100, 116, 139, 0.1);
    color: #475569;
}

.alp-aa-choice-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(59, 130, 246, 0.1));
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}

.alp-aa-choice-icon.alt {
    background: rgba(241, 245, 249, 0.8);
    border: 1px solid #e2e8f0;
}

.alp-aa-choice-card h4 {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    color: #07112f;
    font-weight: 900;
}

.alp-aa-choice-card p {
    margin: 0 0 0.8rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.35;
}

.alp-aa-metric-group {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.45rem;
    gap: 0.45rem;
    margin-bottom: auto;
}

.alp-aa-metric {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
}

.alp-aa-metric span {
    font-size: 0.82rem;
    font-weight: 800;
    color: #c7c7c7;
    letter-spacing: 0;
    text-transform: none;
}

.alp-aa-metric strong {
    color: #0f172a;
    font-size: 0.92rem;
    word-break: break-all;
}

.alp-aa-choice-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.alp-aa-choice-actions .alp-btn-primary {
    background: linear-gradient(135deg, #d97706, #0b61ff);
    min-height: 46px;
}

.alp-kyc-overview-card {
    min-height: auto;
    padding: 1.25rem 1.2rem;
    display: flex;
    flex-direction: column;
}

.alp-kyc-overview-card .alp-aa-choice-icon {
    margin-bottom: 0.65rem;
}

.alp-kyc-overview-card h4 {
    margin-bottom: 0.35rem;
}

.alp-kyc-overview-card p {
    margin-bottom: 0.7rem;
}

.alp-kyc-overview-card .alp-aa-choice-actions {
    margin-top: auto;
    padding-top: 14.6rem;
}

.alp-kyc-quick-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 0.6rem;
    gap: 0.6rem;
}

.alp-kyc-stat-chip {
    border: 1px solid #dbe5f4;
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.55rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.alp-kyc-stat-chip span {
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.alp-kyc-stat-chip strong {
    font-size: 0.9rem;
    color: #0f172a;
    font-weight: 800;
}

.alp-aa-choice-actions .alp-btn-ghost {
    min-height: 46px;
}

.alp-aa-linkbox {
    margin-bottom: 1.5rem;
    border: 1px dashed rgba(37, 99, 235, 0.35);
    background: rgba(239, 246, 255, 0.6);
    border-radius: 12px;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.alp-aa-linkbox span {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1d4ed8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.alp-selfie-card {
    background: linear-gradient(180deg, #ffffff 0%, #fff7fa 100%);
    border: 1px solid #fbcfe8;
    border-radius: 20px;
    padding: 1.1rem;
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.08);
}

.alp-premium-header.alp-selfie-stage-header + .alp-step-body {
    margin-bottom: 1.75rem;
}

.alp-premium-header.alp-selfie-stage-header ~ .alp-nav {
    margin-top: 2rem;
}

.alp-selfie-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid #ffe4ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.85);
}

.alp-selfie-iconbox {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.alp-selfie-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #be123c;
    text-transform: uppercase;
}

.alp-selfie-title {
    margin: 0.2rem 0 0;
    font-size: 1.15rem;
    color: #111827;
}

.alp-selfie-status {
    margin-left: auto;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #9f1239;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.alp-selfie-status.done {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.alp-aa-linkbox a {
    color: #1e40af;
    text-decoration: none;
    font-size: 0.8rem;
    word-break: break-all;
}

.alp-aa-linkbox a:hover {
    text-decoration: underline;
}

.alp-upload-msg {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.alp-aa-error {
    margin-bottom: 1.5rem;
}

.alp-premium-header.alp-aa-stage-header + .alp-step-body {
    margin-bottom: 1.75rem;
}

.alp-premium-header.alp-aa-stage-header ~ .alp-nav {
    margin-top: 2rem;
}

.alp-review-section {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.alp-review-section-title {
    align-self: flex-start;
    padding: 0.45rem 1.25rem;
    background: #f8f8f8;
    font-size: 0.78rem;
    font-weight: 800;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0;
}

.alp-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 0.9rem;
    gap: 0.9rem;
}

.alp-review-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 58px;
    padding: 0.9rem 0.75rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.alp-review-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(8, 145, 178, 0.1);
    font-size: 1rem;
}

.alp-review-label {
    font-size: 0.92rem;
    color: #777;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.alp-review-val {
    font-size: 0.92rem;
    font-weight: 800;
    color: #080f24;
}

.alp-review-section::after {
    content: "";
    display: block;
    height: 54px;
    margin-top: -0.25rem;
    background: #f7f7f7;
}

.alp-review-section + .alp-alert {
    margin-top: 0.4rem;
    font-weight: 800;
    color: #10b981;
}

.alp-review-stage-header ~ .alp-step-body .alp-alert {
    border-color: rgba(16, 185, 129, 0.28);
    background: rgba(16, 185, 129, 0.05);
}

.alp-review-stage-header ~ .alp-nav .alp-btn-primary {
    background: linear-gradient(90deg, #10b981, #1677e8);
    min-width: 154px;
}

.alp-review-card .alp-nav {
    position: static;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.alp-success-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 2rem 0;
}

.alp-success-box {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    padding: 3rem;
    text-align: center;
    max-width: 520px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.alp-success-box h1 {
    margin: 0.25rem 0 0.5rem;
    font-size: 2rem;
    color: #0f172a;
}

.alp-success-box p {
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 1.5rem;
}

.alp-success-burst { font-size: 4rem; margin-bottom: 1rem; }

.alp-submitted-lock {
    margin-top: 1rem;
    border: 1px solid #bfdbfe;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-gap: 0.9rem;
    gap: 0.9rem;
    align-items: start;
}

.alp-submitted-art {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    background: radial-gradient(circle at 30% 30%, #dbeafe, #93c5fd);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}

.alp-submitted-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #1d4ed8;
    margin-bottom: 0.25rem;
}

.alp-submitted-copy h3 {
    margin: 0;
    font-size: 1.35rem;
    color: #0f172a;
}

.alp-submitted-copy p {
    margin: 0.45rem 0 0;
    color: #475569;
    line-height: 1.45;
}

.alp-submitted-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .alp-journey-card {
        padding: 1.25rem;
    }

    .alp-card {
        padding: 1.25rem;
    }

    .alp-loan-dashboard {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 2rem;
    }

    .alp-tenure-track {
        max-width: none;
    }

    .alp-root.alp-compact .alp-journey-rail {
        grid-template-columns: repeat(8, 84px);
        min-width: 672px;
    }

    .alp-root.alp-compact .alp-loan-dashboard {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        min-width: 0;
        align-items: stretch;
    }

    .alp-root.alp-compact .alp-loan-inputs,
    .alp-root.alp-compact .alp-loan-summary,
    .alp-root.alp-compact .alp-summary-card {
        width: 100%;
        min-width: 0;
    }

    .alp-root.alp-compact .alp-tenure-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .alp-employment-focus {
        grid-template-columns: 1fr;
    }
    
    .alp-fields-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .alp-root {
        gap: 1rem;
        padding: 0.75rem;
        overflow-x: hidden;
        width: 100%;
        min-width: 0;
        padding-bottom: calc(0.75rem + 0px + env(safe-area-inset-bottom));
        padding-bottom: calc(0.75rem + var(--mobile-bottom-nav-height, 0px) + env(safe-area-inset-bottom));
    }

    .alp-journey-card,
    .alp-card {
        padding: 1rem;
        border-radius: 20px;
        max-width: 100%;
    }

    .alp-journey-rail {
        min-width: 640px;
    }

    .alp-journey-step {
        grid-template-rows: 48px 68px;
    }

    .alp-journey-node {
        width: 62px;
        height: 62px;
        font-size: 1.2rem;
    }

    .alp-journey-step:not(:last-child)::after {
        left: calc(50% + 36px);
        right: calc(-50% + 36px);
        top: 81px;
    }

    .alp-journey-step:not(:last-child)::before {
        top: 78px;
    }

    .alp-quick-stats,
    .alp-review-grid,
    .alp-field-row,
    .alp-fields-grid,
    .alp-eligibility-metrics,
    .alp-eligibility-details,
    .alp-aa-choices-grid,
    .alp-aa-metric-group {
        grid-template-columns: 1fr;
    }

    .alp-hero-panel {
        padding: 0.95rem;
    }

    .alp-stat-card {
        min-height: auto;
    }

    .alp-sim-progress-bg {
        width: 100%;
    }

    .alp-sidebar-inner {
        padding: 1.25rem 1rem;
    }

    .alp-s-node::before {
        top: 38px;
    }

    .alp-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alp-employment-shell,
    .alp-employment-card {
        padding: 0.9rem;
        border-radius: 18px;
    }

    .alp-aa-choice-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .alp-amt-display {
        font-size: 3.15rem;
    }

    .alp-tenure-track {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .alp-summary-head {
        align-items: flex-start;
        gap: 0.9rem;
    }

    .alp-summary-icon {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }

    .alp-summary-card h3 {
        font-size: 1.35rem;
    }

    .alp-s-row {
        font-size: 0.9rem;
    }

    .alp-s-row.big {
        flex-direction: column;
        gap: 0.1rem;
    }

    .alp-s-row.big strong,
    .alp-s-row.highlight strong {
        font-size: 1.45rem;
    }

    .alp-premium-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
        margin: -1rem -1rem 1.5rem -1rem;
    }

    .alp-premium-icon {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }

    .alp-eligibility-card {
        padding: 1rem;
        border-radius: 18px;
    }

    .alp-btn-primary,
    .alp-btn-ghost {
        width: 100%;
    }

    .alp-nav {
        position: -webkit-sticky;
        position: sticky;
        bottom: calc(0px + env(safe-area-inset-bottom));
        bottom: calc(var(--mobile-bottom-nav-height, 0px) + env(safe-area-inset-bottom));
        z-index: 20;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 0.75rem;
        gap: 0.75rem;
        margin: 1rem -1rem -1rem;
        padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .alp-nav .alp-btn-primary,
    .alp-nav .alp-btn-ghost {
        min-width: 0;
        padding: 0.8rem 0.9rem;
        border-radius: 12px;
    }

    .alp-nav .alp-btn-primary:only-child {
        grid-column: 1 / -1;
    }

    .alp-review-card {
        padding-bottom: 1rem !important;
        overflow: visible;
    }
}

@media (max-width: 640px) {
    .alp-root.alp-compact {
        padding: 0.75rem;
        gap: 1rem;
    }

    .alp-root.alp-compact .alp-journey-card {
        padding: 1rem !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .alp-root.alp-compact .alp-journey-rail {
        grid-template-columns: repeat(8, 78px);
        min-width: 624px;
    }

    .alp-root.alp-compact .alp-journey-step {
        grid-template-rows: 54px 46px;
    }

    .alp-root.alp-compact .alp-journey-title {
        max-width: 76px;
        font-size: 0.72rem;
    }

    .alp-root.alp-compact .alp-journey-node {
        width: 52px;
        height: 52px;
    }

    .alp-root.alp-compact .alp-journey-step:not(:last-child)::after {
        left: calc(50% + 27px);
        right: calc(-50% + 27px);
        top: 27px;
    }

    .alp-root.alp-compact .alp-journey-step:not(:last-child)::before {
        top: 24px;
    }

    .alp-root.alp-compact .alp-card {
        padding: 1rem !important;
        overflow: visible;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header {
        padding: 0.85rem 1rem !important;
        margin: -1rem -1rem 0.75rem !important;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header .alp-premium-copy h2 {
        font-size: 1.25rem;
        line-height: 1.15;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header .alp-premium-copy p {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .alp-root.alp-compact .alp-aa-header-intro {
        gap: 0.3rem;
    }

    .alp-root.alp-compact .alp-aa-header-intro h3 {
        font-size: 1.15rem;
        line-height: 1.15;
    }

    .alp-root.alp-compact .alp-aa-header-intro p {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .alp-root.alp-compact .alp-aa-choices-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 0.75rem;
    }

    .alp-root.alp-compact .alp-aa-choice-card {
        min-height: 0 !important;
        padding: 1rem !important;
        border-radius: 18px;
    }

    .alp-root.alp-compact .alp-aa-choice-card h4 {
        font-size: 1.1rem;
        line-height: 1.15;
        margin-bottom: 0.35rem;
    }

    .alp-root.alp-compact .alp-aa-choice-card p {
        font-size: 0.88rem;
        line-height: 1.35;
        margin-bottom: 0.65rem;
    }

    .alp-root.alp-compact .alp-aa-choice-actions {
        margin-top: 0.75rem;
        gap: 0.55rem;
    }

    .alp-root.alp-compact .alp-aa-choice-actions .alp-btn-primary,
    .alp-root.alp-compact .alp-aa-choice-actions .alp-btn-ghost {
        min-height: 44px;
        padding: 0.72rem 0.9rem;
        font-size: 0.95rem;
        line-height: 1.15;
    }

    .alp-root.alp-compact .alp-aa-metric-group {
        margin-bottom: 0.2rem;
    }

    .alp-root.alp-compact .alp-aa-metric {
        align-items: flex-start;
        gap: 0.45rem;
    }

    .alp-root.alp-compact .alp-aa-metric span {
        flex: 0 0 auto;
        font-size: 0.78rem;
    }

    .alp-root.alp-compact .alp-aa-metric strong {
        min-width: 0;
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

    .alp-root.alp-compact .alp-upload-msg {
        margin-top: 0.55rem;
        padding: 0.55rem 0.65rem;
        font-size: 0.82rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .alp-root.alp-compact .alp-aa-error {
        margin-bottom: 0.85rem;
    }

    .alp-root.alp-compact .alp-step-body {
        padding-bottom: 0.35rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header + .alp-step-body {
        margin-bottom: 1.35rem;
        padding-bottom: 0;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header ~ .alp-nav {
        margin-top: 1.35rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-bank-stage-header + .alp-step-body {
        margin-bottom: 0.85rem;
        padding-bottom: 0;
    }

    .alp-root.alp-compact .alp-premium-header.alp-bank-stage-header ~ .alp-nav {
        margin-top: 0.85rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header {
        padding: 1rem !important;
        margin: -1rem -1rem 0.85rem !important;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header .alp-premium-copy h2 {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header .alp-premium-copy p {
        font-size: 0.92rem;
        line-height: 1.35;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header + .alp-step-body {
        margin-bottom: 1.35rem;
        padding-bottom: 0;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header ~ .alp-nav {
        margin-top: 1.35rem;
    }

    .alp-root.alp-compact .alp-selfie-card {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .alp-root.alp-compact .alp-bank-grid {
        gap: 0.9rem;
    }

    .alp-root.alp-compact .alp-bank-panel {
        padding: 1rem;
        border-radius: 18px;
        min-width: 0;
    }

    .alp-root.alp-compact .alp-bank-panel-head {
        align-items: flex-start;
        gap: 0.8rem;
    }

    .alp-root.alp-compact .alp-bank-panel-icon {
        width: 50px;
        height: 50px;
        border-radius: 14px;
        font-size: 1.25rem;
    }

    .alp-root.alp-compact .alp-bank-panel h3 {
        font-size: 1.05rem;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .alp-root.alp-compact .alp-bank-fields {
        gap: 0.85rem;
    }

    .alp-root.alp-compact .alp-bank-panel .alp-field input {
        width: 100%;
        min-width: 0;
        font-size: 1rem;
    }

    .alp-root.alp-compact .alp-bank-actions {
        gap: 0.65rem;
    }

    .alp-root.alp-compact .alp-loan-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
        min-width: 0;
    }

    .alp-root.alp-compact .alp-loan-inputs,
    .alp-root.alp-compact .alp-loan-summary,
    .alp-root.alp-compact .alp-summary-card {
        min-width: 0;
        width: 100%;
    }

    .alp-root.alp-compact .alp-loan-inputs {
        padding: 0;
    }

    .alp-root.alp-compact .alp-field + .alp-field {
        margin-top: 1rem !important;
    }

    .alp-root.alp-compact .alp-field label {
        display: block;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        line-height: 1.15;
    }

    .alp-root.alp-compact .alp-amt-display {
        font-size: clamp(2.4rem, 14vw, 3.4rem);
        line-height: 1;
        word-break: normal;
    }

    .alp-root.alp-compact .alp-tenure-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .alp-root.alp-compact .alp-tenure-btn {
        min-width: 0;
        justify-content: flex-start;
        padding: 0.65rem 0.75rem;
        gap: 0.5rem;
        line-height: 1.15;
        white-space: normal;
    }

    .alp-root.alp-compact .alp-summary-head {
        align-items: flex-start;
        min-width: 0;
    }

    .alp-root.alp-compact .alp-summary-head > div:last-child {
        min-width: 0;
        flex: 1 1;
    }

    .alp-root.alp-compact .alp-summary-card h3 {
        font-size: clamp(1.2rem, 5.5vw, 1.45rem);
    }

    .alp-root.alp-compact .alp-s-row {
        align-items: center;
        gap: 0.75rem;
    }

    .alp-root.alp-compact .alp-s-row span:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .alp-root.alp-compact .alp-s-row > span:last-child,
    .alp-root.alp-compact .alp-s-row > strong {
        flex: 0 0 auto;
        text-align: right;
        white-space: nowrap;
    }

    .alp-root.alp-compact .alp-s-row.highlight {
        align-items: flex-start;
    }

    .alp-root.alp-compact .alp-trust-strip {
        flex-wrap: wrap;
        font-size: 0.95rem;
        line-height: 1.3;
    }
}

@media (max-width: 420px) {
    .alp-root.alp-compact {
        padding: 0.6rem 0.55rem;
    }

    .alp-root.alp-compact .alp-journey-card,
    .alp-root.alp-compact .alp-card {
        border-radius: 18px;
    }

    .alp-root.alp-compact .alp-journey-card {
        padding: 0.8rem !important;
    }

    .alp-root.alp-compact .alp-journey-rail {
        grid-template-columns: repeat(8, 72px);
        min-width: 576px;
    }

    .alp-root.alp-compact .alp-journey-title {
        max-width: 68px;
        font-size: 0.68rem;
    }

    .alp-root.alp-compact .alp-journey-node {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .alp-root.alp-compact .alp-journey-step {
        grid-template-rows: 48px 44px;
    }

    .alp-root.alp-compact .alp-journey-step:not(:last-child)::after {
        left: calc(50% + 24px);
        right: calc(-50% + 24px);
        top: 24px;
    }

    .alp-root.alp-compact .alp-journey-step:not(:last-child)::before {
        top: 21px;
    }

    .alp-root.alp-compact .alp-amt-display {
        font-size: clamp(2.05rem, 13vw, 2.8rem);
    }

    .alp-root.alp-compact .alp-aa-header-intro h3 {
        font-size: 1.05rem;
    }

    .alp-root.alp-compact .alp-aa-header-intro p {
        font-size: 0.86rem;
    }

    .alp-root.alp-compact .alp-aa-choice-card {
        padding: 0.9rem !important;
    }

    .alp-root.alp-compact .alp-aa-choice-actions .alp-btn-primary,
    .alp-root.alp-compact .alp-aa-choice-actions .alp-btn-ghost {
        min-height: 42px;
        font-size: 0.88rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header + .alp-step-body {
        margin-bottom: 1.15rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-aa-stage-header ~ .alp-nav {
        margin-top: 1.15rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-bank-stage-header + .alp-step-body {
        margin-bottom: 0.7rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-bank-stage-header ~ .alp-nav {
        margin-top: 0.7rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header + .alp-step-body {
        margin-bottom: 1.15rem;
    }

    .alp-root.alp-compact .alp-premium-header.alp-selfie-stage-header ~ .alp-nav {
        margin-top: 1.15rem;
    }

    .alp-root.alp-compact .alp-selfie-card {
        padding: 0.8rem;
    }

    .alp-root.alp-compact .alp-tenure-track {
        grid-template-columns: 1fr;
    }

    .alp-root.alp-compact .alp-tenure-btn {
        min-height: 46px;
    }

    .alp-root.alp-compact .alp-summary-head {
        gap: 0.7rem;
    }

    .alp-root.alp-compact .alp-summary-icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }

    .alp-root.alp-compact .alp-s-row {
        font-size: 0.84rem;
    }

    .alp-root.alp-compact .alp-s-row i {
        width: 28px;
        height: 28px;
    }

    .alp-root.alp-compact .alp-s-row.highlight {
        flex-direction: column;
        gap: 0.25rem;
    }

    .alp-root.alp-compact .alp-s-row.highlight strong {
        text-align: left;
    }
}

/* Modal Overlay for Previews */
.alp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.alp-modal-content.alp-preview-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── Bureau Consent Modal ────────────────────────────────── */

.bcm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: bcm-fade-in 0.3s ease;
}

@keyframes bcm-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.bcm-modal {
    background: #ffffff;
    border-radius: 1.5rem;
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.1);
    overflow: hidden;
    animation: bcm-slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bcm-modal-consent {
    max-width: min(1100px, 100%);
    height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

@keyframes bcm-slide-up {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* Header */
.bcm-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem 1.25rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.bcm-header-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.bcm-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.bcm-subtitle {
    font-size: 0.8rem;
    margin: 0.15rem 0 0;
    color: rgba(255,255,255,0.8);
}

/* Body */
.bcm-body {
    padding: 1.5rem 1.75rem;
}

/* Spinner */
.bcm-spinner-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    color: #64748b;
}

.bcm-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: bcm-spin 0.8s linear infinite;
}

.bcm-spinner-sm {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

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

/* Steps */
.bcm-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.25rem;
}

.bcm-step {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.bcm-step-line {
    width: 2px;
    height: 20px;
    background: #e2e8f0;
    margin-left: 13px;
}

.bcm-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
}

.bcm-step.done .bcm-step-dot {
    background: #10b981;
    color: white;
}

.bcm-step.active .bcm-step-dot {
    background: #6366f1;
    color: white;
}

.bcm-step-dot.pulse {
    animation: bcm-pulse 1.5s ease-in-out infinite;
}

@keyframes bcm-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); }
    50%       { box-shadow: 0 0 0 8px rgba(99,102,241,0); }
}

.bcm-step-info {
    display: flex;
    flex-direction: column;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
}

.bcm-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
}

.bcm-step-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.1rem;
}

/* Info box */
.bcm-info-box {
    display: flex;
    gap: 0.75rem;
    background: #f0f4ff;
    border: 1px solid #c7d2fe;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.83rem;
    color: #4338ca;
    line-height: 1.5;
}

.bcm-info-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* Buttons */
.bcm-btn-primary {
    width: 100%;
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 0.875rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

.bcm-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99,102,241,0.45);
}

.bcm-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bcm-btn-close {
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: #334155;
    border: 1px solid #c7d2fe;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

.bcm-btn-close:hover {
    background: #f0f4ff;
    color: #4338ca;
}

.bcm-consent-view {
    min-height: 0;
    flex: 1 1;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

.bcm-consent-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.bcm-polling-inline {
    margin-top: 0;
}

.bcm-consent-frame {
    flex: 1 1;
    width: 100%;
    min-height: 420px;
    border: 0;
    background: #ffffff;
}

/* Polling notice */
.bcm-polling-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.bcm-dot-pulse {
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 50%;
    animation: bcm-pulse-dot 1.2s ease-in-out infinite;
}

@keyframes bcm-pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(0.6); opacity: 0.4; }
}

/* Success */
.bcm-success-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.75rem;
}

.bcm-success-icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    animation: bcm-bounce 0.6s ease;
}

@keyframes bcm-bounce {
    0%   { transform: scale(0); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.bcm-success-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.375rem;
}

.bcm-success-sub {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0 0 1.25rem;
}

/* Score reveal */
.bcm-score-reveal {
    background: linear-gradient(135deg, #6366f1 0%, color-mix(in srgb, #6366f1 60%, #fff) 100%);
    background: linear-gradient(135deg, var(--score-color, #6366f1) 0%, color-mix(in srgb, var(--score-color, #6366f1) 60%, #fff) 100%);
    border-radius: 1.25rem;
    padding: 1.25rem 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    animation: bcm-score-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes bcm-score-pop {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.bcm-score-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.bcm-score-label {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.25rem;
    opacity: 0.95;
}

.bcm-score-caption {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Redirect notice */
.bcm-redirect-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #64748b;
}

/* ============================================================
   KASHLEY DASHBOARD LAYOUT — Premium Light Purple Theme
   ============================================================ */

:root {
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 72px;
    --header-height: 68px;

    /* Purple palette */
    --purple-50:  #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #4c1d95;

    /* Backgrounds */
    --bg-app:     #f8f5ff;
    --bg-surface: #ffffff;
    --bg-sidebar: #ffffff;
    --bg-hover:   #faf5ff;

    /* Text */
    --text-primary:   #1e1b4b;
    --text-secondary: #475569;
    --text-muted:     #94a3b8;

    /* Borders */
    --border-light:  #e9d5ff;
    --border-medium: #d8b4fe;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(109,40,217,0.06);
    --shadow-sm: 0 2px 8px rgba(109,40,217,0.08);
    --shadow-md: 0 4px 20px rgba(109,40,217,0.10);
    --shadow-lg: 0 8px 32px rgba(109,40,217,0.12);

    /* Transitions */
    --t-fast:   0.18s cubic-bezier(0.4,0,0.2,1);
    --t-smooth: 0.28s cubic-bezier(0.4,0,0.2,1);
}

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

/* ── App Shell ─────────────────────────────────────────────── */
.dashboard-container {
    display: flex;
    height: 100vh;
    height: 100dvh;
    background: #f8f5ff;
    background: var(--bg-app);
    font-family: 'Inter', system-ui, sans-serif;
    color: #1e1b4b;
    color: var(--text-primary);
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════════ */
.dashboard-sidebar {
    width: 260px;
    width: var(--sidebar-width);
    background: #ffffff;
    background: var(--bg-sidebar);
    border-right: 1px solid #e9d5ff;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 1000;
    transition: width 0.28s cubic-bezier(0.4,0,0.2,1), transform 0.28s cubic-bezier(0.4,0,0.2,1);
    transition: width var(--t-smooth), transform var(--t-smooth);
    box-shadow: 0 2px 8px rgba(109,40,217,0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.dashboard-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #c084fc, #d8b4fe);
    background: linear-gradient(90deg, var(--purple-500), var(--purple-400), var(--purple-300));
}

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1rem 0.85rem 1.2rem;
    border-bottom: 1px solid #e9d5ff;
    border-bottom: 1px solid var(--border-light);
    gap: 0.5rem;
    min-height: 68px;
    min-height: var(--header-height);
    flex-shrink: 0;
}

.sidebar-logo {
    height: 44px;
    max-width: 148px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: opacity var(--t-fast);
}

.collapse-toggle {
    width: 28px; height: 28px;
    border-radius: 8px;
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
    background: #faf5ff;
    background: var(--bg-hover);
    color: #9333ea;
    color: var(--purple-600);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: all var(--t-fast);
    flex-shrink: 0;
}
.collapse-toggle:hover {
    background: #f3e8ff;
    background: var(--purple-100);
    border-color: #d8b4fe;
    border-color: var(--border-medium);
}

/* Quest / Gamification Card */
.sidebar-quest-card {
    margin: 0.85rem 0.85rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #9333ea, #a855f7);
    background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
    border-radius: 14px;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.sidebar-quest-card::after {
    content: '⚡';
    position: absolute;
    right: -4px; top: -8px;
    font-size: 4rem;
    opacity: 0.1;
    pointer-events: none;
}

.quest-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.quest-chip {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
}
.quest-rank {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.85;
}
.sidebar-quest-card h3 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.sidebar-quest-card p {
    font-size: 0.7rem;
    opacity: 0.8;
    line-height: 1.4;
    margin-bottom: 0.65rem;
}

.quest-progress-track {
    height: 6px;
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
    overflow: hidden;
}
.quest-progress-fill {
    height: 100%;
    background: rgba(255,255,255,0.9);
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.quest-progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    opacity: 0.8;
    margin-top: 0.35rem;
}
.quest-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0.5rem;
    gap: 0.5rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.quest-stats div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.quest-stats strong {
    font-size: 0.82rem;
    font-weight: 800;
}
.quest-stats span {
    font-size: 0.62rem;
    opacity: 0.75;
}

/* Nav */
.sidebar-nav {
    flex: 1 1;
    overflow-y: auto;
    padding: 0.75rem 0.75rem 0.5rem;
    scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-group {
    margin-bottom: 0.25rem;
}
.nav-group-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #94a3b8;
    color: var(--text-muted);
    padding: 0.6rem 0.5rem 0.3rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: #475569;
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: all var(--t-fast);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 2px;
}
.nav-item:hover {
    background: #faf5ff;
    background: var(--bg-hover);
    color: #7e22ce;
    color: var(--purple-700);
}
.nav-item.active {
    background: #f3e8ff;
    background: var(--purple-100);
    color: #7e22ce;
    color: var(--purple-700);
    font-weight: 600;
}
.nav-item.active .nav-icon { color: #9333ea; color: var(--purple-600); }

.nav-item.nav-highlight {
    background: transparent;
    color: #475569;
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid transparent;
    margin-bottom: 4px;
}
.nav-item.nav-highlight .nav-icon { color: #94a3b8; color: var(--text-muted); }
.nav-item.nav-highlight:hover {
    background: #faf5ff;
    background: var(--bg-hover);
    color: #7e22ce;
    color: var(--purple-700);
    border-color: #f3e8ff;
    border-color: var(--purple-100);
}
.nav-item.nav-highlight:hover .nav-icon { color: #9333ea; color: var(--purple-600); }
.nav-item.nav-highlight.active {
    background: linear-gradient(90deg, #f3e8ff, #faf5ff);
    background: linear-gradient(90deg, var(--purple-100), var(--purple-50));
    color: #7e22ce;
    color: var(--purple-700);
    font-weight: 600;
    border-color: #e9d5ff;
    border-color: var(--purple-200);
}
.nav-item.nav-highlight.active .nav-icon { color: #9333ea; color: var(--purple-600); }

.nav-icon {
    flex-shrink: 0;
    color: #94a3b8;
    color: var(--text-muted);
    transition: color 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: color var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}
.nav-label {
    flex: 1 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-pip {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #a855f7;
    background: var(--purple-500);
    flex-shrink: 0;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid #e9d5ff;
    border-top: 1px solid var(--border-light);
    flex-shrink: 0;
}
.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.5rem;
    border-radius: 10px;
    margin-bottom: 0.35rem;
    background: #faf5ff;
    background: var(--bg-hover);
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
}
.sidebar-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}
.sidebar-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e1b4b;
    color: var(--text-primary);
    display: block;
}
.sidebar-user-role {
    font-size: 0.68rem;
    color: #94a3b8;
    color: var(--text-muted);
    display: block;
}
.sidebar-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: none;
    background: none;
    color: #ef4444;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: background 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: background var(--t-fast);
}
.sidebar-logout-btn:hover { background: #fef2f2; }

/* Collapsed Sidebar */
.dashboard-sidebar.collapsed {
    width: 72px;
    width: var(--sidebar-collapsed-width);
}
.dashboard-sidebar.collapsed .sidebar-logo { display: none; }
.dashboard-sidebar.collapsed .quest-card-top,
.dashboard-sidebar.collapsed .sidebar-quest-card h3,
.dashboard-sidebar.collapsed .sidebar-quest-card p,
.dashboard-sidebar.collapsed .quest-progress,
.dashboard-sidebar.collapsed .quest-stats,
.dashboard-sidebar.collapsed .nav-group-label,
.dashboard-sidebar.collapsed .nav-label,
.dashboard-sidebar.collapsed .nav-pip,
.dashboard-sidebar.collapsed .sidebar-user-info,
.dashboard-sidebar.collapsed .sidebar-user-card,
.dashboard-sidebar.collapsed .sidebar-logout-btn .nav-label { display: none; }
.dashboard-sidebar.collapsed .sidebar-quest-card { padding: 0.75rem; text-align: center; }
.dashboard-sidebar.collapsed .sidebar-quest-card::after { display: none; }
.dashboard-sidebar.collapsed .sidebar-brand { justify-content: center; padding: 1.1rem 0.5rem; }

/* ══════════════════════════════════════════════════════════
   MAIN AREA
══════════════════════════════════════════════════════════ */
.dashboard-wrapper {
    margin-left: 260px;
    margin-left: var(--sidebar-width);
    flex: 1 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    overflow: hidden;
    transition: margin-left 0.28s cubic-bezier(0.4,0,0.2,1);
    transition: margin-left var(--t-smooth);
}
.dashboard-wrapper.collapsed {
    margin-left: 72px;
    margin-left: var(--sidebar-collapsed-width);
}

/* ── Header ─────────────────────────────────────────────── */
.dashboard-header-new {
    height: 68px;
    height: var(--header-height);
    flex-shrink: 0;
    background: #ffffff;
    background: var(--bg-surface);
    border-bottom: 1px solid #e9d5ff;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 900;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(109,40,217,0.06);
    box-shadow: var(--shadow-xs);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1 1;
    min-width: 0;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1b4b;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 36px; height: 36px;
    font-size: 1rem;
    cursor: pointer;
    color: #475569;
    color: var(--text-secondary);
    align-items: center;
    justify-content: center;
}

.header-right { display: flex; align-items: center; gap: 0.75rem; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; position: relative; }

.header-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
    background: #ffffff;
    background: var(--bg-surface);
    color: #475569;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: all var(--t-fast);
}
.header-btn:hover {
    background: #faf5ff;
    background: var(--bg-hover);
    border-color: #d8b4fe;
    border-color: var(--border-medium);
}

.badge {
    position: absolute;
    top: -2px; right: -2px;
    background: #9333ea;
    background: var(--purple-600);
    color: white;
    min-width: 18px; height: 18px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white;
}

.header-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.75rem 0.35rem 0.4rem;
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    background: #ffffff;
    background: var(--bg-surface);
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: all var(--t-fast);
}
.header-profile-btn:hover {
    background: #faf5ff;
    background: var(--bg-hover);
    border-color: #d8b4fe;
    border-color: var(--border-medium);
}
.header-profile-btn .avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}
.header-profile-btn .name-info {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    text-align: left;
}
.header-profile-btn .user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e1b4b;
    color: var(--text-primary);
}
.header-profile-btn .user-role {
    font-size: 0.65rem;
    color: #94a3b8;
    color: var(--text-muted);
}
.profile-chevron {
    color: #94a3b8;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1;
    margin-left: 0.1rem;
    transition: transform 0.18s cubic-bezier(0.4,0,0.2,1), color 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: transform var(--t-fast), color var(--t-fast);
}
.header-profile-btn:hover .profile-chevron {
    color: #9333ea;
    color: var(--purple-600);
}
.header-profile-btn.open .profile-chevron {
    transform: rotate(180deg);
    color: #9333ea;
    color: var(--purple-600);
}

/* Header Dropdowns */
.header-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    background: var(--bg-surface);
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(109,40,217,0.12);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    animation: dropIn 0.15s ease;
    overflow: hidden;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.notifications-dropdown { width: 340px; }
.profile-dropdown { width: 220px; }

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1rem 0.6rem;
    border-bottom: 1px solid #e9d5ff;
    border-bottom: 1px solid var(--border-light);
}
.dropdown-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e1b4b;
    color: var(--text-primary);
}
.clear-all {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9333ea;
    color: var(--purple-600);
    background: none;
    border: none;
    cursor: pointer;
}
.dropdown-list { max-height: 300px; overflow-y: auto; }

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9d5ff;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: background var(--t-fast);
    cursor: pointer;
}
.dropdown-item:hover { background: #faf5ff; background: var(--bg-hover); }
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item.unread { background: #faf5ff; background: var(--purple-50); }

.item-icon { font-size: 1.25rem; flex-shrink: 0; }
.item-body h4 { font-size: 0.8rem; font-weight: 600; color: #1e1b4b; color: var(--text-primary); margin-bottom: 0.15rem; }
.item-body p  { font-size: 0.72rem; color: #475569; color: var(--text-secondary); line-height: 1.4; }
.item-body .time { font-size: 0.65rem; color: #94a3b8; color: var(--text-muted); margin-top: 0.25rem; display: block; }

.profile-top {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e9d5ff;
    border-bottom: 1px solid var(--border-light);
}
.avatar-large {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #c084fc);
    background: linear-gradient(135deg, var(--purple-500), var(--purple-400));
    color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 auto 0.5rem;
}
.profile-top h4 { font-size: 0.9rem; font-weight: 700; color: #1e1b4b; color: var(--text-primary); }
.profile-top p  { font-size: 0.72rem; color: #94a3b8; color: var(--text-muted); }

.profile-menu { padding: 0.5rem; }
.menu-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #475569;
    color: var(--text-secondary);
    text-decoration: none;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: all var(--t-fast);
    text-align: left;
}
.menu-item:hover { background: #faf5ff; background: var(--bg-hover); color: #7e22ce; color: var(--purple-700); }

/* ── Content ─────────────────────────────────────────────── */
.dashboard-content-new {
    flex: 1 1;
    padding: 1.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    min-height: 0;
    min-width: 0;
}

/* ── Overlay ─────────────────────────────────────────────── */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 999;
    -webkit-backdrop-filter: blur(2px);
            backdrop-filter: blur(2px);
}

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,12,41,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}
.modal-content {
    background: #ffffff;
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 2rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(109,40,217,0.12);
    box-shadow: var(--shadow-lg);
    border: 1px solid #e9d5ff;
    border: 1px solid var(--border-light);
    animation: modalPop 0.2s ease;
}
@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.modal-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.modal-content h3 { font-size: 1.15rem; font-weight: 700; color: #1e1b4b; color: var(--text-primary); margin-bottom: 0.5rem; }
.modal-content p  { font-size: 0.88rem; color: #475569; color: var(--text-secondary); margin-bottom: 1.25rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: center; }

.modal-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
    transition: all var(--t-fast);
}
.modal-btn.cancel {
    background: #faf5ff;
    background: var(--bg-hover);
    border-color: #e9d5ff;
    border-color: var(--border-light);
    color: #475569;
    color: var(--text-secondary);
}
.modal-btn.cancel:hover { border-color: #d8b4fe; border-color: var(--border-medium); }
.modal-btn.confirm {
    background: #ef4444;
    color: white;
}
.modal-btn.confirm:hover { background: #dc2626; }

/* ── Mobile Bottom Nav ───────────────────────────────────── */
.mobile-bottom-nav { display: none; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root {
        --mobile-bottom-nav-space: 7.25rem;
        --mobile-bottom-nav-height: 4.75rem;
    }

    .dashboard-container,
    .dashboard-wrapper,
    .dashboard-content-new {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .sidebar-brand {
        padding: 1rem 1rem 0.85rem 1.1rem;
    }
    .sidebar-logo {
        height: 52px;
        max-width: 172px;
    }
    .dashboard-sidebar {
        width: min(86vw, 260px);
        width: min(86vw, var(--sidebar-width));
        transform: translateX(-100%);
    }
    .dashboard-sidebar.mobile-open {
        transform: translateX(0);
    }
    .dashboard-wrapper {
        margin-left: 0;
    }
    .mobile-toggle {
        display: flex;
    }
    .dashboard-header-new {
        padding: 0 1rem;
        gap: 0.75rem;
    }
    .page-title {
        font-size: 1rem;
    }
    .header-profile-btn .name-info { display: none; }

    .header-right {
        gap: 0.45rem;
    }

    .header-actions {
        position: static;
    }

    .header-btn,
    .header-profile-btn .avatar {
        width: 36px;
        height: 36px;
    }

    .header-profile-btn {
        padding: 0.2rem;
    }

    .profile-chevron {
        display: none;
    }

    .notifications-dropdown,
    .profile-dropdown {
        position: fixed;
        top: calc(68px + 8px);
        top: calc(var(--header-height) + 8px);
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        max-width: none;
    }

    .dropdown-list {
        max-height: min(52vh, 360px);
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: #ffffff;
        background: var(--bg-surface);
        border-top: 1px solid #e9d5ff;
        border-top: 1px solid var(--border-light);
        padding: 0.5rem 0.25rem calc(0.5rem + env(safe-area-inset-bottom));
        justify-content: space-around;
        z-index: 900;
        box-shadow: 0 -4px 20px rgba(109,40,217,0.08);
    }
    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.6rem;
        font-weight: 600;
        color: #94a3b8;
        color: var(--text-muted);
        text-decoration: none;
        padding: 0.3rem 0.75rem;
        border-radius: 10px;
        transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
        transition: all var(--t-fast);
    }
    .bottom-nav-item.active { color: #9333ea; color: var(--purple-600); }
    .bottom-nav-item .nav-icon { font-size: 1.2rem; }
    .dashboard-content-new {
        padding: 1rem 0.75rem calc(var(--mobile-bottom-nav-space) + env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
        min-height: 0;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 62px;
        --mobile-bottom-nav-space: 8rem;
    }

    .dashboard-header-new {
        padding: 0 0.75rem;
    }

    .page-title {
        font-size: 0.92rem;
        max-width: 42vw;
    }

    .modal-content {
        padding: 1.35rem;
        border-radius: 16px;
    }

    .modal-actions {
        flex-direction: column-reverse;
    }

    .modal-btn {
        width: 100%;
    }
}


/*# sourceMappingURL=main.dbbce5bf.css.map*/