/* 
 * Autoversiq Fintech Design System
 * Theme: Modern Insurance / Security / Trust
 * Primary Colors: #0B1F3A (Navy), #1E3A8A (Royal), #10B981 (Success Green)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-navy: #0B1F3A;
    --royal-blue: #1E3A8A;
    --sky-blue: #3B82F6;
    --accent-green: #10B981;
    --pure-white: #FFFFFF;
    --bg-gray: #F3F4F6;
    --text-dark: #111827;
    --text-muted: #4B5563;
    --transition-fast: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.reset-base {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.app-body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--pure-white);
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
}

.heading-font {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Loader */
.av-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-navy);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.av-loader-icon {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.av-loader-text {
    color: white;
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Ad Disclaimer */
.av-ad-top {
    background: #FFFBEB;
    color: #92400E;
    font-size: 0.75rem;
    text-align: center;
    padding: 10px 0;
    font-weight: 600;
    border-bottom: 1px solid #FEF3C7;
}

/* Navigation */
.av-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: var(--pure-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.av-logo {
    font-size: 1.5rem;
    color: var(--primary-navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.av-logo-accent {
    color: var(--accent-green);
}

.av-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.av-menu-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.av-menu-link:hover {
    color: var(--royal-blue);
}

.av-cta {
    background: var(--accent-green);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.av-cta:hover {
    background: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.av-hero {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0B1F3A 0%, #1E3A8A 100%);
    color: white;
}

.av-hero-content {
    flex: 1;
    max-width: 600px;
}

.av-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.av-hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.av-hero-badges {
    display: flex;
    gap: 20px;
    margin-top: 60px;
}

.av-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 100px;
}

/* Comparison Cards */
.av-section {
    padding: 100px 10%;
}

.av-section-gray {
    background: var(--bg-gray);
}

.av-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.av-trust-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.av-trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.av-tag-blue {
    display: inline-block;
    background: #EBF5FF;
    color: var(--royal-blue);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Insurance Types Table/Cards */
.av-price-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.av-price-popular {
    border: 2px solid var(--royal-blue);
    position: relative;
}

.av-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--royal-blue);
    color: white;
    padding: 4px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
}

.av-price-header h3 {
    margin: 0 0 10px 0;
}

.av-check-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.av-check-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.av-check-item::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
}

/* Footer UI */
.av-footer {
    background: #0B1727;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 10% 40px 10%;
}

.av-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.av-footer-logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: block;
}

.av-footer-h {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.av-footer-list {
    list-style: none;
    padding: 0;
}

.av-footer-item {
    margin-bottom: 12px;
}

.av-footer-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.av-footer-link:hover {
    color: var(--accent-green);
}

.av-footer-ad-box {
    text-align: center;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.av-cookie {
    position: fixed;
    bottom: 40px;
    left: 40px;
    max-width: 450px;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    transform: translateY(200%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.av-cookie-active {
    transform: translateY(0);
}

/* Mobile responsive menu */
.av-burger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
}

.av-mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: white;
    z-index: 3000;
    padding: 60px 40px;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    transition: right 0.5s ease;
}

.av-mobile-active {
    right: 0;
}

.av-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {

    .av-menu,
    .av-cta-nav {
        display: none;
    }

    .av-burger {
        display: block;
    }

    .av-grid-3 {
        grid-template-columns: 1fr;
    }

    .av-hero {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }

    .av-hero-title {
        font-size: 2.5rem;
    }

    .av-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .av-footer-grid {
        grid-template-columns: 1fr;
    }
}