/* NeuRank SEO Calculator — Brandbook v7 */
.nrc-calculator {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: #1A1D23;
}

/* Progress Bar */
.nrc-progress { margin-bottom: 48px; }
.nrc-progress-bar {
    height: 4px;
    background: #E4E5E9;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}
.nrc-progress-fill {
    height: 100%;
    background: #00A65A;
    border-radius: 2px;
    transition: width 0.5s ease;
}
.nrc-progress-steps {
    display: flex;
    justify-content: space-between;
    max-width: 300px;
    margin: 0 auto;
}
.nrc-step-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px; font-weight: 600;
    background: #F8F7F4; color: #8A8F99;
    border: 2px solid #E4E5E9;
    transition: all 0.3s ease;
}
.nrc-step-dot.active {
    background: #00A65A; color: #fff; border-color: #00A65A;
}
.nrc-step-dot.done {
    background: #00A65A; color: #fff; border-color: #00A65A; opacity: 0.6;
}

/* Steps */
.nrc-step { display: none; animation: nrcFadeIn 0.4s ease; }
.nrc-step.active { display: block; }
@keyframes nrcFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.nrc-step-header { margin-bottom: 32px; }
.nrc-step-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 500;
    letter-spacing: 1px; text-transform: uppercase;
    color: #00A65A; margin-bottom: 8px; display: block;
}
.nrc-step-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 28px; font-weight: 700; color: #1A1D23;
    line-height: 1.2; margin: 0;
}

/* Service Cards (Step 1) */
.nrc-service-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.nrc-service-card {
    background: #FFFFFF; border: 2px solid #E4E5E9; border-radius: 12px;
    padding: 24px; cursor: pointer; transition: all 0.3s ease;
}
.nrc-service-card:hover { border-color: #00A65A; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.nrc-service-card.selected { border-color: #00A65A; background: rgba(0,166,90,0.04); }
.nrc-service-card .nrc-card-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(0,166,90,0.08); display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px; color: #00A65A; font-size: 18px;
}
.nrc-service-card .nrc-card-label { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.nrc-service-card .nrc-card-desc { font-size: 14px; color: #5A5F69; line-height: 1.5; }
.nrc-service-card .nrc-card-tag {
    font-family: 'JetBrains Mono', monospace; font-size: 11px;
    color: #00A65A; margin-top: 10px; text-transform: uppercase;
    letter-spacing: 0.5px; font-weight: 600;
}

/* Branch Grid (Step 2) */
.nrc-branch-grid {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
}
.nrc-branch-pill {
    padding: 10px 20px; border: 2px solid #E4E5E9; border-radius: 24px;
    font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s;
    background: #FFFFFF;
}
.nrc-branch-pill:hover { border-color: #00A65A; }
.nrc-branch-pill.selected { background: #00A65A; color: #fff; border-color: #00A65A; }
.nrc-branch-hint {
    font-size: 14px; color: #5A5F69; padding: 12px 16px;
    background: #F8F7F4; border-radius: 8px; margin-bottom: 24px;
    min-height: 20px; transition: opacity 0.3s;
}

/* Slider (Step 3) */
.nrc-label { font-weight: 600; font-size: 15px; margin-bottom: 12px; display: block; }
.nrc-label-hint { font-weight: 400; font-size: 13px; color: #8A8F99; }
.nrc-slider-wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.nrc-slider-hint {
    font-size: 13px; color: #8A8F99; margin: 0 0 32px 0;
    font-style: italic;
}
.nrc-slider {
    flex: 1; -webkit-appearance: none; height: 6px; border-radius: 3px;
    background: #E4E5E9; outline: none;
}
.nrc-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
    background: #00A65A; cursor: pointer; border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.nrc-slider-value {
    font-family: 'JetBrains Mono', monospace; font-size: 15px;
    font-weight: 600; color: #00A65A; min-width: 80px;
}

/* Addons (Step 3) */
.nrc-addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.nrc-addon {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: #FFFFFF; border: 2px solid #E4E5E9; border-radius: 10px;
    cursor: pointer; transition: all 0.2s;
}
.nrc-addon:hover { border-color: #00A65A; }
.nrc-addon.active { border-color: #00A65A; background: rgba(0,166,90,0.04); }
.nrc-addon-toggle {
    width: 40px; height: 22px; border-radius: 11px; background: #E4E5E9;
    position: relative; transition: background 0.2s; flex-shrink: 0;
}
.nrc-addon.active .nrc-addon-toggle { background: #00A65A; }
.nrc-addon-toggle::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; border-radius: 50%; background: #fff;
    transition: transform 0.2s;
}
.nrc-addon.active .nrc-addon-toggle::after { transform: translateX(18px); }
.nrc-addon-info { flex: 1; }
.nrc-addon-label { font-weight: 600; font-size: 14px; }
.nrc-addon-price { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #00A65A; }

/* Live Price (Step 3) */
.nrc-live-price {
    background: #1A1D23; color: #F2F0ED; padding: 20px 24px;
    border-radius: 12px; display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 24px;
}
.nrc-live-label { font-size: 14px; }
.nrc-live-amount {
    font-family: 'Source Serif 4', serif; font-size: 24px; font-weight: 700; color: #00A65A;
}

/* Inklusive Block */
.nrc-inklusive {
    display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 16px 20px;
    background: rgba(0,166,90,0.06); border: 1px solid rgba(0,166,90,0.15);
    border-radius: 10px; margin-bottom: 24px; align-items: center;
}
.nrc-inklusive-title {
    font-weight: 700; font-size: 13px; color: #1A1D23;
    margin-right: 4px; width: 100%; margin-bottom: 4px;
}
.nrc-inklusive-item {
    font-size: 13px; color: #00A65A; font-weight: 500;
    white-space: nowrap;
}

/* Result (Step 4) */
.nrc-result-card {
    background: #1A1D23; border-radius: 16px; padding: 40px;
    text-align: center; margin-bottom: 32px;
}
.nrc-result-price { margin-bottom: 16px; }
.nrc-result-ab { font-size: 16px; color: #8A8F99; margin-right: 4px; }
.nrc-result-amount {
    font-family: 'Source Serif 4', serif; font-size: 56px; font-weight: 700; color: #00A65A;
}
.nrc-result-period { font-size: 20px; color: #8A8F99; margin-left: 4px; }
.nrc-result-breakdown { font-size: 14px; color: #8A8F99; margin-bottom: 12px; }
.nrc-result-hourly { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #5A5F69; margin-bottom: 16px; }
.nrc-result-package {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600;
}
.nrc-result-package.starter { background: rgba(0,166,90,0.1); color: #00A65A; }
.nrc-result-package.professional { background: rgba(0,166,90,0.2); color: #00A65A; }
.nrc-result-package.enterprise { background: rgba(0,166,90,0.3); color: #00A65A; }

/* ROI */
.nrc-roi { background: #F8F7F4; border-radius: 12px; padding: 24px; margin-bottom: 32px; }
.nrc-roi-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.nrc-roi-bar { margin-bottom: 12px; }
.nrc-roi-label { font-size: 13px; color: #5A5F69; margin-bottom: 4px; display: block; }
.nrc-roi-fill { height: 28px; border-radius: 6px; transition: width 1s ease; display: flex; align-items: center; padding-left: 12px; }
.nrc-roi-invest { background: #1A1D23; }
.nrc-roi-ads { background: #00A65A; }
.nrc-roi-value {
    font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600; color: #fff;
}

/* CTA Form */
.nrc-cta-form {
    background: #FFFFFF; border: 1px solid #E4E5E9; border-radius: 16px;
    padding: 32px; text-align: center;
}
.nrc-cta-form h4 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.nrc-cta-sub { font-size: 14px; color: #5A5F69; margin-bottom: 24px; }
.nrc-form { display: flex; flex-direction: column; gap: 12px; max-width: 400px; margin: 0 auto; }
.nrc-input {
    padding: 12px 16px; border: 2px solid #E4E5E9; border-radius: 10px;
    font-family: 'DM Sans', sans-serif; font-size: 15px;
    transition: border-color 0.2s;
}
.nrc-input:focus { outline: none; border-color: #00A65A; }

/* Buttons */
.nrc-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.nrc-btn {
    padding: 12px 28px; border-radius: 8px; font-family: 'DM Sans', sans-serif;
    font-size: 15px; font-weight: 600; cursor: pointer; border: none;
    transition: all 0.2s;
}
.nrc-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.nrc-btn-next { background: #00A65A; color: #fff; margin-left: auto; }
.nrc-btn-next:hover:not(:disabled) { background: #008A4A; }
.nrc-btn-primary { background: #00A65A; color: #fff; }
.nrc-btn-back { background: transparent; color: #5A5F69; border: 2px solid #E4E5E9; }
.nrc-btn-back:hover { border-color: #1A1D23; color: #1A1D23; }
.nrc-btn-submit { background: #00A65A; color: #fff; padding: 14px; border-radius: 10px; font-size: 16px; width: 100%; }
.nrc-btn-submit:hover { background: #008A4A; }

/* Success */
.nrc-form-success { text-align: center; padding: 24px; }
.nrc-success-icon { font-size: 32px; color: #00A65A; display: block; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 768px) {
    .nrc-service-grid { grid-template-columns: 1fr; }
    .nrc-addons-grid { grid-template-columns: 1fr; }
    .nrc-step-title { font-size: 22px; }
    .nrc-result-amount { font-size: 40px; }
    .nrc-result-card { padding: 24px; }
    .nrc-nav { flex-direction: column; }
    .nrc-btn { width: 100%; text-align: center; }
    .nrc-btn-next { margin-left: 0; }
}
