/* ============================================
   SALARY CALCULATOR LANDING PAGE
   ============================================ */

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

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

/* Country chips */
.sc-country-selector {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sc-country-selector::-webkit-scrollbar {
    display: none;
}
.sc-country-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.sc-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;
}
.sc-country-chip:hover {
    background: #f1f5f9;
    border-color: #3b82f6;
    color: #1e40af;
    text-decoration: none;
}
.sc-country-chip--active {
    background: #1e40af;
    border-color: #1e40af;
    color: #fff;
}
.sc-country-chip--active:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #fff;
}
.sc-country-chip .flag-icon {
    width: 18px;
    height: 14px;
    border-radius: 2px;
}

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

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

/* Calculator form */
.sc-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;
}
.sc-form__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}
.sc-form-group {
    margin-bottom: 20px;
}
.sc-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.sc-select,
.sc-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;
}
.sc-select:focus,
.sc-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    outline: none;
}
.sc-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;
}
.sc-input-group:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.sc-input-group .sc-input {
    border: none;
    box-shadow: none;
}
.sc-input-prefix,
.sc-input-suffix {
    padding: 10px 12px;
    background: #f9fafb;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}
.sc-input-prefix {
    border-right: 1px solid #e5e7eb;
}
.sc-input-suffix {
    border-left: 1px solid #e5e7eb;
    font-size: 0.8rem;
}
.sc-help-text {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* Checkbox / Radio */
.sc-checkbox,
.sc-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #374151;
}
.sc-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Calculate button */
.sc-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;
}

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

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

.sc-summary-card__value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}
.sc-summary-card--gross .sc-summary-card__value { color: #1e3a8a; }
.sc-summary-card--deductions .sc-summary-card__value { color: #991b1b; }
.sc-summary-card--net .sc-summary-card__value { color: #065f46; }

/* Visual bar */
.sc-results__bar {
    margin-bottom: 24px;
}
.sc-bar {
    display: flex;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
}
.sc-bar__fill {
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
}
.sc-bar__fill--deductions { background: #f87171; }
.sc-bar__fill--tax { background: #fbbf24; }
.sc-bar__fill--net { background: #34d399; }
.sc-bar__legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}
.sc-bar__legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
}
.sc-bar__legend-item::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 3px;
}
.sc-bar__legend-item--deductions::before { background: #f87171; }
.sc-bar__legend-item--tax::before { background: #fbbf24; }
.sc-bar__legend-item--net::before { background: #34d399; }

/* Breakdown */
.sc-breakdown__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sc-breakdown__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.sc-breakdown__row:last-child {
    border-bottom: none;
}
.sc-breakdown__label {
    font-size: 0.88rem;
    color: #475569;
}
.sc-breakdown__label small {
    color: #9ca3af;
}
.sc-breakdown__amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ef4444;
}
.sc-breakdown__row--tax {
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}
.sc-breakdown__row--tax .sc-breakdown__amount {
    color: #d97706;
}
.sc-breakdown__row--total {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid #0f172a;
}
.sc-breakdown__row--total .sc-breakdown__label {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
}
.sc-breakdown__amount--net {
    color: #059669 !important;
    font-size: 1.1rem !important;
}

/* Extra info */
.sc-results__extra {
    margin-top: 16px;
    padding: 12px 16px;
    background: #eff6ff;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}
.sc-extra__item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #1e40af;
    padding: 4px 0;
}
.sc-extra__item--total {
    font-weight: 700;
    border-top: 1px solid #bfdbfe;
    margin-top: 4px;
    padding-top: 8px;
}

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

/* Deduction cards */
.sc-deduction-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;
}
.sc-deduction-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.sc-deduction-card__rate {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
}
.sc-deduction-card--tax .sc-deduction-card__rate {
    background: #fef3c7;
    color: #92400e;
}
.sc-deduction-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}
.sc-deduction-card__note {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
}

/* Reference info */
.sc-reference-info {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.sc-reference-info__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 16px 28px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}
.sc-reference-info__label {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 4px;
}
.sc-reference-info__value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e40af;
}

/* FAQ */
.sc-faq-list {
    max-width: 720px;
    margin: 0 auto;
}
.sc-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;
}
.sc-faq-item__question {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}
.sc-faq-item__answer {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Countries grid */
.sc-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.sc-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;
}
.sc-country-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
    text-decoration: none;
    transform: translateY(-2px);
}
.sc-country-card__flag {
    width: 32px;
    height: 24px;
    border-radius: 3px;
    flex-shrink: 0;
}
.sc-country-card__info {
    flex: 1;
}
.sc-country-card__name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}
.sc-country-card__currency {
    font-size: 0.78rem;
    color: #64748b;
}
.sc-country-card__arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s;
}
.sc-country-card:hover .sc-country-card__arrow {
    color: #3b82f6;
    transform: translateX(4px);
}

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

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