/* Insurance Program Page Styles */

/* Make Header Login Button More Visible */
.insurance-hero ~ * .header-1 .btn-login,
.header-1 .btn-login,
.header-2 .btn-login-white {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 68, 79, 0.3) !important;
    color: #333333 !important;
    font-weight: 700 !important;
    padding: 0.875rem 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(255, 68, 79, 0.2) !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.header-1 .btn-login:hover,
.header-2 .btn-login-white:hover {
    background: #ffffff !important;
    border-color: #FF444F !important;
    color: #FF444F !important;
    box-shadow: 0 6px 24px rgba(255, 68, 79, 0.35) !important;
    transform: translateY(-2px) !important;
}

[data-theme="dark"] .header-1 .btn-login,
[data-theme="dark"] .header-2 .btn-login-white {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .header-1 .btn-login:hover,
[data-theme="dark"] .header-2 .btn-login-white:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
}

@media (max-width: 1024px) {
    .header-1 .btn-login,
    .header-2 .btn-login-white {
        display: inline-flex !important;
        padding: 0.75rem 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .header-1 .btn-login,
    .header-2 .btn-login-white {
        display: inline-flex !important;
        padding: 0.625rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}

/* Hero Section */
.insurance-hero {
    background: linear-gradient(135deg, rgba(255, 68, 79, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
}

[data-theme="dark"] .insurance-hero {
    background: linear-gradient(135deg, rgba(255, 68, 79, 0.2) 0%, rgba(255, 107, 53, 0.15) 100%);
}

.insurance-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.insurance-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.insurance-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.insurance-hero-subtitle {
    font-size: 1.75rem;
    font-weight: 700;
    color: #FF444F;
    margin-bottom: 1.5rem;
}

.insurance-hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.insurance-hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-insurance-primary {
    background: linear-gradient(135deg, #FF444F 0%, #FF6B35 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 68, 79, 0.3);
}

.btn-insurance-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 68, 79, 0.4);
}

.btn-insurance-secondary {
    background: var(--glass);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.btn-insurance-secondary:hover {
    border-color: #FF444F;
    color: #FF444F;
    transform: translateY(-2px);
}

/* Container */
.insurance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reasons Section */
.insurance-reasons {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .reason-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 68, 79, 0.3);
    border-color: rgba(255, 68, 79, 0.4);
}

.reason-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF444F;
}

.reason-icon svg {
    width: 48px;
    height: 48px;
}

.reason-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

[data-theme="light"] .reason-title {
    color: var(--text-primary);
}

.reason-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .reason-description {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid .reason-card:nth-child(4) {
        grid-column: 1;
        grid-row: 4;
    }
}

/* How It Works Section */
.insurance-how-it-works {
    padding: 4rem 0;
    /* background: var(--bg-dark); */
}

.how-it-works-steps {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
}

.step-card {
    background: rgba(40, 40, 40, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem 2rem;
    flex: 1;
    min-width: 0;
    max-width: 320px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100% !important;
    min-height: 100% !important;
    overflow: visible !important;
}

[data-theme="light"] .step-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 68, 79, 0.3);
    border-color: rgba(255, 68, 79, 0.4);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: #FF444F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(255, 68, 79, 0.5);
    z-index: 10;
    border: 2px solid #ffffff;
}


.step-link {
    color: #FF444F;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    margin-top: 0;
    text-align: center;
}

.step-link:hover {
    color: #FF6B35;
}

.step-arrow {
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #FF444F;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.step-card:last-child .step-arrow {
    display: none;
}

.step-card:last-child {
    border: 2px solid #FF444F;
}

.step-arrow svg {
    width: 24px;
    height: 24px;
}

[data-theme="light"] .step-arrow {
    color: #FF444F;
}

.step-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: #FF444F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.step-icon svg {
    width: 36px;
    height: 36px;
    stroke: #ffffff;
    stroke-width: 2.5;
}

.step-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: center;
}

.step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .how-it-works-steps {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .step-card {
        flex: 0 1 calc(50% - 1rem);
        max-width: 100%;
    }
    
    .step-arrow {
        top: 50%;
        right: -20px;
    }
}

@media (max-width: 768px) {
    .how-it-works-steps {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .step-arrow {
        top: 50%;
        right: -20px;
        transform: translateY(-50%) rotate(90deg);
    }
}
@media (min-width: 320px) {
    .step-arrow {
        display: none;
    }
}
/* CTA Section */
.insurance-cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(255, 68, 79, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
}

[data-theme="dark"] .insurance-cta-section {
    background: linear-gradient(135deg, rgba(255, 68, 79, 0.15) 0%, rgba(255, 107, 53, 0.15) 100%);
}

.cta-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Interactive Calculator */
.insurance-calculator-interactive {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    text-align: left;
}

.calculator-slider-group {
    margin-bottom: 2rem;
}

.slider-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.slider-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
    padding: 15px 0;
}

.calculator-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF444F 0%, #FF6B35 100%);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 68, 79, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 68, 79, 0.6);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #FF444F 0%, #FF6B35 100%);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 68, 79, 0.4);
    transition: all 0.3s ease;
}

.calculator-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(255, 68, 79, 0.6);
}

.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
    overflow: hidden;
}

.slider-track::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--slider-progress, 0%);
    background: linear-gradient(135deg, #FF444F 0%, #FF6B35 100%);
    border-radius: 4px;
    transition: width 0.1s ease;
}

.slider-tooltip {
    position: absolute;
    bottom: -35px;
    left: var(--tooltip-position, 0%);
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF444F 0%, #FF6B35 100%);
    color: #ffffff;
    padding: 0.4rem 0.9rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 68, 79, 0.4);
    pointer-events: none;
    transition: left 0.1s ease;
    z-index: 10;
}

.slider-tooltip::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #FF6B35;
}

.slider-input {
    width: 130px;
    padding: 0.6rem 0.9rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-left: auto;
    display: block;
}

.calculator-results-interactive {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 2px solid var(--border);
    border-bottom: 2px solid var(--border);
}

.result-item-interactive {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.result-label-interactive {
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.result-value-interactive {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
    white-space: nowrap;
}

.btn-get-insured {
    background: linear-gradient(135deg, #FF444F 0%, #FF6B35 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 68, 79, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1.5rem;
}

.btn-get-insured:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 68, 79, 0.4);
}

/* Provisions Section */
.insurance-provisions {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.provisions-content {
    max-width: 900px;
    margin: 0 auto;
}

.provisions-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.provision-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.provision-item:hover {
    border-color: rgba(255, 68, 79, 0.3);
    box-shadow: 0 8px 30px rgba(255, 68, 79, 0.1);
}

.provision-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 68, 79, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF444F;
}

.provision-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.provision-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

.provision-sublist {
    margin-top: 1rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.provision-sublist li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .insurance-hero-title {
        font-size: 2.5rem;
    }
    
    .insurance-hero-subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .how-it-works-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .insurance-hero {
        min-height: 500px;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .insurance-hero-title {
        font-size: 2rem;
    }
    
    .insurance-hero-subtitle {
        font-size: 1.25rem;
    }
    
    .insurance-hero-description {
        font-size: 1.1rem;
    }
    
    .insurance-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-insurance-primary,
    .btn-insurance-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .insurance-cta-section {
        padding: 2rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .insurance-calculator-interactive {
        padding: 1.5rem;
    }
    
    .calculator-slider-group {
        margin-bottom: 1.5rem;
    }
    
    .slider-wrapper {
        padding: 12px 0;
    }
    
    .result-item-interactive {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .result-label-interactive {
        font-size: 0.9rem;
    }
    
    .result-value-interactive {
        font-size: 1.25rem;
    }
    
    .slider-input {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .btn-get-insured {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    
    .provision-item {
        flex-direction: column;
        gap: 1rem;
    }
}

