/* Auto Insurance Specific Styles */

/* Auto Hero Section */
.auto-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #2563eb 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    color: white;
}

.auto-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.auto-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.auto-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(249, 115, 22, 0.2));
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    animation: badge-glow 3s ease-in-out infinite alternate;
}

.auto-badge i {
    color: #f97316;
    font-size: 1rem;
}

@keyframes badge-glow {
    0% { box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2); }
    100% { box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4); }
}

.auto-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.auto-title-accent {
    background: linear-gradient(135deg, #3b82f6, #f97316, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    display: block;
    margin-top: 0.5rem;
    animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.auto-hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.auto-hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    animation: pill-fade-in 0.8s ease-out;
    animation-fill-mode: both;
}

.feature-pill:nth-child(1) { animation-delay: 0.2s; }
.feature-pill:nth-child(2) { animation-delay: 0.4s; }
.feature-pill:nth-child(3) { animation-delay: 0.6s; }

.feature-pill i {
    color: #f97316;
    font-size: 1.1rem;
}

@keyframes pill-fade-in {
    0% { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}

.auto-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.car-icon-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.car-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: car-pulse 3s ease-in-out infinite;
}

.car-icon-container i {
    font-size: 8rem;
    background: linear-gradient(135deg, #f97316, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 20px rgba(249, 115, 22, 0.3));
    animation: car-drive 4s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.car-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.car-ring {
    position: absolute;
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 50%;
    animation: ring-pulse 4s ease-in-out infinite;
}

.ring-1 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.ring-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.ring-3 {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes car-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

@keyframes car-drive {
    0%, 100% { transform: translateX(0px); }
    25% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
}

@keyframes ring-pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

/* Coverage Types */
.coverage-types {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.coverage-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.coverage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #f97316);
}

.coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.coverage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #f97316);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.coverage-icon i {
    font-size: 1.5rem;
    color: white;
}

.coverage-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.coverage-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.coverage-required {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.coverage-optional {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.coverage-recommended {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Why Choose Auto */
.why-choose-auto {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
}

.intro-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f97316;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Auto CTA */
.auto-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auto-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.quote-button-container {
    margin-bottom: 3rem;
}

.animated-quote-btn {
    display: inline-block;
    background: linear-gradient(135deg, #f97316, #3b82f6, #2563eb);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-size: 200% 200%;
    animation: gradient-flow 3s ease infinite;
    text-decoration: none;
}

.btn-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e40af, #1e3a8a, #1e293b);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.animated-quote-btn:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.animated-quote-btn:active .btn-ripple {
    animation: ripple 0.6s linear;
}

.animated-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.4);
    color: white;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-feature i {
    color: #f97316;
    font-size: 1rem;
}

/* Quote Modal */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    animation: modal-fade-in 0.3s ease;
}

.quote-modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    margin: auto;
    padding: 0;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-slide-up 0.3s ease;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-body {
    padding: 2rem;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.submit-quote-btn {
    background: linear-gradient(135deg, #f97316, #3b82f6);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modal-slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .auto-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .auto-hero-title {
        font-size: 2.5rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .intro-stats {
        flex-direction: row;
        justify-content: center;
    }

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

    .cta-features {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .animated-quote-btn {
        width: 100%;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .car-icon-container {
        width: 250px;
        height: 250px;
    }

    .car-icon-container i {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .auto-hero {
        padding: 80px 0 60px;
    }

    .auto-hero-title {
        font-size: 2rem;
    }

    .coverage-grid {
        gap: 1rem;
    }

    .coverage-card {
        padding: 1.5rem;
    }

    .animated-quote-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .btn-content {
        flex-direction: column;
        gap: 0.25rem;
    }

    .modal-content {
        width: 95%;
        margin: 10px auto;
    }

    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
} 