/* ============================================
   SEVERANCE/LIQUIDATION CALCULATOR LANDING PAGE
   ============================================ */

/* Hero */
.svc-hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}
.svc-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.svc-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #faf5ff 100%);
}
.svc-hero__content {
    position: relative;
    z-index: 1;
}
.svc-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}
.svc-hero__subtitle {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    max-width: 540px;
}
.svc-hero__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.svc-hero__calc-icon {
    filter: drop-shadow(0 4px 20px rgba(124, 58, 237, 0.15));
}

/* Breadcrumb */
.svc-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}
.svc-breadcrumb .breadcrumb-item a {
    color: #7c3aed;
    text-decoration: none;
}
.svc-breadcrumb .breadcrumb-item.active {
    color: #64748b;
}

/* Country chips */
.svc-country-selector {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.svc-country-selector::-webkit-scrollbar {
    display: none;
}
.svc-country-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.svc-country-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.svc-country-chip:hover {
    background: #f5f3ff;
    border-color: #7c3aed;
    color: #6d28d9;
    text-decoration: none;
}
.svc-country-chip--active {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #fff;
}
.svc-country-chip--active:hover {
    background: #5b21b6;
    border-color: #5b21b6;
    color: #fff;
}
.svc-country-chip .flag-icon {
    width: 18px;
    height: 14px;
    border-radius: 2px;
}

/* Tip bar */
.svc-tip-bar {
    padding: 0;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}
.svc-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.svc-tip__icon {
    flex-shrink: 0;
    color: #5b21b6;
}
.svc-tip__content {
    flex: 1;
    font-size: 0.9rem;
    color: #3b0764;
    line-height: 1.4;
}
.svc-tip__content strong {
    margin-right: 6px;
}
.svc-tip__refresh {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #5b21b6;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.2s;
}
.svc-tip__refresh:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Sections */
.svc-section {
    padding: 60px 0;
}
.svc-section--alt {
    background: #faf5ff;
}
.svc-section__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}
.svc-section__subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Calculator form */
.svc-calculator-form {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 80px;
}
.svc-form__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}
.svc-form-group {
    margin-bottom: 20px;
}
.svc-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.svc-select,
.svc-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-select:focus,
.svc-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
    outline: none;
}
.svc-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.svc-input-group:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}
.svc-input-group .svc-input {
    border: none;
    box-shadow: none;
}
.svc-input-prefix,
.svc-input-suffix {
    padding: 10px 12px;
    background: #f9fafb;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}
.svc-input-prefix {
    border-right: 1px solid #e5e7eb;
}
.svc-input-suffix {
    border-left: 1px solid #e5e7eb;
    font-size: 0.8rem;
}

/* Calculate button */
.svc-btn-calculate {
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    margin-top: 8px;
    background: #7c3aed;
    border-color: #7c3aed;
}
.svc-btn-calculate:hover {
    background: #6d28d9;
    border-color: #6d28d9;
}

/* Results panel */
.svc-results {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}
.svc-results__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}
.svc-results__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.svc-results__country {
    font-size: 0.85rem;
    color: #6b7280;
    background: #f5f3ff;
    padding: 4px 12px;
    border-radius: 50px;
}

/* Summary cards */
.svc-results__summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.svc-summary-card {
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}
.svc-summary-card--salary {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
}
.svc-summary-card--tenure {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}
.svc-summary-card--total {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
}
.svc-summary-card__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.svc-summary-card--salary .svc-summary-card__label { color: #6d28d9; }
.svc-summary-card--tenure .svc-summary-card__label { color: #1e40af; }
.svc-summary-card--total .svc-summary-card__label { color: #047857; }

.svc-summary-card__value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}
.svc-summary-card--salary .svc-summary-card__value { color: #5b21b6; }
.svc-summary-card--tenure .svc-summary-card__value { color: #1e3a8a; }
.svc-summary-card--total .svc-summary-card__value { color: #065f46; }

/* Visual bar */
.svc-results__bar {
    margin-bottom: 24px;
}
.svc-bar {
    display: flex;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
}
.svc-bar__fill {
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}
.svc-bar__legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}
.svc-bar__legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #64748b;
}
.svc-bar__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Breakdown */
.svc-breakdown__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.svc-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.svc-breakdown__row:last-child {
    border-bottom: none;
}
.svc-breakdown__left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.svc-breakdown__label {
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 500;
}
.svc-breakdown__detail {
    font-size: 0.78rem;
    color: #94a3b8;
}
.svc-breakdown__info-badge {
    display: inline-block;
    font-size: 0.68rem;
    color: #d97706;
    background: #fef3c7;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 2px;
    width: fit-content;
}
.svc-breakdown__amount {
    font-size: 0.95rem;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
    margin-left: 16px;
}
.svc-breakdown__amount--info {
    color: #9ca3af;
}
.svc-breakdown__row--informative {
    opacity: 0.7;
    background: #fefce8;
    border-radius: 8px;
    padding: 12px;
    margin: 4px 0;
}
.svc-breakdown__row--total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #0f172a;
}
.svc-breakdown__row--total .svc-breakdown__label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}
.svc-breakdown__amount--total {
    color: #059669 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

/* Disclaimer */
.svc-results__disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.svc-results__disclaimer svg {
    flex-shrink: 0;
    color: #94a3b8;
    margin-top: 2px;
}
.svc-results__disclaimer p {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Placeholder */
.svc-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}
.svc-placeholder__icon {
    margin-bottom: 16px;
    opacity: 0.5;
}
.svc-placeholder__text {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 300px;
}

/* Concept cards */
.svc-concept-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 16px;
}
.svc-concept-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.svc-concept-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #f5f3ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c3aed;
}
.svc-concept-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* FAQ */
.svc-faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.svc-faq-item {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}
.svc-faq-item__question {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}
.svc-faq-item__answer {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Countries grid */
.svc-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.svc-country-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
}
.svc-country-card:hover {
    border-color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
    text-decoration: none;
    transform: translateY(-2px);
}
.svc-country-card__flag {
    width: 32px;
    height: 24px;
    border-radius: 3px;
    flex-shrink: 0;
}
.svc-country-card__info {
    flex: 1;
}
.svc-country-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}
.svc-country-card__currency {
    font-size: 0.78rem;
    color: #64748b;
}
.svc-country-card__arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.svc-country-card:hover .svc-country-card__arrow {
    color: #7c3aed;
    transform: translateX(4px);
}

/* CTA */
.svc-section--cta {
    padding: 0 0 60px;
}
.svc-cta {
    background: linear-gradient(135deg, #3b0764 0%, #7c3aed 100%);
    border-radius: 20px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.svc-cta__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.svc-cta__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 480px;
}
.svc-cta__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .svc-hero {
        padding: 60px 0 40px;
    }
    .svc-hero__title {
        font-size: 1.75rem;
    }
    .svc-calculator-form {
        position: static;
        margin-bottom: 24px;
    }
    .svc-results__summary {
        grid-template-columns: 1fr;
    }
    .svc-cta {
        padding: 32px;
        text-align: center;
        justify-content: center;
    }
    .svc-cta__actions {
        width: 100%;
        justify-content: center;
    }
}
@media (max-width: 575px) {
    .svc-hero__title {
        font-size: 1.5rem;
    }
    .svc-calculator-form,
    .svc-results {
        padding: 20px;
    }
    .svc-country-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    .svc-cta {
        padding: 24px;
    }
    .svc-cta__actions {
        flex-direction: column;
    }
    .svc-cta__actions .btn {
        width: 100%;
    }
}

/* Radio group for termination type */
.svc-radio-group {
    display: flex;
    gap: 12px;
}
.svc-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
    flex: 1;
}
.svc-radio:hover {
    border-color: #a78bfa;
}
.svc-radio input[type="radio"] {
    accent-color: #7c3aed;
    width: 18px;
    height: 18px;
}
.svc-radio input[type="radio"]:checked + .svc-radio__label {
    color: #7c3aed;
    font-weight: 600;
}
.svc-radio:has(input:checked) {
    border-color: #7c3aed;
    background: #f5f3ff;
}
.svc-radio__label {
    font-size: 14px;
    color: #475569;
}

/* Form help text */
.svc-form-help {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

/* Type badge in results */
.svc-results__type-badge {
    display: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 8px;
}
.svc-badge--resignation {
    background: #dbeafe;
    color: #1e40af;
}
.svc-badge--dismissal {
    background: #fef3c7;
    color: #92400e;
}

/* Insurance card */
.svc-results__insurance {
    margin-top: 16px;
}
.svc-insurance-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}
.svc-insurance-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}
.svc-insurance-card__body {
    padding: 16px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}
.svc-insurance-card__body p {
    margin-bottom: 6px;
}
.svc-insurance-card__body p:last-child {
    margin-bottom: 0;
}
.svc-insurance__name {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}
.svc-insurance__warning {
    color: #b45309;
    font-style: italic;
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .svc-radio-group {
        flex-direction: column;
        gap: 8px;
    }
}
