/* OUR LOAN PRO - Main Stylesheet */
/* Updated: December 2025 */
/* Colors: #0b6ea8 (blue), #38b24a (green) */
/* Font: Inter */

/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary: #0b6ea8;
  --primary-dark: #085a8a;
  --primary-light: #3d8fc4;
  
  /* Secondary Colors */
  --secondary: #38b24a;
  --secondary-dark: #2d9a3e;
  --secondary-light: #5cc76b;
  
  /* Accent Colors */
  --accent-gold: #f4a41d;
  --accent-orange: #ff6b35;
  
  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  
  /* Functional */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Typography */
  --font-display: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--off-white);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

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

/* ===== HEADER & NAV ===== */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__image {
  height: 55px;
  width: auto;
}

.logo__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav__link {
  color: var(--gray-600);
  font-weight: 600;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary);
}

.nav__cta {
  background: var(--primary);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: background var(--transition-fast);
}

.nav__cta:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.nav__phone {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.nav__phone:hover {
  color: var(--primary);
}

.nav__login {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary);
  border-radius: 6px;
  transition: all var(--transition-fast);
  margin-left: 1rem;
}

.nav__login:hover {
  background: var(--primary);
  color: white;
}

.nav__user {
  position: relative;
  margin-left: 1rem;
}

.nav__user-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.nav__user-name::after {
  content: '';
  border: solid white;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.nav__user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  padding-top: 0.5rem;
  min-width: 180px;
  display: none;
  z-index: 100;
}

.nav__user-dropdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.5rem;
}

.nav__user:hover .nav__user-dropdown {
  display: block;
}

.nav__user-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  background: white;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.875rem;
  border-left: 1px solid var(--gray-200);
  border-right: 1px solid var(--gray-200);
}

.nav__user-dropdown a:first-child {
  border-top: 1px solid var(--gray-200);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.nav__user-dropdown a:last-child {
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0 0 8px 8px;
}

.nav__user-dropdown a:hover {
  background: var(--gray-50);
}

.nav__user-logout {
  color: var(--error, #dc2626) !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

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

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

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

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

.btn--gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 10px 18px rgba(11, 110, 168, 0.22);
}

.btn--gradient:hover {
  filter: brightness(1.06);
  color: var(--white);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--cta {
  background: var(--secondary);
  color: var(--white);
  width: 100%;
}

.btn--cta:hover {
  background: var(--secondary-dark);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ===== HERO SECTION (Original - kept for other pages) ===== */
.hero {
  background: var(--gray-100);
  color: var(--gray-800);
  padding: var(--space-3xl) 0 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.05;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(56, 178, 74, 0.15);
  color: var(--secondary-dark);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero__badge-icon {
  font-size: 1rem;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero__title span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero__cta-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Hero Card */
.hero__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  color: var(--gray-800);
}

.hero__card-title {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
}

.hero__card-rate {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.hero__card-rate-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: var(--space-xs);
}

.hero__card-rate-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero__card-rate-value span {
  font-size: 1.5rem;
}

.hero__card-badge {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: var(--space-lg);
}

/* ===== TICKER SECTION ===== */
.ticker-section {
  background: var(--white);
  padding: var(--space-lg) 0;
  margin-top: var(--space-3xl);
}

.ticker-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}

.ticker-wrapper {
  overflow: hidden;
  position: relative;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
}

.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--white) 100%);
}

.ticker-track {
  display: flex;
  gap: var(--space-2xl);
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  flex-shrink: 0;
}

.ticker-placeholder {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== CARDS GRID ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
  color: var(--white);
}

.card__icon--green {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
}

.card__icon--gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.card__description {
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  font-size: 0.9375rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--primary);
}

.card__link:hover {
  gap: var(--space-md);
}

.card__link--coming-soon {
  color: var(--gray-400);
  font-style: italic;
  cursor: default;
}

.card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--accent-gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
}

/* Coming Soon Cards */
.card--coming-soon {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.card--coming-soon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  border-radius: inherit;
}

.card__coming-soon {
  display: inline-block;
  background: var(--gray-400);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-top: var(--space-sm);
}

/* ===== SECTION HEADERS ===== */
.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

.section__label {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section__title {
  margin-bottom: var(--space-md);
}

.section__subtitle {
  color: var(--gray-600);
  font-size: 1.125rem;
}

/* ===== BADGE SHOWCASE ===== */
.badge-showcase {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.badge-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  min-width: 140px;
  transition: all var(--transition-base);
}

.badge-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.badge-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.75rem;
  color: var(--white);
}

.badge-item__icon--bronze {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
}

.badge-item__icon--silver {
  background: linear-gradient(135deg, #c0c0c0, #808080);
}

.badge-item__icon--gold {
  background: linear-gradient(135deg, #ffd700, #daa520);
}

.badge-item__icon--platinum {
  background: linear-gradient(135deg, #e5e4e2, #a0a0a0);
}

.badge-item__name {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: var(--space-xs);
}

.badge-item__discount {
  display: block;
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
}

/* ===== PROGRESS SECTION ===== */
.progress-section {
  max-width: 500px;
  margin: 0 auto;
}

.progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.progress__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.progress__value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.progress__bar {
  background: var(--gray-200);
  border-radius: var(--radius-full);
  height: 12px;
  overflow: hidden;
}

.progress__fill {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  height: 100%;
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

/* ===== FORMS ===== */
.form__group {
  margin-bottom: var(--space-lg);
}

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form__input {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 110, 168, 0.15);
}

.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-2xl);
}

/* ===== CALCULATOR ===== */
.calculator__result {
  text-align: center;
  padding: var(--space-xl);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-top: var(--space-xl);
}

.calculator__result-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: var(--space-xs);
}

.calculator__result-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

/* ===== AI CHAT ===== */
.ai-chat {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.ai-chat__header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.ai-chat__avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ai-chat__info h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin: 0;
}

.ai-chat__info p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

.ai-chat__messages {
  padding: var(--space-xl);
  min-height: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.ai-chat__message {
  margin-bottom: var(--space-lg);
  display: flex;
  gap: var(--space-md);
}

.ai-chat__message--ai {
  flex-direction: row;
}

.ai-chat__message--user {
  flex-direction: row-reverse;
}

.ai-chat__message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.ai-chat__message--ai .ai-chat__message-avatar {
  background: var(--primary);
  color: var(--white);
}

.ai-chat__message--user .ai-chat__message-avatar {
  background: var(--gray-200);
  color: var(--gray-600);
}

.ai-chat__message-content {
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  max-width: 70%;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.ai-chat__message--ai .ai-chat__message-content {
  background: var(--gray-100);
  color: var(--gray-800);
}

.ai-chat__message--user .ai-chat__message-content {
  background: var(--primary);
  color: var(--white);
}

.ai-chat__input-area {
  padding: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: var(--space-md);
}

.ai-chat__input {
  flex: 1;
  padding: var(--space-md);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-family: var(--font-body);
}

.ai-chat__input:focus {
  outline: none;
  border-color: var(--primary);
}

.ai-chat__send {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.ai-chat__send:hover {
  background: var(--primary-dark);
}

/* ===== COMMUNITY ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.community-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.community-card__header {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.community-card__avatar {
  width: 48px;
  height: 48px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.community-card__name {
  font-weight: 600;
}

.community-card__badges {
  display: flex;
  gap: var(--space-xs);
}

.community-card__mini-badge {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.community-card__content {
  padding: 0 var(--space-lg) var(--space-lg);
}

.community-card__quote {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.community-card__milestone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--success);
  color: var(--white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  /* Top to bottom gradient: blue to green */
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__logo .logo__icon {
  background: rgba(255, 255, 255, 0.2);
}

.footer__description {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0;
}

.footer__column {
  /* Column styling */
}

.footer__title {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer__bottom p {
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.8);
}

.footer__legal a:hover {
  color: var(--white);
}

/* ===== TOOL PAGE SPECIFIC ===== */
.tool-hero {
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  color: var(--white);
  padding: var(--space-2xl) 0;
}

.tool-hero__inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.tool-hero__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.tool-hero__title {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.tool-hero__subtitle {
  color: var(--gray-400);
  margin: 0;
}

.breadcrumb {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--gray-400);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ===== FEATURE LIST ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.feature {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature__icon {
  width: 48px;
  height: 48px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.feature__title {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.feature__description {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__content {
    max-width: 100%;
  }
  
  .hero__cta-group {
    justify-content: center;
  }
  
  .hero__stats {
    justify-content: center;
  }
  
  .hero__stat {
    text-align: center;
  }
  
  .hero__card {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__list {
    display: none;
  }
  
  .nav__cta {
    display: none;
  }
  
  .nav__toggle {
    display: flex;
  }

  .nav__list--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: var(--space-lg);
    gap: var(--space-md);
    animation: slideDown 0.3s ease-out;
  }

  .nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle--active span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .nav__phone,
  .nav__login,
  .nav__user {
    display: none;
  }

  .nav__list--open ~ .nav__phone,
  .nav__list--open ~ .nav__login,
  .nav__list--open ~ .nav__user {
    display: block;
    margin: 0;
    text-align: center;
  }

  .nav__list--open ~ .nav__login,
  .nav__list--open ~ .nav__user {
    margin-top: var(--space-sm);
  }

  .nav__list--open ~ .nav__user .nav__user-name {
    display: inline-flex;
    justify-content: center;
  }

  .nav__list--open ~ .nav__user .nav__user-dropdown {
    position: static;
    display: block;
    padding-top: var(--space-sm);
    min-width: auto;
  }

  .nav__list--open ~ .nav__user .nav__user-dropdown a {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: none;
  }

  .nav__list--open ~ .nav__user .nav__user-dropdown a:first-child {
    border-radius: 0;
    box-shadow: none;
  }

  .hero__title {
    font-size: 2rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .hero__stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .badge-showcase {
    gap: var(--space-md);
  }
  
  .badge-item {
    min-width: 120px;
    padding: var(--space-md);
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__brand {
    max-width: 100%;
  }
  
  .footer__logo {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .footer__legal {
    justify-content: center;
  }
}

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

/* ========================================
   HERO SECTION REDESIGN - OUR LOAN PRO
   Homepage hero with loan type selection
   ======================================== */

/* Hero Container */
/* Hero Container */
.hero-redesign {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  /* slightly smaller top/bottom padding so content sits higher */
  padding: 2rem 1.5rem 3rem;

  /* let content flow from the top instead of being vertically centered */
  min-height: auto;
  display: block;
}


.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Top Section: Logo + Headline */
.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* tighter space below the logo+text block */
  margin-bottom: 1.5rem;
}


/* Spinning Logo */
.hero-logo-wrapper {
  margin-bottom: 0.75rem;   /* was 1.5rem */
}

.spinning-coin-logo {
  width: 100px;
  height: 100px;
  animation: spin3d 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(11, 110, 168, 0.3));
}

@keyframes spin3d {
  0% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Headline */
.hero-headline h1 {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-headline .highlight {
  color: #0b6ea8;
  background: linear-gradient(135deg, #0b6ea8, #38b24a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-redesign .hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Loan Type Section */
.loan-type-section {
  margin-bottom: 2.5rem;
}

.section-prompt {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  margin-bottom: 2rem;
}

/* Loan Type Grid */
.loan-type-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual Loan Card - FIXED */
.loan-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem;
  background: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  gap: 0.75rem;
}

.loan-type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(11, 110, 168, 0.15);
  border-color: #0b6ea8;
}

.loan-type-card:hover .loan-icon {
  transform: scale(1.05);
}

.loan-type-card:hover .loan-label {
  color: #0b6ea8;
}

/* FIXED: Icon sizing - proper contain, no aggressive scaling */
.loan-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

/* Label styling */
.loan-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
  transition: color 0.3s ease;
}

/* Hero CTA Section */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-cta-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Phone Section (if needed) */
.hero-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #0b6ea8;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: #38b24a;
}

.phone-icon {
  width: 24px;
  height: 24px;
}

.phone-number {
  letter-spacing: 0.5px;
}

.phone-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #64748b;
}

/* Hero bottom section - headline below grid */
.hero-bottom {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

/* Pre-qualification page styles */
.prequal-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: #334155;
}

.benefit-icon {
  color: #38b24a;
  flex-shrink: 0;
}

.funnel-description {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

.funnel-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary-funnel {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  transition: background var(--transition-fast);
}

.btn-primary-funnel:hover {
  background: var(--primary-dark);
}

.btn-secondary-funnel {
  background: transparent;
  color: var(--gray-700);
  padding: 1rem 2rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
}

.btn-secondary-funnel:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========================================
   HERO REDESIGN RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .loan-type-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .hero-headline h1 {
    font-size: 2rem;
  }
  
  .loan-icon {
    width: 80px;
    height: 80px;
  }
  
  .loan-label {
    font-size: 0.85rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-redesign {
    padding: 2rem 1rem 3rem;
    min-height: auto;
  }
  
  .loan-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .spinning-coin-logo {
    width: 80px;
    height: 80px;
  }

  .logo-spinner {
    width: 108px;
    height: 108px;
  }

  .coin-3d {
    width: 108px;
    height: 108px;
  }

  .coin-layer {
    width: 108px;
    height: 108px;
  }

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

  .prequal-benefits {
    padding: 1rem;
  }

  .benefit-item {
    font-size: 0.95rem;
  }

  .hero-headline h1 {
    font-size: 1.75rem;
  }
  
  .hero-redesign .hero-subtitle {
    font-size: 1rem;
  }
  
  .loan-icon {
    width: 70px;
    height: 70px;
  }
  
  .loan-label {
    font-size: 0.8rem;
  }
  
  .loan-type-card {
    padding: 1rem 0.75rem;
  }
  
  .section-prompt {
    font-size: 1.1rem;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .loan-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .loan-icon {
    width: 60px;
    height: 60px;
  }
  
  .loan-label {
    font-size: 0.75rem;
  }
}


/* ==========================================
   OUR LOAN PRO — 3D SPINNING COIN
   Copied from working test file
   ========================================== */

   .hero-logo-wrapper {
    margin-bottom: 1.5rem;
}

/* The perspective container - creates 3D space */
.logo-spinner {
    perspective: 1000px;
    width: 162px;
    height: 162px;
    margin: 0 auto;
}

/* Rotating coin container */
.coin-3d {
    width: 162px;
    height: 162px;
    position: relative;
    transform-style: preserve-3d;
    animation: spin3d 8s linear infinite;
}

/* Each layer of the coin */
.coin-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 162px;
    height: 162px;
    backface-visibility: visible;
}

.coin-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 3D rotation animation */
@keyframes spin3d {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* ==========================================
   FUNNEL PAGES - Clean Centered Card Template
   ========================================== */

/* Funnel Page Container */
.funnel-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem 1.5rem 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Phone Number - Upper Right */
.funnel-phone {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 10;
}

.funnel-phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.funnel-phone-link:hover {
  color: var(--primary-dark);
}

.funnel-phone-icon {
  width: 20px;
  height: 20px;
}

/* Centered White Card */
.funnel-container {
  width: 100%;
  max-width: 800px;
  margin: 4rem auto 3rem;
}

.funnel-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 3rem 2.5rem;
  text-align: center;
}

/* Page Title */
.funnel-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 2.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Home Type Grid */
.home-type-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
}

/* Individual Home Type Option */
.home-type-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: 1.25rem 0.75rem;
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition-base);
}

.home-type-option:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 16px rgba(11, 110, 168, 0.12);
}

.home-type-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-type-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-type-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: center;
  line-height: 1.3;
}

.home-type-option:hover .home-type-label {
  color: var(--primary);
}

/* Decorative Footer */
.funnel-footer-decoration {
  margin-top: auto;
  width: 100%;
  text-align: center;
  padding-bottom: 0;
}

.funnel-footer-decoration img {
  max-width: 600px;
  width: 100%;
  height: auto;
}

/* ========================================
   FUNNEL PAGES RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .funnel-card {
    padding: 2.5rem 2rem;
  }

  .home-type-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .funnel-title {
    font-size: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .funnel-page {
    padding: 1.5rem 1rem 0;
  }

  .funnel-phone {
    position: static;
    margin-bottom: 2rem;
    text-align: center;
  }

  .funnel-container {
    margin: 2rem auto;
  }

  .funnel-card {
    padding: 2rem 1.5rem;
  }

  .funnel-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .home-type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .home-type-icon {
    width: 60px;
    height: 60px;
  }

  .home-type-label {
    font-size: 0.8rem;
  }

  .funnel-footer-decoration img {
    max-width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .home-type-grid {
    gap: 0.75rem;
  }

  .home-type-option {
    padding: 1rem 0.5rem;
  }
}

/* ===== Property Use Page ===== */
.funnel-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: -1rem 0 2.5rem 0;
  font-weight: 400;
}

.property-use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.property-use-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 3px solid var(--border-light);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 280px;
}

.property-use-option:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(11, 110, 168, 0.15);
  transform: translateY(-4px);
}

.property-use-icon-wrapper {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-use-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.property-use-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

/* Property Use Responsive */
@media (max-width: 1024px) {
  .property-use-grid {
    gap: 1.5rem;
  }

  .property-use-option {
    padding: 2rem 1rem;
    min-height: 260px;
  }

  .property-use-icon-wrapper {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .property-use-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 400px;
  }

  .property-use-option {
    flex-direction: row;
    padding: 1.5rem;
    min-height: auto;
    text-align: left;
  }

  .property-use-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    margin-right: 1.5rem;
    flex-shrink: 0;
  }

  .property-use-label {
    font-size: 1.125rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .funnel-subtitle {
    font-size: 1rem;
    margin: -0.75rem 0 2rem 0;
  }

  .property-use-grid {
    gap: 1rem;
  }

  .property-use-option {
    padding: 1.25rem;
  }

  .property-use-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-right: 1rem;
  }

  .property-use-label {
    font-size: 1rem;
  }
}

/* ===== Why Page ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Center last row items when there are 5 items (3-2 layout) */
.why-grid .why-option:nth-child(4) {
  grid-column: 1;
}

.why-grid .why-option:nth-child(5) {
  grid-column: 3;
}

.why-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border: 3px solid var(--border-light);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 240px;
}

.why-option:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(11, 110, 168, 0.15);
  transform: translateY(-4px);
}

.why-icon-wrapper {
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.4;
}

/* Why Page Responsive */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Reset column positioning for 2-column layout */
  .why-grid .why-option:nth-child(4),
  .why-grid .why-option:nth-child(5) {
    grid-column: auto;
  }

  .why-option {
    padding: 2rem 1rem;
    min-height: 220px;
  }

  .why-icon-wrapper {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 400px;
  }

  .why-option {
    flex-direction: row;
    padding: 1.5rem;
    min-height: auto;
    text-align: left;
  }

  .why-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    margin-right: 1.5rem;
    flex-shrink: 0;
  }

  .why-label {
    font-size: 1.125rem;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .why-grid {
    gap: 1rem;
  }

  .why-option {
    padding: 1.25rem;
  }

  .why-icon-wrapper {
    width: 70px;
    height: 70px;
    margin-right: 1rem;
  }

  .why-label {
    font-size: 1rem;
  }
}

/* ===== Purchase Price Page (Slider) ===== */
.funnel-card--slider {
  max-width: 700px;
}

.slider-container {
  margin-top: 3rem;
}

.price-display {
  text-align: center;
  margin-bottom: 3rem;
}

.price-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.price-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: var(--border-light);
  border-radius: 6px;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Slider track fill */
.slider-track-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
  transition: width 0.15s ease;
}

/* Webkit (Chrome, Safari, Edge) */
.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 110, 168, 0.3);
  transition: all 0.2s ease;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(11, 110, 168, 0.4);
}

.price-slider::-webkit-slider-thumb:active {
  transform: scale(1.05);
}

/* Firefox */
.price-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 110, 168, 0.3);
  transition: all 0.2s ease;
}

.price-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(11, 110, 168, 0.4);
}

.price-slider::-moz-range-thumb:active {
  transform: scale(1.05);
}

/* Firefox track */
.price-slider::-moz-range-track {
  background: transparent;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.slider-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.funnel-button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.funnel-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 110, 168, 0.2);
}

.funnel-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 110, 168, 0.3);
}

.funnel-button:active {
  transform: translateY(0);
}

.funnel-button-arrow {
  transition: transform 0.3s ease;
}

.funnel-button:hover .funnel-button-arrow {
  transform: translateX(4px);
}

/* Purchase Price Responsive */
@media (max-width: 768px) {
  .price-value {
    font-size: 2.75rem;
  }

  .slider-container {
    margin-top: 2rem;
  }

  .price-display {
    margin-bottom: 2.5rem;
  }

  .funnel-button {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .price-value {
    font-size: 2.25rem;
  }

  .slider-wrapper {
    height: 50px;
  }

  .price-slider,
  .slider-track-fill {
    height: 10px;
  }

  .price-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .price-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }

  .slider-labels {
    margin-bottom: 2rem;
  }

  .funnel-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 2rem;
  }
}

/* ===== Credit Score Page ===== */
.score-display {
  text-align: center;
  margin-bottom: 2rem;
}

.score-value {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  display: block;
  transition: color 0.3s ease;
}

.score-rating {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

/* Credit slider specific styles */
.credit-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: var(--border-light);
  border-radius: 6px;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.credit-slider-track-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Credit slider thumb - Webkit */
.credit-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.credit-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.credit-slider::-webkit-slider-thumb:active {
  transform: scale(1.05);
}

/* Credit slider thumb - Firefox */
.credit-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.credit-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.credit-slider::-moz-range-thumb:active {
  transform: scale(1.05);
}

.credit-slider::-moz-range-track {
  background: transparent;
}

/* Score Legend */
.score-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0 1.5rem 0;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 8px;
}

.score-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.score-legend-color--excellent {
  background: #38b24a;
}

.score-legend-color--good {
  background: #0b6ea8;
}

.score-legend-color--fair {
  background: #f4a41d;
}

.score-legend-color--poor {
  background: #dc2626;
}

.score-legend-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}

/* Credit Score Button Container */
.funnel-button-container--credit {
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.funnel-button--secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 2px solid var(--border-light);
  cursor: pointer;
}

.funnel-button--secondary:hover {
  background: var(--surface);
  border-color: var(--text-secondary);
}

/* Credit Score Responsive */
@media (max-width: 768px) {
  .score-value {
    font-size: 3.25rem;
  }

  .score-rating {
    font-size: 1.25rem;
  }

  .score-legend {
    gap: 1rem;
    padding: 1.25rem;
  }

  .score-legend-item {
    font-size: 0.8125rem;
  }
}

@media (max-width: 640px) {
  .score-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .funnel-button-container--credit {
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .score-value {
    font-size: 2.75rem;
  }

  .score-rating {
    font-size: 1.125rem;
  }

  .score-legend {
    padding: 1rem;
  }

  .credit-slider,
  .credit-slider-track-fill {
    height: 10px;
  }

  .credit-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .credit-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}

/* ===== Down Payment Page ===== */
.downpayment-display {
  text-align: center;
  margin-bottom: 2.5rem;
}

.downpayment-percent {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.downpayment-amount-box {
  background: var(--surface);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: inline-block;
  min-width: 280px;
}

.downpayment-amount {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-display);
}

/* Down payment slider specific styles */
.downpayment-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: var(--border-light);
  border-radius: 6px;
  outline: none;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.downpayment-slider-track-fill {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 12px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
  transition: all 0.3s ease;
}

/* Down payment slider thumb - Webkit */
.downpayment-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.downpayment-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.downpayment-slider::-webkit-slider-thumb:active {
  transform: scale(1.05);
}

/* Down payment slider thumb - Firefox */
.downpayment-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.downpayment-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.downpayment-slider::-moz-range-thumb:active {
  transform: scale(1.05);
}

.downpayment-slider::-moz-range-track {
  background: transparent;
}

/* Down Payment Responsive */
@media (max-width: 768px) {
  .downpayment-percent {
    font-size: 2.5rem;
  }

  .downpayment-amount-box {
    min-width: 240px;
    padding: 1.25rem 1.5rem;
  }

  .downpayment-amount {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .downpayment-percent {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
  }

  .downpayment-amount-box {
    min-width: 200px;
    padding: 1rem 1.25rem;
  }

  .downpayment-amount {
    font-size: 1.5rem;
  }

  .downpayment-slider,
  .downpayment-slider-track-fill {
    height: 10px;
  }

  .downpayment-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .downpayment-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }
}

/* ===== Thank You Page ===== */
.funnel-card--thankyou {
  max-width: 800px;
}

/* Success Icon */
.thankyou-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.thankyou-icon svg {
  color: var(--secondary);
  stroke-width: 2.5;
}

.thankyou-subtitle {
  font-size: 1.125rem;
  color: var(--gray-700);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Lead ID Display */
.thankyou-leadid {
  display: none;
  background: var(--gray-50);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 8px;
  text-align: center;
}

.thankyou-leadid-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.thankyou-leadid-value {
  display: block;
  font-size: 1.125rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* What Happens Next Section */
.thankyou-section {
  margin-bottom: 3rem;
}

.thankyou-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 2rem 0;
  text-align: center;
}

.thankyou-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.thankyou-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
}

.thankyou-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 50%;
}

.thankyou-step-content {
  flex: 1;
  padding-top: 0.25rem;
}

.thankyou-step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.5rem 0;
}

.thankyou-step-text {
  font-size: 0.9375rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.thankyou-step-text strong {
  color: var(--primary);
  font-weight: 700;
}

/* Call to Action Box */
.thankyou-cta {
  background: linear-gradient(135deg, rgba(11, 110, 168, 0.05), rgba(0, 168, 107, 0.05));
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.thankyou-cta-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.thankyou-cta-icon svg {
  color: var(--primary);
}

.thankyou-cta-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.75rem 0;
}

.thankyou-cta-text {
  font-size: 1rem;
  color: var(--gray-700);
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.thankyou-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 110, 168, 0.2);
}

.thankyou-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 110, 168, 0.3);
}

.thankyou-cta-button svg {
  width: 20px;
  height: 20px;
}

/* Additional Resources */
.thankyou-resources {
  margin-bottom: 2.5rem;
}

.thankyou-resources-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.thankyou-resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.thankyou-resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.thankyou-resource-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(11, 110, 168, 0.12);
}

.thankyou-resource-card svg {
  color: var(--primary);
}

.thankyou-resource-card span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: center;
  line-height: 1.3;
}

.thankyou-resource-card:hover span {
  color: var(--primary);
}

/* Email Confirmation Note */
.thankyou-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--gray-700);
  text-align: center;
}

.thankyou-note svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Thank You Page Responsive */
@media (max-width: 1024px) {
  .thankyou-resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .thankyou-icon svg {
    width: 64px;
    height: 64px;
  }

  .thankyou-subtitle {
    font-size: 1rem;
  }

  .thankyou-section-title {
    font-size: 1.25rem;
  }

  .thankyou-step {
    gap: 1rem;
  }

  .thankyou-step-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .thankyou-step-title {
    font-size: 1rem;
  }

  .thankyou-step-text {
    font-size: 0.875rem;
  }

  .thankyou-cta {
    padding: 1.5rem;
  }

  .thankyou-cta-title {
    font-size: 1.125rem;
  }

  .thankyou-cta-text {
    font-size: 0.9375rem;
  }

  .thankyou-cta-button {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .thankyou-icon {
    margin-bottom: 1.5rem;
  }

  .thankyou-icon svg {
    width: 56px;
    height: 56px;
  }

  .thankyou-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }

  .thankyou-section {
    margin-bottom: 2.5rem;
  }

  .thankyou-section-title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .thankyou-steps {
    gap: 1.5rem;
  }

  .thankyou-step {
    gap: 0.875rem;
  }

  .thankyou-step-number {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
  }

  .thankyou-step-title {
    font-size: 0.9375rem;
  }

  .thankyou-step-text {
    font-size: 0.8125rem;
  }

  .thankyou-cta {
    padding: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .thankyou-cta-icon svg {
    width: 28px;
    height: 28px;
  }

  .thankyou-cta-title {
    font-size: 1rem;
  }

  .thankyou-cta-text {
    font-size: 0.875rem;
  }

  .thankyou-cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }

  .thankyou-resources {
    margin-bottom: 2rem;
  }

  .thankyou-resources-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .thankyou-resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }

  .thankyou-resource-card {
    padding: 1.25rem 0.875rem;
  }

  .thankyou-resource-card svg {
    width: 28px;
    height: 28px;
  }

  .thankyou-resource-card span {
    font-size: 0.8125rem;
  }

  .thankyou-note {
    font-size: 0.8125rem;
    padding: 0.875rem;
  }
}

/* ===== Updated Location Page (Form with ZIP, City, State) ===== */
.location-form {
  width: 100%;
  max-width: 500px;
  margin: 2rem auto 0;
}

.location-form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.location-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.location-form-input,
.location-form-select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.location-form-input:focus,
.location-form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 168, 0.1);
}

.location-form-input--valid,
.location-form-select--valid {
  border-color: var(--secondary);
  background: rgba(0, 168, 107, 0.02);
}

.location-form-input--error,
.location-form-select--error {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.02);
}

.location-form-error {
  min-height: 20px;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--danger);
  font-weight: 500;
}

/* ===== Yes/No Pages (Military, First Home) ===== */
.yesno-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem auto 0;
  max-width: 700px;
}

.yesno-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 3px solid var(--border-light);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.yesno-option:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 24px rgba(11, 110, 168, 0.15);
}

.yesno-icon-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 110, 168, 0.1), rgba(0, 168, 107, 0.1));
  border-radius: 50%;
  transition: all 0.3s ease;
}

.yesno-option:hover .yesno-icon-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.yesno-icon-wrapper svg {
  color: var(--primary);
  transition: all 0.3s ease;
}

.yesno-option:hover .yesno-icon-wrapper svg {
  color: var(--white);
}

.yesno-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.yesno-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* ===== Simple Form Pages (Contact Info) ===== */
.simple-form {
  width: 100%;
  max-width: 500px;
  margin: 2rem auto 0;
}

.simple-form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.simple-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.simple-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}

.simple-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 168, 0.1);
}

.simple-form-input--valid {
  border-color: var(--secondary);
  background: rgba(0, 168, 107, 0.02);
}

.simple-form-input--error {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.02);
}

.simple-form-error {
  min-height: 20px;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--danger);
  font-weight: 500;
}

/* ===== Phone Number Page ===== */
.phone-container {
  margin-top: 2rem;
}

.phone-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.phone-icon svg {
  color: var(--primary);
}

.phone-form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.phone-input-wrapper {
  margin-bottom: 1.5rem;
}

.phone-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-display);
  color: var(--gray-900);
  background: var(--white);
  border: 3px solid var(--border-light);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.phone-input::placeholder {
  font-size: 1.125rem;
  letter-spacing: normal;
  font-weight: 500;
  color: var(--text-secondary);
}

.phone-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 168, 0.1);
}

.phone-input--valid {
  border-color: var(--secondary);
  background: rgba(0, 168, 107, 0.02);
}

.phone-input--error {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.02);
}

.phone-error {
  min-height: 24px;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--danger);
  text-align: center;
  font-weight: 500;
}

.phone-helper-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.phone-consent {
  margin: 1.5rem auto 2rem;
  max-width: 500px;
}

.phone-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.phone-consent-checkbox {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: var(--primary);
}

.phone-consent-text {
  font-size: 0.875rem;
  color: var(--gray-700);
  line-height: 1.6;
  text-align: left;
}

.phone-contact-preference {
  margin: 1.5rem auto 1.5rem;
  max-width: 500px;
}

.phone-preference-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
  text-align: center;
}

.phone-preference-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.phone-preference-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.phone-preference-option:hover {
  border-color: var(--primary);
  background: rgba(11, 110, 168, 0.02);
}

.phone-preference-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.phone-preference-option input[type="radio"]:checked + span {
  color: var(--primary);
  font-weight: 600;
}

.phone-preference-option span {
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: color 0.2s ease;
}

@media (max-width: 480px) {
  .phone-preference-options {
    grid-template-columns: 1fr;
  }
}

/* ===== Get Rate / Lender Results Page ===== */
.funnel-card--results {
  max-width: 1000px;
}

/* Loading State */
.results-loading {
  text-align: center;
  padding: 3rem 2rem;
}

.results-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border: 6px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.results-loading-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem 0;
}

.results-loading-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 2rem 0;
  line-height: 1.6;
}

.results-progress-bar {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.results-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 4px;
  transition: width 0.1s linear;
}

.results-loading-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Results Content */
.results-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 1rem 0;
  text-align: center;
}

.results-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 0 0 3rem 0;
  text-align: center;
}

/* Lender Ads - Horizontal Layout */
.lender-ads {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.lender-ad {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.lender-ad:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.lender-ad-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 50%;
}

.lender-ad-logo svg {
  color: var(--primary);
}

.lender-ad-info {
  flex: 1;
  min-width: 0;
}

.lender-ad-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 0.25rem;
}

.lender-ad-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.lender-ad-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.lender-ad-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--gray-50);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lender-ad-phone:hover {
  background: var(--gray-100);
}

.lender-ad-phone svg {
  flex-shrink: 0;
}

.lender-ad-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lender-ad-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(11, 110, 168, 0.3);
}

.results-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin: 2rem 0 0;
}

/* Responsive - Lender Results */
@media (max-width: 768px) {
  .lender-ad {
    flex-direction: column;
    text-align: center;
  }

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

  .lender-ad-phone,
  .lender-ad-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .results-loading-title {
    font-size: 1.5rem;
  }

  .results-title {
    font-size: 1.5rem;
  }

  .yesno-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .yesno-option {
    padding: 2rem 1.5rem;
  }

  .yesno-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .yesno-label {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .phone-input {
    font-size: 1.25rem;
    padding: 0.875rem 1.25rem;
  }

  .lender-rate-value {
    font-size: 2rem;
  }

  .lender-payment-value {
    font-size: 1.25rem;
  }
}

/* ===== Homepage Loan Type Cards - Disabled State ===== */
.loan-type-card--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.loan-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
