/* ===== MODERN PROFESSIONAL DESIGN SYSTEM ===== */

/* CSS Custom Properties for Design System */
:root {
    /* Brand Colors */
    --primary-color: #1a365d;        /* Deep navy blue */
    --primary-light: #2d5a8a;       /* Lighter blue */
    --accent-color: #dc2626;         /* Professional red */
    --accent-light: #ef4444;        /* Lighter red */
    --success-color: #059669;       /* Professional green */
    --warning-color: #d97706;       /* Professional orange */
    
    /* Neutral Colors */
    --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;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-headings: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* 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);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: #ffffff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

/* Blog-Style Typography Scale - Much Smaller */
h1 { font-size: 1.5rem; }     /* 24px - blog post title size */
h2 { font-size: 1.25rem; }    /* 20px - section headers */
h3 { font-size: 1.125rem; }   /* 18px - subsections */
h4 { font-size: 1rem; }       /* 16px - same as body text */
h5 { font-size: 0.875rem; }   /* 14px - smaller headings */
h6 { font-size: 0.75rem; }    /* 12px - tiny headings */

p {
    margin-bottom: var(--space-lg);
    color: var(--gray-600);
    font-size: 1rem;             /* 16px - standard readable size */
    line-height: 1.7;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-lg);
}

.logo {
    font-family: var(--font-headings);
    font-size: 1.75rem;
    font-weight: 800;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: var(--accent-color);
}

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

.nav a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Buttons */
.cta-button, .cta-button-large, .cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.cta-button {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    background: var(--accent-color);
    color: white;
}

.cta-button:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.cta-button-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-xl);
}

.cta-button-large:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button-secondary {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 100%);
    padding: var(--space-4xl) 0 var(--space-4xl);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color)10, transparent);
    opacity: 0.03;
    z-index: 0;
}

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

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 1.5rem; /* Blog hero size - 24px */
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem; /* 16px - blog subtitle size */
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

.hero-description {
    font-size: 1rem; /* Standard 16px for readability */
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Trust Indicators */
.trust-indicators {
    padding: var(--space-4xl) 0;
    background: white;
}

.trust-indicators h2 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    color: var(--primary-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 columns on one line */
    gap: var(--space-lg); /* Smaller gap to fit better */
    margin-top: var(--space-2xl);
}

.trust-item {
    background: white;
    padding: var(--space-xl); /* Reduced padding for better fit */
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.trust-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
}

.trust-item p {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 0;
}

/* How It Works */
.how-it-works {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, #f8fafc 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-2xl);
    color: var(--primary-color);
    font-family: var(--font-headings);
}

.steps {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin: 4rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#how-it-works .steps .step {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    padding: 3rem 2rem !important;
    border-radius: 24px !important;
    text-align: center !important;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s ease;
    border: 2px solid #e2e8f0 !important;
    min-height: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
}

#how-it-works .steps .step:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2) !important;
    border-color: #3b82f6 !important;
}

#how-it-works .steps .step .step-number {
    width: 80px !important;
    height: 80px !important;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 2rem !important;
    font-weight: bold !important;
    margin: 0 auto 2rem !important;
    font-family: 'Poppins', sans-serif !important;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4) !important;
    position: relative !important;
}

#how-it-works .steps .step .step-number:before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

#how-it-works .steps .step h3 {
    font-size: 1.8rem !important;
    margin-bottom: 1.5rem !important;
    color: #1e293b !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

#how-it-works .steps .step p {
    color: #64748b !important;
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
    line-height: 1.7 !important;
    font-weight: 500 !important;
}

/* Urgency Section */
.urgency {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    text-align: center;
}

.urgency h2 {
    color: #ffffff; /* Pure white for better contrast */
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    font-weight: 700; /* Bold for better visibility */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
    letter-spacing: 0.5px; /* Slightly spaced for clarity */
}

.urgency-text {
    font-size: 1.125rem; /* Slightly smaller for better readability */
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff; /* Pure white for better contrast */
    font-weight: 500; /* Medium weight for better legibility */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for readability */
    line-height: 1.6; /* Better line spacing */
}

.urgency-cta .cta-button-large {
    background: white;
    color: var(--accent-color);
    border: none;
}

.urgency-cta .cta-button-large:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: var(--space-4xl) 0;
    background: var(--gray-50); /* Subtle background for better separation */
}

.about h2 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    color: var(--primary-color);
}

.about-content {
    max-width: 800px; /* Slightly narrower for better readability */
    margin: 0 auto;
    background: white; /* White background for content */
    padding: var(--space-3xl); /* Add padding inside content area */
    border-radius: var(--radius-xl); /* Rounded corners */
    box-shadow: var(--shadow-lg); /* Subtle shadow for depth */
}

.about-text {
    font-size: 1.1rem; /* Slightly larger for better readability */
    line-height: 1.8; /* More generous line spacing */
    text-align: left; /* Left align for better reading flow */
    margin-bottom: var(--space-2xl); /* Space before credentials */
}

.about-text p {
    margin-bottom: var(--space-xl); /* More space between paragraphs */
    color: var(--gray-700); /* Slightly darker for better contrast */
    font-size: 1.1rem !important; /* Match parent font size */
    line-height: 1.8; /* Consistent line height */
}

.credentials {
    margin-top: var(--space-2xl); /* Less space from text */
    display: flex; /* Use flexbox */
    justify-content: center; /* Center single item */
    gap: var(--space-md); 
    padding-top: var(--space-2xl); /* Add padding above */
    border-top: 1px solid var(--gray-200); /* Subtle separator line */
}

.credential {
    background: var(--success-color); /* Green background */
    color: white; /* White text */
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    font-weight: 600; /* Bolder text */
    transition: all 0.3s ease;
    text-align: center; /* Center align the checkmarks */
    font-size: 1rem; /* Standard size for single credential */
    box-shadow: var(--shadow-sm); /* Subtle shadow */
    max-width: 300px; /* Reasonable width for single item */
}

.credential:hover {
    background: var(--primary-color); /* Change to blue on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: var(--shadow-md); /* Enhanced shadow on hover */
}

/* Contact Section */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.contact h2 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.contact > .container > p,
.contact p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-2xl);
    color: var(--gray-600);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-xl);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px var(--primary-color)20;
}

.submit-button {
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: var(--space-lg);
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.submit-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.privacy-text {
    margin-top: var(--space-lg);
    color: var(--gray-500);
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-sm);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials Section */
.testimonials-placeholder {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-3xl);
}

.testimonial-template {
    max-width: 600px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.testimonial-template .testimonial-content {
    padding: var(--space-xl);
}

.testimonial-template h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.testimonial-template p {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.testimonial-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    text-align: left;
}

.feature {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.la-commitment {
    display: flex;
    justify-content: center;
}

.commitment-content {
    max-width: 800px;
    text-align: center;
}

.commitment-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.commitment-content p {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.commitment-promises {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.promise {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.promise-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

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

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

@media (max-width: 768px) {
    .testimonial-features {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .commitment-promises {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.testimonials {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.testimonial {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    padding: var(--space-xl);
}

.testimonial .stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.testimonial p {
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.testimonial-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    color: white;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-xs);
    font-family: var(--font-headings);
}

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

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .testimonial-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Legal Page Styles */
.legal-page {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--space-3xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.legal-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: var(--space-md);
}

.legal-content h2 {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin: var(--space-2xl) 0 var(--space-md) 0;
    border-left: 4px solid var(--accent-color);
    padding-left: var(--space-md);
}

.legal-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: var(--space-xl) 0 var(--space-sm) 0;
}

.legal-content p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
    color: var(--gray-700);
}

.legal-content ul, .legal-content ol {
    margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
    color: var(--gray-700);
}

.legal-content li {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.legal-content .contact-info {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.legal-content .contact-info p {
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.legal-content .important-notice {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.legal-content .important-notice h2 {
    color: var(--accent-color);
    margin-top: 0;
    border-left: none;
    padding-left: 0;
}

.legal-content .important-notice p {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0;
}

/* Los Angeles Specific Styles */
.local-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.local-stat {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    min-width: 120px;
}

.local-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: var(--space-xs);
}

.local-stat span {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.la-neighborhoods {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.la-neighborhoods h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--primary-color);
}

.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.neighborhood {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.neighborhood:hover {
    transform: translateY(-2px);
}

.neighborhood h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.neighborhood p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.neighborhoods-footer {
    text-align: center;
    color: var(--gray-700);
    font-size: 1.1rem;
}

.neighborhoods-footer a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.why-choose-us-la {
    padding: var(--space-4xl) 0;
}

.why-choose-us-la h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--primary-color);
}

.la-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.la-benefit {
    text-align: center;
    padding: var(--space-xl);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.la-benefit h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.la-benefit p {
    color: var(--gray-700);
    line-height: 1.6;
}

.la-urgency {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.la-urgency h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: white;
}

.urgency-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--space-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.la-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.timeline-item {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.timeline-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.timeline-content h3 {
    color: white;
    margin-bottom: var(--space-md);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.la-contact {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.la-contact h2 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.la-contact p {
    text-align: center;
    margin-bottom: var(--space-3xl);
    font-size: 1.1rem;
    color: var(--gray-700);
}

.la-testimonials {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.la-testimonials h2 {
    text-align: center;
    margin-bottom: var(--space-3xl);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .local-trust {
        gap: var(--space-md);
    }
    
    .neighborhoods-grid {
        grid-template-columns: 1fr;
    }
    
    .la-benefits {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .la-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* FAQ Styles */
.faq-header {
    padding: var(--space-4xl) 0 var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    text-align: center;
}

.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: white;
}

.faq-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.faq-emergency {
    background: rgba(220, 38, 38, 0.2);
    border: 2px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: inline-block;
    margin-top: var(--space-lg);
}

.faq-emergency a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.faq-content {
    padding: var(--space-4xl) 0;
}

.faq-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-4xl);
    flex-wrap: wrap;
}

.faq-nav-link {
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-100);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.faq-section {
    margin-bottom: var(--space-4xl);
}

.faq-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--accent-color);
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--space-lg);
    background: var(--gray-50);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    flex: 1;
    padding-right: var(--space-md);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    display: none;
    padding: var(--space-lg);
    background: white;
    border-top: 1px solid var(--gray-200);
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.faq-answer p {
    margin-bottom: var(--space-md);
    color: var(--gray-700);
    line-height: 1.6;
}

.faq-answer ul {
    margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
    color: var(--gray-700);
}

.faq-answer li {
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--primary-color);
}

.faq-cta {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    margin-top: var(--space-4xl);
}

.faq-cta-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.faq-cta-content p {
    color: var(--gray-700);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.faq-cta-guarantee {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .faq-nav {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .faq-nav-link {
        text-align: center;
        min-width: 200px;
    }
    
    .faq-question {
        padding: var(--space-md);
    }
    
    .faq-answer {
        padding: var(--space-md);
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-header h1 {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
}

/* Blog Styles */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.blog-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--gray-200);
}

.blog-section {
    margin: var(--space-2xl) 0;
}

/* Alert Boxes */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
    border-left: 4px solid;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-color: var(--accent-color);
}

.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border-color: var(--warning-color);
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border-color: var(--success-color);
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-color: var(--primary-color);
}

/* Content Boxes */
.content-box {
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    border: 1px solid var(--gray-200);
}

/* Option Boxes */
.option-box {
    border-left: 4px solid var(--success-color);
    padding-left: var(--space-xl);
    margin: var(--space-xl) 0;
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.option-box-warning {
    border-left: 4px solid var(--warning-color);
    padding-left: var(--space-xl);
    margin: var(--space-xl) 0;
    background: #fffbeb;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.option-box-danger {
    border-left: 4px solid var(--accent-color);
    padding-left: var(--space-xl);
    margin: var(--space-xl) 0;
    background: #fef2f2;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

/* Blog CTA */
.blog-cta {
    background: linear-gradient(135deg, var(--success-color) 0%, #047857 100%);
    color: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    margin: var(--space-2xl) 0;
}

.blog-cta h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

/* FAQ Sections */
.faq-section {
    margin: var(--space-2xl) 0;
}

.faq-item {
    margin: var(--space-xl) 0;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --space-4xl: 3rem;
        --space-3xl: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }
    
    .hero-title {
        font-size: 1.25rem; /* Very small on mobile */
    }
    
    .hero-subtitle {
        font-size: 0.875rem; /* Very small mobile subtitle */
    }
    
    .nav {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: var(--space-md);
    }
    
    .steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    h1 { font-size: 1.25rem; }  /* Very small mobile sizes */
    h2 { font-size: 1.125rem; }
    h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .trust-grid {
        grid-template-columns: 1fr; /* Single column on small mobile */
        gap: var(--space-sm);
    }
    
    .credentials {
        flex-direction: column; /* Stack credentials on mobile */
        gap: var(--space-md);
    }
    
    .credential {
        min-width: auto; /* Remove min-width on mobile */
    }
    
    .about-content {
        padding: var(--space-xl); /* Less padding on mobile */
        margin: 0 var(--space-md); /* Add side margins */
    }
    
    .about-text {
        font-size: 1rem; /* Smaller font on mobile */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-button-large {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
}

/* Force smaller fonts for any remaining large text - Blog Content Overrides */
.blog-article h1,
.blog-article .blog-header h1 {
    font-size: 1.5rem !important; /* Force blog title size */
}

.blog-article h2 {
    font-size: 1.25rem !important; /* Force section header size */
}

.blog-article h3 {
    font-size: 1.125rem !important; /* Force subsection size */
}

.blog-article h4 {
    font-size: 1rem !important; /* Force small header size */
}

.blog-article p {
    font-size: 1rem !important; /* Force paragraph size */
}

/* Override any inline styles in CTA sections */
.blog-article [style*="font-size"] p {
    font-size: 1rem !important;
}

.blog-article [style*="font-size"] h2 {
    font-size: 1.25rem !important;
}

/* Specific overrides for red CTA sections - Better readability */
div[style*="background: #e74c3c"] h2 {
    font-size: 1.25rem !important;
    color: #ffffff !important; /* Pure white for contrast */
    font-weight: 700 !important; /* Bold for visibility */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important; /* Subtle shadow */
    letter-spacing: 0.5px !important; /* Better spacing */
}

div[style*="background: #e74c3c"] p {
    font-size: 1rem !important;
    color: #ffffff !important; /* Pure white for contrast */
    font-weight: 500 !important; /* Medium weight for legibility */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important; /* Subtle shadow */
    line-height: 1.6 !important; /* Better line spacing */
}

/* Lead Magnet Section */
.lead-magnet-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.lead-magnet-text h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.lead-magnet-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
    color: rgba(255, 255, 255, 0.9);
}

.lead-magnet-benefits {
    display: grid;
    gap: var(--space-sm);
}

.benefit {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.lead-magnet-form {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.lead-magnet-form h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

.lead-capture-form .form-group {
    margin-bottom: var(--space-md);
}

.lead-capture-form input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.lead-capture-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.lead-magnet-button {
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--space-md);
}

.lead-magnet-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.lead-capture-form .privacy-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

@media (max-width: 768px) {
    .lead-magnet-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .lead-magnet-form {
        margin: 0 var(--space-md);
    }
}

/* Calendar Scheduling Section */
.calendar-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.calendar-section h2 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.calendar-section > .container > p {
    text-align: center;
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.calendar-info {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.calendar-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: 1.125rem;
}

.calendar-info ul {
    list-style: none;
    padding: 0;
}

.calendar-info li {
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.booking-requirements {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.booking-requirements p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.booking-requirements ul {
    list-style: none;
    padding: 0;
}

.booking-requirements li {
    margin-bottom: var(--space-sm);
    font-size: 0.85rem;
    color: var(--gray-600);
}

.calendar-embed {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.calendar-button-container {
    padding: var(--space-2xl);
    text-align: center;
}

.calendar-button-container #google-calendar-button {
    margin-bottom: var(--space-lg);
}

/* Style the Google Calendar button when it loads */
.calendar-button-container button {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: var(--space-lg) var(--space-2xl) !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow-md) !important;
}

.calendar-button-container button:hover {
    background-color: var(--primary-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .calendar-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .calendar-info,
    .calendar-embed {
        margin: 0 var(--space-md);
    }
    
    .calendar-embed iframe {
        height: 500px; /* Smaller height on mobile */
    }
}

/* Also target any red background CTA sections */
.blog-cta,
div[style*="background: #e74c3c"],
section[style*="background: #e74c3c"] {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Add text shadow for all red backgrounds */
}

.blog-cta h2,
.blog-cta p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Better text readability */
    font-weight: 500; /* Medium weight for legibility */
}

/* Download Success Page */
.download-success {
    padding: var(--space-4xl) 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.success-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--space-lg);
}

.success-content h1 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-size: 1.75rem;
}

.success-description {
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    color: var(--gray-600);
}

.download-section {
    background: var(--gray-50);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-3xl);
}

.download-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-bottom: var(--space-md);
}

.download-button:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-note {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.next-steps {
    margin-bottom: var(--space-3xl);
}

.next-steps h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-xl);
}

/* Download page steps grid - override ALL other step styles */
.download-success .next-steps .steps-grid,
.next-steps .steps-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    /* Override any flex properties */
    flex-direction: unset !important;
    justify-content: unset !important;
}

/* Fallback for mobile */
@media (max-width: 768px) {
    .next-steps .steps-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }
}

/* Download page step cards - override ALL step styles */
.download-success .next-steps .steps-grid .step,
.next-steps .steps-grid .step {
    text-align: center !important;
    padding: 2rem !important;
    background: #ffffff !important;
    border-radius: 1rem !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
    border: 2px solid #e5e7eb !important;
    transition: all 0.3s ease !important;
    display: block !important;
    margin-bottom: 1rem !important;
    /* Override any flex properties from main steps */
    flex: unset !important;
    width: auto !important;
    min-height: auto !important;
}

.next-steps .steps-grid .step:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--primary-color) !important;
}

.next-steps .steps-grid .step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%) !important;
    color: white !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 1.5rem !important;
    margin: 0 auto var(--space-lg) !important;
    box-shadow: var(--shadow-md) !important;
}

.next-steps .steps-grid .step h3 {
    font-size: 1.25rem !important;
    margin-bottom: var(--space-md) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.next-steps .steps-grid .step p {
    font-size: 0.9rem !important;
    color: var(--gray-600) !important;
    margin: 0 !important;
}

/* Nuclear option - completely override any conflicting styles */
.checklist-download .next-steps .steps-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

@media (max-width: 768px) {
    .checklist-download .next-steps .steps-grid {
        grid-template-columns: 1fr !important;
    }
}

.emergency-contact {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-3xl);
}

.emergency-contact h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.emergency-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xl);
}

.emergency-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.emergency-button {
    background: white;
    color: var(--accent-color);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.emergency-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.additional-resources {
    text-align: left;
}

.additional-resources h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.resource-card {
    background: white;
    border: 2px solid var(--gray-200);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

.resource-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Exit Intent Popup */
.exit-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.exit-popup-content {
    background: white;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideInUp 0.4s ease-out;
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: color 0.3s ease;
}

.exit-popup-close:hover {
    color: var(--gray-700);
}

.exit-popup-header {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: white;
    padding: var(--space-2xl);
    text-align: center;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.exit-popup-header h2 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
    line-height: 1.3;
}

.exit-popup-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.exit-popup-body {
    padding: var(--space-2xl);
}

.exit-popup-benefits {
    margin-bottom: var(--space-xl);
}

.exit-benefit {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.exit-popup-form {
    margin-bottom: var(--space-lg);
}

.exit-form-group {
    margin-bottom: var(--space-md);
}

.exit-popup-form input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.exit-popup-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.exit-popup-button {
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--space-sm);
}

.exit-popup-button:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.exit-privacy-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0;
}

.exit-popup-footer {
    background: var(--gray-50);
    padding: var(--space-lg);
    text-align: center;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.exit-social-proof {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

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

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .exit-popup-content {
        width: 95%;
        margin: var(--space-md);
    }
    
    .exit-popup-header {
        padding: var(--space-xl);
    }
    
    .exit-popup-header h2 {
        font-size: 1.1rem;
    }
    
    .exit-popup-body {
        padding: var(--space-xl);
    }
}

/* Cash Offer Calculator Styles */
.calculator-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: var(--space-4xl) 0;
    text-align: center;
}

.calculator-hero h1 {
    color: white;
    font-size: 2rem;
    margin-bottom: var(--space-lg);
}

.calculator-hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    color: rgba(255, 255, 255, 0.9);
}

.calculator-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.calc-benefit {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.calculator-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-50);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.calculator-steps {
    background: var(--gray-100);
    padding: var(--space-xl);
    text-align: center;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-300);
    color: var(--gray-600);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.calculator-step {
    display: none;
    padding: var(--space-3xl);
}

.calculator-step.active {
    display: block;
}

.calculator-step h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--space-2xl);
    font-size: 1.5rem;
}

.calc-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.calc-form-group {
    display: flex;
    flex-direction: column;
}

.calc-form-group label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.calc-form-group input,
.calc-form-group select {
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calc-form-group input:focus,
.calc-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.calc-form-group small {
    margin-top: var(--space-sm);
    font-size: 0.8rem;
    color: var(--gray-500);
}

.condition-options,
.timeline-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.condition-card,
.timeline-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.condition-card:hover,
.timeline-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.condition-card.selected,
.timeline-card.selected {
    border-color: var(--primary-color);
    background: rgba(26, 54, 93, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.condition-icon,
.timeline-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.condition-card h3,
.timeline-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.condition-card p,
.timeline-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

.condition-adjustment,
.timeline-bonus {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
}

.situation-question {
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2xl);
}

.situation-question h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.1rem;
    text-align: center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: background-color 0.3s ease;
}

.radio-option:hover {
    background: rgba(26, 54, 93, 0.05);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    margin-right: var(--space-md);
    position: relative;
    transition: border-color 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: var(--primary-color);
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.calc-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-2xl);
}

.calc-next-button,
.calc-prev-button,
.calc-submit-button,
.calc-secondary-button {
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-next-button,
.calc-submit-button {
    background: var(--primary-color);
    color: white;
}

.calc-next-button:hover,
.calc-submit-button:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.calc-next-button:disabled {
    background: var(--gray-300);
    color: var(--gray-500);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.calc-prev-button {
    background: var(--gray-200);
    color: var(--gray-700);
}

.calc-prev-button:hover {
    background: var(--gray-300);
}

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

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

/* Price Input Section Styles */
.price-input-section {
    padding: var(--space-2xl) 0;
}

/* Quick Price Selection */
.price-quick-select {
    margin-bottom: var(--space-2xl);
}

.price-ranges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .price-ranges {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xs);
    }
    
    .price-range-btn {
        padding: var(--space-md) var(--space-xs);
        font-size: 0.9rem;
        min-height: 45px;
    }
}

.price-range-btn {
    padding: var(--space-md) var(--space-sm);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: white;
    color: var(--gray-700);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-range-btn:hover {
    border-color: var(--primary-color);
    background: rgba(26, 54, 93, 0.05);
    transform: translateY(-1px);
}

.price-range-btn.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.price-range-btn.custom-btn {
    background: var(--gray-100);
    color: var(--primary-color);
    font-weight: 700;
}

.price-range-btn.custom-btn:hover {
    background: var(--primary-color);
    color: white;
}

.price-range-btn.custom-btn.selected {
    background: var(--primary-color);
    color: white;
}

.quick-select-text {
    text-align: center;
    color: var(--gray-600);
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

.price-form-group {
    margin-bottom: var(--space-2xl);
}

.price-form-group label {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.price-form-group input {
    width: 100%;
    padding: var(--space-lg);
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-lg);
    text-align: center;
    background: var(--gray-50);
    transition: all 0.3s ease;
}

.price-form-group input:focus {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    outline: none;
}

.price-form-group input::placeholder {
    color: var(--gray-400);
    font-weight: 500;
}

.price-form-group small {
    display: block;
    font-size: 1rem;
    color: var(--gray-600);
    margin-top: var(--space-sm);
    text-align: center;
}

.timeline-question {
    margin-top: var(--space-3xl);
}

.timeline-question h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.timeline-radios {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.timeline-radios .radio-option {
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 1.1rem;
}

.timeline-radios .radio-option:hover {
    border-color: var(--primary-color);
    background: rgba(26, 54, 93, 0.05);
}

.timeline-radios .radio-option input:checked + .radio-custom + * {
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-radios .radio-option:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(26, 54, 93, 0.05);
}

/* Request Summary Styles */
.request-summary {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.request-summary h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.summary-details {
    display: grid;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gray-300);
}

.summary-item.highlight {
    background: rgba(26, 54, 93, 0.05);
    border-left-color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.summary-item span:first-child {
    color: var(--gray-700);
    font-weight: 500;
}

.summary-item span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.what-happens-next {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.what-happens-next h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.next-step {
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    background: white;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--success-color);
    color: var(--gray-700);
}

.next-step:last-child {
    margin-bottom: 0;
}

.calculator-loading {
    text-align: center;
    padding: var(--space-3xl);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-xl);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.calculator-results {
    text-align: center;
}

.results-header {
    background: linear-gradient(135deg, var(--success-color) 0%, #10b981 100%);
    color: white;
    padding: var(--space-2xl);
    margin: calc(-1 * var(--space-3xl)) calc(-1 * var(--space-3xl)) var(--space-2xl);
}

.results-header h2 {
    color: white;
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}

.offer-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.offer-range {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.results-breakdown {
    background: var(--gray-50);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.results-breakdown h3 {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.breakdown-item.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: var(--space-md);
    padding-top: var(--space-lg);
}

.results-benefits {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.results-benefits h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.result-benefit {
    padding: var(--space-sm) 0;
    font-size: 1rem;
    color: var(--gray-700);
}

.lead-capture-section {
    background: var(--gray-50);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.lead-capture-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.lead-capture-section > p {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.calculator-lead-form {
    max-width: none;
}

.calc-privacy-text {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: var(--space-md);
}

.success-message {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-lg);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
}

.success-message h3 {
    color: white;
    margin-bottom: var(--space-md);
}

.success-message p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.success-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.success-button {
    background: white;
    color: var(--success-color);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.success-button.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.success-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .calculator-hero h1 {
        font-size: 1.5rem;
    }
    
    .calculator-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        max-width: 100%;
    }
    
    .calculator-container {
        margin: 0 var(--space-md);
    }
    
    .calculator-step {
        padding: var(--space-xl);
    }
    
    .calc-form-grid {
        grid-template-columns: 1fr;
    }
    
    .condition-options,
    .timeline-options {
        grid-template-columns: 1fr;
    }
    
    .calc-nav-buttons {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .offer-amount {
        font-size: 2rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

/* ===== COMPLETE OVERHAUL: FORECLOSURE PROCESS SECTION ===== */

.foreclosure-process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.process-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 60px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.foreclosure-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.foreclosure-step-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 4px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.foreclosure-step-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 80px rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.step-circle-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 auto 30px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
    border: 5px solid #ffffff;
    position: relative;
}

.step-circle-number::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    z-index: -1;
    opacity: 0.3;
}

.step-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.3px;
}

.step-card-description {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
    max-width: 280px;
}

/* Mobile and Tablet Optimization */
@media (max-width: 1024px) {
    .foreclosure-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .foreclosure-step-card {
        padding: 40px 25px;
        min-height: 280px;
    }
    
    .process-main-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .step-circle-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .step-card-title {
        font-size: 1.5rem;
    }
    
    .step-card-description {
        font-size: 1.1rem;
    }
}