/* Turner Financial Snapshot - Main Stylesheet */

/* CSS Variables - Turner Branding */
:root {
  --primary-green: #1a80a2;
  --primary-green-hover: #136480;
  --dark-charcoal: #1e3a4a;
  --text-primary: #1a2332;
  --text-secondary: #474747;
  --text-light: #6c757d;
  --background: #ffffff;
  --background-light: #f8f9fa;
  --border-color: #e9ecef;
  --success: #3d7a52;
  --error: #dc3545;
  --warning: #ffc107;
  --info: #1a80a2;

  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --border-radius: 8px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

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

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

/* Container */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

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

.logo img {
  height: 58px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Fallback text logo if image not loaded */
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-charcoal);
}

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

.nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: background .15s;
}

.nav a:hover {
  background: #e3f4f8;
  color: var(--primary-green);
  text-decoration: none;
}

/* Mobile hamburger toggle button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  min-height: 48px;
}

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

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

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

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

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(26, 128, 162, 0.12);
}

.form-error {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-help {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Cards */
.card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.card-body {
  padding: 0;
}

/* Auth Pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background) 100%);
  padding: 2rem 0;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  padding: 3rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  display: block;
  margin: 0 auto 0.5rem;
  height: 52px;
  width: auto;
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-secondary);
}

/* Dashboard */
.dashboard {
  padding: 2rem 0;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: var(--text-secondary);
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Score Display */
.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--primary-green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.score-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.score-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 12px;
}

.badge-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success);
}

.badge-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning);
}

.badge-error {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--error);
}

.badge-info {
  background-color: rgba(23, 162, 184, 0.1);
  color: var(--info);
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--warning);
  color: #856404;
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.1);
  border: 1px solid var(--info);
  color: var(--info);
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(26, 128, 162, 0.12);
  border-top-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  /* Header wraps so nav can sit on its own row */
  .header-content {
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    flex: 1;
    font-size: 1.1rem;
  }

  /* Hamburger visible on mobile */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* Nav collapses — sits below logo row when open */
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.25rem 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0.75rem;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
    padding: 0.875rem 0.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    display: block;
    width: 100%;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ========================================
   CONVERSION OPTIMIZATION COMPONENTS
   ======================================== */

/* Floating CTA Button */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, #0e5a75 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26, 128, 162, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse-glow 2s ease-in-out infinite;
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(26, 128, 162, 0.5);
  color: white;
}

.floating-cta i {
  font-size: 1.25rem;
}

.floating-cta .cta-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(26, 128, 162, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(26, 128, 162, 0.6); }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--background-light);
  color: var(--text-primary);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.modal-header .success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green) 0%, #0e5a75 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.modal-body {
  padding: 0 2rem 2rem;
}

.modal-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Urgency Badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: urgency-pulse 1.5s ease-in-out infinite;
}

.urgency-badge i {
  animation: shake 0.5s ease-in-out infinite;
}

@keyframes urgency-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Countdown Timer */
.countdown-timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  color: #856404;
}

.countdown-timer i {
  color: #d97706;
}

.countdown-timer .time {
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Social Proof Section */
.social-proof {
  padding: 3rem 0;
  background: var(--background-light);
}

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

.testimonial-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.trust-badge i {
  font-size: 1.5rem;
  color: var(--primary-green);
}

/* Stats Counter */
.stats-counter {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Protection Gap Warning */
.protection-gap-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fca5a5;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.protection-gap-card .gap-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.protection-gap-card .gap-icon {
  width: 50px;
  height: 50px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.protection-gap-card .gap-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #dc3545;
  margin: 0;
}

.protection-gap-card .gap-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #dc3545;
  margin: 0.5rem 0;
}

.protection-gap-card .gap-description {
  color: #7f1d1d;
  margin-bottom: 1rem;
}

/* Premium Estimate Card */
.premium-estimate {
  background: linear-gradient(135deg, #e3f4f8 0%, #cceaf3 100%);
  border: 2px solid #a8d8e8;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
}

.premium-estimate .estimate-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.premium-estimate .estimate-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.premium-estimate .estimate-period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.premium-estimate .estimate-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Exit Intent Popup */
.exit-popup {
  text-align: center;
}

.exit-popup .exit-icon {
  width: 80px;
  height: 80px;
  background: #fef3c7;
  color: #d97706;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.exit-popup h2 {
  margin-bottom: 0.5rem;
}

.exit-popup p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Graduation Celebration */
.graduation-celebration {
  text-align: center;
  padding: 2rem;
}

.graduation-celebration .confetti-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.graduation-celebration h2 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--background-light);
  font-weight: 600;
}

.comparison-table .feature-name {
  text-align: left;
  font-weight: 500;
}

.comparison-table .check {
  color: var(--success);
}

.comparison-table .cross {
  color: var(--error);
}

/* Age Premium Warning */
.age-premium-warning {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: var(--border-radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.age-premium-warning i {
  color: #f59e0b;
  font-size: 1.25rem;
}

.age-premium-warning .warning-text {
  flex: 1;
}

.age-premium-warning .warning-highlight {
  font-weight: 700;
  color: #b45309;
}

/* Book Now Card */
.book-now-card {
  background: linear-gradient(135deg, var(--primary-green) 0%, #0e5a75 100%);
  color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.book-now-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.book-now-card h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.book-now-card p {
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.book-now-card .btn {
  background: white;
  color: var(--primary-green);
  border: none;
}

.book-now-card .btn:hover {
  background: #f0f0f0;
}

/* Advisor Card */
.advisor-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: white;
}

.advisor-card .advisor-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
}

.advisor-card .advisor-info {
  flex: 1;
}

.advisor-card .advisor-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.advisor-card .advisor-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
  background: #122530;
  color: rgba(255,255,255,.85);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,.5);
  margin: 0;
}

.footer-nav-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 120px;
}

.footer-nav-col h4 {
  color: rgba(255,255,255,.5);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-nav-col a {
  color: rgba(255,255,255,.65);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,.28) !important;
  max-width: 700px;
  margin: 0.5rem auto 0 !important;
  line-height: 1.6;
}

/* Journey Steps (Dashboard) */
.journey-section {
  background: linear-gradient(135deg, #e3f4f8 0%, #cceaf3 100%);
  border: 2px solid #a8d8e8;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.journey-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.journey-header h3 {
  color: #1e3a4a;
  margin: 0;
  font-size: 1.125rem;
}

.journey-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 0.875rem;
  background: white;
  border-radius: 8px;
  border: 2px solid #d1d5db;
  opacity: 0.55;
  flex: 1;
  min-width: 90px;
  text-align: center;
  transition: all 0.3s;
}

.journey-step.done {
  border-color: var(--success);
  opacity: 0.8;
  color: var(--success);
}

.journey-step.active {
  border-color: var(--primary-green);
  opacity: 1;
  background: var(--primary-green);
  color: white;
  box-shadow: 0 4px 12px rgba(26, 128, 162, 0.3);
}

.journey-step-icon { font-size: 1.1rem; }
.journey-step-num { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; opacity: 0.7; }
.journey-step-title { font-size: 0.7rem; font-weight: 600; line-height: 1.2; }

.journey-arrow {
  color: #9ca3af;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.journey-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: white;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}

.journey-cta-text {
  font-weight: 500;
  color: #1e3a4a;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .journey-steps {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 0.5rem;
    padding-bottom: 0;
  }
  .journey-step {
    flex: 0 0 calc(50% - 0.25rem);
    min-width: 0;
    padding: 0.65rem 0.5rem;
  }
  .journey-arrow { display: none; }
  .journey-cta-bar {
    flex-direction: column;
    text-align: center;
  }
  .journey-cta-bar .btn { width: 100%; }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .footer-top { flex-direction: column; gap: 1.5rem; }
  .footer-nav-group { gap: 1.5rem; }
  .floating-cta {
    bottom: 16px;
    right: 16px;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .floating-cta span {
    display: none;
  }

  .floating-cta i {
    margin: 0;
  }

  .stats-counter {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .modal-content {
    margin: 1rem;
  }

  .modal-header,
  .modal-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
