/* ACA Specific Styles */

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

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

.aca-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;
}

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

.aca-badge i {
    color: #10b981;
    font-size: 1rem;
}

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

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

.aca-title-accent {
    background: linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6);
    -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;
}

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

.aca-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: #10b981;
    font-size: 1.1rem;
}

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

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

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

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

.health-icon-container i {
    font-size: 8rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 10px 20px rgba(16, 185, 129, 0.3));
    animation: heartbeat 2s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

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

.health-ring {
    position: absolute;
    border: 2px solid rgba(16, 185, 129, 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 health-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

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

/* Introduction Section */
.aca-intro {
    padding: 100px 0;
    background: #f8fafc;
}

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

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

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.intro-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

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

.benefits-visual {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.benefit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    min-width: 100px;
    text-align: center;
    animation: benefit-float 6s ease-in-out infinite;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.benefit-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}

.benefit-1 { top: 20%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.benefit-2 { top: 35%; right: 10%; animation-delay: 1s; }
.benefit-3 { bottom: 35%; right: 10%; animation-delay: 2s; }
.benefit-4 { bottom: 20%; left: 50%; transform: translateX(-50%); animation-delay: 3s; }
.benefit-5 { bottom: 35%; left: 10%; animation-delay: 4s; }
.benefit-6 { top: 35%; left: 10%; animation-delay: 5s; }

@keyframes benefit-float {
    0%, 100% { transform: translateY(0px) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}

.benefit-2, .benefit-3, .benefit-5, .benefit-6 {
    animation-name: benefit-float-side;
}

@keyframes benefit-float-side {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Eligibility Section */
.aca-eligibility {
    padding: 100px 0;
    background: white;
}

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

.eligibility-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
}

.eligibility-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

.eligibility-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.eligibility-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.eligibility-card li {
    padding: 0.5rem 0;
    color: #6b7280;
    position: relative;
    padding-left: 1.5rem;
}

.eligibility-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.eligibility-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.eligible {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.check-needed {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.time-sensitive {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.eligibility-summary {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.eligibility-summary h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.quick-check {
    margin-top: 1.5rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
}

.check-item label {
    font-weight: 500;
    color: #374151;
    cursor: pointer;
}

.eligibility-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
    font-weight: 500;
}

.eligibility-result.qualified {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: #059669;
}

/* Benefits Section */
.aca-benefits {
    padding: 100px 0;
    background: #f8fafc;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 0;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

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

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

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

.aca-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Animated Quote Button */
.animated-quote-btn {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 280px;
    text-decoration: none;
    color: inherit;
}

.btn-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #10b981, #059669, #10b981);
    background-size: 200% 200%;
    border-radius: 50px;
    animation: gradient-flow 3s ease-in-out infinite;
}

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

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

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

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s;
}

.animated-quote-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

.animated-quote-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 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-weight: 500;
    opacity: 0.9;
}

.cta-feature i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Quote Modal */
.quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modal-fade-in 0.3s ease-out;
}

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

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

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modal-slide-up 0.3s ease-out;
}

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

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

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

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.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: 500;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.submit-quote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 8px;
    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 8px 25px rgba(16, 185, 129, 0.3);
}

@keyframes modal-fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes modal-slide-up {
    0% { transform: translateY(50px) scale(0.95); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

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

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

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

    .intro-stats {
        justify-content: center;
    }

    .benefits-visual {
        width: 300px;
        height: 300px;
    }

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

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

    .cta-features {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

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

    .animated-quote-btn {
        min-width: 250px;
    }

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

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

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

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

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

    .benefit-item {
        min-width: 80px;
        padding: 0.75rem;
    }

    .benefit-item span {
        font-size: 0.7rem;
    }

    .benefits-visual {
        width: 250px;
        height: 250px;
    }

    .animated-quote-btn {
        min-width: 200px;
        padding: 16px 24px;
    }

    .btn-content {
        font-size: 1rem;
    }

    .modal-content {
        width: 95%;
    }

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

/* Quote Page Specific Styles */

/* Quote Hero Section */
.quote-hero {
    background: linear-gradient(135deg, 
        #0f4c75 0%, 
        #1e6091 25%, 
        #2e86ab 50%, 
        #a8dadc 75%, 
        #f1faee 100%);
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.quote-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(46, 134, 171, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(168, 218, 220, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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

.quote-hero-content {
    color: white;
}

.quote-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: badge-glow 2s ease-in-out infinite alternate;
}

.quote-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8dadc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-title-accent {
    display: block;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.quote-hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

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

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

.quote-icon-container > i {
    font-size: 4rem;
    color: #ffffff;
    z-index: 3;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.quote-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: health-pulse 2s infinite;
}

.quote-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.quote-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.quote-ring.ring-1 {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    animation-duration: 8s;
}

.quote-ring.ring-2 {
    width: 140%;
    height: 140%;
    top: -20%;
    left: -20%;
    animation-duration: 12s;
    animation-direction: reverse;
}

.quote-ring.ring-3 {
    width: 160%;
    height: 160%;
    top: -30%;
    left: -30%;
    animation-duration: 15s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Quote Form Section */
.quote-form-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.quote-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-progress {
    display: flex;
    background: #f8fafc;
    padding: 2rem;
    justify-content: space-between;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #3182ce;
    color: white;
    transform: scale(1.1);
}

.progress-step span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.3s ease;
}

.progress-step.active span {
    color: #3182ce;
}

.quote-form {
    padding: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease;
}

.form-step h2 {
    text-align: center;
    color: #1a202c;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 600;
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group small {
    margin-top: 0.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-group.horizontal {
    flex-direction: row;
    gap: 2rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #cbd5e0;
    background: #f7fafc;
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #3182ce;
    background: #3182ce;
}

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

.radio-option input[type="radio"]:checked ~ .radio-content {
    color: #3182ce;
}

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

.radio-content strong {
    font-weight: 600;
}

.radio-content small {
    color: #64748b;
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.btn-next,
.btn-back,
.btn-primary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-next,
.btn-primary {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
}

.btn-next:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.btn-back {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-back:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Quote Results */
.quote-results {
    animation: slideIn 0.5s ease;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-header h2 {
    color: #1a202c;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.results-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.subsidy-info {
    margin-bottom: 2rem;
}

.subsidy-alert {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.subsidy-alert.eligible {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #b8dacc;
}

.subsidy-alert.medicaid {
    background: linear-gradient(135deg, #cce5ff 0%, #b3d9ff 100%);
    border: 1px solid #99ccff;
}

.subsidy-alert.not-eligible {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border: 1px solid #ffdf7e;
}

.subsidy-alert i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.subsidy-alert.eligible i {
    color: #28a745;
}

.subsidy-alert.medicaid i {
    color: #007bff;
}

.subsidy-alert.not-eligible i {
    color: #ffc107;
}

.subsidy-alert h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.subsidy-alert p {
    margin: 0;
    color: #495057;
}

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

.plan-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.recommended {
    border-color: #3182ce;
    background: linear-gradient(135deg, #f7fafc 0%, #ffffff 100%);
}

.plan-card.selected {
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.plan-coverage {
    display: inline-block;
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-card.bronze .plan-coverage {
    background: #fef5e7;
    color: #d69e2e;
}

.plan-card.silver .plan-coverage {
    background: #edf2f7;
    color: #4a5568;
}

.plan-card.gold .plan-coverage {
    background: #fffaf0;
    color: #d69e2e;
}

.plan-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.original-price {
    display: block;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.final-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.select-plan-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.next-steps {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.next-steps h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1a202c;
    font-size: 1.5rem;
}

.next-steps p {
    text-align: center;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.step-item i {
    color: #3182ce;
    font-size: 1.2rem;
}

.step-item span {
    color: #4a5568;
    font-weight: 500;
}

/* Quote Benefits Section */
.quote-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.quote-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error {
    border-color: #f44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.1);
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

.notification.warning {
    border-left: 4px solid #ff9800;
}

.notification.info {
    border-left: 4px solid #2196f3;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
}

.notification-close:hover {
    opacity: 1;
}

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

/* Responsive Design for Quote Page */
@media (max-width: 768px) {
    .quote-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-plans {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-next,
    .btn-back,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .radio-group.horizontal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-progress {
        padding: 1rem;
    }
    
    .progress-step span {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
    }
}