/* Enhancements for index-v2.html only. */
.tp-hero { position: relative; overflow: hidden; }
#assessment, #quizWrap, #resultsWrap { scroll-margin-top: 100px; }
.v2-brand-fallback { color: var(--tp-navy); font-size: 23px; font-weight: 700; letter-spacing: -.5px; }
.v2-brand-fallback[hidden] { display: none; }
.tp-hero::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle,rgba(116,166,255,.16),transparent 70%); right: -160px; top: -150px; pointer-events: none; }
.tp-hero-visual { position: relative; box-shadow: 0 24px 60px rgba(10,23,63,.2); }
.v2-flow { width: 100%; display: block; }
.v2-flow-label { fill: #fff; font-family: var(--tp-font); font-size: 13px; font-weight: 600; }
.v2-flow-detail { fill: #c9d5f3; font-family: var(--tp-font); font-size: 11px; }
.v2-flow-path { stroke-dasharray: 6 8; animation: v2-flow 16s linear infinite; }
@keyframes v2-flow { to { stroke-dashoffset: -140; } }
.v2-visual-caption { color: rgba(255,255,255,.72); font-size: 13px; text-align: center; margin-top: 14px; }
.v2-status { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: var(--tp-gray-500); margin: 0 0 24px; }
.v2-status-track { height: 5px; width: 110px; border-radius: 9px; background: var(--tp-gray-200); overflow: hidden; flex-shrink: 0; }
.v2-status-fill { height: 100%; width: 0; background: var(--tp-green); transition: width .25s ease; }
.tp-form-group input.valid, .tp-form-group select.valid { border-color: var(--tp-green); }
.tp-form-group input.error:focus, .tp-form-group select.error:focus { border-color: var(--tp-red); box-shadow: 0 0 0 3px rgba(220,38,38,.1); }
.v2-error-summary { border-left: 3px solid var(--tp-red); color: #991b1b; background: #fef2f2; padding: 10px 14px; margin-bottom: 20px; font-size: 13px; border-radius: 4px; }
.v2-error-summary[hidden] { display: none; }
.v2-question-map { display: flex; gap: 8px; margin-bottom: 22px; }
.v2-question-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--tp-gray-500); background: var(--tp-gray-100); }
.v2-question-dot.answered { color: white; background: var(--tp-green); }
.v2-question-dot.skipped { background: var(--tp-gray-200); }
.v2-question-dot.current { outline: 2px solid var(--tp-blue); outline-offset: 2px; color: var(--tp-blue); background: var(--tp-blue-pale); }
.tp-quiz-option:focus-visible, .tp-quiz-nav-btn:focus-visible, .tp-btn:focus-visible { outline: 3px solid var(--tp-blue); outline-offset: 3px; }
.v2-radar-wrap { border: 1px solid var(--tp-gray-200); background: linear-gradient(145deg,#f4f7fc,#fff); padding: 24px 16px; border-radius: var(--tp-radius-lg); margin-bottom: 28px; }
.v2-radar-heading { color: var(--tp-navy); font-weight: 700; font-size: 16px; text-align: center; }
.v2-radar { width: 100%; max-width: 480px; display: block; margin: 0 auto; }
.v2-chart-note { font-size: 12px; color: var(--tp-gray-500); text-align: center; }
.v2-results-enter { animation: v2-enter .4s ease both; }
@keyframes v2-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) { .tp-hero-visual { display: block; max-width: 440px; width: 100%; margin: 0 auto; } }
@media (max-width: 640px) { .v2-question-map { gap: 6px; } .v2-question-dot { width: 22px; height: 22px; font-size: 10px; } .v2-radar-wrap { padding: 18px 6px; } .tp-quiz-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; } .tp-quiz-nav-btn { padding: 12px 8px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .v2-flow-path, .v2-results-enter { animation: none; } .v2-status-fill, .tp-results-score-circle, .tp-cat-result-bar { transition: none; } html { scroll-behavior: auto; } }
