/* ==========================================================================
   100 DAYS SEO PLAN - METAPHOR AGENCY BRAND THEME STYLES
   Harmonized with Neumorphic Design System & Brand Palette
   (Brand Blue #322F87, Accent Coral #E05D5F, Canvas #EEF1F6, Text #2E3A59)
   ========================================================================== */

.seo-roadmap-section {
  padding: 70px 0;
  position: relative;
  background: var(--bg-canvas, #EEF1F6);
  overflow: hidden;
}

/* Outer Roadmap Container Card (Neumorphic Raised) */
.roadmap-card-wrapper {
  background: var(--bg-canvas, #EEF1F6);
  border-radius: 24px;
  padding: 44px;
  box-shadow: 10px 10px 24px var(--shadow-dark, rgba(163, 177, 198, 0.6)),
              -10px -10px 24px var(--shadow-light, rgba(255, 255, 255, 0.85));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.4));
  color: var(--text-primary, #2E3A59);
  position: relative;
  transition: all 0.3s ease;
}

/* Header Section */
.roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.25);
  margin-bottom: 34px;
}

.roadmap-header-left .roadmap-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-coral, #E05D5F);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.roadmap-header-left h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  color: var(--brand-blue, #322F87);
  line-height: 1.15;
}

.roadmap-header-left p {
  color: var(--text-muted, #6C757D);
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}

.roadmap-header-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.roadmap-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}

.roadmap-pill.pill-ai {
  background: rgba(50, 47, 135, 0.08);
  color: var(--brand-blue, #322F87);
  border: 1px solid rgba(50, 47, 135, 0.18);
  box-shadow: 2px 2px 5px var(--shadow-dark, rgba(163, 177, 198, 0.3)),
              -2px -2px 5px var(--shadow-light, rgba(255, 255, 255, 0.6));
}

.roadmap-pill.pill-strategy {
  background: rgba(224, 93, 95, 0.09);
  color: var(--accent-coral, #E05D5F);
  border: 1px solid rgba(224, 93, 95, 0.25);
  box-shadow: 2px 2px 5px var(--shadow-dark, rgba(163, 177, 198, 0.3)),
              -2px -2px 5px var(--shadow-light, rgba(255, 255, 255, 0.6));
}

.roadmap-pill.pill-time {
  background: rgba(79, 70, 229, 0.08);
  color: #4338CA;
  border: 1px solid rgba(79, 70, 229, 0.2);
  box-shadow: 2px 2px 5px var(--shadow-dark, rgba(163, 177, 198, 0.3)),
              -2px -2px 5px var(--shadow-light, rgba(255, 255, 255, 0.6));
}

/* ==========================================================================
   4 PHASE SUMMARY CARDS (Neumorphic Style in Brand Theme)
   ========================================================================== */
.roadmap-phases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.phase-summary-card {
  background: var(--bg-canvas, #EEF1F6);
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-primary, #2E3A59);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.5));
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 6px 6px 14px var(--shadow-dark, rgba(163, 177, 198, 0.5)),
              -6px -6px 14px var(--shadow-light, rgba(255, 255, 255, 0.8));
  position: relative;
  overflow: hidden;
  user-select: none;
}

.phase-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-blue, #322F87);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.phase-summary-card:hover {
  transform: translateY(-4px);
  box-shadow: 10px 10px 20px var(--shadow-dark, rgba(163, 177, 198, 0.6)),
              -10px -10px 20px var(--shadow-light, rgba(255, 255, 255, 0.9));
  border-color: rgba(50, 47, 135, 0.3);
}

.phase-summary-card.active {
  transform: translateY(-3px);
  border: 1.5px solid var(--brand-blue, #322F87);
  box-shadow: inset 2px 2px 5px rgba(50, 47, 135, 0.08),
              6px 6px 16px var(--shadow-dark, rgba(163, 177, 198, 0.55)),
              -6px -6px 16px var(--shadow-light, rgba(255, 255, 255, 0.85));
}

.phase-summary-card.active::before {
  opacity: 1;
}

/* Phase 4 can have subtle coral accent highlight */
.phase-summary-card[data-phase="4"]::before {
  background: var(--accent-coral, #E05D5F);
}

.phase-summary-card[data-phase="4"].active {
  border-color: var(--accent-coral, #E05D5F);
}

.phase-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--bg-canvas, #EEF1F6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue, #322F87);
  flex-shrink: 0;
  box-shadow: inset 3px 3px 6px var(--shadow-dark, rgba(163, 177, 198, 0.6)),
              inset -3px -3px 6px var(--shadow-light, rgba(255, 255, 255, 0.9));
  transition: all 0.25s ease;
}

.phase-summary-card.active .phase-icon-box {
  background: var(--brand-blue, #322F87);
  color: #FFFFFF;
  box-shadow: 2px 2px 8px rgba(50, 47, 135, 0.35);
}

.phase-summary-card[data-phase="4"].active .phase-icon-box {
  background: var(--accent-coral, #E05D5F);
  color: #FFFFFF;
  box-shadow: 2px 2px 8px var(--accent-coral-glow, rgba(224, 93, 95, 0.35));
}

.phase-info h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-blue, #322F87);
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.phase-info .phase-subtitle {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted, #6C757D);
  display: block;
  margin-bottom: 6px;
}

.phase-info .phase-days-badge {
  display: inline-block;
  background: rgba(50, 47, 135, 0.08);
  color: var(--brand-blue, #322F87);
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.phase-summary-card[data-phase="4"] .phase-info .phase-days-badge {
  background: rgba(224, 93, 95, 0.1);
  color: var(--accent-coral, #E05D5F);
}

/* ==========================================================================
   INTERACTIVE CONTROLS BAR (Neumorphic Style)
   ========================================================================== */
.roadmap-controls-bar {
  background: var(--bg-canvas, #EEF1F6);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.6));
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
  box-shadow: inset 3px 3px 7px var(--shadow-dark, rgba(163, 177, 198, 0.4)),
              inset -3px -3px 7px var(--shadow-light, rgba(255, 255, 255, 0.7));
}

.roadmap-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.roadmap-tab-btn {
  background: var(--bg-canvas, #EEF1F6);
  border: 1px solid rgba(163, 177, 198, 0.35);
  color: var(--text-primary, #2E3A59);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 2px 2px 5px var(--shadow-dark, rgba(163, 177, 198, 0.3)),
              -2px -2px 5px var(--shadow-light, rgba(255, 255, 255, 0.7));
}

.roadmap-tab-btn:hover {
  background: #E2E7F0;
  color: var(--brand-blue, #322F87);
}

.roadmap-tab-btn.active {
  background: var(--brand-blue, #322F87);
  color: #FFFFFF;
  font-weight: 700;
  border-color: var(--brand-blue, #322F87);
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2),
              2px 2px 8px rgba(50, 47, 135, 0.3);
}

.roadmap-action-toggles {
  display: flex;
  gap: 12px;
  align-items: center;
}

.view-mode-toggle {
  display: flex;
  background: var(--bg-canvas, #EEF1F6);
  border-radius: 10px;
  padding: 3px;
  box-shadow: inset 2px 2px 5px var(--shadow-dark, rgba(163, 177, 198, 0.45)),
              inset -2px -2px 5px var(--shadow-light, rgba(255, 255, 255, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.view-mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted, #6C757D);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.view-mode-btn.active {
  background: var(--brand-blue, #322F87);
  color: #FFFFFF;
  box-shadow: 2px 2px 6px rgba(50, 47, 135, 0.25);
}

.play-simulation-btn {
  background: var(--accent-coral, #E05D5F);
  border: none;
  color: #FFFFFF;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 4px 4px 12px var(--accent-coral-glow, rgba(224, 93, 95, 0.35)),
              -2px -2px 8px var(--shadow-light, rgba(255, 255, 255, 0.8));
}

.play-simulation-btn:hover {
  background: var(--accent-coral-hover, #D04B4D);
  transform: translateY(-2px);
  box-shadow: 6px 6px 16px var(--accent-coral-glow, rgba(224, 93, 95, 0.45));
}

.play-simulation-btn.playing {
  background: var(--brand-blue, #322F87);
  box-shadow: 4px 4px 12px rgba(50, 47, 135, 0.35);
}

/* ==========================================================================
   DAY SCRUBBER & TIMELINE TRACK
   ========================================================================== */
.roadmap-scrubber-container {
  background: var(--bg-canvas, #EEF1F6);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 30px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.5));
  box-shadow: inset 4px 4px 8px var(--shadow-dark, rgba(163, 177, 198, 0.5)),
              inset -4px -4px 8px var(--shadow-light, rgba(255, 255, 255, 0.85));
}

.scrubber-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13.5px;
}

.scrubber-label {
  color: var(--text-muted, #6C757D);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.scrubber-label strong {
  color: var(--brand-blue, #322F87);
}

.scrubber-val {
  color: var(--accent-coral, #E05D5F);
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
}

.roadmap-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #CBD5E1;
  outline: none;
  cursor: pointer;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.roadmap-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-coral, #E05D5F);
  box-shadow: 0 0 10px var(--accent-coral-glow, rgba(224, 93, 95, 0.45)), 
              0 0 0 3px #FFFFFF;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.roadmap-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roadmap-markers {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-muted, #6C757D);
  font-weight: 600;
}

/* ==========================================================================
   VIEW 1: ANIMATIONAL STEP CHART (JOURNEY VIEW)
   ========================================================================== */
.step-journey-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}

.journey-phase-group {
  background: var(--bg-canvas, #EEF1F6);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.5));
  border-radius: 20px;
  padding: 26px;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 14px var(--shadow-dark, rgba(163, 177, 198, 0.4)),
              -6px -6px 14px var(--shadow-light, rgba(255, 255, 255, 0.8));
}

.journey-phase-group.highlighted {
  border-color: rgba(50, 47, 135, 0.25);
  box-shadow: 8px 8px 18px var(--shadow-dark, rgba(163, 177, 198, 0.5)),
              -8px -8px 18px var(--shadow-light, rgba(255, 255, 255, 0.9));
}

.journey-phase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(163, 177, 198, 0.4);
}

.journey-phase-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.journey-phase-tag {
  background: var(--brand-blue, #322F87);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.journey-phase-group[data-phase="4"] .journey-phase-tag {
  background: var(--accent-coral, #E05D5F);
}

.journey-phase-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue, #322F87);
  margin: 0;
}

.journey-phase-duration {
  font-size: 13px;
  color: var(--text-muted, #6C757D);
  font-weight: 600;
}

/* Stepper Visual Nodes Grid */
.journey-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg-canvas, #EEF1F6);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.6));
  border-radius: 14px;
  padding: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 4px 4px 10px var(--shadow-dark, rgba(163, 177, 198, 0.45)),
              -4px -4px 10px var(--shadow-light, rgba(255, 255, 255, 0.8));
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 47, 135, 0.3);
  box-shadow: 7px 7px 16px var(--shadow-dark, rgba(163, 177, 198, 0.55)),
              -7px -7px 16px var(--shadow-light, rgba(255, 255, 255, 0.9));
}

.step-card.active-step {
  border: 1.5px solid var(--brand-blue, #322F87);
  box-shadow: inset 1px 1px 3px rgba(50, 47, 135, 0.08),
              0 0 0 2px rgba(50, 47, 135, 0.2),
              6px 6px 14px var(--shadow-dark, rgba(163, 177, 198, 0.5));
}

.step-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.step-number-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--brand-blue, #322F87);
  background: rgba(50, 47, 135, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}

.step-timeline-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-coral, #E05D5F);
  background: rgba(224, 93, 95, 0.1);
  padding: 2px 8px;
  border-radius: 6px;
}

.step-card h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-blue, #322F87);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.step-card p {
  font-size: 13px;
  color: var(--text-primary, #2E3A59);
  margin: 0 0 14px 0;
  line-height: 1.5;
  flex-grow: 1;
}

.step-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(163, 177, 198, 0.25);
  font-size: 12px;
}

.step-days-count {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted, #6C757D);
  font-weight: 700;
}

.step-status-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(163, 177, 198, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s ease;
  background: var(--bg-canvas, #EEF1F6);
}

.step-card.active-step .step-status-icon,
.step-card.completed-step .step-status-icon {
  background: var(--brand-blue, #322F87);
  border-color: var(--brand-blue, #322F87);
  color: #FFFFFF;
}

/* ==========================================================================
   VIEW 2: DETAILED TABLE VIEW (Metaphor Brand Palette)
   ========================================================================== */
.table-view-container {
  display: none;
}

.table-view-container.active-view {
  display: block;
}

.step-journey-container.active-view {
  display: flex;
}

.table-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.table-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand-blue, #322F87);
  letter-spacing: 0.02em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-action-count-pill {
  background: rgba(50, 47, 135, 0.1);
  color: var(--brand-blue, #322F87);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.table-search-input {
  background: var(--bg-canvas, #EEF1F6);
  border: 1px solid rgba(163, 177, 198, 0.35);
  border-radius: 10px;
  padding: 9px 16px;
  color: var(--text-primary, #2E3A59);
  font-size: 13px;
  outline: none;
  min-width: 270px;
  transition: all 0.2s ease;
  box-shadow: inset 2px 2px 5px var(--shadow-dark, rgba(163, 177, 198, 0.45)),
              inset -2px -2px 5px var(--shadow-light, rgba(255, 255, 255, 0.8));
}

.table-search-input:focus {
  border-color: var(--brand-blue, #322F87);
  box-shadow: inset 3px 3px 6px var(--shadow-dark, rgba(163, 177, 198, 0.5)),
              0 0 0 2px rgba(50, 47, 135, 0.2);
}

.detailed-plan-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.6));
  background: var(--bg-canvas, #EEF1F6);
  box-shadow: 6px 6px 16px var(--shadow-dark, rgba(163, 177, 198, 0.5)),
              -6px -6px 16px var(--shadow-light, rgba(255, 255, 255, 0.85));
}

.detailed-plan-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.detailed-plan-table th {
  background: rgba(50, 47, 135, 0.06);
  color: var(--brand-blue, #322F87);
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 15px 20px;
  border-bottom: 2px solid rgba(163, 177, 198, 0.35);
  text-transform: uppercase;
}

.detailed-plan-table th:first-child {
  width: 80px;
  text-align: center;
}

.detailed-plan-table th:nth-child(2) {
  width: 220px;
}

.detailed-plan-table th:last-child {
  width: 130px;
  text-align: right;
}

.detailed-plan-table td {
  padding: 13px 20px;
  border-bottom: 1px solid rgba(163, 177, 198, 0.2);
  color: var(--text-primary, #2E3A59);
  transition: background 0.2s ease;
}

.detailed-plan-table td:first-child {
  text-align: center;
  color: var(--text-muted, #6C757D);
  font-weight: 700;
}

.detailed-plan-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--brand-blue, #322F87);
}

.detailed-plan-table tr.step-row:hover td {
  background: rgba(50, 47, 135, 0.05);
  color: var(--brand-blue, #322F87);
}

/* Phase Header Rows inside Table (Metaphor Brand Blue) */
.detailed-plan-table tr.phase-heading-row td {
  background: linear-gradient(90deg, #322F87 0%, #25226A 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.detailed-plan-table tr.phase-heading-row td:first-child {
  color: #FFFFFF !important;
}

.detailed-plan-table tr.phase-heading-row td:last-child {
  color: #FFFFFF !important;
  text-align: right;
  font-size: 14px;
}

/* Phase 4 Table Header subtle coral accent gradient */
.detailed-plan-table tr.phase-heading-row[data-phase="4"] td {
  background: linear-gradient(90deg, #322F87 0%, #E05D5F 100%);
}

/* ==========================================================================
   FOOTER BANNER / SUMMARY PILL
   ========================================================================== */
.roadmap-footer-pill {
  margin-top: 36px;
  background: var(--bg-canvas, #EEF1F6);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.6));
  border-radius: 100px;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 6px 6px 16px var(--shadow-dark, rgba(163, 177, 198, 0.5)),
              -6px -6px 16px var(--shadow-light, rgba(255, 255, 255, 0.85));
}

.footer-summary-text {
  font-size: 13.5px;
  color: var(--text-muted, #6C757D);
  font-weight: 500;
  line-height: 1.5;
}

.footer-summary-text span {
  color: var(--brand-blue, #322F87);
  font-weight: 700;
}

.roadmap-cta-btn {
  background: var(--accent-coral, #E05D5F);
  color: #FFFFFF !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 4px 14px var(--accent-coral-glow, rgba(224, 93, 95, 0.35)),
              -2px -2px 8px var(--shadow-light, rgba(255, 255, 255, 0.8));
}

.roadmap-cta-btn:hover {
  background: var(--accent-coral-hover, #D04B4D);
  transform: translateY(-2px);
  box-shadow: 6px 6px 18px var(--accent-coral-glow, rgba(224, 93, 95, 0.5));
}

/* ==========================================================================
   DARK THEME OVERRIDES (Full parity with body.dark-theme)
   ========================================================================== */
body.dark-theme .roadmap-card-wrapper {
  background: #0F172A;
  box-shadow: 10px 10px 24px rgba(2, 6, 23, 0.8),
              -10px -10px 24px rgba(30, 41, 59, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-theme .roadmap-header-left h3 {
  color: #F8FAFC;
}

body.dark-theme .phase-summary-card,
body.dark-theme .journey-phase-group,
body.dark-theme .step-card,
body.dark-theme .detailed-plan-table-wrapper,
body.dark-theme .roadmap-footer-pill {
  background: #1E293B;
  box-shadow: 6px 6px 14px rgba(2, 6, 23, 0.7),
              -4px -4px 10px rgba(51, 65, 85, 0.3);
  border-color: rgba(255, 255, 255, 0.06);
  color: #F8FAFC;
}

body.dark-theme .phase-icon-box {
  background: #0F172A;
  color: #818CF8;
}

body.dark-theme .phase-info h4,
body.dark-theme .journey-phase-title,
body.dark-theme .step-card h5,
body.dark-theme .table-main-title {
  color: #F8FAFC;
}

body.dark-theme .step-card p,
body.dark-theme .detailed-plan-table td {
  color: #CBD5E1;
}

body.dark-theme .detailed-plan-table th {
  background: #0F172A;
  color: #94A3B8;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .roadmap-controls-bar,
body.dark-theme .roadmap-scrubber-container,
body.dark-theme .view-mode-toggle,
body.dark-theme .table-search-input {
  background: #0F172A;
  border-color: rgba(255, 255, 255, 0.08);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .roadmap-phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .roadmap-card-wrapper {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .roadmap-header-left h3 {
    font-size: 2.1rem;
  }
  .roadmap-phases-grid {
    grid-template-columns: 1fr;
  }
  .roadmap-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .roadmap-filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .roadmap-action-toggles {
    justify-content: space-between;
  }
  .table-search-input {
    width: 100%;
  }
  .roadmap-footer-pill {
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
  }
  .roadmap-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
