/* ===================================
   MOBILOANS APP — DESIGN SYSTEM
   Mobile-first fintech with bold modern aesthetic
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --purple: #5B47FB;
  --purple-dark: #4937D6;
  --purple-light: #8576FF;
  --purple-pale: #EEEBFF;

  --yellow: #FFD93D;
  --yellow-dark: #F5C518;

  --coral: #FF6B6B;
  --coral-dark: #E55656;

  --mint: #00D2A6;
  --mint-dark: #00B591;

  /* Neutrals */
  --dark: #0E0E2C;
  --dark-soft: #1F1F3D;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  --white: #FFFFFF;
  --cream: #FDFCFA;

  /* Fonts */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing & Sizing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(14, 14, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(14, 14, 44, 0.08);
  --shadow-lg: 0 20px 50px rgba(14, 14, 44, 0.12);
  --shadow-xl: 0 30px 80px rgba(91, 71, 251, 0.18);
  --shadow-glow: 0 0 60px rgba(91, 71, 251, 0.4);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--gray-700); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announce {
  background: var(--dark);
  color: white;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.announce strong {
  background: var(--yellow);
  color: var(--dark);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(91, 71, 251, 0.3);
}

.logo-text span {
  color: var(--purple);
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}

.nav a:hover { color: var(--purple); }
.nav a.active { color: var(--purple); font-weight: 600; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 8px 24px rgba(91, 71, 251, 0.3);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(91, 71, 251, 0.4);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 6px 18px rgba(255, 217, 61, 0.4);
}

.btn-yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: white;
}

.btn-dark:hover { background: var(--dark-soft); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}

.btn-ghost:hover { color: var(--purple); }

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1.15rem 2.5rem;
  font-size: 1.05rem;
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow { transform: translateX(3px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, #FAFAFF 0%, #FFFFFF 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 71, 251, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1.5px solid var(--purple-pale);
  color: var(--purple);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(0, 210, 166, 0.6);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 210, 166, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(0, 210, 166, 0); }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero h1 .highlight-yellow {
  background: linear-gradient(90deg, var(--yellow-dark) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 2.25rem;
  max-width: 520px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  display: block;
  font-size: 0.825rem;
  color: var(--gray-500);
  margin-top: 0.35rem;
  font-weight: 500;
}

/* ===== PHONE MOCKUP ===== */
.phone-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 
    0 40px 80px rgba(14, 14, 44, 0.3),
    0 0 0 1px rgba(255,255,255,0.05) inset,
    var(--shadow-glow);
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FAFAFF 0%, white 60%);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--dark);
  border-radius: 14px;
  z-index: 3;
}

.phone-app {
  padding: 56px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.phone-greeting {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.phone-username {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.phone-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.phone-balance-card {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 18px;
  padding: 18px 16px;
  color: white;
  box-shadow: 0 10px 28px rgba(91, 71, 251, 0.35);
  position: relative;
  overflow: hidden;
}

.phone-balance-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.phone-balance-label {
  font-size: 0.7rem;
  opacity: 0.85;
  margin-bottom: 3px;
  font-weight: 500;
}

.phone-balance-amount {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone-balance-cta {
  margin-top: 12px;
  background: white;
  color: var(--purple);
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.phone-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-quick-item {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}

.phone-quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-size: 1.05rem;
}

.phone-quick-icon.yellow { background: rgba(255, 217, 61, 0.18); color: var(--yellow-dark); }
.phone-quick-icon.mint { background: rgba(0, 210, 166, 0.15); color: var(--mint-dark); }
.phone-quick-icon.coral { background: rgba(255, 107, 107, 0.15); color: var(--coral); }
.phone-quick-icon.purple { background: rgba(91, 71, 251, 0.12); color: var(--purple); }

.phone-quick-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--dark);
}

.phone-tx {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-tx-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(0, 210, 166, 0.15);
  color: var(--mint-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.phone-tx-info {
  flex: 1;
  min-width: 0;
}

.phone-tx-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
}

.phone-tx-sub {
  font-size: 0.68rem;
  color: var(--gray-500);
  margin-top: 1px;
}

.phone-tx-amount {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mint-dark);
}

/* Floating decorative orbs around phone */
.phone-orb {
  position: absolute;
  border-radius: 50%;
  animation: float-orb 6s ease-in-out infinite;
}

.phone-orb-1 {
  top: 15%;
  left: -10%;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  box-shadow: 0 20px 40px rgba(255, 217, 61, 0.4);
  animation-delay: 0s;
}

.phone-orb-2 {
  bottom: 20%;
  right: -8%;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 0 20px 40px rgba(255, 107, 107, 0.4);
  animation-delay: 2s;
}

.phone-orb-3 {
  top: 50%;
  right: -15%;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 20px 40px rgba(0, 210, 166, 0.4);
  animation-delay: 4s;
  opacity: 0.85;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(15px, -20px) rotate(120deg); }
  66% { transform: translate(-10px, 15px) rotate(240deg); }
}

/* ===== APP STORE BUTTONS ===== */
.app-stores {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--dark);
  color: white;
  padding: 0.65rem 1.25rem;
  border-radius: 14px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}

.app-store-btn:hover {
  background: var(--dark-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 14, 44, 0.25);
}

.app-store-btn svg {
  width: 28px;
  height: 28px;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.app-store-text small {
  font-size: 0.65rem;
  opacity: 0.8;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.app-store-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
}

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

.section-dark {
  background: var(--dark);
  color: white;
}

.section-dark h1, .section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: rgba(255, 255, 255, 0.75); }

.section-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: white;
}

.section-purple h2 { color: white; }
.section-purple p { color: rgba(255, 255, 255, 0.85); }

.section-gray {
  background: var(--gray-50);
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 1rem;
}

.section-dark .section-eyebrow,
.section-purple .section-eyebrow {
  color: var(--yellow);
}

.section-head h2 {
  margin-bottom: 1rem;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--gray-600, var(--gray-700));
}

/* ===== TRUSTED-BY BAR ===== */
.trusted-by {
  padding: 3rem 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trusted-by-label {
  text-align: center;
  font-size: 0.825rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 2rem;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.55;
  filter: grayscale(1);
}

.trusted-logos span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--gray-700);
}

/* ===== BENTO GRID — PRODUCTS ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1.25rem;
}

.bento-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.bento-card.feature {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  border: none;
}

.bento-card.feature h3 { color: white; }
.bento-card.feature p { color: rgba(255, 255, 255, 0.85); }

.bento-card.yellow {
  background: var(--yellow);
  border-color: var(--yellow-dark);
}

.bento-card.dark {
  background: var(--dark);
  color: white;
}

.bento-card.dark h3 { color: white; }
.bento-card.dark p { color: rgba(255, 255, 255, 0.75); }

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.bento-card.feature .bento-icon {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.bento-card.yellow .bento-icon {
  background: var(--dark);
  color: var(--yellow);
}

.bento-card.dark .bento-icon {
  background: var(--purple);
  color: white;
}

.bento-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.bento-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple);
  margin-top: auto;
  transition: var(--transition);
}

.bento-card.feature .bento-link,
.bento-card.dark .bento-link {
  color: var(--yellow);
}

.bento-card.yellow .bento-link {
  color: var(--dark);
}

.bento-link:hover { gap: 0.6rem; }

/* Floating decorative numbers in bento cards */
.bento-big-num {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  line-height: 0.8;
  opacity: 0.08;
  letter-spacing: -0.05em;
  pointer-events: none;
}

/* ===== HOW IT WORKS — STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-pale), var(--purple-pale), var(--purple-pale), transparent);
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  background: white;
  border: 2.5px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--purple);
  box-shadow: 0 8px 24px rgba(91, 71, 251, 0.18);
}

.step-item h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.step-item p {
  font-size: 0.9rem;
  color: var(--gray-600, var(--gray-500));
}

/* ===== TESTIMONIALS / REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  color: var(--yellow);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-size: 1.02rem;
  color: var(--gray-900);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

.review-avatar.a1 { background: linear-gradient(135deg, var(--purple), var(--purple-light)); }
.review-avatar.a2 { background: linear-gradient(135deg, var(--coral), var(--yellow-dark)); }
.review-avatar.a3 { background: linear-gradient(135deg, var(--mint), var(--purple)); }
.review-avatar.a4 { background: linear-gradient(135deg, var(--yellow), var(--coral)); }
.review-avatar.a5 { background: linear-gradient(135deg, var(--purple-light), var(--mint)); }
.review-avatar.a6 { background: linear-gradient(135deg, var(--coral), var(--purple)); }

.review-name strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}

.review-name span {
  display: block;
  font-size: 0.825rem;
  color: var(--gray-500);
  margin-top: 1px;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--purple-pale); }
.faq-item.active { border-color: var(--purple); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--purple-pale);
  color: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  background: var(--purple);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== CTA BANNER ===== */
.cta-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-card::before {
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.25) 0%, transparent 70%);
}

.cta-card::after {
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.25) 0%, transparent 70%);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-app-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: white;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover { color: white; }

.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social:hover {
  background: var(--purple);
  color: white;
  transform: translateY(-2px);
}

.footer-disclaimer {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--purple-dark) 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 107, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

.page-header .breadcrumb a {
  color: var(--yellow);
  font-weight: 600;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===================================
   NEW SECTIONS — homepage enhancements
   =================================== */

/* ===== LIVE TICKER ===== */
.ticker-bar {
  background: var(--dark);
  color: white;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.ticker-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.ticker-dot {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 50%;
  animation: live-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 210, 166, 0.7); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(0, 210, 166, 0); transform: scale(1.15); }
}

.ticker-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--yellow);
  font-size: 1.05rem;
}

/* ===== LOAN CALCULATOR ===== */
.calc-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #FAFAFF 0%, white 100%);
}

.calc-widget {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-controls h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.calc-controls > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.calc-field {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--gray-700);
  font-weight: 500;
}

.calc-label .calc-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--purple);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--gray-100);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--purple);
  border: 4px solid white;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 4px 16px rgba(91, 71, 251, 0.5);
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--purple);
  border: 4px solid white;
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 4px 16px rgba(91, 71, 251, 0.5);
}

.calc-purpose-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calc-tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-700);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.calc-tab:hover { border-color: var(--purple); color: var(--purple); }
.calc-tab.active { background: var(--purple); color: white; border-color: var(--purple); }

.calc-result {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.calc-result::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.calc-result-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--yellow);
  margin-bottom: 0.5rem;
  position: relative;
}

.calc-monthly {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  position: relative;
}

.calc-monthly small {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-left: 0.25rem;
}

.calc-monthly-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.calc-breakdown-item span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}

.calc-breakdown-item strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
}

.calc-cta {
  width: 100%;
  margin-top: 1.5rem;
  position: relative;
}

.calc-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.85rem;
  line-height: 1.4;
  position: relative;
}

/* ===== APP SCREENS GALLERY ===== */
.screens-section {
  padding: 6rem 0;
  background: var(--dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.screens-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 71, 251, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.screens-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.screens-section h2 { color: white; }
.screens-section p { color: rgba(255,255,255,0.75); }

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.screen-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 0;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.screen-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.screen-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--purple);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.screen-card h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.screen-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.screen-mockup {
  width: 100%;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 1rem 1rem 0;
  margin-top: auto;
  min-height: 220px;
  position: relative;
}

.screen-mockup-notch {
  width: 50px;
  height: 14px;
  background: var(--dark);
  border-radius: 8px;
  margin: 0 auto 12px;
}

.screen-mockup-content {
  text-align: left;
  color: var(--dark);
}

.screen-mockup-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.screen-mockup-bar {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  margin-bottom: 6px;
}

.screen-mockup-bar.purple { background: var(--purple); width: 70%; }
.screen-mockup-bar.yellow { background: var(--yellow); width: 50%; }
.screen-mockup-bar.mint { background: var(--mint); width: 85%; }

.screen-mockup-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.screen-mockup-pill {
  flex: 1;
  height: 24px;
  background: var(--gray-100);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--gray-700);
  font-weight: 600;
}

.screen-mockup-pill.active {
  background: var(--purple);
  color: white;
}

.screen-mockup-big {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.screen-mockup-circle {
  width: 60px;
  height: 60px;
  margin: 8px auto;
  border-radius: 50%;
  background: conic-gradient(var(--mint) 75%, var(--gray-100) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.screen-mockup-circle::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: white;
  border-radius: 50%;
}

.screen-mockup-circle span {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

/* ===== USE CASES ===== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.usecase-card {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: left;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.usecase-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.usecase-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.usecase-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.usecase-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.usecase-card .usecase-stat {
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--gray-200);
}

/* ===== COMPARISON TABLE ===== */
.compare-wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.compare-table thead th {
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: 2px solid var(--gray-100);
  background: var(--gray-50);
  color: var(--gray-700);
}

.compare-table thead th.us {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
  position: relative;
}

.compare-table thead th.us::before {
  content: '★ BEST';
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

.compare-table tbody td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
  text-align: center;
  color: var(--gray-700);
}

.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  background: var(--gray-50);
}

.compare-table tbody td.us {
  background: rgba(91, 71, 251, 0.04);
  color: var(--dark);
  font-weight: 600;
}

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

.compare-check {
  color: var(--mint-dark);
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-block;
}

.compare-x {
  color: var(--coral);
  font-size: 1.3rem;
  font-weight: 700;
  display: inline-block;
}

/* ===== AWARDS ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.award-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.award-card:hover {
  border-color: var(--purple-pale);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.award-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.3rem;
}

.award-card h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

.award-card span {
  font-size: 0.72rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== ELIGIBILITY CHECKLIST ===== */
.eligibility-section {
  background: linear-gradient(135deg, var(--purple-pale) 0%, white 100%);
  padding: 5rem 0;
}

.eligibility-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.eligibility-left h3 {
  margin-bottom: 0.5rem;
}

.eligibility-left p {
  color: var(--gray-600, var(--gray-500));
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.eligibility-right {
  border-left: 2px solid var(--gray-100);
  padding-left: 3rem;
}

.elig-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.elig-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

.elig-check {
  width: 24px;
  height: 24px;
  background: var(--mint);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1px;
}

/* ===== BLOG PREVIEW ===== */
.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-preview-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple-pale);
}

.blog-preview-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.blog-preview-card:hover .blog-preview-img {
  filter: brightness(1.05);
}

/* Subtle gradient overlay at bottom for depth */
.blog-preview-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,44,0) 60%, rgba(14,14,44,0.25) 100%);
  pointer-events: none;
}

/* Credit 101 - growth/savings theme */
.blog-img-1 {
  background-image: url('https://images.unsplash.com/photo-1579621970588-a35d0e7ab9b6?w=800&auto=format&fit=crop&q=80');
}

/* Debt strategy - calculator + money */
.blog-img-2 {
  background-image: url('https://images.unsplash.com/photo-1725258080098-727051947997?w=800&auto=format&fit=crop&q=80');
}

/* Emergency funds - savings jar */
.blog-img-3 {
  background-image: url('https://images.unsplash.com/photo-1633158829556-6ea20ad39b4f?w=800&auto=format&fit=crop&q=80');
}

.blog-preview-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  padding: 0.25rem 0.7rem;
  background: var(--purple-pale);
  border-radius: 999px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.blog-preview-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: var(--dark);
}

.blog-preview-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.5;
}

.blog-preview-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

/* ===== NEWSLETTER SIGNUP ===== */
.newsletter-banner {
  background: linear-gradient(135deg, var(--yellow) 0%, #FFE16E 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(91, 71, 251, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-text {
  position: relative;
}

.newsletter-text h3 {
  color: var(--dark);
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.newsletter-text p {
  color: rgba(14,14,44,0.7);
  margin: 0;
  font-size: 0.95rem;
}

.newsletter-form {
  position: relative;
  display: flex;
  gap: 0.5rem;
  background: white;
  padding: 0.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(14,14,44,0.1);
}

.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  color: var(--dark);
  min-width: 0;
}

.newsletter-form button {
  background: var(--dark);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--purple); transform: scale(1.02); }

/* Responsive for new sections */
@media (max-width: 1024px) {
  .calc-widget { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .screens-grid { grid-template-columns: 1fr 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .eligibility-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .eligibility-right { border-left: none; padding-left: 0; border-top: 2px solid var(--gray-100); padding-top: 2rem; }
  .blog-preview-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-banner { grid-template-columns: 1fr; }
  .ticker-content { gap: 1rem; font-size: 0.8rem; }
}

@media (max-width: 768px) {
  .screens-grid, .usecase-grid, .blog-preview-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-table { font-size: 0.8rem; }
  .compare-table thead th { padding: 1rem 0.5rem; font-size: 0.85rem; }
  .compare-table tbody td { padding: 0.8rem 0.6rem; }
  .calc-monthly { font-size: 2.5rem; }
  .ticker-content { flex-direction: column; align-items: flex-start; gap: 0.65rem; padding: 0 1rem; }
  .newsletter-form { flex-direction: column; padding: 0.65rem; border-radius: 18px; }
  .newsletter-form input { width: 100%; }
  .newsletter-form button { width: 100%; }
  .eligibility-wrap { padding: 2rem 1.5rem; }
}


/* ===== HERO FORM CARD (replaces phone mockup) ===== */
.hero-form-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-form-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 
    0 30px 80px rgba(91, 71, 251, 0.18),
    0 8px 24px rgba(14, 14, 44, 0.06);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-form-header {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  padding: 2rem 1.75rem 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-form-header::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  position: relative;
}

.form-eyebrow .hero-eyebrow-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.6);
}

.hero-form-header h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  position: relative;
  line-height: 1.2;
}

.hero-form-header h3 em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 500;
}

.hero-form-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  margin: 0;
  position: relative;
}

.hero-form-body {
  padding: 1.75rem 1.75rem 1.25rem;
  min-height: 280px;
}

.hero-form-foot {
  padding: 1rem 1.75rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-500);
  text-align: center;
}

.hero-form-foot svg {
  color: var(--mint-dark);
  flex-shrink: 0;
}

/* Keep the floating orbs around the form */
.form-orb {
  position: absolute;
  border-radius: 50%;
  animation: float-orb 6s ease-in-out infinite;
  z-index: 1;
}

.form-orb-1 {
  top: 10%;
  left: -8%;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  box-shadow: 0 16px 32px rgba(255, 217, 61, 0.4);
  animation-delay: 0s;
}

.form-orb-2 {
  bottom: 15%;
  right: -6%;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  box-shadow: 0 16px 32px rgba(255, 107, 107, 0.4);
  animation-delay: 2s;
}

.form-orb-3 {
  top: 55%;
  right: -10%;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 16px 32px rgba(0, 210, 166, 0.4);
  animation-delay: 4s;
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .hero-form-wrap { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hero-form-card { max-width: 100%; }
  .form-orb { display: none; }
}


/* ===== BENTO GRID V2 — REDESIGNED ===== */
.bento-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-tile {
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  border: 1px solid transparent;
}

.bento-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Top bar with icon + tag */
.bento-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.bento-icon-2 {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bento-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

/* Big stat block */
.bento-stat {
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.bento-stat-big {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.bento-stat-big small {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0;
}

.bento-stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0.9;
}

/* Body */
.bento-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.bento-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.bento-tile p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

/* Feature pills */
.bento-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  position: relative;
  z-index: 2;
}

.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.bento-link-2 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  margin-top: 1rem;
  transition: gap 0.25s ease;
}

.bento-link-2:hover { gap: 0.7rem; }

/* === Variant: Purple Gradient (Cash Advance) === */
.bento-tile.t-purple {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: white;
}

.bento-tile.t-purple .bento-icon-2 {
  background: rgba(255, 255, 255, 0.18);
  color: var(--yellow);
  backdrop-filter: blur(10px);
}

.bento-tile.t-purple .bento-tag {
  background: var(--yellow);
  color: var(--dark);
}

.bento-tile.t-purple .bento-stat-big { color: white; }
.bento-tile.t-purple .bento-stat-label { color: rgba(255,255,255,0.75); }
.bento-tile.t-purple p { color: rgba(255,255,255,0.82); }

.bento-tile.t-purple .bento-pill {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
}

.bento-tile.t-purple .bento-link-2 { color: var(--yellow); }

/* Decorative lightning pattern */
.bento-tile.t-purple::before {
  content: '⚡';
  position: absolute;
  top: 60%;
  right: -10px;
  font-size: 9rem;
  opacity: 0.07;
  transform: rotate(-15deg);
  pointer-events: none;
}

.bento-tile.t-purple::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* === Variant: Dark (Personal Loan) === */
.bento-tile.t-dark {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: white;
}

.bento-tile.t-dark .bento-icon-2 {
  background: rgba(91, 71, 251, 0.25);
  color: var(--purple-light);
}

.bento-tile.t-dark .bento-tag {
  background: var(--mint);
  color: var(--dark);
}

.bento-tile.t-dark .bento-stat-big { color: white; }
.bento-tile.t-dark .bento-stat-label { color: rgba(255,255,255,0.6); }
.bento-tile.t-dark p { color: rgba(255,255,255,0.7); }

.bento-tile.t-dark .bento-pill {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
}

.bento-tile.t-dark .bento-link-2 { color: var(--mint); }

/* Decorative subtle pattern */
.bento-tile.t-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(91, 71, 251, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(0, 210, 166, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.bento-tile.t-dark::after {
  content: '$';
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  opacity: 0.05;
  color: white;
  pointer-events: none;
}

/* === Variant: Yellow (Credit Builder) === */
.bento-tile.t-yellow {
  background: linear-gradient(135deg, var(--yellow) 0%, #FFE16E 100%);
  color: var(--dark);
}

.bento-tile.t-yellow .bento-icon-2 {
  background: var(--dark);
  color: var(--yellow);
}

.bento-tile.t-yellow .bento-tag {
  background: var(--dark);
  color: var(--yellow);
}

.bento-tile.t-yellow .bento-stat-big { color: var(--dark); }
.bento-tile.t-yellow .bento-stat-label { color: rgba(14,14,44,0.7); }
.bento-tile.t-yellow p { color: rgba(14,14,44,0.75); }

.bento-tile.t-yellow .bento-pill {
  background: rgba(14, 14, 44, 0.1);
  color: var(--dark);
  border: 1px solid rgba(14, 14, 44, 0.15);
}

.bento-tile.t-yellow .bento-link-2 { color: var(--dark); }

/* Rising chart decoration */
.bento-tile.t-yellow::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background-image: 
    linear-gradient(180deg, transparent 0%, rgba(14,14,44,0.08) 100%);
  clip-path: polygon(0 100%, 0 90%, 20% 70%, 40% 75%, 60% 50%, 80% 40%, 100% 20%, 100% 100%);
  pointer-events: none;
}

.bento-tile.t-yellow::after {
  content: '↑';
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 8rem;
  font-weight: 700;
  opacity: 0.08;
  color: var(--dark);
  pointer-events: none;
}

/* === Variant: Light Mint (Support) === */
.bento-tile.t-mint {
  background: linear-gradient(135deg, rgba(0, 210, 166, 0.08) 0%, white 100%);
  color: var(--dark);
  border-color: rgba(0, 210, 166, 0.2);
}

.bento-tile.t-mint .bento-icon-2 {
  background: var(--mint);
  color: white;
}

.bento-tile.t-mint .bento-tag {
  background: rgba(0, 210, 166, 0.18);
  color: var(--mint-dark);
}

.bento-tile.t-mint .bento-stat-big { color: var(--mint-dark); }
.bento-tile.t-mint .bento-stat-label { color: var(--gray-700); }
.bento-tile.t-mint p { color: var(--gray-700); }

.bento-tile.t-mint .bento-pill {
  background: white;
  color: var(--dark);
  border: 1px solid var(--gray-200);
}

.bento-tile.t-mint .bento-link-2 { color: var(--mint-dark); }

.bento-tile.t-mint::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 210, 166, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* === Variant: Light Purple (Security) === */
.bento-tile.t-light-purple {
  background: linear-gradient(135deg, var(--purple-pale) 0%, white 100%);
  color: var(--dark);
  border-color: rgba(91, 71, 251, 0.18);
}

.bento-tile.t-light-purple .bento-icon-2 {
  background: var(--purple);
  color: white;
}

.bento-tile.t-light-purple .bento-tag {
  background: rgba(91, 71, 251, 0.15);
  color: var(--purple);
}

.bento-tile.t-light-purple .bento-stat-big { color: var(--purple); }
.bento-tile.t-light-purple .bento-stat-label { color: var(--gray-700); }
.bento-tile.t-light-purple p { color: var(--gray-700); }

.bento-tile.t-light-purple .bento-pill {
  background: white;
  color: var(--purple);
  border: 1px solid rgba(91, 71, 251, 0.2);
  font-weight: 700;
}

.bento-tile.t-light-purple .bento-link-2 { color: var(--purple); }

.bento-tile.t-light-purple::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(91, 71, 251, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* === Variant: Coral-Yellow Gradient (Refer) — FEATURE === */
.bento-tile.t-gradient {
  background: linear-gradient(135deg, var(--coral) 0%, var(--yellow) 100%);
  color: white;
}

.bento-tile.t-gradient .bento-icon-2 {
  background: rgba(255, 255, 255, 0.22);
  color: white;
  backdrop-filter: blur(10px);
}

.bento-tile.t-gradient .bento-tag {
  background: var(--dark);
  color: var(--yellow);
}

.bento-tile.t-gradient .bento-stat-big { color: white; }
.bento-tile.t-gradient .bento-stat-label { color: rgba(255,255,255,0.85); }
.bento-tile.t-gradient h3 { color: white; }
.bento-tile.t-gradient p { color: rgba(255,255,255,0.9); }

.bento-tile.t-gradient .bento-pill {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.bento-tile.t-gradient .bento-link-2 { color: white; }

/* Sparkly star decorations */
.bento-tile.t-gradient::before {
  content: '★';
  position: absolute;
  top: 15%;
  right: 8%;
  font-size: 3rem;
  opacity: 0.18;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
}

.bento-tile.t-gradient::after {
  content: '★';
  position: absolute;
  bottom: 20%;
  right: 25%;
  font-size: 1.5rem;
  opacity: 0.25;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

@media (max-width: 1024px) {
  .bento-v2 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .bento-v2 { grid-template-columns: 1fr; }
  .bento-tile { min-height: 280px; padding: 1.75rem; }
  .bento-stat-big { font-size: 2.25rem; }
}


/* ===================================
   INNER PAGE STYLES
   =================================== */

/* ===== PRODUCT FEATURE BLOCK ===== */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}

.product-feature.reverse {
  direction: rtl;
}

.product-feature.reverse > * {
  direction: ltr;
}

.product-feature-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.product-feature-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14,14,44,0.2) 100%);
  pointer-events: none;
}

.product-feature-content .product-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.product-feature-content h2 {
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.product-feature-content .product-lead {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.product-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
}

.product-features-list .feature-tick {
  width: 26px;
  height: 26px;
  background: var(--mint);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

.product-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-100);
  margin-bottom: 2rem;
}

.product-stat-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.product-stat-block span {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ===== TEAM GRID ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-pale);
  box-shadow: var(--shadow-md);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  background-size: cover;
  background-position: center;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(14,14,44,0.1);
}

.team-photo-gradient {
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
}

.team-photo-gradient.g2 { background: linear-gradient(135deg, var(--coral), var(--yellow-dark)); }
.team-photo-gradient.g3 { background: linear-gradient(135deg, var(--mint), var(--purple)); }
.team-photo-gradient.g4 { background: linear-gradient(135deg, var(--yellow), var(--coral)); }

.team-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--gray-600, var(--gray-500));
  line-height: 1.55;
}

.team-card .team-meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-pale) 100%);
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -2.65rem;
  top: 0.25rem;
  width: 32px;
  height: 32px;
  background: white;
  border: 3px solid var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 2;
}

.timeline-year {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--purple-pale);
  color: var(--purple);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.timeline-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.timeline-item p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== VALUES GRID ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-pale);
}

.value-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--purple-pale);
  line-height: 1;
  letter-spacing: -0.03em;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
}

.value-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
  position: relative;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
  position: relative;
}

/* ===== OFFICE/CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-channel {
  background: white;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-channel:hover {
  border-color: var(--purple);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--purple-pale);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon.mint { background: rgba(0,210,166,0.15); color: var(--mint-dark); }
.contact-channel-icon.coral { background: rgba(255,107,107,0.15); color: var(--coral); }
.contact-channel-icon.yellow { background: rgba(255,217,61,0.2); color: var(--yellow-dark); }

.contact-channel h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--dark);
}

.contact-channel p {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.contact-channel a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple);
}

.contact-channel a:hover { text-decoration: underline; }

/* Contact form */
.contact-form-wrap {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.contact-form-wrap > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91, 71, 251, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

/* Office card */
.office-card {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.office-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.office-body {
  padding: 1.5rem;
}

.office-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.office-body address {
  font-style: normal;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.office-body .office-hours {
  font-size: 0.85rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  padding-top: 0.85rem;
}

/* ===== BLOG PAGE ===== */
.blog-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--purple-dark) 100%);
  color: white;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.blog-hero::before, .blog-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blog-hero::before {
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.15) 0%, transparent 70%);
}

.blog-hero::after {
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 166, 0.12) 0%, transparent 70%);
}

.blog-hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.blog-hero h1 {
  color: white;
  margin-bottom: 1rem;
}

.blog-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.blog-filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: white;
  border: 1.5px solid var(--gray-200);
  color: var(--gray-700);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.blog-filter-btn:hover { border-color: var(--purple); color: var(--purple); }
.blog-filter-btn.active { background: var(--purple); color: white; border-color: var(--purple); }

.blog-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-featured {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin-bottom: 1rem;
  min-height: 380px;
}

.blog-featured-img {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.blog-featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body .featured-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 1rem;
  width: fit-content;
}

.blog-featured-body h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-featured-body p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===== LEGAL PAGES ===== */
.legal-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1140px;
  margin: 0 auto;
}

.legal-toc {
  position: sticky;
  top: 100px;
  padding: 1.75rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}

.legal-toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.legal-toc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-toc a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--gray-700);
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.legal-toc a:hover {
  background: white;
  color: var(--purple);
}

.legal-content {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.legal-content h2:first-child {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li { margin-bottom: 0.5rem; }

.legal-content strong { color: var(--dark); font-weight: 600; }

.legal-meta {
  background: var(--purple-pale);
  border-left: 3px solid var(--purple);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sitemap-section {
  background: white;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.sitemap-section h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--dark);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-100);
}

.sitemap-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sitemap-section a {
  display: block;
  padding: 0.4rem 0;
  color: var(--gray-700);
  font-size: 0.92rem;
  transition: var(--transition);
}

.sitemap-section a:hover { color: var(--purple); padding-left: 0.5rem; }

/* Responsive inner pages */
@media (max-width: 1024px) {
  .product-feature { grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 4rem; }
  .product-feature.reverse { direction: ltr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-articles { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; grid-column: span 2; }
  .blog-featured-body { padding: 2rem; }
  .legal-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .legal-toc { position: static; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .team-grid, .values-grid, .blog-articles, .sitemap-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-stats-row { grid-template-columns: 1fr; gap: 1rem; }
  .legal-content { padding: 2rem 1.5rem; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .phone-container { transform: scale(0.85); }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.feature { grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 768px) {
  .nav { 
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }
  .nav.open { display: flex; }
  .mobile-toggle { display: flex; }
  .nav-cta .btn:not(.mobile-toggle ~ *) { display: none; }
  
  .section { padding: 4rem 0; }
  .hero { padding: 3rem 0 4rem; }
  .hero-stats { gap: 1.5rem; }
  .bento, .reviews-grid { grid-template-columns: 1fr; }
  .bento-card.feature { grid-column: span 1; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .cta-card { padding: 3rem 1.5rem; }
  .phone-container { transform: scale(0.78); margin: 0 auto; }
}



/* Apply form arrival highlight — brief flash when user navigates to #apply */
#apply.form-arrived {
  animation: applyArrived 1.6s ease-out;
}

@keyframes applyArrived {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.5);
    transform: scale(1);
  }
  20% {
    box-shadow: 0 0 0 12px rgba(255, 217, 61, 0.35), 0 30px 80px rgba(91, 71, 251, 0.25);
    transform: scale(1.015);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 217, 61, 0);
    transform: scale(1);
  }
}

#apply {
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  scroll-margin-top: 100px; /* native fallback for non-JS hash scroll */
}





/* === Brand link in h1 — large text matching h1 styling === */
h1 .brand-link {
  display: block;            /* own line */
  color: var(--purple);      /* brand purple */
  text-decoration: none;     /* no underline */
  font-family: inherit;    /* inherit Space Grotesk display font */
  font-weight: inherit;    /* inherit bold 700 */
  font-size: inherit;      /* inherit h1 size */
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
  opacity: 1;
  margin: 0;
  }


/* h2 / h3 — inline brand mention (mid-phrase) */
h2 .brand-link, h3 .brand-link {
  color: var(--purple);
  text-decoration: none;
  font-weight: inherit;
  white-space: nowrap;
}


/* Dark section h2 — yellow for contrast */
.section-dark h2 .brand-link {
  color: var(--yellow);
}


/* Page-header h1 has purple gradient background — use lighter purple variant
   so MobiLoans stays purple-themed but visible against the dark background */
.page-header h1 .brand-link {
  color: var(--purple-light);  /* #8576FF — lighter, more vibrant on dark bg */
}
