/* Insurance Page Styles v2 - with Calculator, Modal, Partners */

/* ===== NEW: Calculator Section ===== */
.ins-calculator {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.ins-calc-header {
    background: linear-gradient(135deg, #0f1235 0%, #1a1f4e 100%);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
}

.ins-calc-icon {
    width: 52px;
    height: 52px;
    background: rgba(245,184,0,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #f5b800;
}

.ins-calc-header h2 {
    font-size: 1.3rem;
    margin: 0 0 4px;
}

.ins-calc-header p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.ins-calc-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.ins-input-group {
    margin-bottom: 22px;
}

.ins-input-group:last-child {
    margin-bottom: 0;
}

.ins-input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #0f1235;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.ins-input-group label i {
    color: #f5b800;
}

.ins-input-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
}

.ins-input-group select:focus {
    outline: none;
    border-color: #f5b800;
}

.ins-days-btns {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.ins-day-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.ins-day-btn:hover {
    border-color: #f5b800;
    color: #0f1235;
}

.ins-day-btn.active {
    background: linear-gradient(135deg, #f5b800, #e6ac00);
    border-color: #f5b800;
    color: #0f1235;
}

.ins-custom-days {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #6b7280;
}

.ins-custom-days input {
    width: 70px;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-family: inherit;
}

.ins-custom-days input:focus {
    outline: none;
    border-color: #f5b800;
}

.ins-pass-ctrl {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ins-pass-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.ins-pass-btn:hover {
    border-color: #f5b800;
    color: #f5b800;
}

.ins-pass-ctrl > span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f1235;
    min-width: 30px;
    text-align: center;
}

/* Calculator Results */
.ins-calc-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ins-result {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.ins-result:hover {
    border-color: #f5b800;
    transform: translateX(4px);
}

.ins-result.popular {
    background: linear-gradient(135deg, #0f1235 0%, #1a1f4e 100%);
    border-color: #0f1235;
    color: #fff;
}

.ins-result-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: #f5b800;
    color: #0f1235;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.ins-result-name {
    font-weight: 600;
    font-size: 1rem;
}

.ins-result-price {
    font-size: 1.3rem;
    font-weight: 700;
}

.ins-result-price span {
    font-size: 1.5rem;
}

/* ===== Insurance Plans Section ===== */
.ins-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.ins-plan {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 2px solid #e5e7eb;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ins-plan:hover {
    border-color: #f5b800;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.ins-plan.popular {
    border-color: #f5b800;
    background: linear-gradient(180deg, #fffdf5 0%, #fff 100%);
    box-shadow: 0 8px 30px rgba(245, 184, 0, 0.2);
}

.ins-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f5b800, #e6ac00);
    color: #0f1235;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 184, 0, 0.3);
}

.ins-plan-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.ins-plan-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0f1235, #1a1f4e);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ins-plan-icon i {
    font-size: 28px;
    color: #f5b800;
}

.ins-plan-name {
    font-size: 22px;
    font-weight: 700;
    color: #0f1235;
    margin-bottom: 8px;
}

.ins-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.ins-plan-price .amount {
    font-size: 42px;
    font-weight: 800;
    color: #0f1235;
    line-height: 1;
}

.ins-plan-price .currency {
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
}

.ins-plan-price .period {
    font-size: 14px;
    color: #9ca3af;
    margin-left: 4px;
}

.ins-plan-coverage {
    font-size: 13px;
    color: #10b981;
    font-weight: 500;
    margin-top: 8px;
}

.ins-plan-features {
    flex: 1;
    margin-bottom: 24px;
}

.ins-plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ins-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.ins-plan-features li i {
    color: #10b981;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ins-plan-features li.disabled {
    color: #9ca3af;
}

.ins-plan-features li.disabled i {
    color: #d1d5db;
}

.ins-plan-btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.ins-plan-btn.primary {
    background: linear-gradient(135deg, #f5b800, #e6ac00);
    color: #0f1235;
    box-shadow: 0 4px 15px rgba(245, 184, 0, 0.3);
}

.ins-plan-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 184, 0, 0.4);
}

.ins-plan-btn.secondary {
    background: #f3f4f6;
    color: #0f1235;
}

.ins-plan-btn.secondary:hover {
    background: #e5e7eb;
}

/* ===== Coverage Section ===== */
.ins-coverage {
    margin-bottom: 60px;
}

.ins-coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.ins-coverage-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.ins-coverage-card:hover {
    border-color: #f5b800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ins-coverage-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #0f1235, #1a1f4e);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ins-coverage-icon i {
    font-size: 22px;
    color: #f5b800;
}

.ins-coverage-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: #0f1235;
    margin-bottom: 6px;
}

.ins-coverage-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ===== NEW: Partners Section ===== */
.ins-partners {
    margin-bottom: 60px;
}

.ins-partners-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.ins-partner {
    background: #fff;
    border-radius: 16px;
    padding: 28px 36px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-width: 160px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.ins-partner:hover {
    border-color: #f5b800;
    transform: translateY(-3px);
}

.ins-partner-logo {
    width: 60px;
    height: 60px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
    color: #64748b;
}

.ins-partner-name {
    font-weight: 600;
    color: #0f1235;
    margin-bottom: 6px;
}

.ins-partner-rating {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.ins-partner-rating i {
    margin-right: 4px;
}

/* ===== Note Box ===== */
.ins-note {
    background: linear-gradient(135deg, #fef3c7, #fef9e7);
    border: 1px solid #fcd34d;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 40px;
}

.ins-note-icon {
    width: 44px;
    height: 44px;
    background: #f5b800;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ins-note-icon i {
    font-size: 20px;
    color: #0f1235;
}

.ins-note-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 6px;
}

.ins-note-content p {
    font-size: 14px;
    color: #a16207;
    line-height: 1.6;
    margin: 0;
}

/* ===== FAQ Section ===== */
.ins-faq {
    margin: 60px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 800px;
    margin: 30px auto 0;
}

.faq-item {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #f5b800;
}

.faq-item.active {
    border-color: #f5b800;
    box-shadow: 0 6px 20px rgba(245, 184, 0, 0.15);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #0f1235;
    font-size: 15px;
    gap: 16px;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-question i {
    width: 30px;
    height: 30px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: all 0.3s ease;
    font-size: 12px;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: #f5b800;
    color: #0f1235;
}

.faq-answer {
    padding: 0 24px 20px;
    color: #6b7280;
    line-height: 1.7;
    font-size: 14px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ===== NEW: Modal ===== */
.ins-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ins-modal.show {
    display: flex;
}

.ins-modal-content {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.ins-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    z-index: 1;
    transition: all 0.2s;
}

.ins-modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.ins-modal-header {
    background: linear-gradient(135deg, #0f1235 0%, #1a1f4e 100%);
    padding: 24px 28px;
    color: #fff;
}

.ins-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ins-modal-header i {
    color: #f5b800;
}

.ins-modal-body {
    padding: 24px 28px;
}

.ins-modal-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 24px;
}

.ins-sum-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.ins-sum-row strong {
    color: #0f1235;
}

.ins-sum-row.total {
    border-top: 2px solid #e5e7eb;
    margin-top: 10px;
    padding-top: 14px;
    font-size: 1rem;
}

.ins-sum-row.total strong {
    color: #f5b800;
    font-size: 1.2rem;
}

.ins-form-group {
    margin-bottom: 18px;
}

.ins-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ins-form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.ins-form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.ins-form-group input:focus {
    outline: none;
    border-color: #f5b800;
}

.ins-form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ins-form-check input {
    width: 18px;
    height: 18px;
    accent-color: #f5b800;
}

.ins-form-check label {
    font-size: 0.85rem;
    color: #6b7280;
}

.ins-form-check a {
    color: #0f1235;
    font-weight: 500;
}

.ins-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f5b800, #e6ac00);
    color: #0f1235;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.ins-submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(245, 184, 0, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .ins-calc-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ins-plans {
        grid-template-columns: 1fr;
    }
    
    .ins-plan.popular {
        order: -1;
    }
    
    .ins-coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .ins-coverage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .ins-note {
        flex-direction: column;
        text-align: center;
    }
    
    .ins-days-btns {
        flex-wrap: wrap;
    }
    
    .ins-day-btn {
        flex: 1 1 45%;
    }
    
    .ins-form-row {
        grid-template-columns: 1fr;
    }
    
    .ins-partners-grid {
        gap: 16px;
    }
    
    .ins-partner {
        padding: 20px 28px;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .ins-calc-header {
        flex-direction: column;
        text-align: center;
    }
    
    .ins-plan {
        padding: 24px 20px;
    }
    
    .ins-plan-price .amount {
        font-size: 36px;
    }
}