/* ============================================
   NavXD Theme — track-overview.css
   赛道全景页样式（浅色主题 #f8f9fb）
   依赖：navxd-style.css 已加载
   ============================================ */

/* ── CSS 变量（与 trends.css 保持一致）── */
.track-overview-page {
    --to-bg:       #f8f9fb;
    --to-bg2:      #ffffff;
    --to-bg3:      #f0f2f5;
    --to-border:   rgba(0, 0, 0, 0.07);
    --to-border2:  rgba(0, 0, 0, 0.13);
    --to-text:     #1a1d2e;
    --to-text2:    #5a5e72;
    --to-text3:    #9499b0;
    --to-blue:     #3b7ef6;
    --to-blue2:    #2563d4;
    --to-blue-dim: rgba(59, 126, 246, 0.08);
    --to-green:       #10b981;
    --to-green-dim:   rgba(16, 185, 129, 0.10);
    --to-amber:       #d97706;
    --to-amber-dim:   rgba(217, 119, 6, 0.10);
    --to-red:         #ef4444;
    --to-red-dim:     rgba(239, 68, 68, 0.10);
    --to-purple:      #7c3aed;
    --to-purple-dim:  rgba(124, 58, 237, 0.08);
    --to-font: 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
    --to-shadow-sm:   0 1px 4px rgba(0, 0, 0, 0.05);
    --to-shadow-card: 0 1px 4px rgba(0, 0, 0, 0.04);
    --to-shadow-hover: 0 4px 12px rgba(59, 126, 246, 0.10);

    background: var(--to-bg);
    font-family: var(--to-font);
    color: var(--to-text);
    font-size: 14px;
    line-height: 1.6;
}

/* ── 布局容器 ── */
.to-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Breadcrumb ── */
.to-breadcrumb {
    background: var(--to-bg2);
    border-bottom: 1px solid var(--to-border);
    padding: 12px 0;
}
.to-breadcrumb .to-container {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--to-text3);
}
.to-breadcrumb a {
    color: var(--to-text3);
    text-decoration: none;
}
.to-breadcrumb a:hover { color: var(--to-text2); }
.to-sep { opacity: 0.4; }
.to-bc-current { color: var(--to-text2); }

/* ── Hero（覆盖 navxd-hero-wrap，复用首页雷达背景）── */
.track-overview-page .navxd-hero-wrap {
    position: relative;
    overflow: hidden;
    background: #0a0c1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* canvas：与 home.css #navxd-radar 规则一致，ID 不同避免冲突 */
.track-overview-page #navxd-radar-track {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.85;
}
/* 文字层：与首页 .navxd-hero 完全一致的 padding / z-index */
.track-overview-page .navxd-hero.to-hero-content {
    position: relative;
    z-index: 2;
    padding: 64px 32px 48px;
    text-align: center;
    max-width: none;
}

.to-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 126, 246, .15);
    border: 1px solid rgba(59, 126, 246, .3);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 16px;
}
.to-hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--to-blue);
    animation: to-pulse-dot 2s ease-in-out infinite;
}
@keyframes to-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.75); }
}
.to-hero-title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 12px;
}
.to-accent { color: var(--to-blue); }
.to-hero-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, .62);
    max-width: 520px;
    margin: 0 auto 18px;
    line-height: 1.7;
}
.to-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
}
.to-meta-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
}

/* ── Stats Bar ── */
.to-stats-bar {
    background: var(--to-bg2);
    border-bottom: 1px solid var(--to-border);
}
.to-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.to-stat-item {
    padding: 18px 0;
    text-align: center;
    border-right: 1px solid var(--to-border);
}
.to-stat-item:last-child { border-right: none; }
.to-stat-num {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--to-text);
}
.to-num-blue  { color: var(--to-blue); }
.to-num-green { color: var(--to-green); }
.to-stat-label {
    font-size: 11px;
    color: var(--to-text3);
}

/* ── Page Body ── */
.to-body {
    padding: 36px 0 80px;
}

/* ── Section ── */
.to-section {
    margin-bottom: 40px;
}
.to-sec-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.to-sec-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--to-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.to-sec-bar {
    display: inline-block;
    width: 3px; height: 15px;
    background: var(--to-blue);
    border-radius: 2px;
    flex-shrink: 0;
}
.to-sec-link {
    font-size: 12px;
    color: var(--to-blue);
    text-decoration: none;
}
.to-sec-link:hover { text-decoration: underline; }

/* ── Cards ── */
.to-card {
    background: var(--to-bg2);
    border: 1px solid var(--to-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--to-shadow-card);
}
.to-card-pad { padding: 20px 22px; }
.to-card:hover { box-shadow: var(--to-shadow-hover); }

/* ── Phases (Timeline) ── */
.to-phases { display: flex; flex-direction: column; }
.to-phase {
    display: flex;
    gap: 0;
    position: relative;
}
.to-phase-left {
    width: 160px;
    flex-shrink: 0;
    padding: 18px 20px 18px 0;
    text-align: right;
    position: relative;
}
.to-phase-left::after {
    content: '';
    position: absolute;
    right: -1px; top: 0; bottom: 0;
    width: 1px;
    background: var(--to-border);
}
.to-phase-dot {
    position: absolute;
    right: -9px; top: 22px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--to-blue);
    border: 3px solid var(--to-bg2);
    z-index: 1;
}
.to-phase-era {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--to-text3);
    margin-bottom: 3px;
}
.to-phase-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--to-text);
}
.to-phase-right {
    flex: 1;
    padding: 18px 0 18px 26px;
}
.to-phase-desc {
    font-size: 13px;
    color: var(--to-text2);
    margin: 0 0 10px;
    line-height: 1.65;
}

/* ── Tags ── */
.to-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.to-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid;
}
.to-tag-blue   { background: var(--to-blue-dim);   color: var(--to-blue);   border-color: rgba(59,126,246,.2); }
.to-tag-green  { background: var(--to-green-dim);  color: var(--to-green);  border-color: rgba(16,185,129,.2); }
.to-tag-amber  { background: var(--to-amber-dim);  color: var(--to-amber);  border-color: rgba(217,119,6,.2); }
.to-tag-red    { background: var(--to-red-dim);    color: var(--to-red);    border-color: rgba(239,68,68,.2); }
.to-tag-purple { background: var(--to-purple-dim); color: var(--to-purple); border-color: rgba(124,58,237,.2); }
.to-tag-default { background: var(--to-bg3); color: var(--to-text2); border-color: var(--to-border); }

/* ── Insight Box ── */
.to-insight {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #eef4ff 0%, #f4f0ff 100%);
    border: 1px solid rgba(59, 126, 246, .15);
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 16px;
}
.to-insight-icon {
    width: 34px; height: 34px;
    border-radius: 8px;
    background: var(--to-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.to-insight-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--to-blue);
    margin-bottom: 5px;
}
.to-insight-text {
    font-size: 13px;
    color: var(--to-text);
    line-height: 1.65;
    margin: 0;
}

/* ── Landscape Grid ── */
.to-landscape-axis-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--to-text3);
    margin-bottom: 6px;
    padding: 0 2px;
}
.to-landscape-axis-center {
    font-weight: 600;
    color: var(--to-text2);
}
.to-landscape-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--to-border);
    border: 1px solid var(--to-border);
    border-radius: 12px;
    overflow: hidden;
}
.to-landscape-cell {
    background: var(--to-bg2);
    padding: 18px 16px;
}
.to-landscape-cell-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 4px;
}
.to-landscape-cell-title {
    font-size: 12px;
    font-weight: 700;
}
.to-lc-blue   { color: var(--to-blue); }
.to-lc-green  { color: var(--to-green); }
.to-lc-purple { color: var(--to-purple); }
.to-lc-amber  { color: var(--to-amber); }
.to-lc-red    { color: var(--to-red); }

/* ── Chips ── */
.to-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.to-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--to-border);
    background: var(--to-bg3);
    color: var(--to-text2);
    cursor: default;
    transition: all .15s;
}
.to-chip:hover { border-color: var(--to-blue); color: var(--to-blue); background: var(--to-blue-dim); }
.to-chip-blue   { background: var(--to-blue-dim);   border-color: rgba(59,126,246,.25);  color: var(--to-blue); }
.to-chip-green  { background: var(--to-green-dim);  border-color: rgba(16,185,129,.25);  color: var(--to-green); }
.to-chip-purple { background: var(--to-purple-dim); border-color: rgba(124,58,237,.25);  color: var(--to-purple); }
.to-chip-red    { background: var(--to-red-dim);    border-color: rgba(239,68,68,.25);   color: var(--to-red); }
.to-chip-default { background: var(--to-bg3); border-color: var(--to-border); color: var(--to-text2); }

.to-landscape-axis-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--to-text3);
    padding: 10px 2px 0;
}
.to-axis-arrow-line {
    flex: 1;
    height: 1px;
    background: var(--to-border);
}
.to-axis-label-center {
    font-size: 11px;
    font-weight: 600;
    color: var(--to-text2);
    white-space: nowrap;
}

/* ── Two-col layout ── */
.to-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
.to-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ── Bar Chart ── */
.to-chart-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--to-text);
    margin-bottom: 16px;
}
.to-bar-chart { display: flex; flex-direction: column; gap: 10px; }
.to-bar-row { display: flex; align-items: center; gap: 10px; }
.to-bar-label {
    width: 84px;
    flex-shrink: 0;
    font-size: 12px;
    color: var(--to-text2);
    text-align: right;
}
.to-bar-track {
    flex: 1;
    background: var(--to-bg3);
    border-radius: 3px;
    height: 7px;
    overflow: hidden;
}
.to-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width .7s cubic-bezier(.4, 0, .2, 1);
}
.to-bar-val {
    width: 36px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--to-text);
    text-align: right;
}

/* ── Growth List ── */
.to-growth-list { display: flex; flex-direction: column; gap: 8px; }
.to-growth-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--to-bg2);
    border: 1px solid var(--to-border);
    border-radius: 10px;
    padding: 10px 14px;
    box-shadow: var(--to-shadow-card);
}
.to-growth-pct {
    font-size: 13px;
    font-weight: 700;
    width: 44px;
    flex-shrink: 0;
    text-align: center;
    padding: 3px 0;
    border-radius: 6px;
}
.to-growth-up   { background: var(--to-green-dim); color: var(--to-green); }
.to-growth-down { background: var(--to-red-dim);   color: var(--to-red); }
.to-growth-info { flex: 1; min-width: 0; }
.to-growth-name   { font-size: 13px; font-weight: 600; margin-bottom: 1px; }
.to-growth-reason { font-size: 11px; color: var(--to-text3); }

/* ── Tool Table ── */
.to-table-tabs {
    display: flex;
    gap: 0;
    padding: 14px 18px 0;
    border-bottom: 1px solid var(--to-border);
}
.to-tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    color: var(--to-text2);
    background: none;
    font-family: var(--to-font);
    transition: all .15s;
}
.to-tab-btn.active  { color: var(--to-blue); border-bottom-color: var(--to-blue); font-weight: 600; }
.to-tab-btn:hover:not(.active) { color: var(--to-text); }
.to-table-wrap { overflow-x: auto; }
.to-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.to-table th {
    text-align: left;
    padding: 10px 16px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--to-text3);
    background: var(--to-bg);
    border-bottom: 1px solid var(--to-border);
    white-space: nowrap;
}
.to-th-center { text-align: center; }
.to-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0,0,0,.04);
    vertical-align: middle;
}
.to-table tr:last-child td { border-bottom: none; }
.to-table tbody tr:hover td { background: #fafbff; }
.to-td-center { text-align: center; }
.to-tool-name    { font-weight: 600; margin-bottom: 2px; }
.to-tool-desc    { font-size: 11px; color: var(--to-text3); }
.to-tool-advantage { font-size: 12px; color: var(--to-text2); }
.to-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}
.to-score-high { background: var(--to-green-dim); color: var(--to-green); }
.to-score-mid  { background: var(--to-amber-dim); color: var(--to-amber); }
.to-score-low  { background: var(--to-red-dim);   color: var(--to-red); }
.to-trend { font-size: 12px; font-weight: 600; white-space: nowrap; }
.to-trend-up   { color: var(--to-green); }
.to-trend-down { color: var(--to-red); }
.to-trend-flat { color: var(--to-text3); }

/* ── Recommendation Cards ── */
.to-rec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.to-rec-card {
    background: var(--to-bg2);
    border: 1px solid var(--to-border);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    box-shadow: var(--to-shadow-card);
    transition: all .18s;
}
.to-rec-card:hover {
    box-shadow: var(--to-shadow-hover);
    transform: translateY(-1px);
}
.to-rec-featured {
    border-color: var(--to-blue);
    box-shadow: 0 0 0 1px var(--to-blue), var(--to-shadow-card);
}
.to-rec-badge {
    position: absolute;
    top: 14px; right: 14px;
    font-size: 10px !important;
}
.to-rec-check {
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}
.to-rc-green  { background: var(--to-green); }
.to-rc-purple { background: var(--to-purple); }
.to-rc-amber  { background: var(--to-amber); }
.to-rc-blue   { background: var(--to-blue); }
.to-rec-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--to-text);
}
.to-rec-pros { margin-bottom: 12px; }
.to-rec-pro {
    font-size: 12px;
    color: var(--to-text2);
    margin-bottom: 4px;
    padding-left: 14px;
    position: relative;
}
.to-rec-pro::before {
    content: '·';
    position: absolute;
    left: 3px;
    color: var(--to-green);
    font-weight: 700;
}
.to-rec-ideal {
    font-size: 11px;
    color: var(--to-text3);
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.05);
}

/* ── Opportunity Cards ── */
.to-opportunity-card { transition: all .18s; }
.to-opportunity-card:hover {
    box-shadow: var(--to-shadow-hover);
    transform: translateY(-1px);
}
.to-opp-icon  { font-size: 22px; margin-bottom: 10px; }
.to-opp-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.to-opp-desc  { font-size: 12px; color: var(--to-text2); line-height: 1.65; margin: 0; }

/* ── CTA Banner ── */
.to-cta-banner {
    background: linear-gradient(135deg, #eef4ff 0%, #f0f7ff 100%);
    border: 1px solid rgba(59, 126, 246, .2);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.to-cta-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--to-text);
    margin: 0 0 5px;
}
.to-cta-desc {
    font-size: 13px;
    color: var(--to-text2);
    margin: 0 0 12px;
}
.to-cta-perks { display: flex; flex-direction: column; gap: 4px; }
.to-cta-perk  { font-size: 12px; color: var(--to-text2); display: flex; align-items: center; gap: 5px; }
.to-perk-check { color: var(--to-green); font-weight: 700; }
.to-cta-right { text-align: center; flex-shrink: 0; }
.to-cta-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--to-text);
}
.to-cta-price span { font-size: 13px; font-weight: 400; color: var(--to-text3); }
.to-cta-price-year { font-size: 11px; color: var(--to-text3); margin: 3px 0 14px; }
.to-cta-btn {
    display: block;
    padding: 10px 24px;
    background: var(--to-blue);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: background .15s;
}
.to-cta-btn:hover { background: var(--to-blue2); color: #fff; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .to-three-col { grid-template-columns: repeat(2, 1fr); }
    .to-landscape-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .to-container { padding: 0 16px; }
    .to-hero { padding: 40px 0 44px; }
    .to-hero-title { font-size: 28px; }
    .to-stats-grid { grid-template-columns: repeat(3, 1fr); }
    .to-two-col { grid-template-columns: 1fr; }
    .to-three-col { grid-template-columns: 1fr; }
    .to-rec-grid { grid-template-columns: 1fr; }
    .to-landscape-grid { grid-template-columns: 1fr; }
    .to-phase-left { width: 100px; }
    .to-cta-banner { flex-direction: column; }
}

@media (max-width: 480px) {
    .to-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .to-stat-item:last-child { display: none; }
    .to-hero-meta { flex-direction: column; gap: 6px; }
    .to-meta-dot { display: none; }
}