/* Business Funding Page - California Tech Vibe */
/* Fully Responsive Design - 4K to Small Mobile */

.funding-modern {
  min-height: 100vh;
  background: #0a0a0a;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Floating Navigation */
.funding-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 3vw, 4rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.funding-nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(0.75rem, 1.5vw, 1.5rem) clamp(1rem, 3vw, 4rem);
}

.nav-container {
  max-width: min(1600px, 90vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.nav-logo .logo-icon {
  height: clamp(52px, 7vw, 64px);
  width: auto;
  object-fit: contain;
}

.nav-logo .logo-image {
  height: clamp(32px, 4vw, 40px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav-logo .logo-funding-text {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #667eea;
  text-transform: uppercase;
  text-align: center;
  margin-top: -5px;
}

.nav-logo .logo-powered-by {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 2px;
}

.logo-text {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: clamp(0.6rem, 1vw, 0.875rem);
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
}

.nav-link {
  color: #888;
  text-decoration: none;
  font-size: clamp(0.875rem, 1.2vw, 1.1rem);
  transition: color 0.2s;
}

.nav-link:hover {
  color: #fff;
}

/* Shimmer animation for CTA buttons */
@keyframes btn-shimmer {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.nav-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: clamp(0.5rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem);
  border-radius: 8px;
  font-size: clamp(0.875rem, 1.2vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: btn-shimmer 3s infinite;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.funding-hero {
  padding: clamp(100px, 12vw, 150px) clamp(1rem, 3vw, 4rem) clamp(60px, 8vw, 100px);
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  max-width: min(1600px, 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(0.4rem, 0.8vw, 0.75rem) clamp(0.8rem, 1.5vw, 1.25rem);
  border-radius: 50px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(0.75rem, 1vw, 1rem);
  color: #888;
}

.badge-dot {
  width: clamp(6px, 0.8vw, 10px);
  height: clamp(6px, 0.8vw, 10px);
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.headline-sub {
  color: #666;
  font-size: 0.8em;
}

.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 3vw, 4rem);
  margin: clamp(2rem, 4vw, 3.5rem) 0;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: clamp(0.75rem, 1vw, 1rem);
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  margin-top: clamp(2rem, 3vw, 3rem);
  padding-top: clamp(1.5rem, 2vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.trust-text {
  color: #666;
  font-size: clamp(0.75rem, 1vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.partner-logo {
  color: #444;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.2vw, 1.1rem);
}

/* Instant Calculator */
.instant-calc {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
  max-width: 520px;
}

.instant-calc h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  text-align: center;
}

.calc-subtitle {
  color: #808080;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  text-align: center;
}

.funding-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

.slider-group label {
  display: block;
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.amount-display {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.funding-slider {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  -webkit-appearance: none;
  border-radius: 3px;
}

.funding-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: clamp(16px, 2vw, 24px);
  height: clamp(16px, 2vw, 24px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #0a0a0a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  color: #666;
}

.modern-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.8125rem 1rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-sizing: border-box;
}

.modern-input:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

.modern-input::placeholder {
  color: #666;
}

.modern-input:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.btn-arrow {
  font-size: 1.2em;
  transition: transform 0.2s;
}

.submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.submit-btn.loading {
  pointer-events: none;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.form-disclaimer {
  text-align: center;
  color: #666;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

/* Step Indicator */
.step-indicator {
  margin-bottom: 1.5rem;
}

.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 0.75rem;
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-line {
  width: clamp(40px, 6vw, 60px);
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.step-line.active {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.step-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(0.5rem, 2vw, 1.5rem);
}

.step-labels span {
  font-size: clamp(0.7rem, 1vw, 0.875rem);
  color: #666;
  transition: color 0.3s ease;
}

.step-labels span.active {
  color: #fff;
  font-weight: 500;
}

/* Form Step Container */
.form-step {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Option Group */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.option-group label {
  font-size: 0.9rem;
  color: #e0e0e0;
  margin-bottom: 0.125rem;
  font-weight: 500;
}

/* Primary question — high-impact required fields (e.g. "Are you a business owner?")
   that clients tend to skim past. Brighter, larger, with required-asterisk. */
.option-group-primary label {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.option-group-primary .required-asterisk {
  color: #ff6b6b;
  margin-left: 0.25rem;
  font-weight: 700;
}

.option-buttons-primary .option-btn {
  padding: 1rem 1.125rem;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.option-buttons-primary .option-btn:hover {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.6);
}

.option-buttons-primary .option-btn.selected {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.35) 0%, rgba(118, 75, 162, 0.35) 100%);
  border-color: #667eea;
  box-shadow: 0 0 0 1px #667eea, 0 4px 12px rgba(102, 126, 234, 0.25);
}

/* Option Buttons (Radio-style cards) */
.option-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-btn {
  flex: 1;
  min-width: calc(50% - 0.375rem);
  padding: 0.7rem 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ccc;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.option-btn.selected {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: #667eea;
  color: #fff;
}

/* Credit score buttons - 5 in a row on desktop */
.credit-score-buttons .option-btn {
  min-width: auto;
  flex: 1;
}

/* Checkbox Buttons (Multi-select) */
.checkbox-buttons {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.75rem);
}

.checkbox-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ccc;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.checkbox-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.checkbox-btn.selected {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
  border-color: #667eea;
  color: #fff;
}

.checkbox-icon {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #667eea;
  flex-shrink: 0;
}

.checkbox-btn.selected .checkbox-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: #fff;
}

/* Checkbox Group (Standard checkboxes) */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  color: #aaa;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 0.7rem;
}

.checkbox-label a {
  color: #667eea;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.checkbox-label.checkbox-error {
  color: #ff6b6b;
}

.checkbox-label.checkbox-error .checkbox-custom {
  border-color: #ff6b6b;
}

/* TCPA Disclosure */
.tcpa-disclosure {
  font-size: clamp(0.7rem, 0.9vw, 0.8rem);
  color: #666;
  line-height: 1.5;
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Step 3 Compact Styles */
.step-3 {
  gap: clamp(1rem, 1.5vw, 1.25rem) !important;
}

.compact-options {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 0.25rem;
}

.compact-checkbox {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: #909090;
  transition: color 0.2s;
}

.compact-checkbox:hover {
  color: #ccc;
}

.compact-checkbox input {
  display: none;
}

.check-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.compact-checkbox input:checked + .check-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
}

.compact-checkbox input:checked + .check-box::after {
  content: '✓';
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}

.check-text {
  line-height: 1.3;
}

.check-text a {
  color: #667eea;
  text-decoration: none;
}

.check-text a:hover {
  text-decoration: underline;
}

.compact-checkbox.has-error .check-box {
  border-color: #ff6b6b;
}

.compact-checkbox.has-error .check-text {
  color: #ff6b6b;
}

.terms-error {
  margin-top: -0.25rem;
}

.tcpa-text {
  font-size: clamp(0.65rem, 0.85vw, 0.75rem);
  color: #555;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

/* Phone Input with Country Selector */
.phone-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

/* Custom Country Dropdown */
.country-dropdown-wrapper {
  position: relative;
}

.country-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.8125rem 0.625rem;
  border-radius: 10px;
  font-size: 0.875rem;
  cursor: pointer;
  min-width: 95px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.country-dropdown-trigger:hover,
.country-dropdown-trigger:focus {
  outline: none;
  border-color: #667eea;
}

.country-dropdown-trigger .country-flag {
  font-size: 1.1rem;
}

.country-dropdown-trigger .country-code {
  font-size: 0.85rem;
  font-weight: 500;
}

.country-dropdown-trigger .dropdown-arrow {
  font-size: 0.6rem;
  color: #888;
  margin-left: auto;
}

.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
  min-width: 240px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.country-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s;
}

.country-dropdown-item:hover {
  background: rgba(102, 126, 234, 0.2);
}

.country-dropdown-item.selected {
  background: rgba(102, 126, 234, 0.3);
}

.country-dropdown-item .country-flag {
  font-size: 1rem;
}

.country-dropdown-item .country-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-dropdown-item .country-code-option {
  color: #888;
  font-size: 0.8rem;
}

.phone-input {
  flex: 1;
}

@media (max-width: 479px) {
  .phone-input-wrapper {
    flex-direction: column;
  }

  .country-dropdown-trigger {
    width: 100%;
    justify-content: flex-start;
    padding: 0.75rem 0.6rem;
  }

  .country-dropdown-menu {
    width: 100%;
  }
}

/* Form Navigation */
.form-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.nav-btn {
  flex: 1;
  padding: 0.875rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.next-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: #fff;
}

.next-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Step 3 Navigation - Submit + Back Link */
.step-3-nav {
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.final-submit {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
}

.back-link {
  background: none;
  border: none;
  color: #666;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: #999;
}

/* Error Styles */
.error-message {
  color: #ff6b6b;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  margin-top: 0.25rem;
}

.error-banner {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  margin-top: 0.5rem;
}

.input-error {
  border-color: #ff6b6b !important;
}

.input-error:focus {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

/* Credit Score Slider */
.credit-score-slider {
  margin-bottom: 0.5rem;
}

.credit-score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.score-range {
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.score-description {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: #888;
  margin-top: 0.25rem;
}

.credit-slider {
  background: linear-gradient(90deg,
    #ff6b6b 0%,
    #ffa64d 25%,
    #ffd93d 50%,
    #6bcf63 75%,
    #4ade80 100%
  ) !important;
}

.credit-slider::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.credit-slider-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.credit-slider-labels span {
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  color: #666;
  text-align: center;
}

/* Ticker */
.funding-ticker {
  background: linear-gradient(90deg, #667eea, #764ba2);
  padding: clamp(0.75rem, 1.5vw, 1.25rem) 0;
  overflow: hidden;
  white-space: nowrap;
}

/* Logo Ticker - Elfsight Widget */
.funding-ticker.logo-ticker {
  background: #ffffff;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.funding-ticker.logo-ticker .elfsight-app-8d5b2b3a-db92-426f-b544-e12b11f3b50b {
  width: 100%;
}

.ticker-content {
  display: inline-flex;
  padding-left: 100%;
  animation: ticker 30s linear infinite;
  gap: clamp(2rem, 3vw, 4rem);
}

@keyframes ticker {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, 0); }
}

.ticker-content span {
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.875rem, 1.2vw, 1.1rem);
  font-weight: 500;
}

/* Image Gallery Section */
.funding-gallery {
  padding: clamp(60px, 10vw, 120px) clamp(1rem, 3vw, 4rem);
  background: #0f0f0f;
}

.gallery-container {
  max-width: min(1600px, 90vw);
  margin: 0 auto;
}

.gallery-container h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.02em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  grid-auto-rows: clamp(200px, 25vw, 300px);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 16px);
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item.large {
  grid-column: span min(2, 100%);
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1rem, 2vw, 2rem);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  transform: translateY(100%);
  transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  color: #fff;
}

/* Video Section */
.funding-video {
  padding: clamp(60px, 10vw, 120px) clamp(1rem, 3vw, 4rem);
  background: #0f0f0f;
}

.video-container {
  max-width: min(1000px, 90vw);
  margin: 0 auto;
}

.video-container h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.02em;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 16px;
  overflow: hidden;
}

.video-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 1px solid rgba(102, 126, 234, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-placeholder:hover {
  background: linear-gradient(145deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%);
  border-color: rgba(102, 126, 234, 0.4);
}

.play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
}

.play-button svg {
  width: 32px;
  height: 32px;
  color: white;
  margin-left: 4px;
}

.video-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: #888;
  font-weight: 500;
}

/* Process Section */
.funding-process {
  padding: clamp(60px, 10vw, 120px) clamp(1rem, 3vw, 4rem);
  background: linear-gradient(180deg, #0a0a0a 0%, #111118 100%);
}

.process-container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
}

.process-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.process-description {
  text-align: center;
  color: #888;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.process-cta {
  display: block;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: clamp(0.875rem, 1.5vw, 1.25rem) clamp(2rem, 3vw, 3rem);
  border-radius: 8px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.process-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: btn-shimmer 3s infinite;
}

.process-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  max-width: 350px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: clamp(12px, 2vw, 20px);
  margin: 0 clamp(0.5rem, 1vw, 1rem);
  transition: all 0.3s ease;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-5px);
}

.step-icon {
  width: clamp(60px, 8vw, 80px);
  height: clamp(60px, 8vw, 80px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
  position: relative;
}

.step-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
  z-index: -1;
}

.step-number {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.step-content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  color: #fff;
}

.step-content p {
  color: #888;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.6;
}

.step-connector {
  display: none;
}

/* Desktop connector line */
@media (min-width: 768px) {
  .step-connector {
    display: block;
    position: absolute;
    top: clamp(40px, 6vw, 55px);
    right: calc(-1 * clamp(0.5rem, 1vw, 1rem) - 20px);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
  }

  .step-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #764ba2;
    border-right: 2px solid #764ba2;
    transform: rotate(45deg);
  }

  .process-step:last-child .step-connector {
    display: none;
  }
}

/* Social Proof */
.funding-proof {
  padding: clamp(60px, 10vw, 120px) clamp(1rem, 3vw, 4rem);
  background: #0a0a0a;
}

.proof-container {
  max-width: min(1400px, 90vw);
  margin: 0 auto;
  text-align: center;
}

.proof-container h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.02em;
}

/* Trustpilot Header */
.trustpilot-header {
  text-align: center;
  margin-bottom: 2rem;
}

.trustpilot-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.trustpilot-badge-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #00b67a;
  transform: translateY(-2px);
}

.trustpilot-logo {
  height: 24px;
  width: auto;
}

.trustpilot-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.trustpilot-header .trustpilot-stars {
  color: #00b67a;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.trustpilot-rating {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.trustpilot-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.see-more-reviews {
  display: block;
  text-align: center;
  margin-top: 2rem;
  color: #00b67a;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.see-more-reviews:hover {
  color: #00d68f;
  text-decoration: underline;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .proof-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.proof-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(1.25rem, 2vw, 1.5rem);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proof-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  border-color: rgba(0, 182, 122, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.proof-card.featured {
  background: linear-gradient(135deg, rgba(0, 182, 122, 0.1), rgba(0, 182, 122, 0.05));
  border-color: rgba(0, 182, 122, 0.3);
}

.proof-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.proof-header img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 182, 122, 0.3);
}

.proof-header > div {
  text-align: center;
}

.proof-header strong {
  display: block;
  font-size: 1rem;
}

.proof-header span {
  color: #00b67a;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.proof-card p {
  color: #aaa;
  line-height: 1.5;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0;
}

.proof-amount {
  color: #4ade80;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
}

/* FAQ */
.funding-faq {
  padding: clamp(60px, 10vw, 120px) clamp(1rem, 3vw, 4rem);
  background: #0f0f0f;
}

.faq-container {
  max-width: min(1200px, 90vw);
  margin: 0 auto;
}

.faq-label {
  display: block;
  text-align: center;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #667eea;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.faq-container h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.faq-description {
  text-align: center;
  color: #888;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.faq-cta {
  display: block;
  margin: 0 auto clamp(2.5rem, 4vw, 4rem);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: clamp(0.875rem, 1.5vw, 1.25rem) clamp(2rem, 3vw, 3rem);
  border-radius: 8px;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.faq-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: btn-shimmer 3s infinite;
}

.faq-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.product-card {
  background: linear-gradient(145deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
  border: 1px solid rgba(102, 126, 234, 0.15);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover {
  background: linear-gradient(145deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.08) 100%);
  border-color: rgba(102, 126, 234, 0.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.product-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-card:hover .product-icon {
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  transform: scale(1.05);
}

.product-icon svg {
  width: 28px;
  height: 28px;
  color: #667eea;
}

.product-card h3 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.product-card p {
  color: #888;
  line-height: 1.6;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  margin: 0;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Final CTA */
.funding-final-cta {
  padding: clamp(80px, 12vw, 140px) clamp(1rem, 3vw, 4rem);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cta-container {
  max-width: min(900px, 90vw);
  margin: 0 auto;
}

.cta-container h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-container p {
  color: #888;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  margin-bottom: 2rem;
}

.final-cta-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 4rem);
  border-radius: 8px;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.final-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: btn-shimmer 3s infinite;
}

.final-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.cta-disclaimer {
  color: #666;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  display: block;
}

/* Footer */
.funding-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 2vw, 2.5rem) clamp(1rem, 3vw, 4rem);
}

.footer-container {
  max-width: min(1400px, 90vw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.footer-logo {
  font-weight: 700;
  font-size: clamp(0.875rem, 1.2vw, 1.1rem);
}

.footer-logo-image {
  height: 24px;
  width: auto;
}

.footer-copy {
  color: #666;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

.footer-right {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}

.footer-right a {
  color: #666;
  text-decoration: none;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  transition: color 0.2s;
}

.footer-right a:hover {
  color: #fff;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* 4K and Ultra Wide Displays (2560px+) */
@media (min-width: 2560px) {
  .nav-container,
  .hero-grid,
  .gallery-container,
  .process-container,
  .proof-container,
  .faq-container,
  .footer-container {
    max-width: 2000px;
  }
  
  .hero-headline {
    font-size: 6rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Large Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
  .nav-container,
  .hero-grid,
  .gallery-container,
  .process-container,
  .proof-container,
  .faq-container,
  .footer-container {
    max-width: 1800px;
  }
}

/* Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Laptop (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-grid {
    gap: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Landscape (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-left {
    order: 2;
  }
  
  .hero-right {
    order: 1;
    margin: 0 auto;
  }
  
  .instant-calc {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item.large {
    grid-column: span 2;
  }
  
  .proof-card.featured {
    grid-column: span 1;
  }
}

/* Tablet Portrait & Large Phone (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
  .nav-link {
    display: none;
  }

  .funding-hero {
    padding-top: 140px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .trust-logos {
    justify-content: center;
  }

  .process-steps {
    flex-direction: column;
    gap: 1.5rem;
  }

  .process-step {
    max-width: 100%;
    margin: 0;
  }

  .step-connector {
    display: none !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Multi-step form responsive */
  .option-btn {
    min-width: calc(50% - 0.375rem);
  }

  .credit-score-buttons {
    flex-wrap: wrap;
  }

  .credit-score-buttons .option-btn {
    min-width: calc(33.333% - 0.5rem);
    flex: 0 0 auto;
  }
}

/* Small Phone (320px - 479px) */
@media (max-width: 479px) {
  .funding-nav {
    padding: 0.75rem 1rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .nav-link {
    display: none;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }

  .funding-hero {
    padding-top: 160px;
  }

  .hero-badge {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .trust-logos {
    flex-direction: column;
    gap: 1rem;
  }

  .instant-calc {
    padding: 1.5rem 1.25rem;
    max-width: 100%;
    width: 100%;
  }

  .process-steps {
    flex-direction: column;
    gap: 1.25rem;
  }

  .process-step {
    padding: 1.25rem;
  }

  .step-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }

  .step-number {
    font-size: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 0.5rem;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .proof-card.featured {
    grid-column: span 1;
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-left {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Multi-step form responsive - small phones */
  .step-dot {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .step-line {
    width: 30px;
  }

  .step-labels {
    padding: 0;
  }

  .step-labels span {
    font-size: 0.75rem;
  }

  .option-btn {
    min-width: calc(50% - 0.25rem);
    padding: 0.7rem 0.75rem;
  }

  .credit-score-buttons .option-btn {
    min-width: calc(50% - 0.25rem);
  }

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

  .form-navigation {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .nav-btn {
    width: 100%;
  }

  .checkbox-btn {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .checkbox-icon {
    width: 18px;
    height: 18px;
  }

  .tcpa-disclosure {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
}

/* Ultra Small Phone (below 320px) */
@media (max-width: 319px) {
  body {
    font-size: 14px;
  }
  
  .hero-headline {
    font-size: 1.75rem;
  }
  
  .funding-slider {
    height: 8px;
  }
  
  .modern-input {
    padding: 0.75rem;
  }
  
  .submit-btn {
    padding: 0.875rem;
    font-size: 0.875rem;
  }
}

/* Landscape Phone Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .funding-hero {
    min-height: auto;
    padding: 80px 2rem 40px;
  }
  
  .hero-headline {
    font-size: 2rem;
  }
  
  .instant-calc {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Print Styles */
@media print {
  .funding-nav,
  .funding-ticker,
  .nav-cta,
  .submit-btn,
  .final-cta-btn {
    display: none;
  }

  .funding-hero {
    background: white;
    color: black;
  }

  .hero-headline,
  .text-gradient {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* AdvisorHub Form Embed Styles */
.advisorhub-form-container {
  min-height: 500px;
  padding: 0;
}

#advisorhub-form-wrapper {
  width: 100%;
  min-height: 500px;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

#advisorhub-form-wrapper > div {
  width: 100% !important;
  min-height: 500px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Fillout form iframe styling */
#advisorhub-form-wrapper iframe {
  width: 100% !important;
  min-height: 500px !important;
  border: none !important;
  border-radius: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile adjustments for AdvisorHub form */
@media (max-width: 768px) {
  .advisorhub-form-container {
    min-height: 550px;
    padding: 0;
  }

  #advisorhub-form-wrapper {
    min-height: 550px;
  }

  #advisorhub-form-wrapper > div,
  #advisorhub-form-wrapper iframe {
    min-height: 550px !important;
  }
}

@media (max-width: 480px) {
  .advisorhub-form-container {
    min-height: 600px;
    padding: 0;
  }

  #advisorhub-form-wrapper {
    min-height: 600px;
  }

  #advisorhub-form-wrapper > div,
  #advisorhub-form-wrapper iframe {
    min-height: 600px !important;
  }
}