:root {
    /* Primary Blue Theme Colors */
    --primary: #2D72BF;
    --primary-dark: #1E4F8B;
    --primary-light: #4A8CD4;
    --secondary: #0F2A44;
    --accent: #3B82F6;
    --accent-light: #60A5FA;
    
    /* Trust & Professional Colors */
    --trust-blue: #1E40AF;
    --deep-blue: #1E3A8A;
    --light-blue: #DBEAFE;
    --blue-gray: #475569;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* 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);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-blue: linear-gradient(135deg, var(--trust-blue) 0%, var(--deep-blue) 100%);
    --gradient-light: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing & Sizing */
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
}



body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.modal-active {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

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

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--light-blue);
}

.nav-link i {
    font-size: 0.875rem;
}

.dropdown-icon {
    font-size: 0.75rem;
    transition: var(--transition);
}

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

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.dropdown-section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--gray-600);
    border-radius: var(--border-radius);
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.dropdown-link:hover {
    color: var(--primary);
    background: var(--light-blue);
    transform: translateX(4px);
}

.dropdown-link i {
    width: 16px;
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.688rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.mobile-menu span {
    width: 24px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    color: var(--gray-600);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.language-selector:hover {
    background: var(--light-blue);
    border-color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
    background: var(--gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.breadcrumb-nav i {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.breadcrumb-nav span {
    color: var(--gray-600);
    font-weight: 500;
}

/* Hero Page with Background Image */
.hero-page {
    position: relative;
    padding: 4rem 0;
    background-image: url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    overflow: hidden;
}

.hero-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 114, 191, 0.85) 0%, rgba(30, 79, 139, 0.9) 100%);
    z-index: 1;
}

.hero-page .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.hero-page .hero-text h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-page .hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.benefit-item i {
    color: var(--success);
    font-size: 1rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.trust-item i {
    color: var(--success);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #FCD503;
    font-size: 0.875rem;
}

/* Modern Form Card */
.hero-form {
    position: relative;
    z-index: 2;
}

.comparison-form-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    position: sticky;
    top: 2rem;
    animation: slideInRight 0.8s ease-out;
}

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

.form-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.form-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: var(--white);
}

/* Multi-Step Progress */
.form-progress {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-400);
    position: relative;
    flex: 1;
}

.progress-step.active {
    color: var(--primary);
}

.progress-step.completed {
    color: var(--success);
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 0.5rem);
    width: calc(100% - 1rem);
    height: 2px;
    background: var(--gray-200);
    transform: translateY(-50%);
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.completed::after {
    background: var(--success);
}

.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.progress-step.active .step-circle {
    background: var(--primary);
    color: var(--white);
}

.progress-step.completed .step-circle {
    background: var(--success);
    color: var(--white);
}

/* Multi-Step Form */
.multi-step-form {
    padding: 2rem;
}

.form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

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

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

.form-section {
    margin-bottom: 2rem;
}

.form-section:last-child {
    margin-bottom: 0;
}

/* Profile Selector */
.profile-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.profile-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.profile-option:hover {
    border-color: var(--primary);
    background: var(--light-blue);
    transform: translateY(-2px);
}

.profile-option.active {
    border-color: var(--primary);
    background: var(--light-blue);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-option i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 114, 191, 0.1);
    transform: translateY(-1px);
}

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

.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
    resize: vertical;
    min-height: 100px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 114, 191, 0.1);
    transform: translateY(-1px);
}

/* Autocomplete styling */
.form-group input[list] {
    position: relative;
}

datalist {
    display: none;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Privacy Notice */
.privacy-notice {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--gray-700);
}

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

.checkmark {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 3px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
}

/* Form Stats */
.form-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.form-stats .stat {
    text-align: center;
}

.form-stats .stat strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.form-stats .stat span {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Tabs */
.content-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 1rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.tab-button:hover {
    color: var(--primary);
    background: var(--light-blue);
}

.tab-button.active {
    color: var(--primary);
    background: var(--light-blue);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

.content-section {
    margin-bottom: 4rem;
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.content-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 2rem;
}

.content-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

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

.content-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.content-text p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.content-text ul li {
    color: var(--gray-600);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Detailed Content Sections */
.detailed-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.detailed-content h4 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    color: var(--primary);
}

.detailed-content h5 {
    font-size: 1.125rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--gray-800);
}

.highlight-box {
    background: var(--light-blue);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h5 {
    color: var(--primary);
    margin-top: 0;
}

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

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.info-card h6 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Insurance Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.company-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.company-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    filter: grayscale(100%);
    transition: var(--transition);
}

.company-card:hover .company-logo {
    filter: grayscale(0%);
}

.company-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* Comparison Table */
.comparison-table {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table td {
    color: var(--gray-600);
}

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

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin: 3rem 0;
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 136px;
    width: 160px;
    background: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--gray-700);
}

.product-card:hover {
    transform: scale(1.05);
    background: var(--gray-50);
    box-shadow: var(--shadow-md);
    color: var(--gray-700);
}

.product-card svg {
    width: 42px;
    height: 42px;
    color: var(--primary);
}

.product-card span {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

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

/* Footer */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-light);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    flex: 1;
}

.footer-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-page .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .comparison-form-card {
        position: relative;
        top: 0;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dropdown-menu {
        min-width: 500px;
    }
    
    .profile-selector {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .profile-option {
        flex-direction: row;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .content-image {
        position: relative;
        top: 0;
    }
}

/* ================================
   MOBILE RESPONSIVE STYLES - COMPREHENSIVE VERSION
   Targets ALL devices smaller than 540x720 dimensions
   ================================ */

/* Main mobile styles for devices smaller than 540x720 */
@media screen and (max-width: 540px), 
       screen and (max-height: 720px) and (max-width: 800px),
       screen and (max-width: 720px) and (max-height: 540px),
       screen and (max-width: 768px) and (max-height: 1024px) and (orientation: portrait) {
    
    /* Hide desktop header on mobile */
    .header {
        display: none !important;
    }
    
    /* Add padding for sticky bottom nav */
    body {
        /*padding-bottom: 80px !important;*/
    }
    
    /* ================================
       STICKY BOTTOM NAVIGATION
       ================================ */
    

       .mobile-menu-content {
        /* Prevent scroll events from bubbling up */
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid var(--gray-200);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(20px);
        z-index: 1000;
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    }
    
    .mobile-nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0.5rem;
        text-decoration: none;
        color: var(--gray-600);
        font-size: 0.75rem;
        font-weight: 500;
        border-radius: var(--border-radius);
        transition: var(--transition);
        min-width: 60px;
        text-align: center;
    }
    
    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: var(--primary);
        background: var(--light-blue);
    }
    
    .mobile-nav-item i {
        font-size: 1.125rem;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        position: relative;
        cursor: pointer;
    }
    
    .mobile-menu-toggle .menu-icon {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }
    
    .mobile-menu-toggle .menu-icon span {
        width: 18px;
        height: 2px;
        background: var(--gray-600);
        border-radius: 1px;
        transition: var(--transition);
    }
    
    .mobile-menu-toggle.active .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.8);
        backdrop-filter: blur(20px);
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-content {
        position: absolute;
        bottom: 80px;
        left: 1rem;
        right: 1rem;
        background: var(--white);
        border-radius: var(--border-radius-xl);
        padding: 2rem;
        box-shadow: var(--shadow-2xl);
        transform: translateY(100%);
        transition: var(--transition);
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }
    
    .mobile-menu-overlay.active .mobile-menu-content {
        transform: translateY(0);
    }
    
    /* ================================
       FORCED GRID LAYOUTS - 2 COLUMNS
       Using !important to override everything
       ================================ */
    
    /* Mobile Menu Grid - FORCE 2x2 */
    .mobile-menu-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto auto auto !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mobile-menu-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 1.5rem 1rem !important;
        text-decoration: none !important;
        color: var(--gray-700) !important;
        background: var(--gray-50) !important;
        border-radius: var(--border-radius-lg) !important;
        border: 1px solid var(--gray-200) !important;
        transition: var(--transition) !important;
        text-align: center !important;
        min-height: 80px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mobile-menu-item:hover {
        color: var(--primary) !important;
        background: var(--light-blue) !important;
        border-color: var(--primary) !important;
        transform: translateY(-2px) !important;
    }
    
    .mobile-menu-item i {
        font-size: 1.5rem !important;
        color: var(--primary) !important;
    }
    
    .mobile-menu-item span {
        font-size: 0.875rem !important;
        font-weight: 500 !important;
    }
    
    /* Form Progress - FORCE 2x2 Grid */
    .form-progress {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 1rem !important;
        padding: 1.5rem !important;
        background: var(--gray-50) !important;
        border-bottom: 1px solid var(--gray-200) !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Reset ALL flex properties */
        justify-content: stretch !important;
        align-items: stretch !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: none !important;
    }
    
    .progress-step {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        font-size: 0.8125rem !important;
        color: var(--gray-400) !important;
        position: relative !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Remove any flex grow */
        flex: none !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        flex-basis: auto !important;
    }
    
    /* Remove progress lines on mobile */
    .progress-step::after {
        display: none !important;
    }
    
    .step-circle {
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background: var(--gray-200) !important;
        color: var(--gray-600) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        transition: var(--transition) !important;
    }
    
    .progress-step.active .step-circle {
        background: var(--primary) !important;
        color: var(--white) !important;
    }
    
    .progress-step.completed .step-circle {
        background: var(--success) !important;
        color: var(--white) !important;
    }
    
    .progress-step.active {
        color: var(--primary) !important;
    }
    
    .progress-step.completed {
        color: var(--success) !important;
    }
    
    /* Content Tabs - FORCE 2x3 Grid */
    .content-tabs-container {
        position: relative !important;
        margin-bottom: 3rem !important;
        width: 100% !important;
    }
    
    .content-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
        border-bottom: none !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Reset ALL flex properties */
        justify-content: stretch !important;
        align-items: stretch !important;
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: none !important;
    }
    
    .tab-button {
        background: var(--white) !important;
        border: 2px solid var(--gray-200) !important;
        padding: 0.75rem 0.5rem !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: var(--gray-600) !important;
        cursor: pointer !important;
        border-radius: var(--border-radius) !important;
        transition: var(--transition) !important;
        white-space: normal !important;
        text-align: center !important;
        position: relative !important;
        min-height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .tab-button:hover {
        color: var(--primary) !important;
        border-color: var(--primary) !important;
        background: var(--light-blue) !important;
    }
    
    .tab-button.active {
        color: var(--white) !important;
        background: var(--gradient-primary) !important;
        border-color: var(--primary) !important;
        box-shadow: var(--shadow-md) !important;
    }
    
    .tab-button.active::after {
        display: none !important;
    }
    
    /* Trust Indicators - FORCE 2 per line with first spanning full width */
    .trust-indicators {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        justify-items: center !important;
        align-items: center !important;
        width: 100% !important;
        /* Reset flex properties */
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: none !important;
    }
    
    .trust-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        text-align: center !important;
        font-size: 0.8125rem !important;
        padding: 0.75rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px) !important;
        border-radius: var(--border-radius) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .trust-item:first-child {
        grid-column: span 2 !important;
        flex-direction: row !important;
        justify-content: center !important;
    }
    
    /* Hero Benefits - FORCE 2 per line */
    .hero-benefits {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        /* Reset flex properties */
        flex-direction: unset !important;
        flex-wrap: unset !important;
        flex: none !important;
    }
    
    /* Products Grid - FORCE 2 per line */
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin: 3rem 0 !important;
        width: 100% !important;
    }
    
    .product-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        height: 120px !important;
        width: 100% !important;
        background: var(--white) !important;
        border-radius: var(--border-radius) !important;
        transition: var(--transition) !important;
        box-shadow: var(--shadow-sm) !important;
        text-decoration: none !important;
        color: var(--gray-700) !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
    }
    
    .product-card:hover {
        transform: scale(1.02) !important;
        background: var(--gray-50) !important;
        box-shadow: var(--shadow-md) !important;
        color: var(--gray-700) !important;
    }
    
    .product-card svg {
        width: 32px !important;
        height: 32px !important;
        color: var(--primary) !important;
        flex-shrink: 0 !important;
    }
    
    .product-card span {
        text-align: center !important;
        font-size: 0.8125rem !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
    }
    
    /* Companies Grid - FORCE 2 per line */
    .companies-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem !important;
        margin: 3rem 0 !important;
        width: 100% !important;
    }
    
    .company-card {
        background: var(--white) !important;
        border: 1px solid var(--gray-200) !important;
        border-radius: var(--border-radius-lg) !important;
        padding: 1rem !important;
        text-align: center !important;
        transition: var(--transition) !important;
        box-shadow: var(--shadow-sm) !important;
        min-height: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .company-card:hover {
        transform: translateY(-2px) !important;
        box-shadow: var(--shadow-lg) !important;
        border-color: var(--primary) !important;
    }
    
    .company-logo {
        width: 80px !important;
        height: 40px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        filter: grayscale(100%) !important;
        transition: var(--transition) !important;
    }
    
    .company-card:hover .company-logo {
        filter: grayscale(0%) !important;
    }
    
    /* Hide company description text on mobile */
    .company-card p {
        display: none !important;
    }
    
    /* ================================
       OTHER MOBILE STYLES
       ================================ */
    
    .hero-page {
        padding: 2rem 0 3rem !important;
        background-attachment: scroll !important;
    }
    
    .hero-page .hero-text h1 {
        font-size: 2.25rem !important;
    }
    
    .comparison-form-card {
        margin-top: 2rem !important;
        position: relative !important;
        top: 0 !important;
    }
    
    .form-header {
        padding: 1.5rem !important;
    }
    
    .multi-step-form {
        padding: 1.5rem !important;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .content-with-image {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .content-image {
        order: -1 !important;
        position: relative !important;
        top: 0 !important;
    }
    
    .section {
        padding: 3rem 0 !important;
    }
    
    .section-header {
        margin-bottom: 2rem !important;
    }
    
    .section-header h2 {
        font-size: 2rem !important;
    }
    
    .footer {
        padding: 3rem 0 6rem !important;
        text-align: center !important;
    }
    
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        justify-items: center !important;
        max-width: 600px !important;
        margin: 0 auto 3rem !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
        align-items: center !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    /* Form Navigation */
    .form-navigation {
        flex-direction: column !important;
    }
    
    /* Mobile menu display */
    .mobile-menu {
        display: flex !important;
    }
    
    /* Hide/show nav */
    .nav {
        display: none !important;
    }
    
    /* Prevent scrolling when menu is open */
    body.mobile-menu-open {
        overflow: hidden !important;
    }
}

/* ================================
   SMALL MOBILE DEVICES 
   Additional overrides for very small screens
   ================================ */

@media screen and (max-width: 400px), and (max-width: 300px), 
       screen and (max-height: 600px) and (max-width: 500px) {
    
    
    .breadcrumb {
    display: none !important;
}

    /* Trust indicators become single column on very small screens */
    .trust-indicators {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    
    .trust-item:first-child {
        grid-column: span 1 !important;
    }
    
    .trust-item {
        flex-direction: row !important;
        justify-content: center !important;
        padding: 0.5rem 1rem !important;
    }
    
    /* Footer becomes single column */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Form progress becomes single column */
    .form-progress {
       /* grid-template-columns: 1fr !important;*/  
        gap: 1rem !important;
    }
    
    .progress-step {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 0.75rem !important;
    }
    
    /* Mobile menu becomes single column */
    .mobile-menu-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Content tabs become single column */
    .content-tabs {
        /*grid-template-columns: 1fr !important;*/
        gap: 0.75rem !important;
    }
    
    /* Hero benefits become single column */
    .hero-benefits {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .tab-button {
        font-size: 0.875rem !important;
        padding: 1rem !important;
    }
    
    .hero-page .hero-text h1 {
        font-size: 1.875rem !important;
    }
    
    .benefit-item {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8125rem !important;
    }
    
    .form-header h3 {
        font-size: 1.25rem !important;
    }
    
    .multi-step-form {
        padding: 1rem !important;
    }
    
    .profile-option {
        padding: 0.875rem 1rem !important;
        font-size: 0.8125rem !important;
    }
    
    /* Keep products and companies as 2 columns even on small screens */
    .companies-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }
    
    .product-card {
        height: 100px !important;
        padding: 0.75rem !important;
    }
    
    .product-card svg {
        width: 28px !important;
        height: 28px !important;
    }
    
    .product-card span {
        font-size: 0.75rem !important;
    }
    
    .company-logo {
        width: 70px !important;
        height: 35px !important;
    }
}

/* ================================
   LANDSCAPE ORIENTATION SUPPORT
   ================================ */

@media screen and (max-width: 720px) and (orientation: landscape),
       screen and (max-height: 540px) and (orientation: landscape) {
    
    /* Adjust heights for landscape mode */
    .mobile-menu-content {
        max-height: calc(100vh - 100px) !important;
    }
    
    .modal {
        max-height: 85vh !important;
    }
    
    .hero-page {
        padding: 1.5rem 0 2rem !important;
    }
}

/* Prevent scrolling when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

/* Add scroll progress indicator for mobile */
.mobile-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Hide scroll progress on larger screens */
@media screen and (min-width: 720px) and (min-height: 540px) {
    .mobile-scroll-progress {
        display: none;
    }
    
    /* Reset all mobile styles on larger screens */
    .header {
        display: block !important;
    }
    
    body {
        padding-bottom: 0 !important;
    }
    
    .mobile-bottom-nav {
        display: none !important;
    }
}


/* Add shake animation for validation errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.6s ease-in-out;
}

/* Style for disabled submit button */
button[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

button[type="submit"]:disabled:hover {
    transform: none !important;
    box-shadow: var(--shadow-md) !important;
}
