/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0ea5e9;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --gradient-1: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --gradient-3: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.07);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.14), 0 1px 2px -1px rgb(0 0 0 / 0.14);
    --shadow-md: 0 6px 8px -1px rgb(0 0 0 / 0.15), 0 3px 6px -2px rgb(0 0 0 / 0.15);
    --shadow-lg: 0 14px 20px -4px rgb(0 0 0 / 0.15), 0 6px 8px -4px rgb(0 0 0 / 0.15);
    --shadow-xl: 0 25px 35px -5px rgb(0 0 0 / 0.15), 0 10px 15px -6px rgb(0 0 0 / 0.15);
    --shadow-2xl: 0 35px 60px -15px rgb(0 0 0 / 0.35);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Competitor Integration Styles */
.trust-bar {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-100);
    position: relative;
    z-index: 20;
    margin-top: -1px;
    /* Stitch to wave */
}

.trust-bar-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-bar-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo {
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition);
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--gray-600);
}

.trust-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--primary);
}

/* Expert Rating Badge (NerdWallet Strategy) */
.expert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.rating-score {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-icon {
    font-size: 1.75rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.btn-cta-nav {
    background: var(--gradient-1);
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 500px;
}

.quote-selector {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 2rem;
}

.quote-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.quote-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.quote-tab:hover {
    background: var(--gray-200);
}

.quote-tab.active {
    background: var(--primary);
    color: var(--white);
}

.tab-icon {
    font-size: 1.25rem;
}

.quote-form {
    display: flex;
    gap: 0.75rem;
}

.zip-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition);
}

.zip-input:focus {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-1);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

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

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.trust-icon {
    color: var(--success);
    font-weight: bold;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
}

.hero-image {
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    max-width: 350px;
    max-height: 350px;
    object-fit: contain;
    z-index: 0;
    opacity: 0.85;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.hero-card.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-card.card-2 {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.hero-card.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.card-provider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark);
}

.provider-logo {
    font-size: 1.25rem;
}

.card-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.card-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.card-savings {
    font-size: 0.875rem;
    color: var(--success);
    font-weight: 600;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   Section Styles
   ============================================ */
/* ============================================
   Section Styles - Extreme 3D Edition
   ============================================ */
section {
    position: relative;
    padding: 10rem 0;
    background: var(--white);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
    overflow: visible;
    /* Allow shadows to spill */
}

/* Base reveal state */
section.reveal-hidden {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
}

section.reveal-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Dual Bevel & Glass Glint Logic */
section::before,
section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6rem;
    z-index: 10;
    pointer-events: none;
}

section::before {
    top: -3rem;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2) 50%, transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    transform: skewY(-3deg);
}

section::after {
    bottom: -3rem;
    background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.05) 50%, transparent);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: skewY(-3deg);
}

/* Extreme Layered Shadows */
.insurance-types {
    background: var(--white);
    z-index: 10;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.how-it-works {
    background: var(--gray-50);
    margin-top: -6rem;
    padding-top: 14rem;
    clip-path: polygon(0 6rem, 100% 0, 100% 100%, 0 calc(100% - 6rem));
    z-index: 9;
    box-shadow:
        0 -20px 50px rgba(0, 0, 0, 0.05),
        inset 0 20px 40px -20px rgba(0, 0, 0, 0.1),
        inset 0 -20px 40px -20px rgba(0, 0, 0, 0.05);
}

.comparison-preview {
    background: var(--white);
    margin-top: -6rem;
    padding-top: 14rem;
    clip-path: polygon(0 0, 100% 6rem, 100% calc(100% - 6rem), 0 100%);
    z-index: 8;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(0, 0, 0, 0.08);
}

.resources {
    background: var(--gray-50);
    margin-top: -6rem;
    padding-top: 14rem;
    clip-path: polygon(0 6rem, 100% 0, 100% 100%, 0 calc(100% - 6rem));
    z-index: 7;
    box-shadow: inset 0 20px 40px -20px rgba(0, 0, 0, 0.1);
}

.testimonials {
    background: var(--white);
    margin-top: -6rem;
    padding-top: 14rem;
    clip-path: polygon(0 0, 100% 6rem, 100% 100%, 0 100%);
    z-index: 6;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Internal Page Specific Bevels */
.quote-section,
.content-section,
.final-cta {
    margin-top: -6rem;
    padding-top: 14rem;
    clip-path: polygon(0 6rem, 100% 0, 100% 100%, 0 calc(100% - 6rem));
    position: relative;
    z-index: 5;
}

.content-section {
    background: var(--gray-50);
    z-index: 4;
}

.final-cta {
    background: var(--white);
    clip-path: polygon(0 0, 100% 6rem, 100% 100%, 0 100%);
    z-index: 3;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ============================================
   Insurance Types Section
   ============================================ */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.type-card {
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.type-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.type-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.type-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

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

.type-stats {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-bottom: 1rem;
}

.type-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ============================================
   How It Works Section
   ============================================ */
.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.step-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--gray-300);
    margin-top: 4rem;
}

.cta-center {
    text-align: center;
}

/* ============================================
   Comparison Preview Section
   ============================================ */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.comparison-card {
    display: block;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.comparison-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.company-logo {
    font-size: 2rem;
}

.vs-badge {
    background: var(--gray-200);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-600);
}

.comparison-card p {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.read-more {
    display: block;
    text-align: center;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   Resources Section
   ============================================ */
.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.resource-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.resource-card.featured {
    grid-row: span 2;
}

.resource-image {
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.resource-image.small {
    height: 100px;
}

.resource-card.featured .resource-image {
    height: 250px;
}

.resource-category {
    background: var(--white);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.resource-content {
    padding: 1.5rem;
}

.resource-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

.read-time {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

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

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.stars {
    color: var(--warning);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   Final CTA Section
   ============================================ */
.final-cta {
    background: var(--gradient-1);
    padding: 5rem 0;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content>p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.zip-input-cta {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
}

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

.cta-disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin: 1rem 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-brand .logo {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.1);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-links a {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.8125rem;
    color: var(--gray-500);
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer a {
    color: var(--primary-light);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .types-grid,
    .comparison-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

    .hero-visual {
        display: none;
    }

    .quote-tabs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .quote-form {
        flex-direction: column;
    }

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

    .types-grid,
    .comparison-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

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

    .resource-card.featured {
        grid-row: span 1;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* ============================================
   Internal Pages Styles
   ============================================ */

/* Page Hero (for internal pages) */
.page-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    padding: 8rem 0 4rem;
    margin-bottom: 0;
}

.breadcrumb {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

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

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

.page-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
}

/* Comparison Hero */
.comparison-hero {
    text-align: center;
}

.comparison-hero .page-hero p {
    margin: 0 auto;
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.company-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.company-logo-large {
    font-size: 4rem;
}

.company-badge h2 {
    font-size: 1.5rem;
    color: var(--dark);
}

.vs-badge-large {
    background: var(--gray-200);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
    color: var(--gray-600);
}

/* Quote Section */
.quote-section {
    padding: 3rem 0;
    background: var(--white);
}

.quote-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 700px;
    margin: -4rem auto 0;
    position: relative;
    z-index: 10;
}

.quote-box h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.quote-box>p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.quote-form-inline {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.quote-section .trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    max-width: 100%;
}

.main-content h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.main-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Coverage Grid */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.coverage-card {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.coverage-card h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.coverage-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comparison-table.full-width {
    min-width: 600px;
}

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

.comparison-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--dark);
}

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

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

/* Tips List */
.tips-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tips-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--gray-100);
}

.tips-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.sidebar-box h3 {
    font-size: 1.125rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 0.75rem;
}

.sidebar-links a {
    color: var(--primary);
    font-size: 0.9375rem;
}

.sidebar-links a:hover {
    text-decoration: underline;
}

/* Verdict Section */
.verdict-section {
    padding: 0;
    margin-top: -2rem;
    position: relative;
    z-index: 5;
}

.verdict-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.verdict-box h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.verdict-box p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

/* Pros and Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.pros-cons-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.pros-cons-card h4 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.pros-cons-card h5 {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.pros li,
.cons li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
}

/* Responsive for internal pages */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .coverage-grid,
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .comparison-header {
        flex-direction: column;
        gap: 1rem;
    }

    .quote-form-inline {
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: 2rem;
    }
}

/* Progressive-Style Name Your Price Slider */
.budget-tool-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    margin: 2rem 0;
}

.budget-slider-container {
    padding: 2rem 0;
}

.budget-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    background: var(--gray-200);
    border-radius: 5px;
    outline: none;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.2);
    transition: all 0.2s;
}

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

.budget-value-display {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.probability-meter {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.probability-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.probability-fill {
    height: 100%;
    background: var(--success);
    width: 0%;
    transition: width 0.5s ease;
}