/* ============================================
   FIG LOANS - Professional CSS Design System
   Domain: figloansapp.com
   Primary: #3fb09b | White | #4a6270
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --primary: #3fb09b;
    --primary-dark: #2d8a7a;
    --primary-light: #5fc4b0;
    --primary-pale: #e8f7f4;
    --secondary: #4a6270;
    --secondary-dark: #374a55;
    --secondary-light: #6b8494;
    --accent: #ff6b35;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --black: #0a0a0a;
    
    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    
    /* Font Sizes - Fluid Typography */
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --fs-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    --fs-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --fs-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
    --fs-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1400px;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --shadow-glow: 0 0 30px rgb(63 176 155 / 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

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

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    text-wrap: balance;
}

p {
    text-wrap: pretty;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-inline: auto;
    padding-inline: var(--space-lg);
}

.container-narrow {
    max-width: var(--container-lg);
}

.container-wide {
    max-width: var(--container-2xl);
}

.section {
    padding-block: var(--space-4xl);
}

.section-sm {
    padding-block: var(--space-2xl);
}

.section-lg {
    padding-block: var(--space-5xl);
}

/* --- Grid System --- */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

@media (max-width: 640px) {
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
}

/* --- Flexbox Utilities --- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* --- Typography Utilities --- */
.text-xs { font-size: var(--fs-xs); }
.text-sm { font-size: var(--fs-sm); }
.text-base { font-size: var(--fs-base); }
.text-lg { font-size: var(--fs-lg); }
.text-xl { font-size: var(--fs-xl); }
.text-2xl { font-size: var(--fs-2xl); }
.text-3xl { font-size: var(--fs-3xl); }
.text-4xl { font-size: var(--fs-4xl); }
.text-5xl { font-size: var(--fs-5xl); }

.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }
.font-body { font-family: var(--font-body); }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-500); }
.text-dark { color: var(--gray-900); }

.uppercase { text-transform: uppercase; }
.capitalize { text-transform: capitalize; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }

/* --- Background Utilities --- */
.bg-primary { background-color: var(--primary); }
.bg-primary-pale { background-color: var(--primary-pale); }
.bg-secondary { background-color: var(--secondary); }
.bg-white { background-color: var(--white); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-dark { background-color: var(--gray-900); }

/* --- Gradient Backgrounds --- */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-gradient-hero {
    background: linear-gradient(180deg, var(--primary-pale) 0%, var(--white) 100%);
}

.bg-gradient-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 50%, var(--gray-50) 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--secondary-dark) 100%);
}

.bg-mesh {
    background-color: var(--primary-pale);
    background-image: 
        radial-gradient(at 40% 20%, rgba(63, 176, 155, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(74, 98, 112, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(63, 176, 155, 0.1) 0px, transparent 50%),
        radial-gradient(at 80% 50%, rgba(255, 255, 255, 0.8) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(63, 176, 155, 0.1) 0px, transparent 50%);
}

/* --- Spacing Utilities --- */
.m-auto { margin: auto; }
.mx-auto { margin-inline: auto; }
.my-auto { margin-block: auto; }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.pt-xs { padding-top: var(--space-xs); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }
.pt-2xl { padding-top: var(--space-2xl); }

.pb-xs { padding-bottom: var(--space-xs); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }
.pb-2xl { padding-bottom: var(--space-2xl); }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding-inline: var(--space-lg);
    max-width: var(--container-2xl);
    margin-inline: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--gray-900);
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    position: relative;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-pale);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

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

.nav-dropdown-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

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

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    padding: var(--space-sm);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-sm);
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
    color: var(--primary);
    background: var(--primary-pale);
}

.nav-cta {
    margin-left: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

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

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

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

/* Mobile Navigation */
@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-main {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-lg);
        background: var(--white);
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-main.active {
        transform: translateX(0);
    }
    
    .nav-link {
        padding: var(--space-md);
        font-size: var(--fs-lg);
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding-left: var(--space-lg);
        display: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-cta {
        margin: var(--space-lg) 0 0;
    }
    
    .nav-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(63, 176, 155, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(63, 176, 155, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

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

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

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

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

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

.btn-ghost:hover {
    color: var(--primary);
    background: var(--primary-pale);
}

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

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: var(--fs-base);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--fs-xs);
}

.btn-icon {
    padding: 0.75rem;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.7) 100%
    );
}

.hero-dark .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(17, 24, 39, 0.9) 0%,
        rgba(17, 24, 39, 0.8) 50%,
        rgba(17, 24, 39, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-pale);
    border-radius: var(--radius-full);
    border: 1px solid rgba(63, 176, 155, 0.2);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: var(--fs-5xl);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.3em;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0.3;
    z-index: -1;
    border-radius: 2px;
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: var(--fs-sm);
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

/* Hero Variation - Split */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    min-height: 90vh;
    padding: 120px 0 var(--space-4xl);
}

.hero-split .hero-content {
    max-width: none;
}

.hero-split .hero-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-split .hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.hero-split .hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 120px 0 var(--space-2xl);
    }
    
    .hero-split .hero-content {
        order: 1;
    }
    
    .hero-split .hero-image {
        order: 0;
        max-width: 500px;
        margin-inline: auto;
    }
    
    .hero-split .hero-stats {
        justify-content: center;
    }
    
    .hero-split .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding-block: 120px var(--space-2xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

/* ============================================
   PAGE HERO (Smaller version for inner pages)
   ============================================ */
.page-hero {
    position: relative;
    padding: 140px 0 var(--space-3xl);
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.9) 60%,
        rgba(255, 255, 255, 1) 100%
    );
}

.page-hero-content {
    max-width: 800px;
    text-align: center;
    margin-inline: auto;
}

.page-hero-title {
    font-size: var(--fs-4xl);
    margin-bottom: var(--space-md);
}

.page-hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--gray-600);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: var(--fs-sm);
    color: var(--gray-500);
}

.breadcrumb a {
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

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

.breadcrumb-sep {
    color: var(--gray-300);
}

.breadcrumb-current {
    color: var(--gray-700);
    font-weight: 500;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card-elevated {
    box-shadow: var(--shadow-md);
}

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

.card-bordered {
    border: 1px solid var(--gray-200);
}

.card-bordered:hover {
    border-color: var(--primary);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.card-body {
    padding: var(--space-lg);
}

.card-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--gray-600);
    font-size: var(--fs-sm);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-xs);
    color: var(--gray-500);
    margin-top: var(--space-md);
}

.card-link {
    display: block;
}

.card-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

/* Feature Card */
.feature-card {
    padding: var(--space-xl);
    text-align: center;
}

.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    background: var(--primary-pale);
    border-radius: var(--radius-xl);
    color: var(--primary);
}

.feature-card-icon svg {
    width: 28px;
    height: 28px;
}

.feature-card-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
}

.feature-card-text {
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

/* Stats Card */
.stats-card {
    padding: var(--space-xl);
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stats-card-value {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stats-card-label {
    font-size: var(--fs-sm);
    color: var(--gray-500);
    margin-top: var(--space-sm);
}

/* ============================================
   CTA SECTIONS
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
    padding: var(--space-3xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    color: var(--white);
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--fs-3xl);
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: var(--fs-lg);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

.cta-image {
    position: relative;
    z-index: 1;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    flex-shrink: 0;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .cta-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-2xl);
    }
    
    .cta-image {
        margin-inline: auto;
        width: 150px;
        height: 150px;
    }
}

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

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: var(--fs-base);
    color: var(--gray-800);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(63, 176, 155, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 3rem;
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox-label {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    cursor: pointer;
}

.form-hint {
    font-size: var(--fs-xs);
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: var(--fs-xs);
    color: var(--danger);
    margin-top: var(--space-xs);
}

/* Application Form Container */
.form-container {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.form-container-title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* ============================================
   LOAN CALCULATOR
   ============================================ */
.calculator {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
}

.calculator-title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

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

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.calculator-slider-group {
    position: relative;
}

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

.calculator-slider-label {
    font-weight: 600;
    color: var(--gray-700);
}

.calculator-slider-value {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--primary);
}

.calculator-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    outline: none;
    cursor: pointer;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(63, 176, 155, 0.4);
    transition: transform var(--transition-fast);
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(63, 176, 155, 0.4);
}

.calculator-slider-range {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-xs);
    font-size: var(--fs-xs);
    color: var(--gray-500);
}

.calculator-results {
    background: var(--primary-pale);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-result-item {
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(63, 176, 155, 0.2);
}

.calculator-result-item:last-child {
    border-bottom: none;
}

.calculator-result-label {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-xs);
}

.calculator-result-value {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--primary-dark);
}

.calculator-result-value.highlight {
    font-size: var(--fs-3xl);
    color: var(--primary);
}

.calculator-disclaimer {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: var(--fs-xs);
    color: var(--gray-500);
    text-align: center;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section {
    max-width: 900px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) 0;
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-left: var(--space-md);
    color: var(--gray-400);
    transition: all var(--transition-normal);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-answer-inner {
    padding-bottom: var(--space-lg);
    color: var(--gray-600);
    line-height: 1.8;
}

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

/* ============================================
   REVIEWS
   ============================================ */
.rating-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-3xl);
}

.rating-score {
    text-align: center;
    padding-right: var(--space-2xl);
    border-right: 1px solid var(--gray-200);
}

.rating-score-value {
    font-family: var(--font-heading);
    font-size: var(--fs-5xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.rating-score-stars {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin: var(--space-sm) 0;
    color: var(--warning);
}

.rating-score-stars svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.rating-score-count {
    font-size: var(--fs-sm);
    color: var(--gray-500);
}

.rating-bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.rating-bar {
    display: grid;
    grid-template-columns: 80px 1fr 60px;
    align-items: center;
    gap: var(--space-md);
}

.rating-bar-label {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.rating-bar-label svg {
    width: 16px;
    height: 16px;
    color: var(--warning);
    fill: currentColor;
}

.rating-bar-track {
    height: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

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

.rating-bar-count {
    font-size: var(--fs-sm);
    color: var(--gray-500);
    text-align: right;
}

@media (max-width: 768px) {
    .rating-overview {
        grid-template-columns: 1fr;
    }
    
    .rating-score {
        padding-right: 0;
        padding-bottom: var(--space-xl);
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
}

/* Review Cards */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

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

.review-card {
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

.review-author {
    flex: 1;
}

.review-author-name {
    font-weight: 600;
    color: var(--gray-800);
}

.review-author-date {
    font-size: var(--fs-xs);
    color: var(--gray-500);
}

.review-rating {
    display: flex;
    gap: 2px;
    color: var(--warning);
}

.review-rating svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.review-content {
    color: var(--gray-600);
    line-height: 1.7;
}

.review-verified {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: var(--fs-xs);
    color: var(--success);
}

.review-verified svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

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

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.blog-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.blog-card-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius-md);
}

.blog-card-image .blog-card-category {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
}

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

/* Alternative padding for blog listing page cards */
.blog-grid .blog-card .blog-card-content,
.related-posts-grid .blog-card .blog-card-content,
.blog-post-related .blog-card .blog-card-content {
    padding: 1.25rem 1.5rem;
}

.blog-card-title {
    font-size: var(--fs-lg);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
    color: var(--primary);
}

.blog-card-excerpt {
    flex: 1;
    font-size: var(--fs-sm);
    color: var(--gray-600);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* When meta is first child (blog listing style), remove border and adjust spacing */
.blog-card-content > .blog-card-meta:first-child {
    padding-top: 0;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-sm);
    border-top: none;
    border-bottom: none;
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.blog-card-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.blog-card:hover .blog-card-link {
    gap: var(--space-sm);
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
}

/* Full Blog Card Link */
.blog-card-full-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ============================================
   BLOG POST
   ============================================ */
.blog-post {
    max-width: 800px;
    margin-inline: auto;
}

.blog-post-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.blog-post-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-pale);
    border-radius: var(--radius-full);
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    margin-bottom: var(--space-lg);
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    font-size: var(--fs-sm);
    color: var(--gray-500);
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.blog-post-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

/* Blog Post Header Section - New Layout */
.blog-post-header-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
    background: var(--gray-50);
}

.blog-post-header-section .breadcrumb {
    margin-bottom: var(--space-xl);
}

.blog-post-header-section .blog-post-featured-image {
    margin-bottom: var(--space-2xl);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.blog-post-header-section .blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-header-section .blog-post-header {
    text-align: center;
    max-width: 800px;
    margin-inline: auto;
}

.blog-post-header-section .blog-post-category {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.blog-post-header-section .blog-post-title {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    color: var(--gray-900);
}

.blog-post-header-section .blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.blog-post-header-section .blog-post-author {
    font-weight: 600;
    color: var(--gray-800);
}

/* Existing Featured Image Style */
.blog-post-featured-image {
    margin-bottom: var(--space-3xl);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Blog Post Content */
.blog-post-content {
    font-size: var(--fs-lg);
    line-height: 1.9;
    color: var(--gray-700);
}

.blog-post-content h2 {
    font-size: var(--fs-2xl);
    margin-top: var(--space-3xl);
    margin-bottom: var(--space-lg);
}

.blog-post-content h3 {
    font-size: var(--fs-xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.blog-post-content p {
    margin-bottom: var(--space-lg);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: var(--space-lg);
    padding-left: var(--space-xl);
}

.blog-post-content li {
    margin-bottom: var(--space-sm);
}

.blog-post-content ul li {
    list-style-type: disc;
}

.blog-post-content ol li {
    list-style-type: decimal;
}

.blog-post-content blockquote {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: var(--primary-pale);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--gray-700);
}

.blog-post-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-post-content a:hover {
    color: var(--primary-dark);
}

/* Visual Elements in Blog */
.blog-highlight-box {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary-pale) 0%, rgba(63, 176, 155, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(63, 176, 155, 0.2);
}

.blog-highlight-box-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.blog-highlight-box-title svg {
    width: 24px;
    height: 24px;
}

.blog-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

@media (max-width: 640px) {
    .blog-stats-row {
        grid-template-columns: 1fr;
    }
}

.blog-stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.blog-stat-value {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--primary);
}

.blog-stat-label {
    font-size: var(--fs-sm);
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

/* Related Posts */
.related-posts {
    margin-top: var(--space-4xl);
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--gray-200);
}

.related-posts-title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-2xl) 0;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
}

.comparison-table thead {
    background: var(--gray-900);
    color: var(--white);
}

.comparison-table th {
    font-weight: 600;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
    background: var(--gray-50);
}

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

.comparison-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.comparison-check.yes {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.comparison-check.no {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.comparison-check svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   SOCIAL SHARE
   ============================================ */
.social-share {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin: var(--space-2xl) 0;
}

.social-share-label {
    font-weight: 600;
    color: var(--gray-700);
}

.social-share-buttons {
    display: flex;
    gap: var(--space-sm);
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-share-btn svg {
    width: 20px;
    height: 20px;
}

.social-share-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-share-btn.linkedin {
    background: #0a66c2;
    color: white;
}

.social-share-btn.email {
    background: var(--gray-600);
    color: white;
}

.social-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
}

.footer-desc {
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: var(--space-xs);
}

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--gray-400);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
}

.footer-contact a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--primary);
}

/* Footer Contact inside Brand */
.footer-brand .footer-contact {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-contact .footer-col-title {
    margin-bottom: var(--space-md);
}

/* Footer Disclosure Column */
.footer-disclosure-column {
    max-width: 280px;
}

.footer-disclosure-column .footer-disclosure-text {
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--gray-500);
}

.footer-disclosure-column .footer-disclosure-text p {
    margin-bottom: var(--space-sm);
}

.footer-disclosure-column .footer-disclosure-text a {
    color: var(--primary);
}

.footer-disclosure-column .footer-disclosure-text a:hover {
    text-decoration: underline;
}

/* Footer Disclosure (legacy - full width) */
.footer-disclosure {
    padding: var(--space-2xl) 0;
    padding-bottom: var(--space-lg);
    margin-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclosure-title {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-disclosure-text {
    font-size: var(--fs-xs);
    line-height: 1.8;
    color: var(--gray-500);
}

.footer-disclosure-text p {
    margin-bottom: var(--space-sm);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    font-size: var(--fs-xs);
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--gray-500);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

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

/* Animation Classes */
.animate-fadeIn { animation: fadeIn 0.6s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.6s ease forwards; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease forwards; }
.animate-slideInRight { animation: slideInRight 0.6s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.6s ease forwards; }

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aspect-video { aspect-ratio: 16/9; }
.aspect-square { aspect-ratio: 1/1; }
.aspect-4-3 { aspect-ratio: 4/3; }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { inset: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

.select-none { user-select: none; }

.transition { transition: all var(--transition-normal); }
.transition-fast { transition: all var(--transition-fast); }
.transition-slow { transition: all var(--transition-slow); }

/* Hide on mobile/desktop */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .social-share,
    .cta-section,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    a {
        text-decoration: underline;
    }
}
 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.blog-post-content {
    max-width: 720px;
    margin: 4rem auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.blog-post-content .lead {
    font-size: 1.25rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.blog-post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-700);
}

.blog-post-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    margin: 3rem 0;
}

.blog-post-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

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

.blog-post-cta .btn:hover {
    background: var(--gray-100);
}

.blog-post-related {
    max-width: 1000px;
    margin: 4rem auto;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.blog-post-related h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .blog-post-hero {
        min-height: 350px;
    }
    
    .blog-post-content {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .blog-post-related .blog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Social Share Bar */
.social-share-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.share-label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gray-600);
}

.share-buttons {
    display: flex;
    gap: var(--space-sm);
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: all var(--transition-fast);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-btn.share-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.share-btn.share-twitter:hover {
    background: #000;
    border-color: #000;
    color: white;
}

.share-btn.share-linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.share-btn.share-email:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

@media (max-width: 480px) {
    .social-share-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* Blog Post Author */
.blog-post-author {
    font-weight: 600;
    color: var(--primary);
}

/* Info Box */
.info-box {
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    background: var(--primary-pale);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.info-box h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.info-box p {
    margin: 0;
    color: var(--gray-700);
}

/* Comparison Box */
.comparison-box {
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.comparison-box h4 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

.comparison-item {
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.comparison-item h5 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-item li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-lg);
    position: relative;
    font-size: var(--fs-sm);
}

.comparison-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
}

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

/* Footer Contact Info (in Disclosures column) */
.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}
.footer-contact-info svg {
    flex-shrink: 0;
    margin-top: 2px;
    stroke: rgba(255,255,255,0.5);
}
.footer-contact-info a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-info a:hover {
    color: var(--primary, #3fb09b);
}
