/* ============================================
   ROADMAP — Page-specific styles
   Uses global.css design tokens
   ============================================ */

/* ============================================
   PHASE PROGRESS BAR — Horizontal indicator
   ============================================ */
.phase-progress {
    padding: 2.5rem 2rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
}

.phase-progress-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
    gap: 0;
}

.phase-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.phase-dot:hover {
    transform: translateY(-2px);
}

.phase-dot-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: var(--bg);
    transition: all 0.3s ease;
}

.phase-dot.active .phase-dot-circle {
    border-color: var(--green);
    background: var(--green);
    box-shadow: 0 0 12px var(--green-glow);
}

.phase-dot--current .phase-dot-circle { border-color: rgba(16, 185, 129, 0.4); }
.phase-dot--short .phase-dot-circle { border-color: rgba(16, 185, 129, 0.3); }
.phase-dot--medium .phase-dot-circle { border-color: rgba(99, 102, 241, 0.3); }
.phase-dot--long .phase-dot-circle { border-color: rgba(168, 85, 247, 0.3); }

.phase-dot--current:hover .phase-dot-circle { background: rgba(16, 185, 129, 0.2); }
.phase-dot--short:hover .phase-dot-circle { background: rgba(16, 185, 129, 0.2); }
.phase-dot--medium:hover .phase-dot-circle { background: rgba(99, 102, 241, 0.2); }
.phase-dot--long:hover .phase-dot-circle { background: rgba(168, 85, 247, 0.2); }

.phase-dot-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.phase-dot.active .phase-dot-label {
    color: var(--green);
}

.phase-line {
    flex: 1;
    height: 2px;
    max-width: 120px;
    min-width: 40px;
    margin: 0 0.5rem;
    margin-bottom: 1.8rem;
}

.phase-line--short {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.4), rgba(16, 185, 129, 0.15));
}
.phase-line--medium {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.15));
}
.phase-line--long {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
}

/* Phase Tags */
.phase-tag {
    font-size: 0.85rem !important;
    padding: 0.4rem 1.2rem !important;
}

.short-tag {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: var(--green) !important;
}

.medium-tag {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: var(--indigo-secondary) !important;
}

.long-tag {
    background: rgba(168, 85, 247, 0.1) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    color: var(--purple) !important;
}

/* ============================================
   CURRENT STATE
   ============================================ */
.current-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.current-card {
    padding: 2rem;
}

.current-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.current-card.strengths {
    border-left: 3px solid var(--green);
}

.current-card.strengths h3 {
    color: var(--green);
}

.current-card.improvements {
    border-left: 3px solid var(--orange);
}

.current-card.improvements h3 {
    color: var(--orange);
}

.check-list, .arrow-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.check-list li, .arrow-list li {
    font-size: 0.9rem;
    color: var(--text2);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.arrow-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: 700;
}

/* ============================================
   ROADMAP TIMELINE — Centered Zigzag Layout
   ============================================ */
.roadmap-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Center line */
.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(99, 102, 241, 0.5) 0%,
        rgba(16, 185, 129, 0.5) 50%,
        rgba(168, 85, 247, 0.5) 100%);
}

/* Glowing pulse on center line */
.roadmap-timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(99, 102, 241, 0.8) 0%,
        rgba(16, 185, 129, 0.8) 50%,
        rgba(168, 85, 247, 0.8) 100%);
    filter: blur(6px);
    opacity: 0.4;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 0;
    margin-bottom: 3rem;
    position: relative;
    align-items: start;
}

.roadmap-item .roadmap-icon {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: start;
    margin-top: 1.2rem;
}

.roadmap-item .roadmap-content {
    grid-column: 3;
    grid-row: 1;
}

.roadmap-item:nth-child(even) .roadmap-content {
    grid-column: 1;
    grid-row: 1;
}

.roadmap-item:nth-child(even) .roadmap-icon {
    grid-column: 2;
}

.roadmap-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    z-index: 2;
    position: relative;
    box-shadow: 0 0 20px var(--green-glow);
}

.roadmap-icon.icon-blue {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--indigo);
    color: var(--indigo-secondary);
    box-shadow: 0 0 20px var(--indigo-glow);
}

.roadmap-icon.icon-purple {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.roadmap-icon.icon-done {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 20px var(--green-glow);
}

.roadmap-content {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.roadmap-content:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.08), 0 8px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Connector line from icon to card */
.roadmap-item .roadmap-content::before {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: -16px;
    width: 16px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.roadmap-item:nth-child(even) .roadmap-content::before {
    left: auto;
    right: -16px;
}

.roadmap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.roadmap-header h3 {
    font-size: 1.2rem;
    margin: 0;
}

.impact-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
}

.impact-badge.high {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.impact-badge.very-high {
    background: rgba(168, 85, 247, 0.15);
    color: var(--purple);
}

.impact-badge.medium {
    background: rgba(245, 158, 11, 0.15);
    color: var(--orange);
}

.impact-badge.done {
    background: rgba(16, 185, 129, 0.2);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.roadmap-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Technique Box */
.technique-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1rem;
}

.technique-why {
    font-size: 0.9rem;
    color: var(--text2);
    margin: 0;
    line-height: 1.7;
}

/* Feature List */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text2);
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--indigo);
    font-weight: 700;
}

/* ============================================
   WALK-FORWARD DIAGRAM
   ============================================ */
.technique-diagram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.wf-block {
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 90px;
}

.wf-block span {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text);
}

.wf-block small {
    font-size: 0.7rem;
    color: var(--muted);
}

.wf-block.optimize {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.wf-block.test {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.wf-block.result {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.wf-arrow {
    color: var(--muted);
    font-size: 1.2rem;
}

/* ============================================
   MONTE CARLO VISUAL
   ============================================ */
.monte-carlo-visual {
    position: relative;
    height: 100px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
}

.mc-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 1px;
    opacity: 0.4;
}

.mc-1 {
    top: 20%;
    background: linear-gradient(90deg, transparent, #10b981, #10b981, transparent);
    animation: mcWave 4s ease-in-out infinite;
}

.mc-2 {
    top: 35%;
    background: linear-gradient(90deg, transparent, #6366f1, #6366f1, transparent);
    animation: mcWave 5s ease-in-out infinite 0.5s;
}

.mc-3 {
    top: 50%;
    background: linear-gradient(90deg, transparent, #a855f7, #a855f7, transparent);
    animation: mcWave 3.5s ease-in-out infinite 1s;
}

.mc-4 {
    top: 65%;
    background: linear-gradient(90deg, transparent, #f59e0b, #f59e0b, transparent);
    animation: mcWave 4.5s ease-in-out infinite 1.5s;
}

.mc-5 {
    top: 80%;
    background: linear-gradient(90deg, transparent, #f43f5e, #f43f5e, transparent);
    animation: mcWave 5.5s ease-in-out infinite 2s;
}

@keyframes mcWave {
    0% { transform: translateX(-30%) scaleY(1); }
    25% { transform: translateX(0%) scaleY(2); }
    50% { transform: translateX(10%) scaleY(0.5); }
    75% { transform: translateX(5%) scaleY(1.5); }
    100% { transform: translateX(-30%) scaleY(1); }
}

.mc-label {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-family: var(--mono);
    color: var(--muted);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* ============================================
   VPS FEATURES
   ============================================ */
.vps-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.vps-feature {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.vps-feature span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--green);
    margin-bottom: 0.25rem;
}

.vps-feature p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--muted);
}

/* ============================================
   REGIME DETECTION VISUAL
   ============================================ */
.regime-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.regime-box {
    padding: 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.regime-box.range {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.regime-box.trend {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.regime-box h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.regime-wave {
    height: 40px;
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
}

.range-wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0,20 Q25,5 50,20 T100,20 T150,20 T200,20' fill='none' stroke='%2310b981' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
    background-size: 200px 40px;
    animation: rangeWave 3s linear infinite;
}

@keyframes rangeWave {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
}

.trend-wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0,35 L200,5' fill='none' stroke='%23f43f5e' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 40px;
}

.regime-action {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
}

.regime-action.good {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.regime-action.bad {
    background: rgba(244, 63, 94, 0.15);
    color: var(--red);
}

/* ============================================
   MULTI-TIMEFRAME VISUAL
   ============================================ */
.mtf-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 1.5rem 0;
}

.mtf-level {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 100%;
    max-width: 500px;
}

.mtf-level.active {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.mtf-tf {
    font-family: var(--mono);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
    min-width: 40px;
}

.mtf-role {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text2);
}

.mtf-status {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-pill);
    background: rgba(99, 102, 241, 0.15);
    color: var(--indigo-secondary);
}

.mtf-status.current {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.mtf-arrow {
    font-size: 1.2rem;
    color: var(--muted);
    padding: 0.25rem 0;
}

/* ============================================
   DYNAMIC MULTIPLIER
   ============================================ */
.dynamic-mult {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mult-scenario {
    display: grid;
    grid-template-columns: 140px 80px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
}

.mult-condition {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    text-align: center;
}

.mult-condition.range {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.mult-condition.volatile {
    background: rgba(245, 158, 11, 0.1);
    color: var(--orange);
}

.mult-condition.drawdown {
    background: rgba(244, 63, 94, 0.1);
    color: var(--red);
}

.mult-value {
    font-family: var(--mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.mult-why {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ============================================
   NEW PAIRS
   ============================================ */
.new-pairs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.new-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
}

.np-flags {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.np-name {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.np-reason {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ============================================
   ML PIPELINE
   ============================================ */
.ml-pipeline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5rem 0;
}

.ml-step {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 1.25rem;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

.ml-step-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.ml-step h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.ml-step p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--muted);
}

.ml-step-arrow {
    font-size: 1.5rem;
    color: var(--muted);
    padding-top: 2.5rem;
}

/* ============================================
   DASHBOARD PREVIEW
   ============================================ */
.dashboard-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.dash-widget {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.dash-widget-header {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.dash-widget-value {
    font-family: var(--mono);
    font-size: 1.5rem;
    font-weight: 800;
}

.dash-widget-value.green { color: var(--green); }
.dash-widget-value.orange { color: var(--orange); }

.dash-detail {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.dash-mini-chart {
    height: 20px;
    margin-top: 0.5rem;
    background: linear-gradient(90deg,
        rgba(16, 185, 129, 0.2) 0%,
        rgba(16, 185, 129, 0.4) 30%,
        rgba(16, 185, 129, 0.2) 60%,
        rgba(16, 185, 129, 0.5) 100%);
    border-radius: 2px;
}

.dash-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.dash-meter-fill {
    height: 100%;
    background: var(--orange);
    border-radius: 2px;
}

/* ============================================
   AUTO-OPTIMIZATION FLOW
   ============================================ */
.auto-opt-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.aof-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
}

.aof-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.2);
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.aof-step p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text2);
}

/* ============================================
   VISION SECTION
   ============================================ */
.vision-summary {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.vision-phases {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.vision-phase {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 100%;
}

.vision-phase:hover {
    transform: translateX(4px);
}

.vp-dot {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
}

.short-dot { background: var(--green); box-shadow: 0 0 15px var(--green-glow); }
.medium-dot { background: var(--indigo); box-shadow: 0 0 15px var(--indigo-glow); }
.long-dot { background: var(--purple); box-shadow: 0 0 15px rgba(168, 85, 247, 0.3); }

.vp-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.vp-content p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.vp-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--indigo-secondary);
    font-family: var(--mono);
}

.vision-connector {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.1));
    margin-left: 3.3rem;
}

/* Quote */
.vision-quote {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.vision-quote blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text2);
    line-height: 1.8;
    padding: 1.5rem;
    border-left: 3px solid var(--indigo);
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 1rem;
}

.vision-quote p {
    font-size: 0.9rem;
}

/* Back Link */
.back-link {
    text-align: center;
}

/* Section headers centered */
#short .section-header,
#medium .section-header,
#long .section-header,
#vision .section-header,
#current .section-header {
    text-align: center;
}

#short .section-header,
#medium .section-header,
#long .section-header {
    margin-bottom: 3.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .roadmap-item {
        grid-template-columns: 1fr 50px 1fr;
    }
    .roadmap-content { padding: 1.5rem; }
}

@media (max-width: 900px) {
    .roadmap-timeline::before {
        left: 18px;
        transform: none;
    }
    .roadmap-timeline::after {
        left: 18px;
        transform: none;
    }

    .roadmap-item {
        display: flex;
        gap: 1rem;
    }

    .roadmap-item .roadmap-content,
    .roadmap-item:nth-child(even) .roadmap-content {
        grid-column: auto;
    }

    .roadmap-item .roadmap-content::before,
    .roadmap-item:nth-child(even) .roadmap-content::before {
        display: none;
    }

    .roadmap-item .roadmap-icon {
        margin-top: 0;
    }

    .roadmap-icon { width: 40px; height: 40px; min-width: 40px; }
    .roadmap-icon svg { width: 18px; height: 18px; }
    .roadmap-content { padding: 1.25rem; }

    .current-grid { grid-template-columns: 1fr; }
    .ml-pipeline { flex-direction: column; align-items: center; }
    .ml-step-arrow { transform: rotate(90deg); padding: 0; }

    .technique-diagram { flex-direction: column; }
    .wf-arrow { transform: rotate(90deg); }

    .mult-scenario {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .regime-visual { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .phase-dot-label { font-size: 0.6rem; }
    .phase-line { min-width: 20px; }
    .phase-progress { padding: 2rem 1rem; }
    .vps-features { grid-template-columns: 1fr; }
}
