/* ============================================
   CALCULATOR CSS - Scoped to #smart-calculator
   ============================================ */

#smart-calculator {
    --primary: #2A4742;
    --primary-light: #3a5f58;
    --primary-dark: #1d312d;
    --accent: #C0FD71;
    --accent-dark: #a8e05c;
    --white: #FFFFFF;
    --cream: #fafaf9;
    --slate: #475569;
    --slate-light: #64748b;
    --red: #ef4444;
    --success: #10b981;
    max-width: 1000px;
    margin: 0 auto;
}

/* BADGE */
#smart-calculator .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 20px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(41, 69, 64, 0.15);
}

/* HERO (scoped, kept minimal since shared.css handles the outer hero) */
#smart-calculator .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

#smart-calculator .hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--slate);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* MAIN CARD */
#smart-calculator .card {
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

/* PROGRESS */
#smart-calculator .progress-section {
    background: var(--primary);
    padding: 20px 32px;
    color: white;
    position: relative;
    overflow: hidden;
}

#smart-calculator .progress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 40L40 0M20 40L40 20M0 20L20 0" stroke="rgba(255,255,255,0.08)" fill="none"/></svg>');
    opacity: 0.5;
}

#smart-calculator .progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

#smart-calculator .progress-step {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.95;
}

#smart-calculator .progress-percent {
    font-size: 14px;
    font-weight: 700;
}

#smart-calculator .progress-bar-container {
    height: 6px;
    background: rgba(255,255,255,0.25);
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

#smart-calculator .progress-bar-fill {
    height: 100%;
    background: white;
    border-radius: 0;
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* CONTENT */
#smart-calculator .content {
    padding: 40px 32px;
}

#smart-calculator .section-header {
    margin-bottom: 32px;
}

#smart-calculator .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

#smart-calculator .section-description {
    font-size: 16px;
    color: var(--slate-light);
    line-height: 1.6;
}

/* INPUT GROUPS */
#smart-calculator .input-group {
    margin-bottom: 32px;
}

#smart-calculator .input-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 12px;
}

#smart-calculator .input-sublabel {
    display: block;
    font-size: 13px;
    color: var(--slate-light);
    margin-top: 4px;
    font-weight: 400;
}

#smart-calculator .select-custom,
#smart-calculator .input-custom,
#smart-calculator .textarea-custom {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(41, 69, 64, 0.12);
    border-radius: 0;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    background: var(--white);
    color: var(--primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

#smart-calculator .textarea-custom {
    min-height: 100px;
    resize: vertical;
}

#smart-calculator .select-custom:hover,
#smart-calculator .input-custom:hover,
#smart-calculator .textarea-custom:hover {
    border-color: rgba(41, 69, 64, 0.3);
}

#smart-calculator .select-custom:focus,
#smart-calculator .input-custom:focus,
#smart-calculator .textarea-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(41, 69, 64, 0.08);
}

/* TOGGLE BUTTONS */
#smart-calculator .toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

#smart-calculator .toggle-option {
    padding: 16px;
    border: 2px solid rgba(41, 69, 64, 0.12);
    border-radius: 0;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--slate);
}

#smart-calculator .toggle-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 69, 64, 0.15);
}

#smart-calculator .toggle-option.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(41, 69, 64, 0.25);
}

#smart-calculator .toggle-flag {
    font-size: 24px;
    margin-bottom: 4px;
    display: block;
}

/* SLIDER */
#smart-calculator .slider-group {
    margin-bottom: 32px;
}

#smart-calculator .slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

#smart-calculator .slider-badge {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-weight: 700;
    font-size: 20px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(41, 69, 64, 0.3);
}

#smart-calculator .slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 0;
    outline: none;
}

#smart-calculator .slider::-webkit-slider-track {
    height: 6px;
    background: transparent;
    border-radius: 0;
}

#smart-calculator .slider::-moz-range-track {
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 0;
    border: none;
}

#smart-calculator .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}

#smart-calculator .slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#smart-calculator .slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 16px rgba(41, 69, 64, 0.3);
}

#smart-calculator .slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: var(--slate-light);
}

/* QUIZ CARDS */
#smart-calculator .quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

#smart-calculator .seniority-grid {
    grid-template-columns: repeat(3, 1fr);
}

#smart-calculator .quiz-card {
    padding: 24px 16px;
    border: 2px solid rgba(41, 69, 64, 0.12);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: var(--white);
    position: relative;
}

#smart-calculator .quiz-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(41, 69, 64, 0.15);
}

#smart-calculator .quiz-card.selected {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 24px rgba(41, 69, 64, 0.3);
}

#smart-calculator .quiz-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#smart-calculator .quiz-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    transition: all 0.3s ease;
}

#smart-calculator .quiz-card.selected .quiz-icon svg {
    stroke: white;
}

#smart-calculator .quiz-label {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

/* INSIGHT BOXES */
#smart-calculator .insight-box {
    background: linear-gradient(135deg, rgba(41, 69, 64, 0.08), rgba(41, 69, 64, 0.05));
    padding: 20px 24px;
    border-radius: 0;
    border-left: 4px solid var(--primary);
    margin: 24px 0;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    animation: calc-slideIn 0.5s ease;
}

@keyframes calc-slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#smart-calculator .insight-icon-box {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#smart-calculator .insight-icon-box svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

#smart-calculator .insight-content {
    flex: 1;
}

#smart-calculator .insight-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 15px;
}

#smart-calculator .insight-text {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.5;
}

#smart-calculator .insight-highlight {
    color: var(--accent);
    font-weight: 700;
}

/* BUTTONS */
#smart-calculator .btn {
    padding: 16px 32px;
    border-radius: 0;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

#smart-calculator .btn-primary {
    background: var(--accent);
    color: var(--primary);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    box-shadow: none;
    border: none;
    width: 100%;
}

#smart-calculator .btn-primary:hover:not(:disabled) {
    background: #d4ff8a;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(192,253,113,0.35);
}

#smart-calculator .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#smart-calculator .btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
}

#smart-calculator .btn-secondary:hover {
    background: var(--cream);
}

#smart-calculator .btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

/* RESULTS */
#smart-calculator .results-hero {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    color: var(--primary);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 32px;
}

#smart-calculator .results-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(188, 247, 112, 0.12) 0%, transparent 60%);
    animation: calc-pulse 4s ease-in-out infinite;
}

@keyframes calc-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

#smart-calculator .results-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

#smart-calculator .results-amount {
    font-family: 'DM Serif Display', sans-serif;
    font-size: clamp(48px, 12vw, 120px);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.03em;
    line-height: 1;
    animation: calc-countUp 1s ease;
    text-shadow: 0 4px 24px rgba(188, 247, 112, 0.4);
    word-break: break-word;
}

@keyframes calc-countUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#smart-calculator .results-percentage {
    font-family: 'DM Serif Display', sans-serif;
    font-size: clamp(32px, 7vw, 60px);
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
    line-height: 1;
    animation: calc-fadeIn 1s ease 0.3s both;
}

@keyframes calc-fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#smart-calculator .results-description {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: var(--slate);
}

#smart-calculator .results-description strong {
    color: var(--primary);
    font-weight: 700;
}

/* COMPARISON GRID */
#smart-calculator .comparison {
    padding: 32px;
}

#smart-calculator .comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

#smart-calculator .comparison-card {
    background: white;
    padding: 24px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#smart-calculator .comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

#smart-calculator .comparison-card.highlight {
    border-color: var(--primary);
    background: rgba(41, 69, 64, 0.03);
}

#smart-calculator .comparison-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-light);
    font-weight: 600;
    margin-bottom: 12px;
}

#smart-calculator .comparison-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

#smart-calculator .comparison-value.old {
    color: var(--slate-light);
    text-decoration: line-through;
    text-decoration-color: var(--red);
    text-decoration-thickness: 3px;
}

#smart-calculator .comparison-value.new {
    color: var(--primary);
}

/* TIME SELECTOR */
#smart-calculator .time-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

#smart-calculator .time-btn {
    padding: 12px 24px;
    border: 2px solid rgba(41, 69, 64, 0.15);
    border-radius: 0;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    color: var(--slate);
}

#smart-calculator .time-btn:hover {
    border-color: var(--primary);
}

#smart-calculator .time-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(41, 69, 64, 0.3);
}

/* BREAKDOWN COMPARISON */
#smart-calculator .breakdown-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
}

#smart-calculator .breakdown-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

#smart-calculator .breakdown-column {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

#smart-calculator .breakdown-column.local {
    border: 2px solid #e2e8f0;
}

#smart-calculator .breakdown-column.bosmart {
    border: 2px solid var(--accent);
    background: linear-gradient(135deg, rgba(188, 247, 112, 0.05), rgba(188, 247, 112, 0.1));
}

#smart-calculator .breakdown-column-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

#smart-calculator .breakdown-column.local .breakdown-column-header {
    background: #f8fafc;
}

#smart-calculator .breakdown-column.bosmart .breakdown-column-header {
    background: var(--primary);
    color: white;
}

#smart-calculator .breakdown-column-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
}

#smart-calculator .breakdown-column.local .breakdown-column-label {
    color: var(--slate);
}

#smart-calculator .breakdown-column-total {
    display: block;
    font-size: 28px;
    font-weight: 800;
    font-family: 'DM Serif Display', sans-serif;
}

#smart-calculator .breakdown-column-total.old {
    color: var(--slate-light);
    text-decoration: line-through;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
}

#smart-calculator .breakdown-column.bosmart .breakdown-column-total {
    color: var(--accent);
}

#smart-calculator .breakdown-items {
    padding: 16px;
}

#smart-calculator .breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 14px;
    color: var(--slate);
}

#smart-calculator .breakdown-item:last-child {
    border-bottom: none;
}

#smart-calculator .breakdown-item.all-inclusive {
    font-weight: 600;
    color: var(--primary);
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

#smart-calculator .breakdown-item.included {
    justify-content: flex-start;
    padding: 6px 0;
    font-size: 13px;
    color: var(--primary);
    border-bottom: none;
}

#smart-calculator .breakdown-item.included span {
    opacity: 0.85;
}

/* Savings Summary */
#smart-calculator .savings-summary {
    background: var(--primary);
    border-radius: 0;
    padding: 24px;
    text-align: center;
    color: white;
}

#smart-calculator .savings-summary-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 8px;
}

#smart-calculator .savings-summary-amount {
    font-size: 36px;
    font-weight: 800;
    font-family: 'DM Serif Display', sans-serif;
    color: var(--accent);
    margin-bottom: 8px;
}

#smart-calculator .savings-summary-percent {
    font-size: 14px;
    opacity: 0.9;
}

/* INSIGHT CARDS GRID */
#smart-calculator .insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 32px;
}

#smart-calculator .insight-card {
    background: white;
    padding: 28px;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

#smart-calculator .insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

#smart-calculator .insight-card-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

#smart-calculator .insight-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

#smart-calculator .insight-card-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 16px;
}

#smart-calculator .insight-card-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

#smart-calculator .insight-card-description {
    font-size: 14px;
    color: var(--slate-light);
    line-height: 1.5;
}

/* CTA SECTION */
#smart-calculator .cta-section {
    padding: 48px 32px;
    background: var(--cream);
    text-align: center;
}

#smart-calculator .cta-title {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

#smart-calculator .cta-subtitle {
    font-size: 16px;
    color: var(--slate);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#smart-calculator .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

#smart-calculator .cta-btn {
    padding: 16px 32px;
    border-radius: 0;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s ease;
}

#smart-calculator .cta-btn.primary {
    background: var(--accent);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(188, 247, 112, 0.4);
    font-weight: 700;
}

#smart-calculator .cta-btn.primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(188, 247, 112, 0.5);
}

#smart-calculator .cta-btn.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

#smart-calculator .cta-btn.secondary:hover {
    background: var(--cream);
}

/* SOCIAL PROOF */
#smart-calculator .social-proof {
    background: white;
    padding: 24px;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#smart-calculator .proof-label {
    font-size: 13px;
    color: var(--slate-light);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#smart-calculator .proof-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

#smart-calculator .proof-stat {
    text-align: center;
}

#smart-calculator .proof-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

#smart-calculator .proof-text {
    font-size: 13px;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* MODAL */
#smart-calculator .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: calc-fadeIn 0.3s ease;
}

#smart-calculator .modal {
    background: white;
    border-radius: 0;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: calc-slideUp 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes calc-slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#smart-calculator .modal-header {
    background: var(--primary);
    color: white;
    padding: 32px;
    text-align: center;
    border-radius: 0;
}

#smart-calculator .modal-title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

#smart-calculator .modal-subtitle {
    font-size: 15px;
    opacity: 0.95;
}

#smart-calculator .modal-body {
    padding: 32px;
}

#smart-calculator .value-list {
    margin: 24px 0;
}

#smart-calculator .value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--slate);
}

#smart-calculator .value-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#smart-calculator .value-icon svg {
    width: 14px;
    height: 14px;
    stroke: white;
    stroke-width: 3;
}

#smart-calculator .modal-footer {
    font-size: 12px;
    color: var(--slate-light);
    text-align: center;
    margin-top: 16px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #smart-calculator .content {
        padding: 24px 16px;
    }

    #smart-calculator .btn-group {
        grid-template-columns: 1fr;
    }

    #smart-calculator .breakdown-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #smart-calculator .breakdown-column-total {
        font-size: 24px;
    }

    #smart-calculator .savings-summary-amount {
        font-size: 28px;
    }

    #smart-calculator .quiz-grid {
        grid-template-columns: 1fr;
    }

    #smart-calculator .seniority-grid {
        grid-template-columns: 1fr;
    }

    #smart-calculator .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    #smart-calculator .cta-btn {
        width: 100%;
    }

    #smart-calculator .proof-stats {
        gap: 24px;
    }

    #smart-calculator .results-hero {
        padding: 40px 16px;
        margin-bottom: 24px;
    }

    #smart-calculator .results-amount {
        font-size: clamp(36px, 10vw, 72px);
        margin-bottom: 12px;
    }

    #smart-calculator .results-percentage {
        font-size: clamp(28px, 6vw, 48px);
    }

    #smart-calculator .comparison {
        padding: 20px 16px;
    }

    #smart-calculator .comparison-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #smart-calculator .comparison-card {
        padding: 16px;
    }

    #smart-calculator .comparison-value {
        font-size: 24px;
    }

    #smart-calculator .time-selector {
        flex-wrap: wrap;
        gap: 8px;
    }

    #smart-calculator .time-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    #smart-calculator .insights-grid {
        padding: 20px 16px;
    }

    #smart-calculator .insight-card {
        padding: 20px;
    }

    #smart-calculator .insight-card-value {
        font-size: 24px;
    }

    /* Modal mobile fixes */
    #smart-calculator .modal-overlay {
        align-items: flex-start;
        padding: 16px;
        padding-top: 40px;
        overflow-y: auto;
    }

    #smart-calculator .modal {
        margin: 0 auto;
        max-height: none;
    }

    #smart-calculator .modal-body {
        padding: 24px 20px;
    }

    #smart-calculator .card {
        border-radius: 0;
    }
}

/* UTILITY */
#smart-calculator .hidden {
    display: none;
}

/* GATE 2 SECTION - Talent Pipeline */
#smart-calculator .gate2-section {
    background: var(--primary);
    padding: 48px 32px;
    margin: 32px 0;
    border-radius: 0;
    color: white;
    position: relative;
    overflow: hidden;
}

#smart-calculator .gate2-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><path d="M0 40L40 0M20 40L40 20M0 20L20 0" stroke="rgba(255,255,255,0.05)" fill="none"/></svg>');
}

#smart-calculator .gate2-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

#smart-calculator .gate2-eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.8;
    margin-bottom: 8px;
    text-align: center;
}

#smart-calculator .gate2-title {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    line-height: 1.2;
}

#smart-calculator .gate2-subtitle {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

#smart-calculator .gate2-pipeline {
    background: rgba(255,255,255,0.1);
    padding: 16px 20px;
    border-radius: 0;
    margin-bottom: 24px;
    text-align: center;
}

#smart-calculator .gate2-pipeline-count {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

#smart-calculator .gate2-pipeline-text {
    font-size: 14px;
    opacity: 0.9;
}

#smart-calculator .gate2-list {
    margin-bottom: 24px;
}

#smart-calculator .gate2-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#smart-calculator .gate2-item:last-child {
    border-bottom: none;
}

#smart-calculator .gate2-check {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

#smart-calculator .gate2-check svg {
    width: 12px;
    height: 12px;
    stroke: var(--primary);
    stroke-width: 3;
}

#smart-calculator .gate2-item-text {
    font-size: 14px;
    line-height: 1.5;
}

#smart-calculator .gate2-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

#smart-calculator .gate2-input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 0;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

#smart-calculator .gate2-input::placeholder {
    color: rgba(255,255,255,0.5);
}

#smart-calculator .gate2-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.15);
}

#smart-calculator .gate2-btn {
    padding: 14px 28px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 0;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#smart-calculator .gate2-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

#smart-calculator .gate2-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

#smart-calculator .gate2-success {
    text-align: center;
    padding: 20px;
}

#smart-calculator .gate2-success-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

#smart-calculator .gate2-success-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 3;
}

#smart-calculator .gate2-success-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

#smart-calculator .gate2-success-text {
    font-size: 14px;
    opacity: 0.85;
}

@media (max-width: 768px) {
    #smart-calculator .gate2-form {
        flex-direction: column;
    }

    #smart-calculator .gate2-input {
        width: 100%;
    }

    #smart-calculator .gate2-btn {
        width: 100%;
    }
}
