/* ==========================================================================
   CYVORA STUDIO — SITE RELIABILITY ENGINEER (SRE) ROADMAP STYLESHEET
   File: /Career_tips/Roadmaps/Sre/sre-roadmap.css
   Theme: High-Availability Telemetry Spectrum • 99.999% Resilient Aesthetics
   ========================================================================== */

:root {
  /* Canvas & Obsidian Surfaces (Radar Night Dark) */
  --background: #070913;
  --foreground: #f8fafc;
  --card: #0d1222;
  --card-hover: #131a32;
  --card-foreground: #f8fafc;
  --muted: #141b30;
  --muted-foreground: #94a3b8;
  --border: rgba(6, 182, 212, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(6, 182, 212, 0.5);

  /* Primary: High-Voltage Electric Cyan & Laser Teal */
  --primary: #06b6d4;
  --primary-light: #22d3ee;
  --primary-glow: rgba(6, 182, 212, 0.25);
  --primary-glow-heavy: rgba(6, 182, 212, 0.45);
  --primary-foreground: #020617;

  /* SRE Telemetry Spectrum Colors */
  --sre-cyan: #06b6d4;
  --sre-teal: #14b8a6;
  --sre-emerald: #10b981;
  --sre-mint: #34d399;
  --sre-blue: #3b82f6;
  --sre-sky: #38bdf8;
  --sre-indigo: #6366f1;
  --sre-purple: #8b5cf6;
  --sre-amber: #f59e0b;
  --sre-gold: #fbbf24;
  --sre-coral: #f43f5e;
  --sre-rose: #fb7185;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  background-color: var(--background);
  background-image: 
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(6, 182, 212, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 65% 40% at 85% 10%, rgba(16, 185, 129, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 55%, rgba(59, 130, 246, 0.08) 0%, transparent 65%);
  background-attachment: fixed;
  color: var(--foreground);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. Floating Navigation Bar (Adjusted: Sleek & Overlap-Free)
   ========================================================================== */
.floating-nav {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: rgba(13, 18, 34, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 40px;
  z-index: 1000;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(6, 182, 212, 0.15);
  transition: all var(--transition-normal);
}

.floating-nav:hover {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.75), 0 0 28px rgba(6, 182, 212, 0.25);
}

.nav-logo {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50%;
  margin-bottom: 6px;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-logo:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.nav-logo img {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-link {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.2);
  transform: scale(1.08);
}

.nav-link.active {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.16);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.3);
}

.nav-link[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 14px;
  background: #0d1222;
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  pointer-events: none;
}

.nav-link:hover[data-tooltip]::after {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   2. Container Layout & Margin Clearance (NO CONTENT OVERLAP)
   ========================================================================== */
.roadmap-shell {
  max-width: 1400px;
  margin-left: 104px; /* Clearance leaves space for floating navbar */
  margin-right: auto;
  padding: 0 36px 80px 16px;
  box-sizing: border-box;
}

@media (min-width: 1680px) {
  .roadmap-shell {
    margin-left: auto;
    margin-right: auto;
    padding-left: 104px;
    padding-right: 48px;
  }
}

@media (max-width: 768px) {
  .roadmap-shell {
    margin-left: 0;
    margin-right: 0;
    padding: 0 16px 110px;
  }
  
  .floating-nav {
    left: 50%;
    top: auto;
    bottom: 16px;
    transform: translateX(-50%);
    flex-direction: row;
    padding: 8px 14px;
    border-radius: 30px;
    gap: 8px;
    max-width: 92vw;
    overflow-x: auto;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 4px;
  }

  .nav-link {
    width: 36px;
    height: 36px;
  }

  .nav-link[data-tooltip]::after {
    display: none;
  }
}

/* ==========================================================================
   3. Breadcrumb
   ========================================================================== */
.hub-breadcrumb {
  margin: 20px 0 12px;
  color: var(--muted-foreground);
  font-size: 0.88rem;
}

.hub-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hub-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: rgba(6, 182, 212, 0.35);
}

.hub-breadcrumb a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.hub-breadcrumb a:hover {
  color: #06b6d4;
}

.hub-breadcrumb li[aria-current="page"] {
  color: #f8fafc;
  font-weight: 600;
}

/* ==========================================================================
   4. Hero Section (SRE Telemetry Identity)
   ========================================================================== */
.roadmap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  padding: 24px 0 28px;
  position: relative;
}

.roadmap-hero-copy,
.roadmap-hero-panel,
.info-card,
.timeline-month,
.skill-node,
.resource-card,
.video-card,
.project-card,
.cert-card,
.qa-item,
.role-card,
.insight-card,
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.roadmap-hero-copy {
  padding: 38px 42px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(16, 24, 48, 0.85) 0%, rgba(13, 18, 34, 0.95) 100%);
  border-color: rgba(6, 182, 212, 0.28);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #22d3ee;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  width: fit-content;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.18);
}

.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: telemetryPulse 2s infinite ease-in-out;
}

@keyframes telemetryPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.roadmap-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: #ffffff;
}

.roadmap-hero h1 span {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.35));
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 680px;
}

/* ==========================================================================
   5. Hero Stats Bento Grid (5 Distinct SRE Metrics)
   ========================================================================== */
.hero-stats {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
}

.sre-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card {
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card:hover {
  transform: translateY(-3px);
}

/* Card 1: Difficulty (Coral / Red Alert) */
.stat-card.stat-difficulty {
  border-color: rgba(244, 63, 94, 0.3);
  background: linear-gradient(180deg, rgba(244, 63, 94, 0.08) 0%, rgba(13, 18, 34, 0.9) 100%);
}
.stat-card.stat-difficulty strong {
  color: #f43f5e;
  text-shadow: 0 0 14px rgba(244, 63, 94, 0.4);
}
.stat-card.stat-difficulty:hover {
  border-color: #f43f5e;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.25);
}

/* Card 2: Estimated Time (Electric Cyan) */
.stat-card.stat-time {
  border-color: rgba(6, 182, 212, 0.3);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.08) 0%, rgba(13, 18, 34, 0.9) 100%);
}
.stat-card.stat-time strong {
  color: #06b6d4;
  text-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}
.stat-card.stat-time:hover {
  border-color: #06b6d4;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

/* Card 3: Target Uptime (Matrix Emerald 99.99%) */
.stat-card.stat-uptime {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(13, 18, 34, 0.9) 100%);
}
.stat-card.stat-uptime strong {
  color: #10b981;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}
.stat-card.stat-uptime:hover {
  border-color: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

/* Card 4: Average Salary (Solar Gold) */
.stat-card.stat-salary {
  border-color: rgba(251, 191, 36, 0.3);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(13, 18, 34, 0.9) 100%);
}
.stat-card.stat-salary strong {
  color: #fbbf24;
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
}
.stat-card.stat-salary:hover {
  border-color: #fbbf24;
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25);
}

/* Card 5: Engineering Culture (Sky Blue) */
.stat-card.stat-culture {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(13, 18, 34, 0.9) 100%);
}
.stat-card.stat-culture strong {
  color: #38bdf8;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}
.stat-card.stat-culture:hover {
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.25);
}

.stat-card strong {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-card span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero CTA Buttons */
.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  color: #020617;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(18, 24, 44, 0.85);
  color: var(--foreground);
  border: 1px solid rgba(6, 182, 212, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(6, 182, 212, 0.15);
  border-color: #22d3ee;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.2);
}

/* ==========================================================================
   6. Hero Right Panel (SRE Live Tracker)
   ========================================================================== */
.roadmap-hero-panel {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, rgba(13, 18, 34, 0.95) 45%);
  border-color: rgba(6, 182, 212, 0.3);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: fit-content;
}

.roadmap-hero-panel p {
  color: var(--muted-foreground);
  line-height: 1.65;
  font-size: 0.95rem;
}

.progress-summary {
  display: grid;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.progress-summary-label {
  color: var(--muted-foreground);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.progress-summary strong {
  font-size: 1.25rem;
  color: #22d3ee;
  font-weight: 800;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #080c18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #06b6d4 0%, #3b82f6 50%, #10b981 100%);
  border-radius: inherit;
  transition: width 350ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.45);
}

/* ==========================================================================
   7. Sticky Section Navigation Bar
   ========================================================================== */
.roadmap-sticky-nav {
  position: sticky;
  top: 18px;
  z-index: 25;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  margin: 20px 0 28px;
  background: rgba(11, 15, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
}

.roadmap-sticky-nav::-webkit-scrollbar {
  display: none;
}

.roadmap-sticky-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  white-space: nowrap;
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.roadmap-sticky-nav a:hover {
  color: #ffffff;
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.12);
}

.roadmap-sticky-nav a.is-active {
  color: #06b6d4;
  border-color: rgba(6, 182, 212, 0.55);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(16, 185, 129, 0.2));
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
}

/* ==========================================================================
   8. Section Headers & Eyebrows
   ========================================================================== */
.roadmap-section {
  padding: 56px 0 32px;
  scroll-margin-top: 90px;
}

.section-header {
  margin-bottom: 28px;
}

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #22d3ee;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 8px #06b6d4;
}

.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 8px;
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1rem;
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

/* Overview Info Grid */
.info-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.info-card,
.insight-card {
  padding: 24px;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.info-card:hover,
.insight-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(6, 182, 212, 0.15);
}

.info-card h3,
.insight-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #22d3ee;
  margin: 0 0 10px;
}

.info-card p,
.insight-card p {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   9. Interactive Timeline (Color-Coded 5 SRE Phases)
   ========================================================================== */
.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-month {
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 18, 34, 0.85);
}

.timeline-month:hover {
  border-color: rgba(6, 182, 212, 0.35);
}

.timeline-month[open] {
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.12);
}

.timeline-month.is-complete {
  border-color: rgba(16, 185, 129, 0.55);
}

.timeline-month > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  background: rgba(13, 18, 34, 0.95);
  user-select: none;
  transition: background var(--transition-fast);
}

.timeline-month > summary:hover {
  background: rgba(19, 26, 48, 0.95);
}

.timeline-month > summary::-webkit-details-marker {
  display: none;
}

.timeline-month > summary strong {
  font-size: 1.22rem;
  font-weight: 700;
  color: #f8fafc;
}

.month-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.month-status {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Phase 1: Months 1-3 (Linux Kernel, Advanced Networking, Systems Scripting) - Matrix Emerald */
.timeline-month[data-month="1"] .month-label,
.timeline-month[data-month="2"] .month-label,
.timeline-month[data-month="3"] .month-label {
  color: #34d399;
}
.timeline-month[data-month="1"] .month-status,
.timeline-month[data-month="2"] .month-status,
.timeline-month[data-month="3"] .month-status {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.timeline-month[data-month="1"][open],
.timeline-month[data-month="2"][open],
.timeline-month[data-month="3"][open] {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(52, 211, 153, 0.12);
}

/* Phase 2: Months 4-6 (Containers, Cloud & Traffic Architecture) - Electric Cyan */
.timeline-month[data-month="4"] .month-label,
.timeline-month[data-month="5"] .month-label,
.timeline-month[data-month="6"] .month-label {
  color: #22d3ee;
}
.timeline-month[data-month="4"] .month-status,
.timeline-month[data-month="5"] .month-status,
.timeline-month[data-month="6"] .month-status {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.timeline-month[data-month="4"][open],
.timeline-month[data-month="5"][open],
.timeline-month[data-month="6"][open] {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.12);
}

/* Phase 3: Months 7-8 (Kubernetes at Scale & Service Mesh) - Royal Indigo / Sky */
.timeline-month[data-month="7"] .month-label,
.timeline-month[data-month="8"] .month-label {
  color: #60a5fa;
}
.timeline-month[data-month="7"] .month-status,
.timeline-month[data-month="8"] .month-status {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.timeline-month[data-month="7"][open],
.timeline-month[data-month="8"][open] {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.12);
}

/* Phase 4: Months 9-10 (Observability, SLOs & Incident Response) - Solar Amber */
.timeline-month[data-month="9"] .month-label,
.timeline-month[data-month="10"] .month-label {
  color: #fbbf24;
}
.timeline-month[data-month="9"] .month-status,
.timeline-month[data-month="10"] .month-status {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.timeline-month[data-month="9"][open],
.timeline-month[data-month="10"][open] {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(251, 191, 36, 0.12);
}

/* Phase 5: Months 11-12 (Chaos Engineering, Disaster Recovery & Capstone) - Red Alert / Rose */
.timeline-month[data-month="11"] .month-label,
.timeline-month[data-month="12"] .month-label {
  color: #fb7185;
}
.timeline-month[data-month="11"] .month-status,
.timeline-month[data-month="12"] .month-status {
  color: #fb7185;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
}
.timeline-month[data-month="11"][open],
.timeline-month[data-month="12"][open] {
  border-color: rgba(244, 63, 94, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 63, 94, 0.12);
}

/* Completed State */
.timeline-month.is-complete .month-status {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
}

.timeline-body {
  padding: 0 26px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 12, 24, 0.6);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 24px 0 18px;
}

.timeline-grid h3 {
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #22d3ee;
  margin: 0 0 10px;
}

.timeline-grid p {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.timeline-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.6;
}

.timeline-grid li {
  margin-bottom: 6px;
}

.completion-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.completion-button {
  min-height: 42px;
  padding: 10px 22px;
  border: 1px solid rgba(6, 182, 212, 0.5);
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.completion-button:hover {
  background: rgba(6, 182, 212, 0.28);
  border-color: #22d3ee;
  color: #ffffff;
  transform: translateY(-1px);
}

.completion-button.is-complete {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  color: #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.25);
}

.month-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 220px;
}

.month-progress span {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  font-weight: 600;
  width: 40px;
  text-align: right;
}

/* ==========================================================================
   10. Skills Tree
   ========================================================================== */
.skill-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.skill-node {
  width: 100%;
  padding: 16px 22px;
  background: rgba(13, 18, 34, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-left: 4px solid #06b6d4;
  border-radius: 12px;
  transition: all var(--transition-normal);
}

.skill-node:hover {
  border-color: rgba(52, 211, 153, 0.5);
  border-left-color: #34d399;
  transform: translateX(4px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), 0 0 16px rgba(6, 182, 212, 0.15);
}

.skill-node summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-node summary::-webkit-details-marker {
  display: none;
}

.skill-node p {
  color: var(--muted-foreground);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 10px;
}

.tree-arrow {
  color: #06b6d4;
  font-size: 1.4rem;
  padding: 8px 0;
  opacity: 0.7;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* ==========================================================================
   11. Free Learning Resources & Interactive Tabs
   ========================================================================== */
.tab-shell {
  display: grid;
  gap: 22px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: rgba(11, 15, 28, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
}

.tab-button {
  padding: 10px 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-button:hover {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.15);
}

.tab-button.is-active {
  color: #020617;
  background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
  font-weight: 800;
}

.resource-card {
  padding: 28px 30px;
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.resource-meta span:first-child {
  font-size: 1.25rem;
  font-weight: 700;
  color: #22d3ee;
}

.resource-meta span:last-child {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
}

.resource-card p {
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 0 0 10px;
}

.resource-card strong {
  color: #f8fafc;
}

.resource-card ul {
  margin: 12px 0 20px;
  padding-left: 20px;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.resource-card ul a {
  color: #06b6d4;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.resource-card ul a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.resource-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #22d3ee;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.resource-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

/* ==========================================================================
   12. Video Grid & Cards
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.video-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(6, 182, 212, 0.15);
}

.video-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.video-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.video-card .resource-link {
  margin-top: auto;
  padding-top: 14px;
}

/* ==========================================================================
   13. Projects Section (3 SRE Reliability Tiers)
   ========================================================================== */
.project-group {
  margin-bottom: 40px;
}

.project-group h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: #ffffff;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
}

.project-card:hover {
  transform: translateY(-3px);
}

.difficulty-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

/* Beginner: Emerald */
.pill-beginner {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.project-card:has(.pill-beginner):hover {
  border-color: #34d399;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(52, 211, 153, 0.2);
}

/* Intermediate: Electric Cyan */
.pill-intermediate {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
}
.project-card:has(.pill-intermediate):hover {
  border-color: #22d3ee;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(6, 182, 212, 0.2);
}

/* Advanced: Alert Coral / Rose */
.pill-advanced {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.35);
}
.project-card:has(.pill-advanced):hover {
  border-color: #fb7185;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 18px rgba(244, 63, 94, 0.2);
}

.project-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.project-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.project-tech {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #06b6d4;
}

/* ==========================================================================
   14. Certifications Grid (SRE Vendor Accents)
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cert-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.cert-card:hover {
  transform: translateY(-3px);
}

/* GCP Professional Cloud DevOps Engineer */
.cert-card.cert-gcp {
  border-left: 4px solid #4285f4;
}
.cert-card.cert-gcp h3 {
  color: #60a5fa;
}
.cert-card.cert-gcp:hover {
  border-color: #60a5fa;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(96, 165, 250, 0.2);
}

/* CKA (Kubernetes Administrator) */
.cert-card.cert-cka {
  border-left: 4px solid #3b82f6;
}
.cert-card.cert-cka h3 {
  color: #93c5fd;
}
.cert-card.cert-cka:hover {
  border-color: #93c5fd;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(147, 197, 253, 0.2);
}

/* Linux Foundation LFCS */
.cert-card.cert-linux {
  border-left: 4px solid #10b981;
}
.cert-card.cert-linux h3 {
  color: #34d399;
}
.cert-card.cert-linux:hover {
  border-color: #10b981;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.2);
}

/* AWS Advanced Networking / Solutions Architect */
.cert-card.cert-aws {
  border-left: 4px solid #f59e0b;
}
.cert-card.cert-aws h3 {
  color: #fbbf24;
}
.cert-card.cert-aws:hover {
  border-color: #f59e0b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(245, 158, 11, 0.2);
}

/* HashiCorp Terraform Associate */
.cert-card.cert-terraform {
  border-left: 4px solid #8b5cf6;
}
.cert-card.cert-terraform h3 {
  color: #c084fc;
}
.cert-card.cert-terraform:hover {
  border-color: #c084fc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 16px rgba(192, 132, 252, 0.2);
}

.cert-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

.cert-card .resource-link {
  margin-top: auto;
  padding-top: 14px;
}

/* ==========================================================================
   15. Interview Preparation Q&A & FAQ Accordions
   ========================================================================== */
.qa-list,
.faq-list {
  display: grid;
  gap: 14px;
}

.qa-item,
.faq-item {
  overflow: hidden;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.qa-item:hover,
.faq-item:hover {
  border-color: rgba(6, 182, 212, 0.45);
}

.qa-item[open],
.faq-item[open] {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(6, 182, 212, 0.15);
}

.qa-item > summary,
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.qa-item > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker {
  display: none;
}

.qa-item > summary::after,
.faq-item > summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #22d3ee;
  font-weight: 400;
}

.qa-item[open] > summary::after,
.faq-item[open] > summary::after {
  content: "−";
}

.qa-item p,
.faq-item p {
  padding: 0 22px 20px;
  color: var(--muted-foreground);
  font-size: 0.94rem;
  line-height: 1.65;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

/* ==========================================================================
   16. Career Progression Track (Distinct SRE Levels)
   ========================================================================== */
.progression-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.role-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  background: rgba(13, 18, 34, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.role-card:hover {
  border-color: rgba(6, 182, 212, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(6, 182, 212, 0.15);
}

.role-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #06b6d4, #10b981);
}

.role-card:nth-child(1)::before { background: linear-gradient(180deg, #10b981, #34d399); }
.role-card:nth-child(2)::before { background: linear-gradient(180deg, #06b6d4, #38bdf8); }
.role-card:nth-child(3)::before { background: linear-gradient(180deg, #3b82f6, #60a5fa); }
.role-card:nth-child(4)::before { background: linear-gradient(180deg, #8b5cf6, #c084fc); }
.role-card:nth-child(5)::before { background: linear-gradient(180deg, #f59e0b, #fbbf24); }
.role-card:nth-child(6)::before { background: linear-gradient(180deg, #f43f5e, #fb7185); }

.role-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 12px;
}

.role-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 8px;
}

.role-card p strong {
  color: #22d3ee;
}

.role-salary {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  margin-top: 10px;
}

.insights-wrap {
  padding-top: 50px;
}

/* ==========================================================================
   17. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .roadmap-hero {
    grid-template-columns: 1fr;
  }
  .sre-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .roadmap-hero {
    padding: 20px 0;
  }
  .roadmap-hero-copy,
  .roadmap-hero-panel {
    padding: 24px;
  }
  .roadmap-hero h1 {
    font-size: 2.2rem;
  }
  .sre-stats {
    grid-template-columns: 1fr 1fr;
  }
  .roadmap-sticky-nav {
    top: 10px;
    padding: 8px;
  }
  .completion-row,
  .resource-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .month-progress {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .sre-stats {
    grid-template-columns: 1fr;
  }
  .tab-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .tab-button {
    text-align: center;
    padding: 8px 12px;
  }
}
