/* Split out of style.css — enqueued only where it is needed.
   Edit here, not in style.css. */

/* ═══════════════════════════════════════════════════════
   24. CYBER SECURITY QUICK SCANNER WIDGET
═══════════════════════════════════════════════════════ */
.tpc-scanner-box {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 12, 22, 0.98));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 5vw, 3rem);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(59, 130, 246, 0.12);
}
.tpc-scanner-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981, #3b82f6, #8b5cf6);
}

/* Audit Suite Mode Tabs */
.tpc-audit-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem auto 0.75rem;
    max-width: 980px;
}
.tpc-audit-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--c-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1.1rem;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.tpc-audit-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}
.tpc-audit-tab-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
    border-color: rgba(59, 130, 246, 0.6);
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}
.tpc-audit-tab-btn i {
    font-size: 0.9rem;
}

.tpc-scanner-form {
    display: flex;
    gap: 0.75rem;
    max-width: 680px;
    margin: 1.25rem auto 0;
    flex-wrap: wrap;
}
.tpc-scanner-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
}
.tpc-scanner-input-wrap i {
    position: absolute;
    inset-inline-start: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-primary);
    font-size: 1rem;
}
.tpc-scanner-input {
    width: 100%;
    padding: 0.95rem 1.25rem;
    padding-inline-start: 3.1rem !important;
    border-radius: var(--r-full) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    font-size: 0.95rem !important;
}
.tpc-scanner-input:focus {
    border-color: var(--c-primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

.tpc-scanner-results {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    animation: tpc-fade-in 0.4s ease forwards;
}
.tpc-scanner-results.active { display: block; }
@keyframes tpc-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tpc-scanner-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 768px) {
    .tpc-scanner-grid { grid-template-columns: 1fr; text-align: center; }
}
.tpc-score-dial {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.9) 60%, transparent 62%), conic-gradient(var(--score-color, #10b981) 0% var(--score-pct, 86%), rgba(255,255,255,0.08) var(--score-pct, 86%) 100%);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    position: relative;
    transition: all 0.5s ease;
}
.tpc-score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.tpc-score-label {
    font-size: 0.75rem;
    color: var(--score-color, #10b981);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.tpc-scanner-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.tpc-scanner-meta-chip {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-full);
    padding: 0.35rem 0.85rem;
    color: var(--c-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.tpc-scanner-meta-chip strong { color: #fff; }
.tpc-scanner-meta-chip i { color: var(--c-primary); }

.tpc-audit-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.85rem;
}
.tpc-audit-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-md);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    text-align: start;
    transition: transform 0.2s, border-color 0.2s;
}
.tpc-audit-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}
.tpc-audit-item i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.tpc-audit-item.pass i { color: #10b981; }
.tpc-audit-item.warn i { color: #f59e0b; }
.tpc-audit-item.fail i { color: #ef4444; }
.tpc-audit-item-title { font-weight: 700; color: #fff; margin-bottom: 0.2rem; }
.tpc-audit-item-desc { font-size: 0.76rem; color: var(--c-text-muted); line-height: 1.5; }

.tpc-scanner-error {
    margin-top: 1rem;
    padding: 0.85rem 1.25rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--r-md);
    color: #fca5a5;
    font-size: 0.88rem;
    display: none;
    text-align: center;
}


/* ═══════════════════════════════════════════════════════
   50. INTERACTIVE ENTERPRISE TOOLS & CALCULATORS SUITE
═══════════════════════════════════════════════════════ */
.tpc-hub-box {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(8, 12, 22, 0.98));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 5vw, 2.75rem);
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(59,130,246,0.08);
}
.tpc-hub-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem auto 2rem;
    max-width: 1140px;
}
.tpc-hub-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--c-text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.6rem 1.15rem;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.tpc-hub-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}
.tpc-hub-tab-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(139, 92, 246, 0.25));
    border-color: rgba(59, 130, 246, 0.6);
    color: #93c5fd;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}
.tpc-hub-panel {
    display: none;
    animation: tpcHubFade 0.35s ease forwards;
}
.tpc-hub-panel.active { display: block; }
@keyframes tpcHubFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Range Slider Groups */
.tpc-slider-group {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}
.tpc-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.tpc-slider-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
}
.tpc-slider-val {
    font-size: 1rem;
    font-weight: 800;
    color: #60a5fa;
    background: rgba(59,130,246,0.12);
    padding: 0.2rem 0.65rem;
    border-radius: var(--r-full);
}
.tpc-range-input {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--r-full);
    outline: none;
    cursor: pointer;
    accent-color: var(--c-primary);
}

/* Metric Display Cards */
.tpc-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.tpc-metric-num {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}
.tpc-metric-lbl {
    font-size: 0.75rem;
    color: var(--c-text-muted);
    font-weight: 600;
}

/* In-House vs Outsourcing Benchmark Comparison */
.tpc-benchmark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
@media (max-width: 768px) { .tpc-benchmark-grid { grid-template-columns: 1fr; } }
.tpc-bench-col {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.tpc-bench-col.winner {
    background: linear-gradient(180deg, rgba(59,130,246,0.08) 0%, rgba(15,23,42,0.6) 100%);
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 0 30px rgba(59,130,246,0.12);
}
.tpc-bench-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tpc-bench-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0.5rem 0;
}

/* AI RFP Scope Generator */
.tpc-rfp-box {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-xl);
    padding: 1.75rem;
}
.tpc-rfp-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1.25rem;
}
.tpc-rfp-chip {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.45rem 0.95rem;
    border-radius: var(--r-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}
.tpc-rfp-chip:hover { background: rgba(255,255,255,0.1); color: #fff; }
.tpc-rfp-chip.selected {
    background: rgba(59,130,246,0.25);
    border-color: #3b82f6;
    color: #93c5fd;
}
.tpc-rfp-doc-preview {
    background: #020617;
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.8rem;
    color: #94a3b8;
    max-height: 280px;
    overflow-y: auto;
    white-space: pre-wrap;
    line-height: 1.6;
    margin-top: 1.25rem;
}

/* WCAG Contrast Tool */
.tpc-contrast-card {
    background: #ffffff;
    color: #0f172a;
    border-radius: var(--r-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
    margin-top: 1rem;
}
.tpc-color-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) { .tpc-color-inputs { grid-template-columns: 1fr; } }
.tpc-color-field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    padding: 0.65rem 1rem;
}
.tpc-color-field input[type="color"] {
    border: none;
    background: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.tpc-color-field input[type="text"] {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.88rem;
    font-family: monospace;
    outline: none;
    width: 100%;
}

/* Password Hardener */
.tpc-pwd-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #020617;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: var(--r-lg);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1rem;
}
.tpc-pwd-text {
    flex: 1;
    font-family: monospace;
    font-size: 1rem;
    color: #38bdf8;
    letter-spacing: 0.05em;
    word-break: break-all;
}

/* ═══════════════════════════════════════════════════════
   51. CYBER ATTACK SIMULATOR & THREAT DEFENSE LAB
═══════════════════════════════════════════════════════ */
.tpc-sim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.25rem;
}
@media (max-width: 768px) { .tpc-sim-grid { grid-template-columns: 1fr; } }
.tpc-sim-card {
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}
.tpc-sim-card.unprotected { border-color: rgba(239, 68, 68, 0.3); }
.tpc-sim-card.hardened {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, #020617 100%);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}
.tpc-sim-meter {
    margin: 1rem 0;
}
.tpc-sim-meter-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
    color: #94a3b8;
}
.tpc-sim-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--r-full);
    overflow: hidden;
}
.tpc-sim-bar-fill {
    height: 100%;
    border-radius: var(--r-full);
    transition: width 0.5s ease;
}

/* ═══════════════════════════════════════════════════════
   52. MULTI-DEVICE RESPONSIVE PREVIEW STUDIO
═══════════════════════════════════════════════════════ */
.tpc-device-mockup-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}
.tpc-iphone-frame {
    width: 320px;
    height: 520px;
    background: #090d16;
    border: 10px solid #1e293b;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.tpc-iphone-island {
    width: 90px;
    height: 20px;
    background: #000;
    border-radius: 12px;
    margin: 8px auto 0;
    z-index: 10;
}
.tpc-iphone-screen {
    flex: 1;
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 0 0 30px 30px;
}

/* ═══════════════════════════════════════════════════════
   53. INTERACTIVE GANTT TIMELINE ROADMAP
═══════════════════════════════════════════════════════ */
.tpc-gantt-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
}
.tpc-gantt-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    gap: 1rem;
}
@media (max-width: 600px) { .tpc-gantt-row { grid-template-columns: 1fr; } }
.tpc-gantt-phase-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tpc-gantt-bar-container {
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--r-full);
    height: 28px;
    position: relative;
    display: flex;
    align-items: center;
}
.tpc-gantt-bar {
    height: 100%;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════════════════════
   54. SOCIAL SHARE & OPEN GRAPH PREVIEWER
═══════════════════════════════════════════════════════ */
.tpc-social-preview-box {
    background: #020617;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    max-width: 540px;
    margin: 1.5rem auto 0;
}
.tpc-whatsapp-card {
    background: #0b141a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1f2c34;
}
.tpc-whatsapp-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.tpc-whatsapp-content {
    padding: 0.9rem 1rem;
    background: #111b21;
}
.tpc-whatsapp-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #e9edef;
    margin-bottom: 0.25rem;
}
.tpc-whatsapp-desc {
    font-size: 0.8rem;
    color: #8696a0;
    line-height: 1.4;
}
.tpc-whatsapp-domain {
    font-size: 0.72rem;
    color: #00a884;
    margin-top: 0.4rem;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   55. GULF & KSA KEYWORD INTENT EXPLORER
═══════════════════════════════════════════════════════ */
.tpc-kw-table-wrap {
    overflow-x: auto;
    margin-top: 1.25rem;
}
.tpc-kw-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: start;
}
.tpc-kw-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.tpc-kw-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}
.tpc-kw-table tr:hover td {
    background: rgba(59, 130, 246, 0.05);
}

/* ═══════════════════════════════════════════════════════
   56. DIGITAL MATURITY QUIZ & PERKS WHEEL
═══════════════════════════════════════════════════════ */
.tpc-quiz-option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.25rem 0;
}
@media (max-width: 600px) { .tpc-quiz-option-grid { grid-template-columns: 1fr; } }
.tpc-quiz-opt {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: start;
}
.tpc-quiz-opt:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}
.tpc-quiz-opt.selected {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #93c5fd;
}

/* Wheel of Fortune */
.tpc-wheel-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem auto 0;
    position: relative;
    max-width: 380px;
}
.tpc-wheel-pointer {
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 26px solid #ef4444;
    position: absolute;
    top: -8px;
    z-index: 20;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
#tpc-wheel-canvas {
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.25), 0 0 0 8px rgba(255,255,255,0.05);
    transition: transform 4s cubic-bezier(0.17, 0.97, 0.12, 1);
}

/* ═══════════════════════════════════════════════════════
   TOOLS HUB — elements the behaviour layer builds
═══════════════════════════════════════════════════════ */

/* The Gantt roadmap is rendered by tools.js; .tpc-gantt-row already
   exists, these are the lane and label inside it. */
.tpc-gantt-row + .tpc-gantt-row { margin-top: .6rem; }

.tpc-gantt-label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-text-muted, #94a3b8);
}

.tpc-gantt-lane {
    position: relative;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
}

.tpc-gantt-lane .tpc-gantt-bar {
    position: relative;
    height: 100%;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    color: #041018;
    white-space: nowrap;
    transform-origin: inline-start;
    animation: tpc-gantt-grow .5s var(--ease, cubic-bezier(.4, 0, .2, 1)) backwards;
}
@keyframes tpc-gantt-grow {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .tpc-gantt-lane .tpc-gantt-bar { animation: none; }
}

/* Compact audit result used by the email and store checkers. */
.tpc-mini-audit-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.tpc-mini-audit-head strong { color: #fff; font-size: 1rem; }

.tpc-mini-score {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 2px solid;
    font-size: 1.3rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Attack simulator log lines. */
#tpc-unprotected-log,
#tpc-hardened-log {
    max-height: 140px;
    overflow: hidden;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    margin-top: .75rem;
}



/* ════════════════════════════════════════════════════════
   TOOLS HUB — sticky section jump bar

   The hub runs to seven suites and twenty tools, so the category
   bar follows the page instead of scrolling away with the hero.
   Its offset is set at runtime from the real header height
   (--tpc-header-h), because the header shrinks as you scroll.
════════════════════════════════════════════════════════ */
.tpc-tools-nav {
    position: sticky;
    top: var(--tpc-header-h, 72px);
    z-index: 30;
    padding: 0.6rem 0;
    background: rgba(9, 13, 22, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

/* Raised only once it has actually parked under the header. */
.tpc-tools-nav.is-stuck {
    background: rgba(9, 13, 22, 0.94);
    box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.9);
}

.tpc-tools-nav__list {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.tpc-tools-nav__list::-webkit-scrollbar { display: none; }

.tpc-tools-nav__list .tpc-hub-tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
}

/* Wide screens have room for the whole set, so centre it. */
@media (min-width: 1200px) {
    .tpc-tools-nav__list {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

/* The bar covers the top of a section it scrolls to, so anchors
   need the same offset. */
.tpc-tools-nav ~ section[id] {
    scroll-margin-top: calc(var(--tpc-header-h, 72px) + 4rem);
}

@media (prefers-reduced-motion: reduce) {
    .tpc-tools-nav { transition: none; }
}


/* Moved from home.css with the estimator itself. */
/* ═══════════════════════════════════════════════════════
   39. PROJECT COST CALCULATOR
═══════════════════════════════════════════════════════ */
.tpc-calc-section { overflow: hidden; }
.tpc-calc-box {
    background: var(--c-surface); border: 1px solid var(--c-border);
    border-radius: var(--r-xl); padding: 2.5rem; max-width: 800px;
    margin: 0 auto; position: relative;
}
.tpc-calc-steps { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2rem; }
.tpc-calc-step-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--c-surface-hover); transition: background 0.3s, box-shadow 0.3s;
}
.tpc-calc-step-dot.active { background: var(--c-primary); box-shadow: 0 0 10px var(--c-primary); }
.tpc-calc-step-dot.done { background: var(--c-success); }
.tpc-calc-question {
    font-size: 1.15rem; font-weight: 700; color: #fff;
    margin-bottom: 1.5rem; text-align: center;
}
.tpc-calc-options {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem;
    margin-bottom: 2rem;
}
@media (max-width: 600px) { .tpc-calc-options { grid-template-columns: 1fr; } }
.tpc-calc-option {
    background: var(--c-surface-2); border: 1px solid var(--c-border);
    border-radius: var(--r-md); padding: 1rem 1.25rem; cursor: pointer;
    transition: all 0.25s; display: flex; align-items: center; gap: 0.85rem;
}
.tpc-calc-option:hover { border-color: var(--c-primary); background: rgba(59,130,246,0.06); }
.tpc-calc-option.selected {
    border-color: var(--c-primary); background: rgba(59,130,246,0.1);
    box-shadow: inset 0 0 0 1px var(--c-primary);
}
.tpc-calc-option i { font-size: 1.2rem; color: var(--c-primary); flex-shrink: 0; }
.tpc-calc-option span { font-size: 0.88rem; color: #e2e8f0; font-weight: 500; }
.tpc-calc-nav { display: flex; justify-content: space-between; gap: 1rem; }
.tpc-calc-result {
    display: none; text-align: center; padding: 2rem 0;
}
.tpc-calc-result.visible { display: block; }
.tpc-calc-price {
    font-size: 3rem; font-weight: 800; color: #fff; margin: 0.5rem 0;
    background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.tpc-calc-note { font-size: 0.82rem; color: var(--c-text-dim); margin-top: 0.5rem; }
