/* ========================================
   LOANABLE - NEXUS-INSPIRED MODERN UI
   Clean, Bold, Colorful Bento Design
   ======================================== */

/* ========================================
   CUSTOM FONTS - Poppins Stack
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Primary Colors - Mature & Sophisticated */
    --black: #1a1a2e;
    --white: #FFFFFF;
    --off-white: #F8F9FC;
    
    /* Accent Colors - Mellowed Palette */
    --purple-light: #E8E4F3;
    --purple: #6B5B95;
    --purple-dark: #4A3F6B;
    --sage: #C5D5CB;
    --sage-dark: #8BA496;
    --cream: #F5F0E8;
    --warm-gray: #E8E6E1;
    --accent-blue: #5B7BA3;
    
    /* Grays - Warmer tones */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EAEAEA;
    --gray-300: #D4D4D4;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Text Colors */
    --text-dark: #1a1a2e;
    --text-primary: #1F2937;
    --text-secondary: #4B5563;
    --text-gray: #6B7280;
    --text-muted: #6B7280;
    --text-light: #FFFFFF;
    
    /* Font */
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Shadows - Enhanced depth */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.18), 0 12px 24px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 32px 80px rgba(0, 0, 0, 0.2), 0 16px 32px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(107, 91, 149, 0.2);
    
    /* Transitions - Bezier Curves */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-fast: 0.2s var(--ease-out);
    --transition-medium: 0.4s var(--ease-out-expo);
    --transition-slow: 0.6s var(--ease-out-cubic);
    --transition-normal: 0.3s var(--ease-out);

    /* Shared header wordmark — keep in sync with shared-header.js */
    --nav-logo-height: 60px;
    --nav-logo-max-width: 250px;
    --nav-bar-min-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
    background: #FFFFFF;
    scroll-padding-top: 96px;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    line-height: 1.6;
    background: #FFFFFF;
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure all main sections have white background unless explicitly styled */
section:not(.hero):not(.cta-section):not(.why-choose-us):not(.faq-section):not(.legal-hero):not(.legal-body):not([class*="dark"]):not([class*="purple"]) {
    background: #FFFFFF !important;
}

/* ========================================
   GLOBAL INTERACTION STATES
   ======================================== */
button, a, [role="button"] {
    -webkit-tap-highlight-color: transparent;
}

/* Click feedback for all interactive cards */
.funding-card:active,
.step-card:active,
.resource-card:active,
.stat-glass-card:active,
.benefit-card:active,
.faq-item:active {
    transform: scale(0.98);
    transition: transform 0.1s var(--ease-out);
}

/* Smooth transitions for all hover states */
a, button, input, select, textarea {
    transition: all 0.3s var(--ease-out-expo);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container { 
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    body, html {
        width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
        background: #FFFFFF !important;
    }
    
    /* Remove any dark green backgrounds */
    body::before,
    html::before,
    body::after,
    html::after {
        display: none !important;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000 !important;
    padding: 0.75rem 0 !important;
    background: #FFFFFF !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
    min-height: var(--nav-bar-min-height) !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    overflow: visible !important;
}

.navbar.scrolled {
    background: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0;
    overflow: visible !important;
}

.navbar .container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    max-width: none;
    overflow: visible !important;
    padding-left: 1.25rem;
    padding-right: 1.5rem;
}

/* Nav Links - Base styles */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    flex-direction: row;
    position: static;
    flex: 0 1 auto;
    margin-left: auto;
    min-width: 0;
    width: auto;
    height: auto;
}

.navbar.scrolled .nav-links {
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    max-width: var(--nav-logo-max-width);
}

.logo a {
    display: flex;
    align-items: center;
    overflow: hidden;
    max-width: var(--nav-logo-max-width);
    flex-shrink: 0;
}

/* Wordmark SVGs ship with a 1200×500 canvas. Without a cap, flex treats the
   logo as ~1200px, shrinks the box to nothing, and the graphic paints over
   "Business Loans". */
.navbar .logo img,
.logo img {
    height: var(--nav-logo-height);
    width: auto;
    max-height: var(--nav-logo-height);
    max-width: var(--nav-logo-max-width);
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.logo-light { display: none !important; }
.logo-dark { display: block !important; }

.nav-dropdown {
    position: relative;
    flex-shrink: 0;
}

.nav-dropdown-toggle,
.nav-link-plain {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.2;
    color: #333333;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-dropdown-toggle:focus,
.nav-link-plain:focus {
    outline: none;
}

.nav-dropdown-toggle:focus-visible,
.nav-link-plain:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

@media (min-width: 769px) and (max-width: 1440px) {
    .nav-content {
        gap: 0.75rem;
    }
    .nav-links {
        gap: 0.1rem;
    }
    .nav-dropdown-toggle,
    .nav-link-plain {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
        gap: 4px;
    }
    .auth-buttons {
        margin-left: 0.25rem;
        padding-left: 0.5rem;
        gap: 0.25rem;
    }
}

.nav-dropdown-toggle:hover,
.nav-link-plain:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333333;
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    transform: none;
    min-width: 220px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10001;
    transition: opacity 0.15s ease, visibility 0s linear 0.2s;
}

@media (min-width: 769px) {
    .nav-dropdown-menu::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 100%;
        height: 28px;
    }
}

.nav-dropdown.align-menu-end .nav-dropdown-menu {
    left: auto;
    right: 0;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity 0.15s ease, visibility 0s linear 0s;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.nav-dropdown-menu a:hover {
    background: rgba(107, 91, 149, 0.1);
    color: var(--purple);
}

.nav-dropdown-menu a.view-all {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--purple);
    font-weight: 500;
    font-weight: 500;
}

.auth-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.35rem;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Voxybuns Button Style - From Uiverse.io */
button.voxybuns-btn,
a.voxybuns-btn,
.btn-secondary.voxybuns-btn,
.btn-primary.voxybuns-btn {
    --button_radius: 0.75em;
    --button_color: #e8e8e8;
    --button_outline_color: #000000;
    font-size: 17px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: var(--button_radius);
    background: var(--button_outline_color);
    padding: 0;
    text-decoration: none;
    display: inline-block;
}

button.voxybuns-btn .button_top,
a.voxybuns-btn .button_top,
.btn-secondary.voxybuns-btn .button_top,
.btn-primary.voxybuns-btn .button_top {
    display: block;
    box-sizing: border-box;
    border: 2px solid var(--button_outline_color);
    border-radius: var(--button_radius);
    padding: 0.75em 1.5em;
    background: var(--button_color);
    color: var(--button_outline_color);
    transform: translateY(-0.2em);
    transition: transform 0.1s ease;
}

button.voxybuns-btn:hover .button_top,
a.voxybuns-btn:hover .button_top,
.btn-secondary.voxybuns-btn:hover .button_top,
.btn-primary.voxybuns-btn:hover .button_top {
    transform: translateY(-0.33em);
}

button.voxybuns-btn:active .button_top,
a.voxybuns-btn:active .button_top,
.btn-secondary.voxybuns-btn:active .button_top,
.btn-primary.voxybuns-btn:active .button_top {
    transform: translateY(0);
}

/* Primary button variant */
.btn-primary.voxybuns-btn {
    --button_color: #000000;
    --button_outline_color: #000000;
}

.btn-primary.voxybuns-btn .button_top {
    background: var(--button_color);
    color: #ffffff;
}

/* Secondary button variant */
.btn-secondary.voxybuns-btn {
    --button_color: #ffffff;
    --button_outline_color: #000000;
}

.btn-secondary {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(107, 91, 149, 0.1);
    color: var(--purple);
}

.btn-primary {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    background: #4B367C;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), transform 0.2s var(--ease-out-expo);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #3d2a63;
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: scale(0.96) translateY(0);
    transition: transform 0.1s var(--ease-out);
}

/* Nav-specific button styling.
   Do not use radius 9999px, will-change: transform, or scale() here —
   Chrome paints those as a giant oval over the header on hover/click. */
.nav-links .btn-primary,
.auth-buttons .btn-primary,
.navbar .user-apply-btn {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-height: 44px;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #4A3F6B 100%);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.25);
    color: #FFFFFF !important;
    border-radius: 50px;
    overflow: hidden;
    white-space: nowrap;
    transform: none;
    will-change: auto;
    align-self: center;
}

.nav-links .btn-primary:hover,
.auth-buttons .btn-primary:hover,
.navbar .user-apply-btn:hover {
    transform: none;
    background: #3d2a63;
    box-shadow: 0 6px 16px rgba(26, 26, 46, 0.35);
}

.nav-links .btn-primary:active,
.auth-buttons .btn-primary:active,
.navbar .user-apply-btn:active {
    transform: none;
}

/* User Menu */
.user-menu { position: relative; }

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    cursor: pointer;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--purple-light);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    padding: var(--spacing-sm);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
}

.user-dropdown-item:hover {
    background: var(--gray-100);
    color: var(--text-dark);
}

.user-dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: var(--spacing-xs) 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 120px 0 56px;
    background: var(--white);
    overflow: visible;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    max-width: 520px;
}

.hero-content h1 em {
    font-style: normal;
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    max-width: 480px;
}

.hero-buttons,
.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.35rem;
    flex-wrap: wrap;
}

/* Breathing animation for hero CTA */
@keyframes breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(75, 54, 124, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(75, 54, 124, 0.45);
    }
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--black);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
    animation: breathe 3s ease-in-out infinite;
}

.btn-hero:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
    animation: none; /* Stop breathing on hover for direct feedback */
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-hero-outline:hover {
    border-color: var(--text-dark);
    background: var(--gray-100);
}

.trust-row {
    margin-top: 1.5rem;
}

.trust-row p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 0.7rem;
}

.trust-logos {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}

.trust-logos img {
    display: block;
    width: auto;
    height: 20px;
    object-fit: contain;
    object-position: left bottom;
    flex-shrink: 0;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: all var(--transition-fast);
}

/* Each SVG has different padding, so heights are optical — not equal CSS pixels. */
.trust-logos img[alt="Forbes Advisor"] {
    height: 20px;
}

.trust-logos img[alt="LendingTree"] {
    height: 26px;
}

.trust-logos img[alt="NerdWallet"] {
    height: 20px;
}

.trust-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Hero Visual - Image Frame - Fixed Loading */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    width: 100%;
    overflow: visible;
    /* Room for the hanging color blocks so they peek out without clipping */
    padding: 40px 52px 56px 40px;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    overflow: visible;
    will-change: transform;
    transform: translateZ(0);
}

/* Decorative Frame Elements — sit behind the photo and peek past its corners */
.frame-decoration {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: var(--radius-2xl);
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.frame-top-left {
    top: -28px;
    left: -28px;
    background: linear-gradient(135deg, #E8E4F3 0%, #D4CCE8 100%);
}

.frame-bottom-right {
    bottom: -36px;
    right: -36px;
    background: linear-gradient(135deg, #E4F0E8 0%, #C5DCC9 100%);
}

/* Accent shapes - Prevent Layout Shifts */
.frame-accent {
    position: absolute;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.frame-accent-1 {
    top: -12px;
    right: -16px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6B5B95 0%, #8B7BAF 100%);
    border-radius: 50%;
    opacity: 0.8;
}

.frame-accent-2 {
    bottom: -8px;
    left: -16px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6B5B95 0%, #8B7BAF 100%);
    border-radius: var(--radius-lg);
    transform: rotate(15deg);
    opacity: 0.7;
}

.frame-accent-3 {
    top: 42%;
    right: -28px;
    width: 100px;
    height: 100px;
    border: 3px solid #E8E4F3;
    border-radius: 50%;
    opacity: 0.5;
}

/* Main Image Container */
.hero-image-container {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(107, 91, 149, 0.15);
    width: 100%;
}

.hero-main-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover .hero-main-image {
    transform: scale(1.03);
}

/* Floating Badges - Prevent Layout Shifts */
.floating-badge {
    position: absolute;
    z-index: 3;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    transform: translateZ(0);
    opacity: 1;
    visibility: visible;
}

.floating-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.floating-badge-top {
    top: 30px;
    right: -30px;
    flex-direction: column;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--black) 0%, var(--purple-dark) 100%);
    color: var(--white);
}

.floating-badge-top .badge-value {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.floating-badge-top .badge-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.floating-badge-bottom {
    bottom: 40px;
    left: -40px;
    background: var(--white);
}

.floating-badge-bottom svg {
    flex-shrink: 0;
}

.floating-badge-bottom div {
    display: flex;
    flex-direction: column;
}

.floating-badge-bottom .badge-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-badge-bottom .badge-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 1200px) {
    .hero-image-frame {
        max-width: 450px;
    }
    
    .floating-badge-top {
        right: 0;
    }
    
    .floating-badge-bottom {
        left: 0;
    }
}

/* Mobile hero styles moved to comprehensive mobile section below - this block removed to prevent conflicts */

/* ========================================
   FUNDING QUESTION (Hero)
   ======================================== */
.funding-question {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.funding-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.purpose-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.purpose-btn {
    padding: 10px 20px;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid #e5e5e5;
}

.purpose-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
    transform: translateY(-1px);
}

.hero-subtitle sup {
    font-size: 0.7em;
    color: #ef4444;
}

@media (max-width: 768px) {
    .purpose-buttons {
        gap: 8px;
    }
    
    .purpose-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

/* ========================================
   QUICK CHECK SECTION
   ======================================== */
.quick-check {
    padding: var(--spacing-xl) 0;
    background: var(--gray-50);
}

.quick-check-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.funding-dropdown-wrapper {
    position: relative;
    min-width: 300px;
}

.funding-dropdown-trigger {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: var(--text-secondary);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
}

.funding-dropdown-trigger:hover {
    border-color: var(--text-dark);
}

.funding-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
}

.funding-dropdown-wrapper.active .funding-dropdown-menu {
    display: block;
}

.funding-dropdown-option {
    padding: 12px 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.funding-dropdown-option:hover {
    background: var(--gray-100);
}

.btn-check {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--black);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-check:hover {
    background: var(--gray-800);
}

/* ========================================
   FEATURES / SERVICES SECTION
   ======================================== */
.features-section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.section-header .icon {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header h2 em {
    font-style: normal;
    color: #1e3a5f;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--gray-200);
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.feature-item:hover {
    padding-left: var(--spacing-md);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

.feature-item .arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.feature-item:hover .arrow {
    background: var(--purple);
    border-color: var(--purple);
}

.feature-item:hover .arrow svg {
    stroke: var(--white);
}

.feature-item .arrow svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-dark);
    transform: rotate(-45deg);
}

/* ========================================
   FUNDING OPTIONS SECTION 
   ======================================== */
.funding-options-wrapper,
.funding-options-section {
    position: relative;
    padding: 3rem 0;
    background: var(--white);
}

.funding-options-wrapper h2,
.funding-options-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--purple-dark);
}

.funding-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.funding-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: left;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.funding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--purple) 0%, var(--purple-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.funding-card:hover {
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(75, 54, 124, 0.2);
}

/* Ensure hover works on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    .funding-card:hover {
        box-shadow: 
            0 8px 24px rgba(0, 0, 0, 0.12),
            0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
        border-color: rgba(75, 54, 124, 0.2);
    }
}

.funding-card-icon {
    margin-bottom: var(--spacing-md);
}

.funding-card-icon svg {
    width: 48px;
    height: 48px;
}

.funding-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--purple-dark);
    margin-bottom: var(--spacing-sm);
}

.funding-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    min-height: 4.8em;
}

.funding-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg) 0;
    flex: 1 1 auto;
}

.funding-card-features li {
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.funding-card-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--purple-dark);
}

.funding-card-btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--purple-dark);
    background: var(--white);
    border: 2px solid var(--purple-dark);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.funding-card-btn:hover {
    background: var(--purple-dark);
    color: var(--white);
}

/* Overlapping Stats Bar */
.overlap-stats {
    display: flex;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.overlap-stat {
    flex: 1;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    position: relative;
}

.overlap-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: var(--gray-200);
}

.overlap-stat h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: 4px;
}

.overlap-stat p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .funding-cards {
        grid-template-columns: 1fr;
    }
    
    .overlap-stats {
        flex-direction: column;
    }
    
    .overlap-stat:not(:last-child)::after {
        width: 60%;
        height: 1px;
        top: auto;
        bottom: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================
   STATS SECTION (standalone with glass cards)
   ======================================== */
.stats-section {
    background: var(--white);
    padding: 20px 0 40px;
}

.stats-glass-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.stat-glass-card {
    position: relative;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgba(255,255,255,0.85) 0%, rgba(240,235,255,0.6) 50%, rgba(255,255,255,0.75) 100%);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 8px 32px rgba(107,91,149,0.12),
        0 2px 8px rgba(107,91,149,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -1px 0 rgba(107,91,149,0.06),
        0 0 0 0.5px rgba(107,91,149,0.08);
    cursor: pointer;
    will-change: transform, box-shadow;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.stat-glass-card:hover {
    transform: scale(1.05) translateY(-4px) !important;
    box-shadow:
        0 20px 60px rgba(107,91,149,0.18),
        0 8px 24px rgba(107,91,149,0.12),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 -1px 0 rgba(107,91,149,0.08),
        0 0 0 0.5px rgba(107,91,149,0.12) !important;
    border-color: rgba(139,123,175,0.35) !important;
    pointer-events: auto !important;
}

@media (hover: hover) and (pointer: fine) {
    .stat-glass-card:hover {
        transform: scale(1.05) translateY(-4px) !important;
        box-shadow:
            0 20px 60px rgba(107,91,149,0.18),
            0 8px 24px rgba(107,91,149,0.12),
            inset 0 1px 0 rgba(255,255,255,1),
            inset 0 -1px 0 rgba(107,91,149,0.08),
            0 0 0 0.5px rgba(107,91,149,0.12) !important;
    }
}

.stat-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(139,123,175,0.06) 40%, rgba(255,255,255,0.2) 100%);
    pointer-events: none;
    z-index: 0;
}

.stat-glass-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    border-radius: inherit;
    background: radial-gradient(ellipse at 30% 20%, rgba(139,123,175,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(107,91,149,0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.stat-glass-card h3 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-dark) 0%, #6B5B95 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.stat-glass-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Legacy stat-bar styles */
.stats-bar {
    display: flex;
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 50px rgba(0,0,0,0.08);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background: var(--gray-200);
}

.stat-item h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .stats-glass-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ========================================
   FUNDING SPEED SECTION (3 Steps + Phone)
   ======================================== */
.funding-speed-section {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.funding-speed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.funding-speed-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.funding-steps {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.funding-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.35rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin: 0;
}

.funding-speed-cta {
    margin-top: 2rem;
}

.funding-speed-cta .btn-primary-large {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.funding-speed-cta .btn-primary-large:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

/* Phone Mockup Section */
.funding-speed-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup-container {
    position: relative;
    max-width: 350px;
}

.phone-mockup-container img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.15));
}

/* Decorative circles behind phone */
.phone-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.phone-circle-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.5) 0%, rgba(110, 231, 183, 0.3) 100%);
    top: -20px;
    right: -40px;
}

.phone-circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.6) 0%, rgba(110, 231, 183, 0.4) 100%);
    bottom: 50px;
    left: -30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .funding-speed-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .funding-speed-section {
        padding: 3rem 0;
    }
    
    .funding-speed-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .funding-speed-content {
        order: 1;
        text-align: center;
    }
    
    .funding-speed-visual {
        order: 2;
    }
    
    .funding-speed-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .funding-steps {
        text-align: left;
    }
    
    .phone-mockup-container {
        max-width: 280px;
    }
    
    .phone-circle-1 {
        width: 150px;
        height: 150px;
        top: -10px;
        right: -20px;
    }
    
    .phone-circle-2 {
        width: 100px;
        height: 100px;
        bottom: 30px;
        left: -10px;
    }
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.why-choose-us {
    background: linear-gradient(135deg, var(--black) 0%, var(--purple-dark) 100%);
    padding: 60px 0;
    position: relative;
    margin: 0;
}

/* Subtle texture overlay for depth */
.why-choose-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(107, 91, 149, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 164, 150, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose-us h2 {
    text-align: center;
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-2xl);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.benefit-card {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    will-change: transform, box-shadow;
    pointer-events: auto;
    min-height: auto;
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    pointer-events: auto !important;
}

@media (hover: hover) and (pointer: fine) {
    .benefit-card:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
    }
}

/* Simple icon style - no circle background */
.benefit-icon-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    transition: transform 0.3s ease;
}

.benefit-icon-simple svg {
    width: 48px;
    height: 48px;
    stroke: rgba(255,255,255,0.9);
}

.benefit-card:hover .benefit-icon-simple {
    transform: scale(1.1);
}

/* Legacy icon styles with circles (keep for other pages) */
.benefit-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    transition: transform 0.3s ease;
}

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

.benefit-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}

.benefit-icon-yellow {
    background: linear-gradient(145deg, #fef3c7 0%, #fbbf24 100%);
    color: var(--black);
}

.benefit-icon-green {
    background: linear-gradient(145deg, #d1fae5 0%, #34d399 100%);
    color: var(--black);
}

.benefit-icon-purple {
    background: linear-gradient(145deg, var(--purple-light) 0%, #a78bfa 100%);
    color: var(--black);
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.benefit-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    word-wrap: break-word;
}

.benefit-card p sup {
    font-size: 0.7em;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .why-choose-us {
        padding: 60px 0;
    }
    
    .stats-bar {
        flex-direction: column;
    }
    
    .stat-item:not(:last-child)::after {
        width: 60%;
        height: 1px;
        top: auto;
        bottom: 0;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========================================
   FUNDING OPTIONS SECTION
   ======================================== */
/* Funding Options Section - additional styles handled above */

/* ========================================
   HOW IT WORKS SECTION (Simplified)
   ======================================== */
.how-it-works-section {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.how-it-works-section h2 em {
    font-style: normal;
    color: var(--purple);
}

.how-it-works-section .section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
}

.steps-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid var(--gray-200);
}

.step-card:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(107, 91, 149, 0.15);
    border-color: var(--purple-light);
}

.step-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-card .step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--purple-light);
    border-radius: var(--radius-lg);
}

.step-card .step-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--purple);
}

/* Legacy support for old three-steps if needed */
/* ========================================
   HOW IT WORKS - STEPS SECTION
   ======================================== */
.three-steps {
    padding: 4rem 0;
    background: var(--white);
}

.steps-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

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

.step-item.step-reverse {
    direction: rtl;
}

.step-item.step-reverse > * {
    direction: ltr;
}

.step-visual {
    display: flex;
    justify-content: center;
}

.mockup-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 320px;
    width: 100%;
}

.mockup-header {
    margin-bottom: 1rem;
}

.mockup-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.mockup-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: 1rem;
}

.mockup-slider {
    height: 6px;
    background: linear-gradient(90deg, var(--purple) 60%, var(--gray-200) 60%);
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.mockup-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-row span:first-child {
    color: var(--text-gray);
}

.detail-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.recommended-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.funds-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #dcfce7;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contract-preview {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

.contract-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #166534;
    letter-spacing: 0.5px;
}

.mockup-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--white);
    border: 2px solid var(--purple);
    color: var(--purple);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.mockup-btn:hover {
    background: var(--purple);
    color: white;
}

.mockup-btn-dark {
    width: 100%;
    padding: 0.875rem;
    background: var(--purple-dark);
    border: none;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1rem;
}

.step-text {
    display: block;
}

.step-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple);
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.step-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-text p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* How It Works - Mobile */
@media (max-width: 768px) {
    .three-steps {
        padding: 2rem 0;
    }
    
    .steps-grid {
        gap: 3rem;
    }
    
    .step-item,
    .step-item.step-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.5rem;
    }
    
    .step-visual {
        order: 1;
    }
    
    .step-text {
        order: 2;
        text-align: center;
    }
    
    .mockup-card {
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .mockup-amount {
        font-size: 2rem;
    }
    
    .step-text h3 {
        font-size: 1.25rem;
    }
}

/* ========================================
   SOCIAL PROOF / TESTIMONIALS
   ======================================== */
.social-proof {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.social-proof h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.testimonials-carousel {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: var(--spacing-lg);
}

.testimonial-card {
    flex: 0 0 350px;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--black) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card.featured blockquote {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-left: var(--spacing-lg);
}

.testimonial-card.featured blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--purple);
    font-family: Georgia, serif;
}

.testimonial-image {
    height: 200px;
}

.testimonial-content {
    padding: var(--spacing-lg);
}

.testimonial-content h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
}

.testimonial-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.testimonial-card.featured .testimonial-author strong {
    color: var(--white);
}

.testimonial-card.featured .testimonial-author span {
    color: var(--gray-400);
}

/* Simplified Testimonial Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card-simple {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.testimonial-card-simple:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

.testimonial-card-simple .testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-card-simple .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.testimonial-card-simple:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-card-simple .testimonial-content {
    padding: var(--spacing-lg);
}

.testimonial-card-simple .testimonial-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.testimonial-card-simple .testimonial-author {
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--gray-200);
}

.testimonial-card-simple .testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-card-simple .testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

.carousel-arrow {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: var(--black);
    border-color: var(--black);
}

.carousel-arrow:hover svg {
    stroke: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--black);
    width: 24px;
    border-radius: var(--radius-full);
}

/* ========================================
   TRUST STATS BAR
   ======================================== */
.trust-stats {
    padding: 1.5rem 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--purple-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.trust-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.trust-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
    position: relative;
    z-index: 1;
}

.trust-stats .stat-item {
    position: relative;
    padding: 0 1.5rem;
}

.trust-stats .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.trust-stats .stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.trust-stats .stat-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Product Page Loan Type Cards */
.loan-type-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.loan-type-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.loan-type-icon {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.loan-type-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
}

.loan-type-icon svg {
    width: 56px;
    height: 56px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.loan-type-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.loan-type-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.loan-type-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.loan-type-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.loan-type-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Requirements Section Styling */
.requirements-section {
    padding: 5rem 0;
    background: var(--white);
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.requirement-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.requirement-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.35rem;
}

.requirement-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Speed CTA Card */
.speed-cta-card {
    background: #4A3F6B;
    border-radius: 24px;
    padding: 2.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.speed-cta-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 60%);
}

.speed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.speed-badge svg {
    width: 18px;
    height: 18px;
}

.speed-cta-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.speed-cta-card p {
    font-size: 1rem;
    color: #ffffff;
    opacity: 1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.speed-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.speed-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.speed-feature svg {
    width: 20px;
    height: 20px;
    color: #E8E4F3;
    stroke: #ffffff;
}

.speed-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: white;
    color: var(--purple-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.speed-cta-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========================================
   USE CASES CAROUSEL
   ======================================== */
.use-cases {
    padding: var(--spacing-3xl) 0;
}

.use-cases h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.use-cases h2 em {
    font-style: normal;
    color: var(--purple);
}

.use-cases-carousel {
    overflow: hidden;
    margin: 0 calc(-1 * var(--spacing-lg));
}

.use-cases-track {
    display: flex;
    gap: var(--spacing-md);
    animation: scroll-left 40s linear infinite;
    padding: 0 var(--spacing-lg);
}

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

.use-case-item {
    flex: 0 0 300px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

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

.use-case-label {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ========================================
   CALCULATOR SECTION
   ======================================== */
.fundability-calculator {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-50);
}

.fundability-calculator h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.fundability-calculator h2 em {
    font-style: normal;
    color: var(--purple);
}

.fundability-calculator .section-subtitle {
    max-width: 600px;
    margin: 0 auto var(--spacing-2xl);
}

.calculator-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.input-wrapper {
    position: relative;
}

.input-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    padding-left: 32px;
    font-size: 1rem;
    font-family: var(--font-main);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color var(--transition-fast);
}

.form-group select {
    padding-left: 16px;
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(91, 123, 163, 0.1);
}

.form-group input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    appearance: none;
    cursor: pointer;
}

.form-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(107, 91, 149, 0.3);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.time-btn,
.type-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-main);
    color: var(--text-secondary);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.time-btn:hover,
.type-btn:hover {
    border-color: var(--text-dark);
}

.time-btn.active,
.type-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.credit-display {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
}

#creditValue {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.credit-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.calculator-results {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-200);
}

.results-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.results-header h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.result-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    text-align: center;
}

.result-card.primary {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--warm-gray) 100%);
}

.result-icon {
    margin-bottom: var(--spacing-sm);
}

.result-icon svg {
    stroke: var(--text-dark);
}

.result-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.result-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.result-range {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

.score-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    margin-top: var(--spacing-sm);
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sage-dark) 0%, var(--sage) 100%);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.5s var(--ease-out);
}

.results-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.results-cta p {
    margin-bottom: var(--spacing-md);
}

.btn-primary-large {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--black);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary-large:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.calculator-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.btn-reset {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: var(--font-main);
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-reset:hover {
    border-color: var(--text-dark);
}

.calculator-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   RESOURCES / BLOG
   ======================================== */
/* ========================================
   RESOURCES / BLOG SECTION - ENHANCED
   ======================================== */
.resources {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--white) 0%, #f8f7fc 100%);
    position: relative;
    overflow: hidden;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 91, 149, 0.2), transparent);
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.resources h2 {
    margin-bottom: var(--spacing-xs);
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resources .section-subtitle {
    color: var(--text-gray);
    margin: 0;
}

.resources-view-all {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(107, 91, 149, 0.1);
    transition: all 0.3s ease;
}

.resources-view-all:hover {
    background: rgba(107, 91, 149, 0.2);
    transform: translateX(4px);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.resource-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(107, 91, 149, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 4px 20px rgba(107, 91, 149, 0.08);
}

.resource-card.animated,
.resource-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.resource-card:nth-child(1) { transition-delay: 0.1s; }
.resource-card:nth-child(2) { transition-delay: 0.2s; }
.resource-card:nth-child(3) { transition-delay: 0.3s; }
.resource-card:nth-child(4) { transition-delay: 0.4s; }

.resource-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(107, 91, 149, 0.2) !important;
    border-color: rgba(107, 91, 149, 0.3) !important;
    pointer-events: auto !important;
}

@media (hover: hover) and (pointer: fine) {
    .resource-card:hover {
        transform: translateY(-8px) scale(1.02) !important;
        box-shadow: 0 20px 40px rgba(107, 91, 149, 0.2) !important;
        border-color: rgba(107, 91, 149, 0.3) !important;
    }
}

.resource-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}

/* Removed duplicate - handled above */

.resource-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover .resource-image::after {
    opacity: 1;
}

.resource-content {
    padding: var(--spacing-lg);
    position: relative;
}

.resource-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--purple);
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(107, 91, 149, 0.1);
    border-radius: 4px;
}

.resource-content h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.resource-card:hover h3 {
    color: var(--purple);
}

.resource-meta {
    display: flex;
    gap: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.resource-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
/* ========================================
   FAQ SECTION - PURPLE GRADIENT THEME
   ======================================== */
.faq-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, #2a1f4e 0%, #1a1235 50%, #0f0a1f 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.faq-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -25%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(107, 91, 149, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.faq-section .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Homepage FAQ items - dark theme with animations */
.faq-section .faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: none;
}

.faq-section .faq-item.animated {
    opacity: 1;
    transform: none;
}

.faq-section .faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-section .faq-item:nth-child(2) { transition-delay: 0.15s; }
.faq-section .faq-item:nth-child(3) { transition-delay: 0.2s; }
.faq-section .faq-item:nth-child(4) { transition-delay: 0.25s; }
.faq-section .faq-item:nth-child(5) { transition-delay: 0.3s; }

.faq-section .faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.faq-section .faq-item.active {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
}

/* Default FAQ styles */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-main);
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
    color: var(--purple);
}

.faq-question:active {
    transform: scale(0.99);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-gray);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--purple);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Homepage FAQ dark theme overrides */
.faq-section .faq-question {
    color: var(--white);
}

.faq-section .faq-question span {
    color: var(--white);
}

.faq-section .faq-question:hover {
    color: rgba(255, 255, 255, 0.9);
}

.faq-section .faq-question:hover span {
    color: #c4b5fd;
}

.faq-section .faq-chevron {
    color: rgba(255, 255, 255, 0.5);
}

.faq-section .faq-item:hover .faq-chevron {
    color: rgba(255, 255, 255, 0.8);
}

.faq-section .faq-item.active .faq-chevron {
    color: #a78bfa;
}

.faq-section .faq-answer p {
    color: rgba(255, 255, 255, 0.7);
}

.faq-cta {
    text-align: center;
    margin-top: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.faq-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.faq-section .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: transparent;
    color: var(--purple);
    border: 2px solid var(--purple);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-outline:active {
    transform: translateY(0) scale(0.98);
}

/* Old FAQ styles - keep for compatibility */
.faq {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.faq h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-main);
    text-align: left;
    color: var(--text-dark);
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo img {
    height: 32px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0);
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    border-radius: 50%;
    color: var(--text-dark);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--purple);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--purple);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

.dev-access {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-800);
}

/* ========================================
   FLOATING APPLY NOW BUTTON - LIQUID GLASS
   ======================================== */
.floating-apply-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    pointer-events: auto;
    cursor: pointer;
}

.floating-apply-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 3px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    color: var(--purple-dark);
}

.floating-apply-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .floating-apply-btn {
        bottom: 16px;
        right: 16px;
        height: 48px;
        min-height: 48px;
        max-height: 48px;
        padding: 0 18px;
        font-size: 0.8125rem;
    }
    
    /* Hide on mobile menu open to avoid blocking */
    body.menu-open .floating-apply-btn {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }
}

/* Ensure it doesn't overlap with footer - add padding to footer area */
.footer {
    padding-bottom: calc(1.5rem + 68px);
}

@media (max-width: 768px) {
    .footer {
        padding-bottom: calc(1rem + 68px);
    }
}

/* Hide button when near footer to avoid overlap */
.floating-apply-btn.near-footer {
    opacity: 0.7;
    transform: scale(0.95);
}

/* ========================================
   FUNDING PROCESS SECTION (SIMPLE VERSION)
   ======================================== */
.funding-process-section {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.funding-process-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-size: 2.5rem;
}

.funding-process-section .section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto var(--spacing-2xl);
}

.scroll-stack-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.scroll-stack-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0 3rem;
}

.scroll-stack-card {
    position: relative;
}

.scroll-stack-end {
    display: none;
}

/* Step Cards - Compact Version */
.step-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 8px 30px rgba(107, 91, 149, 0.12);
    transform: translateY(-2px);
}

.step-card-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
}

.step-number-badge {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(107, 91, 149, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--purple);
}

.step-card-text {
    flex: 1;
}

.step-card-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.step-card-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.step-checklist {
    display: none;
}

/* Step card left border colors */
.step-1 { border-left: 4px solid #6B5B95; }
.step-2 { border-left: 4px solid #7B6BA5; }
.step-3 { border-left: 4px solid #8B7BB5; }
.step-4 { border-left: 4px solid #9B8BC5; }
.step-5 { 
    border-left: 4px solid #10b981;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.03) 0%, var(--white) 100%);
}

.step-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    margin-top: 0.75rem;
    font-weight: 500;
    font-size: 0.85rem;
    color: #059669;
}

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

.step-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
}

.step-cta-btn:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .step-card-content {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .step-number-badge {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .step-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .step-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .step-card-text h3 {
        font-size: 1rem;
    }
    
    .step-card-text p {
        font-size: 0.85rem;
    }
    
    .funding-process-section h2 {
        font-size: 1.75rem;
    }
    
    .scroll-stack-inner {
        gap: 1rem;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resources-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 992px) {
    .step-item {
        grid-template-columns: 1fr;
    }
    
    .step-item:nth-child(even) {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-visual {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ========================================
   PAGE-SPECIFIC STYLES (Industry, Resources, etc.)
   ======================================== */
.page-hero {
    padding: 140px 0 60px;
    background: var(--white);
}

.page-hero-content {
    max-width: 700px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.page-hero h1 em {
    font-style: normal;
    color: #1e3a5f;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.page-stats {
    background: linear-gradient(135deg, var(--black) 0%, #1e3a5f 100%);
    padding: var(--spacing-xl) 0;
    color: var(--white);
}

.page-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.page-stat-item {
    padding: var(--spacing-md);
}

.page-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.page-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

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

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

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

.content-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.content-section h2 em {
    font-style: normal;
    color: #1e3a5f;
}

.content-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.content-section p strong {
    color: var(--text-dark);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.option-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all var(--transition-fast);
    text-align: center;
}

.option-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.option-card-icon {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.option-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #1e3a5f;
}

.option-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.option-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.option-card .amount {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: var(--spacing-md);
}

.option-card .btn-primary {
    width: 100%;
}

.two-col-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.two-col-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .two-col {
        grid-template-columns: 1fr;
    }
    
    .two-col.reverse {
        direction: ltr;
    }
}

.testimonial-banner {
    background: linear-gradient(135deg, var(--black) 0%, #1e3a5f 100%);
    color: var(--white);
    padding: var(--spacing-3xl) var(--spacing-xl);
    text-align: center;
    margin: var(--spacing-2xl) 0;
}

.testimonial-banner h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.testimonial-banner blockquote {
    font-size: 1.35rem;
    font-weight: 400;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.6;
    opacity: 0.95;
}

.testimonial-banner .author {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-banner .company {
    font-size: 0.9rem;
    opacity: 0.7;
}

.cta-section {
    padding: var(--spacing-3xl) 0;
    text-align: center;
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--warm-gray) 100%);
}

.cta-section h2 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.cta-section p {
    margin-bottom: var(--spacing-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.page-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {
    .two-col {
        grid-template-columns: 1fr;
    }
    
    .two-col.reverse {
        direction: ltr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .page-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .page-stats {
        grid-template-columns: 1fr;
    }
}

/* Glass 3D Effect */
.glass3d {
    --filter-glass3d: blur(30px) brightness(0.87) saturate(3);
    --color-glass3d: hsl(189 37% 39% / 0.2);
    --noise-glass3d: url("https://www.transparenttextures.com/patterns/egg-shell.png");
    position: relative;
    z-index: 4;
    box-shadow: 
        0 0 0.75px hsl(205 20% 10% / 0.2),
        0.7px 0.8px 1.2px -0.4px hsl(205 20% 10% / 0.1),
        1.3px 1.5px 2.2px -0.8px hsl(205 20% 10% / 0.1),
        2.3px 2.6px 3.9px -1.2px hsl(205 20% 10% / 0.1),
        3.9px 4.4px 6.6px -1.7px hsl(205 20% 10% / 0.1),
        6.5px 7.2px 10.9px -2.1px hsl(205 20% 10% / 0.1),
        8px 9px 14px -2.5px hsl(205 20% 10% / 0.2);
}

.glass3d::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    z-index: 3;
    -webkit-backdrop-filter: var(--filter-glass3d);
    backdrop-filter: var(--filter-glass3d);
    background-color: var(--color-glass3d);
    background-image: var(--noise-glass3d);
    background-size: 100px;
    background-repeat: repeat;
}

.glass3d::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    overflow: hidden;
    z-index: 5;
    box-shadow:
        inset 2px 2px 1px -3px hsl(205 20% 90% / 0.8),
        inset 4px 4px 2px -6px hsl(205 20% 90% / 0.3),
        inset 1.5px 1.5px 1.5px -0.75px hsl(205 20% 90% / 0.15),
        inset 1.5px 1.5px 0.25px hsl(205 20% 90% / 0.03),
        inset 0 0 0.25px 0.5px hsl(205 20% 90% / 0.03);
}

.glass3d > * {
    position: relative;
    z-index: 6;
}

/* ========================================
   RESPONSIVE: PRODUCT PAGES
   ======================================== */
@media (max-width: 1024px) {
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .loan-type-card {
        min-width: 0;
    }
    
    .loan-types-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .trust-stats .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trust-stats .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .trust-stats .stat-item {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .trust-stats .stat-item:last-child {
        border-bottom: none;
    }
    
    .loan-type-icon {
        height: 100px;
    }
    
    .loan-type-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .requirement-item {
        padding: 1.25rem;
    }
    
    .speed-cta-card {
        padding: 2rem;
    }
    
    .speed-cta-card h3 {
        font-size: 1.5rem;
    }
    
    .loan-types-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================
   DESKTOP NAVBAR - ALWAYS VISIBLE
   ======================================== */
@media (min-width: 769px) {
    .navbar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar .container {
        max-width: none !important;
        padding-left: 8rem !important;
        padding-right: 1.5rem !important;
    }
    
    .nav-content {
        display: flex !important;
        visibility: visible !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        gap: 1.25rem !important;
    }
    
    .nav-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: row !important;
        flex: 0 1 auto !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
    }
    
    .nav-dropdown {
        display: block !important;
        visibility: visible !important;
    }
    
    .nav-dropdown-toggle,
    .nav-link-plain {
        display: flex !important;
        visibility: visible !important;
    }
    
    .auth-buttons {
        display: flex !important;
        visibility: visible !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .logo {
        display: flex !important;
        visibility: visible !important;
        flex: 0 0 auto !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        max-width: var(--nav-logo-max-width) !important;
    }
    
    .logo img {
        visibility: visible !important;
        height: var(--nav-logo-height) !important;
        max-height: var(--nav-logo-height) !important;
        max-width: var(--nav-logo-max-width) !important;
        width: auto !important;
    }

    .logo img.logo-light {
        display: none !important;
    }

    .logo img.logo-dark {
        display: block !important;
    }
}

/* ========================================
   MOBILE MENU HAMBURGER
   ======================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--purple-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Mobile menu open state - only apply on mobile via media query */
/* NOTE: Removed global hide rule that was breaking desktop navbar */

/* ========================================
   SCROLL ANIMATIONS - Optimized Loading
   ======================================== */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

/* Disable animations until page is ready for faster initial load */
body:not(.animations-ready) .animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
    transition: none !important;
}

/* The IntersectionObserver in script.js marks revealed elements .visible, so
   both class names have to count as "revealed" here. Honouring only .animated
   left anything the observer touched stuck at opacity 0. */
body.animations-ready .animate-on-scroll:not(.animated):not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.animated,
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for cards */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* Scale up animation variant - Show by default */
.animate-scale {
    opacity: 1 !important;
    transform: scale(1) !important;
    visibility: visible !important;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Fade in from left - Optimized */
.animate-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

body.animations-ready .animate-left:not(.animated):not(.visible) {
    opacity: 0;
    transform: translateX(-30px);
}

.animate-left.animated,
.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right - Optimized */
.animate-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: transform, opacity;
}

body.animations-ready .animate-right:not(.animated):not(.visible) {
    opacity: 0;
    transform: translateX(30px);
}

.animate-right.animated,
.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   HERO ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(107, 91, 149, 0.15);
    }
    50% {
        box-shadow: 0 15px 50px rgba(107, 91, 149, 0.25);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Hero content animations */
.hero-content.animate-hero h1 {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-content.animate-hero .hero-subtitle {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.25s;
    opacity: 0;
}

.hero-content.animate-hero .hero-cta {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-content.animate-hero .trust-row {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.55s;
    opacity: 0;
}

/* Hero visual animations */
.hero-visual.animate-hero .hero-image-frame {
    animation: fadeInRight 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-visual.animate-hero .floating-badge {
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-visual.animate-hero .floating-badge-top {
    animation-delay: 0s;
}

.hero-visual.animate-hero .floating-badge-bottom {
    animation-delay: 1.5s;
}

.hero-visual.animate-hero .frame-decoration {
    animation: floatBadge 3s ease-in-out infinite;
}

.hero-visual.animate-hero .frame-top-left {
    animation-delay: 0s;
}

.hero-visual.animate-hero .frame-bottom-right {
    animation-delay: 1.5s;
}

/* Stats cards pulse animation */
.stat-glass-card.animated {
    animation: pulse 3s ease-in-out infinite;
}

.stat-glass-card.animated:nth-child(2) {
    animation-delay: 1s;
}

.stat-glass-card.animated:nth-child(3) {
    animation-delay: 2s;
}

/* Section title animations */
.section-title-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.section-title-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Funding card entrance animation */
.funding-card.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Counter animation for stats */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-glass-card.animated h3 {
    animation: countUp 0.5s ease-out forwards;
}

/* ========================================
   RESPONSIVE: HOMEPAGE MOBILE
   ======================================== */
@media (max-width: 1024px) {
    /* Funding cards - 2 columns on tablet */
    .funding-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    /* Benefits grid - 2 columns on tablet */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Navbar on mobile - TRANSPARENT since logo and hamburger are fixed independently */
    .navbar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        border-bottom: none !important;
        z-index: 9999 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        pointer-events: none !important;
    }
    
    .navbar .container {
        display: flex !important;
        visibility: visible !important;
        background: transparent !important;
    }
    
    .navbar .nav-content {
        display: flex !important;
        visibility: visible !important;
        background: transparent !important;
    }
    
    /* Navbar on mobile stays transparent even when scrolled */
    .navbar.scrolled {
        background: transparent !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    /* Show hamburger menu with liquid glass card */
    .mobile-menu-toggle {
        display: flex;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        padding: 8px;
        width: 44px;
        height: 44px;
        position: fixed !important;
        top: 16px;
        right: 16px;
        z-index: 10000 !important;
        pointer-events: auto !important;
    }
    
    .mobile-menu-toggle.active {
        background: #FFFFFF !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
    
    /* Center logo on mobile - Perfect alignment */
    .nav-content {
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        height: 64px;
        min-height: 64px;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* CRITICAL: Hide ALL logos in nav-content using class selector */
    .nav-content-logo,
    .navbar .nav-content-logo,
    .navbar .container .nav-content-logo,
    .nav-content .nav-content-logo,
    .navbar .container .nav-content .nav-content-logo {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
        position: absolute !important;
        left: -9999px !important;
        pointer-events: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-content-logo a,
    .nav-content-logo img,
    .navbar .nav-content-logo a,
    .navbar .nav-content-logo img,
    .navbar .container .nav-content-logo a,
    .navbar .container .nav-content-logo img {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Also hide any logo in nav-content (fallback) */
    .navbar .container .nav-content .logo:not(.logo-fixed),
    .navbar .nav-content .logo:not(.logo-fixed),
    .nav-content .logo:not(.logo-fixed) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Show ONLY the fixed logo (created separately) - MAXIMUM SPECIFICITY */
    .logo-fixed,
    body .logo-fixed,
    html body .logo-fixed,
    .logo-fixed.logo,
    body .logo-fixed.logo {
        position: fixed !important;
        left: 16px !important;
        top: 16px !important;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-radius: 14px !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
        padding: 8px 16px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        width: auto !important;
        flex-shrink: 0 !important;
        z-index: 10001 !important;
        pointer-events: auto !important;
    }
    
    .logo-fixed a,
    body .logo-fixed a,
    html body .logo-fixed a,
    .logo-fixed.logo a,
    body .logo-fixed.logo a {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logo-fixed img,
    body .logo-fixed img,
    html body .logo-fixed img,
    .logo-fixed.logo img,
    body .logo-fixed.logo img,
    .logo-fixed a img,
    body .logo-fixed a img {
        height: 32px !important;
        width: auto !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Mobile menu toggle - Perfect alignment with logo */
    .mobile-menu-toggle {
        height: 48px !important;
        width: 48px !important;
        min-height: 48px !important;
        min-width: 48px !important;
        max-height: 48px !important;
        max-width: 48px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed !important;
        top: 16px;
        right: 16px;
        flex-shrink: 0;
    }
    
    /* Mobile Menu - Full Screen Overlay with Transparent Background */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 100px 1.5rem 2rem;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure menu is CLOSED by default */
    .nav-links {
        display: none !important;
    }
    
    .nav-links.mobile-open {
        display: flex !important;
        pointer-events: auto !important;
    }
    
    .nav-links.mobile-open * {
        pointer-events: auto !important;
    }
    
    /* Close button positioning */
    .mobile-menu-toggle {
        z-index: 10000 !important;
    }
    
    /* Ensure menu toggle is not active by default */
    .mobile-menu-toggle:not(.active) {
        background: rgba(255, 255, 255, 0.85) !important;
    }
    
    /* Nav dropdowns in mobile menu - Liquid Glass Cards - CENTERED */
    .nav-dropdown {
        width: 100%;
        max-width: calc(100% - 2rem);
        margin: 0 auto;
        padding-bottom: 0;
        border-bottom: none;
        box-sizing: border-box;
    }
    .nav-dropdown-menu::before {
        content: none;
        display: none;
    }
    
    .nav-dropdown-toggle,
    .nav-link-plain {
        width: 100%;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-dark);
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .nav-dropdown-toggle:hover,
    .nav-dropdown-toggle:active,
    .nav-link-plain:hover,
    .nav-link-plain:active {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }
    
    .nav-dropdown-toggle .dropdown-arrow {
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .nav-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .nav-dropdown.open .nav-dropdown-toggle {
        border-radius: 16px 16px 0 0;
        border-bottom: none;
    }
    
    /* Dropdown menus - hidden by default on mobile - Liquid Glass Cards */
    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: 0 !important;
        top: auto !important;
        min-width: 0 !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        border: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        margin: 0;
        border-radius: 0 0 16px 16px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-top: none;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 600px !important;
        padding: 0.75rem !important;
        margin-bottom: 0.5rem;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        overflow: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: static !important;
        left: 0 !important;
        transform: none !important;
    }
    
    .nav-dropdown-menu a {
        display: block;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        color: var(--text-dark);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        text-decoration: none;
        white-space: normal;
        word-wrap: break-word;
        overflow: hidden;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
        text-indent: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .nav-dropdown-menu a:last-child {
        margin-bottom: 0;
    }
    
    .nav-dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.95);
        color: var(--purple);
        transform: translateX(4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }
    
    .nav-dropdown:hover .nav-dropdown-menu {
        /* Disable hover on mobile - use click instead */
        opacity: 0 !important;
        visibility: hidden !important;
        max-height: 0 !important;
        position: static !important;
        left: 0 !important;
        transform: none !important;
    }
    
    .nav-dropdown.open .nav-dropdown-menu,
    .nav-dropdown.open:hover .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 600px !important;
        position: static !important;
        left: 0 !important;
        transform: none !important;
    }
    
    /* Auth buttons at TOP of mobile menu - Apply now FIRST */
    .nav-links .auth-buttons {
        flex-direction: column;
        width: 100%;
        max-width: calc(100% - 2rem);
        gap: 0.75rem;
        margin: 0 auto 1rem auto;
        padding: 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        order: -1;
    }
    
    /* Apply now button FIRST (order: 1) */
    .nav-links .auth-buttons .btn-primary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        text-align: center;
        border-radius: 16px;
        background: #4B367C;
        color: #FFFFFF;
        box-shadow: 0 4px 16px rgba(75, 54, 124, 0.3);
        order: 1;
    }
    
    /* Track button SECOND (order: 2) */
    .nav-links .auth-buttons .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        text-align: center;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        color: var(--text-dark);
        order: 2;
    }
    
    /* Hero Section Mobile - Image at top, content below - TIGHT SPACING */
    .hero {
        padding: 0 !important;
        position: relative;
        margin-top: 0 !important;
        width: 100%;
        overflow-x: hidden;
        background: #FFFFFF;
    }
    
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    /* Subpage hero-reversed grids (product/industry pages) */
    .hero-reversed {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 !important;
    }

    .hero-reversed .hero-content {
        order: 1 !important;
        padding: 80px 1rem 0 !important;
    }

    .hero-reversed .hero-content h1 {
        font-size: 1.75rem !important;
    }

    .hero-reversed .hero-visual {
        order: 2 !important;
        margin-top: 0 !important;
    }
    
    .hero-visual {
        order: 1;
        position: relative;
        margin: 0;
        margin-top: 80px !important;
        padding: 0 1rem !important;
        z-index: 5;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden !important;
        min-height: auto !important;
    }
    
    .hero-image-frame {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative;
        overflow: hidden !important;
        filter: none !important;
    }
    
    .hero-image-container {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 24px !important;
        overflow: hidden;
        position: relative;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    }
    
    .hero-main-image {
        width: 100% !important;
        height: auto !important;
        min-height: 260px !important;
        max-height: 320px !important;
        object-fit: cover;
        object-position: center top;
        display: block !important;
        border-radius: 0 !important;
    }
    
    /* Floating badges - EXACT POSITIONING FROM IMAGE 1 */
    .floating-badge {
        position: absolute !important;
        z-index: 100 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Top badge - "$50M+ Available Funding" - top right of image */
    .floating-badge-top {
        top: 16px !important;
        right: 4px !important;
        left: auto !important;
        bottom: auto !important;
        background: linear-gradient(135deg, var(--black) 0%, var(--purple-dark) 100%) !important;
        color: #FFFFFF !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        max-width: 130px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    }
    
    .floating-badge-top .badge-value {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        color: #FFFFFF !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
        letter-spacing: -0.02em !important;
    }
    
    .floating-badge-top .badge-label {
        font-size: 0.7rem !important;
        color: rgba(255,255,255,0.9) !important;
        opacity: 1 !important;
        line-height: 1.2 !important;
    }
    
    /* Bottom badge - "Funds Deposited $50,000" - bottom left, overlapping into content area */
    .floating-badge-bottom {
        bottom: 70px !important; /* Position to be visible above the overlapping content card */
        left: 4px !important;
        right: auto !important;
        top: auto !important;
        background: #FFFFFF !important;
        padding: 10px 14px !important;
        border-radius: 10px !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        max-width: 170px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
    }
    
    .floating-badge-bottom svg {
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .floating-badge-bottom div {
        display: flex !important;
        flex-direction: column !important;
        gap: 1px !important;
    }
    
    .floating-badge-bottom .badge-label {
        font-size: 0.65rem !important;
        color: var(--text-muted) !important;
        line-height: 1.2 !important;
    }
    
    .floating-badge-bottom .badge-value {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        color: var(--text-dark) !important;
        line-height: 1.2 !important;
    }
    
    /* Hero content - white block below image with overlap */
    .hero-content {
        order: 2;
        text-align: center !important;
        padding: 0.75rem 1.25rem 1.5rem !important;
        padding-top: 0.75rem !important;
        background: #FFFFFF;
        position: relative;
        z-index: 10;
        margin-top: -56px !important; /* Good overlap */
        border-radius: 28px 28px 0 0 !important;
        box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.1) !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-content h1 {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.625rem !important;
        text-align: center !important;
        color: var(--text-dark) !important;
        font-weight: 700 !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        color: var(--text-secondary) !important;
        line-height: 1.5 !important;
    }
    
    /* CTA Buttons - stacked vertically with good spacing */
    .hero-cta {
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        flex-wrap: nowrap !important;
        width: 100%;
        max-width: 100%;
        margin-bottom: 1.25rem !important;
        margin-top: 0 !important;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .hero-cta .btn-hero {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 50px !important;
        background: linear-gradient(135deg, var(--black) 0%, var(--purple-dark) 100%) !important;
        color: #FFFFFF !important;
        font-weight: 600 !important;
        animation: breathe 3s ease-in-out infinite !important;
    }
    
    .hero-cta .btn-hero:hover,
    .hero-cta .btn-hero:active {
        animation: none !important;
    }
    
    .hero-cta .btn-hero-outline {
        width: 100% !important;
        padding: 14px 24px !important;
        font-size: 1rem !important;
        background: transparent !important;
        border: 2px solid var(--gray-300) !important;
        color: var(--text-dark) !important;
        text-align: center !important;
        justify-content: center !important;
        border-radius: 50px !important;
        font-weight: 500 !important;
    }
    
    .trust-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .trust-row p {
        font-size: 0.85rem;
        color: var(--text-muted);
        margin: 0;
    }
    
    .trust-logos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
        align-items: flex-end;
    }
    
    .trust-logos img {
        opacity: 0.7;
    }
    
    /* Hide decorative elements on mobile */
    .frame-decoration,
    .frame-accent-1,
    .frame-accent-2,
    .frame-accent-3 {
        display: none !important;
    }
    
    .frame-decoration {
        display: none;
    }
    
    .frame-accent-1,
    .frame-accent-2,
    .frame-accent-3 {
        display: none;
    }
    
    /* Stats Section Mobile */
    .stats-cards-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-glass-card {
        padding: 1.25rem 1.5rem;
        min-width: auto;
        width: 100%;
    }
    
    .stat-glass-card h3 {
        font-size: 1.75rem;
    }
    
    /* Funding Options Mobile */
    .funding-options-section {
        padding: 2.5rem 0;
    }
    
    .funding-options-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .funding-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .funding-card {
        padding: 1.5rem;
    }
    
    .funding-card h3 {
        font-size: 1.1rem;
    }
    
    .funding-card-desc {
        font-size: 0.9rem;
    }
    
    .funding-card-features {
        font-size: 0.85rem;
    }
    
    /* Why Choose Us Mobile */
    .why-choose-us {
        padding: 2.5rem 0;
    }
    
    .why-choose-us h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem;
    }
    
    .benefit-card p {
        font-size: 0.9rem;
        max-width: 100%;
        overflow: hidden;
        white-space: normal;
    }
    
    .benefit-card {
        min-height: auto;
        height: auto;
        overflow: hidden;
    }
    
    /* Footer Mobile - Simplified & Centered */
    .footer {
        padding: 2rem 0 1rem !important;
        background: #1e1e2e !important;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
        text-align: center !important;
    }
    
    .footer-brand {
        text-align: center !important;
        max-width: 100%;
    }
    
    .footer-tagline {
        text-align: center !important;
        margin: 1rem auto !important;
        max-width: 90%;
    }
    
    .footer-social {
        justify-content: center !important;
        margin: 1rem 0 !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center !important;
    }
    
    .footer-column {
        text-align: center !important;
    }
    
    .footer-column h4 {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
    
    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-column li {
        margin-bottom: 0.5rem;
    }
    
    .footer-column a {
        font-size: 0.875rem;
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: color 0.2s;
    }
    
    .footer-column a:hover {
        color: #FFFFFF;
    }
    
    .footer-bottom {
        text-align: center !important;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center !important;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.8125rem;
        color: rgba(255,255,255,0.6);
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-main-image {
        min-height: 280px !important;
        max-height: 380px !important;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn-hero,
    .hero-cta .btn-hero-outline {
        width: 100%;
    }
    
    .stat-glass-card h3 {
        font-size: 1.5rem;
    }
    
    .funding-card {
        padding: 1.25rem;
    }
    
    /* --- SIMPLIFIED MOBILE FOOTER --- */
    .footer {
        background: #1e1e2e !important;
        color: #ffffff;
        padding: 2rem 0 1rem;
        border-top: none;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-tagline {
        text-align: center;
        margin-bottom: 1.25rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-social a {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
    }
    
    .footer-social a:hover {
        background: var(--purple);
    }
    
    .footer-logo img {
        filter: brightness(0) invert(1);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-column h4 {
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
        color: #ffffff;
    }
    
    .footer-column li {
        margin-bottom: 0.5rem;
    }
    
    .footer-column a {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .footer-column a:hover {
        color: #ffffff;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom p {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .dev-access {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 0.7rem;
    }
    
}

/* ========================================
   MOBILE IMPROVEMENTS - COMPREHENSIVE
   ======================================== */
@media (max-width: 768px) {
    /* --- REMOVE ANIMATED GLOW BACKGROUNDS --- */
    .fundability-calculator,
    .calculator-section,
    .how-it-works-section,
    .stats-section {
        background: #FAFAFA !important;
    }
    
    /* --- HIDE FUNDING OPTIONS ON MOBILE --- */
    .funding-options-section,
    .funding-options-wrapper {
        display: none !important;
    }
    
    /* --- WHY CHOOSE US - VISIBLE ON MOBILE --- */
    .why-choose-us {
        display: block !important;
        padding: 2rem 1rem !important;
        background: linear-gradient(135deg, #1a1a2e 0%, #4a3f6b 100%) !important;
        background-color: #1a1a2e !important;
    }
    
    .why-choose-us h2 {
        font-size: 1.4rem !important;
        margin-bottom: 1.25rem !important;
        text-align: center !important;
        color: #FFFFFF !important;
    }
    
    .benefits-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 !important;
    }
    
    .benefit-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 1.5rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 16px !important;
        text-align: center !important;
        min-height: auto !important;
        height: auto !important;
        overflow: hidden !important;
    }
    
    .benefit-card h3 {
        font-size: 1.1rem !important;
        color: #FFFFFF !important;
        margin-bottom: 0.5rem !important;
    }
    
    .benefit-card p {
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        line-height: 1.6 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        white-space: normal !important;
    }
    
    .benefit-icon-simple {
        margin-bottom: 1rem !important;
    }
    
    .benefit-icon-simple svg {
        stroke: rgba(255, 255, 255, 0.9) !important;
    }
    
    /* --- WHY CHOOSE US - HIDDEN ON MOBILE (user request) --- */
    .why-choose-us {
        display: none !important;
    }
    
    /* --- LENDING RESOURCES - HIDDEN ON MOBILE (user request) --- */
    .resources,
    .resources-section,
    #resources {
        display: none !important;
    }
    
    /* --- CALCULATOR STEP SYSTEM - CONDENSED ON MOBILE --- */
    .calculator-form {
        position: relative;
        overflow: hidden;
    }
    
    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
    .calculator-step {
        display: none;
        animation: fadeIn 0.3s ease;
    }
    
    .calculator-step.active {
        display: block;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateX(10px); }
        to { opacity: 1; transform: translateX(0); }
    }
    
    .calculator-step-indicator {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .step-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0,0,0,0.2);
        transition: all 0.3s;
    }
    
    .step-dot.active {
        background: var(--purple);
        width: 24px;
        border-radius: 4px;
    }
    
    .calculator-step .form-group {
        margin-bottom: 1.25rem;
    }
    
    .calculator-step-nav {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    .btn-step {
        flex: 1;
        padding: 0.75rem 1rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 0.9rem;
        border: none;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .btn-step-next {
        background: var(--purple);
        color: white;
    }
    
    .btn-step-back {
        background: transparent;
        color: var(--text-dark);
        border: 2px solid rgba(0,0,0,0.1);
    }
    
    .btn-step:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    /* Step system - show only active step on mobile */
    .calculator-step {
        display: none;
    }
    
    .calculator-step.active {
        display: block;
    }
    
    .calculator-step .form-group {
        display: flex;
        flex-direction: column;
    }
    
    /* Calculator results - hidden until calculated */
    .calculator-results {
        display: none !important;
        text-align: center !important;
    }
    
    .calculator-results.show-results {
        display: block !important;
    }
    
    .calculator-form.hide-form .form-grid,
    .calculator-form.hide-form .calculator-actions,
    .calculator-form.hide-form .calculator-step-indicator {
        display: none !important;
    }
    
    .calculator-results h3,
    .calculator-results p,
    .results-header,
    .results-cta {
        text-align: center !important;
    }
    
    .results-grid {
        justify-content: center;
    }
    
    /* Fix overflow issues - prevent hidden elements */
    body, html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .button-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .button-group button {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 120px;
        max-width: calc(50% - 0.25rem);
        white-space: normal;
        word-wrap: break-word;
        overflow: hidden;
        font-size: 0.8rem;
        padding: 0.625rem 0.5rem;
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .form-group.full-width {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .calculator-form {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
        padding: 1rem 0.75rem !important;
    }
    
    .calculator-form .form-grid {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Ensure floating badges aren't cut off */
    .floating-badge {
        max-width: calc(100vw - 32px) !important;
        box-sizing: border-box;
    }
    
    .floating-badge-bottom {
        max-width: calc(100vw - 32px) !important;
    }
    
    /* --- HERO SECTION FIXES --- */
    .hero-content {
        text-align: center;
    }
    
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    .hero-cta .btn-hero {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        text-align: center;
        justify-content: center;
    }
    
    .hero-cta .btn-hero-outline {
        width: 100%;
        padding: 14px 24px;
        background: transparent;
        border: 2px solid var(--gray-300);
        text-align: center;
        justify-content: center;
    }
    
    /* --- BUTTON SPACING & STYLING --- */
    .btn-hero,
    .btn-hero-outline,
    .btn-primary,
    .btn-primary-large {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
    }
    
    /* --- STATS SECTION - HORIZONTAL CARDS --- */
    .stats-section {
        padding: 1.5rem 0 2rem;
        background: var(--gray-50);
    }
    
    .stats-glass-grid {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .stat-glass-card {
        padding: 0.875rem 1rem;
        border-radius: 14px;
        background: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(240,235,255,0.5) 100%);
        backdrop-filter: blur(16px) saturate(1.3);
        -webkit-backdrop-filter: blur(16px) saturate(1.3);
        box-shadow: 0 4px 16px rgba(107,91,149,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.875rem;
        text-align: left;
        border: 1px solid rgba(255,255,255,0.5);
    }

    .stat-glass-card::before {
        display: none;
    }

    .stat-glass-card::after {
        display: none;
    }

    .stat-glass-card:hover {
        transform: none !important;
        box-shadow: 0 4px 16px rgba(107,91,149,0.08), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    }

    .stat-glass-card h3 {
        font-size: 1.35rem;
        margin: 0;
        white-space: nowrap;
        min-width: 85px;
    }

    .stat-glass-card p {
        font-size: 0.8rem;
        margin: 0;
        color: var(--text-gray);
        line-height: 1.35;
    }
    
    /* --- CALCULATOR SECTION - MOBILE OPTIMIZED --- */
    .fundability-calculator {
        padding: 1.5rem 0.75rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        background: #FAFAFA;
    }
    
    .fundability-calculator .container {
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .fundability-calculator h2 {
        font-size: 1.25rem;
        line-height: 1.3;
        padding: 0;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .fundability-calculator h2 em {
        display: inline;
    }
    
    .fundability-calculator .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        padding: 0;
        line-height: 1.5;
        text-align: center;
    }
    
    .calculator-form {
        padding: 1rem 0.75rem;
        border-radius: 14px;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        background: #FFFFFF;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .calculator-results {
        display: none;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 1.5rem 1rem;
        margin-top: 1.5rem;
        border-top: 1px solid var(--gray-200);
    }

    .calculator-results.show-results {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .calculator-results.show-results .results-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .calculator-results.show-results .result-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calculator-results.show-results .results-header {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .results-cta {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .form-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 0;
    }
    
    .form-group label {
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: block;
        color: var(--text-dark);
    }
    
    .input-wrapper {
        width: 100%;
    }
    
    .input-wrapper input {
        width: 100%;
        padding: 14px 14px 14px 40px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    /* Toggle buttons for time in business, etc - Better mobile spacing */
    .toggle-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .toggle-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        border-radius: 8px;
        flex: 1 1 calc(50% - 0.25rem);
        min-width: 0;
        text-align: center;
    }
    
    /* Range slider */
    input[type="range"] {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .range-labels {
        display: flex;
        justify-content: space-between;
        font-size: 0.75rem;
        color: var(--text-gray);
    }
    
    /* Score display */
    .score-display {
        text-align: center;
    }
    
    .score-display .score-value {
        font-size: 2.5rem;
    }
    
    .calculator-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .calculator-actions .btn-reset {
        order: 2;
        width: 100%;
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .calculator-actions .btn-primary-large {
        order: 1;
        width: 100%;
        padding: 14px;
        font-size: 1rem;
    }
    
    .calculator-results {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .results-grid {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .result-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .result-card h4 {
        font-size: 0.8rem;
    }
    
    .result-card .amount {
        font-size: 1.25rem;
    }
    
    .calculator-disclaimer {
        font-size: 0.65rem;
        padding: 0 0.5rem;
        margin-top: 0.75rem;
        line-height: 1.4;
    }
    
    /* --- RESOURCES / BLOG SECTION --- */
    .resources {
        padding: 1.5rem 0;
        margin: 0;
    }
    
    .resources h2 {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
        text-align: center !important;
    }
    
    .resources-header {
        flex-direction: column;
        align-items: center !important;
        gap: 0.5rem;
        margin-bottom: 1rem;
        text-align: center !important;
    }
    
    .resources .section-subtitle {
        margin-bottom: 0;
        font-size: 0.85rem;
        text-align: center !important;
    }
    
    .resources-view-all {
        font-size: 0.85rem;
        margin-top: 0.5rem;
        text-align: center !important;
        display: block;
        width: 100%;
    }
    
    .resources-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 0;
        padding: 0;
    }
    
    .resources .container {
        padding: 0 1rem;
    }
    
    .resource-card {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
    }
    
    .resource-image {
        height: 120px;
        min-height: 120px;
    }
    
    .resource-content {
        padding: 0.875rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .resource-content h3 {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .resource-category {
        font-size: 0.6rem;
        margin-bottom: 0.5rem;
    }
    
    .resource-meta {
        font-size: 0.7rem;
        margin-top: auto;
    }
    
    .resource-image {
        height: 160px;
    }
    
    .resource-content {
        padding: 1rem;
    }
    
    .resource-content h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .resource-category {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .resource-meta {
        font-size: 0.75rem;
    }
    
    /* --- FAQ SECTION --- */
    .faq-section {
        padding: 2rem 1rem !important;
        background: linear-gradient(135deg, #2a1f4e 0%, #1a1235 50%, #0f0a1f 100%) !important;
        background-color: #1a1235 !important;
    }
    
    .faq-section h2 {
        font-size: 1.35rem !important;
        color: #FFFFFF !important;
    }
    
    .faq-section .section-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 1.25rem !important;
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .faq-list {
        gap: 0.5rem !important;
    }
    
    .faq-section .faq-item {
        border-radius: 10px !important;
        background: rgba(255,255,255,0.08) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .faq-question {
        padding: 0.875rem 1rem !important;
        font-size: 0.9rem !important;
        color: #FFFFFF !important;
    }
    
    .faq-answer {
        padding: 0 1rem 0.875rem !important;
    }
    
    .faq-answer p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }
    
    .faq-cta {
        margin-top: 1.25rem !important;
    }
    
    .faq-cta .btn-outline {
        padding: 12px 20px !important;
        font-size: 0.85rem !important;
        color: #FFFFFF !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    /* --- CTA SECTION --- */
    .cta-section {
        padding: 2.5rem 1.25rem;
        margin: 0;
        border-radius: 0;
    }
    
    .cta-section h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-section p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .cta-section .btn-primary-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    /* --- FOOTER - COMPACT MOBILE --- */
    footer {
        padding: 2rem 0 1.25rem;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 0.5rem;
    }
    
    .footer-brand img {
        height: 28px;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
        max-width: 260px;
        margin: 0.5rem auto 0;
        line-height: 1.5;
    }
    
    /* Hide some footer link columns on mobile */
    .footer-links:nth-child(3),
    .footer-links:nth-child(4) {
        display: none;
    }
    
    .footer-links h4 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        padding: 0.25rem 0;
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
    
    .footer-social a {
        width: 36px;
        height: 36px;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
    }
    
    .footer-legal {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .footer-legal a {
        font-size: 0.7rem;
    }
}

/* ========================================
   DESKTOP CALCULATOR - SHOW ALL STEPS
   ======================================== */
@media (min-width: 769px) {
    .calculator-step-indicator,
    .calculator-step-nav {
        display: none !important;
    }
    
    .calculator-step {
        display: block !important;
    }
    
    /* Calculator form grid - 2 columns on desktop */
    .form-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: var(--spacing-lg) !important;
    }
    
    .calculator-form {
        max-width: 900px !important;
        padding: var(--spacing-xl) !important;
    }
    
    /* Calculator results visible after calculation on desktop */
    .calculator-results {
        display: none;
    }
    
    .calculator-results.show-results {
        display: block !important;
    }
    
    /* Ensure navbar and all elements visible on desktop */
    .navbar {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        background: #FFFFFF !important;
    }
    
    .nav-content {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: flex-start !important;
    }
    
    .nav-links {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        flex-direction: row !important;
        flex: 0 1 auto !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
        background: transparent !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
    }
    
    .nav-dropdown,
    .nav-dropdown-toggle,
    .nav-link-plain,
    .auth-buttons {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle,
    .logo-fixed {
        display: none !important;
    }
    
    .logo {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Show Why Choose Us and Resources on desktop */
    .why-choose-us,
    .resources,
    .resources-section,
    #resources {
        display: block !important;
    }
}

/* Extractable explainer pages (LLM / GEO) */
.geo-page { font-family: 'Poppins', sans-serif; color: #1a1a2e; }
.geo-hero { padding: 140px 1.5rem 64px; text-align: center; background: #1e1e2e; color: #fff; position: relative; overflow: hidden; }
.geo-hero::before { content: ''; position: absolute; top: -40%; right: -15%; width: 70%; height: 140%; background: radial-gradient(ellipse, rgba(139,92,246,.15) 0%, transparent 70%); pointer-events: none; }
.geo-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1.15; margin: 0 0 1rem; position: relative; }
.geo-hero h1 em { font-style: normal; color: #c4b5fd; }
.geo-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.7; position: relative; }
.geo-prose { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.geo-prose h2 { font-size: 1.45rem; margin: 2.4rem 0 0.7rem; }
.geo-prose p, .geo-prose li { font-size: 1.05rem; line-height: 1.75; color: #4B5563; }
.geo-prose ul { padding-left: 1.2rem; }
.geo-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2rem 0; }
.geo-fact { background: #F8F9FC; border: 1px solid #eee; border-radius: 16px; padding: 1.2rem 1.3rem; }
.geo-fact strong { display: block; font-size: 1.35rem; color: #6B5B95; margin-bottom: 0.25rem; }
.geo-fact span { font-size: 0.9rem; color: #6B7280; }
.geo-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 2rem; font-size: 0.95rem; }
.geo-table th, .geo-table td { text-align: left; padding: 0.85rem 0.6rem; border-bottom: 1px solid #eee; vertical-align: top; }
.geo-table th { color: #1a1a2e; font-weight: 600; }
.geo-cta { display: inline-flex; margin-top: 1.5rem; background: #6B5B95; color: #fff; padding: 0.9rem 1.6rem; border-radius: 50px; text-decoration: none; font-weight: 600; }
.geo-cta:hover { color: #fff; }
.geo-table-wrap { overflow-x: auto; margin: 1.25rem 0 2rem; -webkit-overflow-scrolling: touch; }
.geo-table { margin: 0; min-width: 36rem; }
@media (max-width: 640px) {
    .geo-facts { grid-template-columns: 1fr; }
    .geo-hero { padding: 120px 1.25rem 48px; }
}
