/* ============================================================
   RED HAT OPENSHIFT VIRTUALIZATION — PITCH DECK
   styles.css
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  /* Brand Colors */
  --red:          #EE0000;
  --red-dark:     #CC0000;
  --red-10:       rgba(238,0,0,0.10);
  --blue:         #0066CC;
  --blue-dark:    #004D99;
  --blue-10:      rgba(0,102,204,0.10);
  --dark:         #151515;
  --dark-2:       #1F1F1F;
  --dark-3:       #2A2A2A;
  --dark-4:       #333333;
  --light:        #F5F5F5;
  --light-2:      #EBEBEB;
  --white:        #FFFFFF;
  --gray:         #6A6E73;
  --gray-light:   #D2D2D2;
  --green:        #3E8635;
  --green-10:     rgba(62,134,53,0.12);
  --orange:       #F56E00;
  --orange-10:    rgba(245,110,0,0.10);
  --purple:       #7C43BD;
  --purple-10:    rgba(124,67,189,0.10);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #151515 0%, #0D2840 60%, #003D7A 100%);
  --gradient-mid:  linear-gradient(135deg, #0D2840 0%, #004D99 100%);

  /* Layout */
  --sidebar-w:    240px;
  --container-w:  1200px;

  /* Typography */
  --font-display: 'Red Hat Display', system-ui, -apple-system, sans-serif;
  --font-text:    'Red Hat Text', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.25);

  /* Misc */
  --radius:   8px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-text);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ----------------------------------------------------------
   3. PROGRESS BAR
   ---------------------------------------------------------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--red);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ----------------------------------------------------------
   4. SIDEBAR (Desktop)
   ---------------------------------------------------------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--dark);
  border-right: 1px solid var(--dark-3);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 24px 24px;
  border-bottom: 1px solid var(--dark-3);
}

.sidebar__logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--red);
  flex-shrink: 0;
  position: relative;
}

.sidebar__logo-mark::after {
  content: '';
  position: absolute;
  inset: 6px 7px;
  border-left: 2.5px solid white;
  border-bottom: 2.5px solid white;
  border-radius: 0 0 0 3px;
}

.sidebar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sidebar__logo-rh {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.sidebar__logo-os {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 400;
  color: var(--gray);
  letter-spacing: 0.03em;
}

.sidebar__nav {
  flex: 1;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 24px;
  color: var(--gray);
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  text-align: left;
}

.sidebar__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--red);
  border-radius: 0 2px 2px 0;
  transition: transform 0.2s ease;
}

.sidebar__item:hover { color: var(--white); background: var(--dark-3); }

.sidebar__item.active {
  color: var(--white);
  background: var(--dark-2);
}

.sidebar__item.active::before { transform: translateY(-50%) scaleY(1); }

.sidebar__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex-shrink: 0;
  transition: var(--transition);
}

.sidebar__item.active .sidebar__dot,
.sidebar__item:hover .sidebar__dot {
  background: var(--red);
  border-color: var(--red);
}

.sidebar__num {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.5;
  font-family: var(--font-display);
  width: 22px;
  flex-shrink: 0;
}

.sidebar__item.active .sidebar__num { opacity: 0.8; }

.sidebar__label { flex: 1; }

.sidebar__client-badge {
  padding: 14px 16px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 8px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar__client-for {
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
  padding-left: 2px;
}

.sidebar__client-logo {
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.sidebar__client-logo img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
}

.mobile-client-name { font-size: 0.8em; opacity: 0.65; }

.sidebar__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--dark-3);
  font-size: 11px;
  color: var(--dark-4);
  font-family: var(--font-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------
   5. MOBILE HEADER
   ---------------------------------------------------------- */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-3);
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 200;
}

.mobile-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.mobile-header__logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  background: var(--red);
  flex-shrink: 0;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----------------------------------------------------------
   6. MOBILE MENU
   ---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 199;
  padding: 32px 24px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  color: var(--gray);
  line-height: 1;
  transition: color 0.2s;
}

.mobile-menu__close:hover { color: var(--white); }

.mobile-menu ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--gray);
  border-bottom: 1px solid var(--dark-3);
  transition: color 0.2s;
}

.mobile-menu__link:hover { color: var(--white); }

.mobile-menu__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  width: 28px;
}

/* ----------------------------------------------------------
   7. MAIN LAYOUT
   ---------------------------------------------------------- */
.main { margin-left: var(--sidebar-w); }

/* ----------------------------------------------------------
   8. CONTAINER
   ---------------------------------------------------------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ----------------------------------------------------------
   9. SECTION BASE
   ---------------------------------------------------------- */
.section { min-height: 100vh; }

/* Background helpers */
.bg-dark    { background: var(--dark); color: var(--white); }
.bg-light   { background: var(--light); color: var(--dark); }
.bg-light-2 { background: var(--light-2); color: var(--dark); }
.bg-red     { background: var(--red); color: var(--white); }
.bg-gradient     { background: var(--gradient-hero); color: var(--white); }
.bg-gradient-mid { background: var(--gradient-mid); color: var(--white); }

/* ----------------------------------------------------------
   10. SECTION HERO AREAS
   ---------------------------------------------------------- */
.section__hero {
  padding: 80px 0 64px;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.section__badge--dark {
  background: var(--dark);
  color: var(--white);
}

.section__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 20px;
}

.section__headline--dark { color: var(--dark); }

.section__subtitle {
  font-family: var(--font-text);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin-bottom: 32px;
}

.section__subtitle--dark { color: var(--gray); }

/* ----------------------------------------------------------
   11. PAIN PILLS
   ---------------------------------------------------------- */
.pain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pill--red     { background: var(--red-10); color: #FF6B6B; border: 1px solid rgba(238,0,0,0.3); }
.pill--orange  { background: var(--orange-10); color: #FF9A4A; border: 1px solid rgba(245,110,0,0.3); }
.pill--blue    { background: var(--blue-10); color: #4D9EFF; border: 1px solid rgba(0,102,204,0.3); }
.pill--outline { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }

/* ----------------------------------------------------------
   12. STATS BANNER
   ---------------------------------------------------------- */
.stats-banner { padding: 40px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------
   13. SECTION BODY (content areas)
   ---------------------------------------------------------- */
.section__body { padding: 64px 0; }

.section__subhead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.section__subhead--white { color: var(--white); }

.section__sub-subtitle {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 40px;
}

.section__subhead + .section__sub-subtitle { margin-top: 8px; }
.section__subhead { margin-bottom: 40px; }

/* ----------------------------------------------------------
   14. DISCOVERY CARDS (Section 01)
   ---------------------------------------------------------- */
.discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.discovery-card {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.discovery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--light-2);
  transition: background 0.3s ease;
}

.discovery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.discovery-card:hover::before { background: var(--red); }

.discovery-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.discovery-card__icon svg { width: 22px; height: 22px; }

.icon--red    { background: var(--red-10); color: var(--red); }
.icon--orange { background: var(--orange-10); color: var(--orange); }
.icon--blue   { background: var(--blue-10); color: var(--blue); }
.icon--green  { background: var(--green-10); color: var(--green); }
.icon--purple { background: var(--purple-10); color: var(--purple); }

.discovery-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.discovery-card p {
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   15. BENEFIT CARDS (Section 02)
   ---------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.benefit-card {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.benefit-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card__icon svg { width: 20px; height: 20px; }

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   16. SUCCESS STORY CAROUSEL (Section 02)
   ---------------------------------------------------------- */
.stories-carousel { position: relative; overflow: hidden; }

.stories-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-2);
}

.story-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.story-card__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark);
  background: var(--light);
  padding: 8px 16px;
  border-radius: var(--radius);
}

.story-card__sector {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--blue-10);
  color: var(--blue);
  border: 1px solid rgba(0,102,204,0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.story-card blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark);
  font-style: italic;
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 3px solid var(--red);
}

.story-metrics {
  display: flex;
  gap: 32px;
}

.story-metric { display: flex; flex-direction: column; gap: 4px; }

.story-metric__val {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.story-metric__label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--light-2);
  background: var(--white);
  color: var(--dark);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover { border-color: var(--blue); color: var(--blue); }

.carousel-dots { display: flex; gap: 8px; }

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--light-2);
  border: none;
  transition: var(--transition);
  cursor: pointer;
}

.carousel-dot.active { background: var(--red); transform: scale(1.2); }

/* ----------------------------------------------------------
   17. DIFFERENTIATOR CARDS (Section 03)
   ---------------------------------------------------------- */
.differentiator-strip { padding: 0 0 48px; }

.diff-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.diff-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.diff-card:hover { transform: translateY(-4px); }

.diff-card--red   { background: rgba(238,0,0,0.12); border: 1px solid rgba(238,0,0,0.3); }
.diff-card--blue  { background: rgba(0,102,204,0.12); border: 1px solid rgba(0,102,204,0.3); }
.diff-card--outline { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); }

.diff-card__eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 12px;
}

.diff-card--blue .diff-card__eyebrow { color: #4D9EFF; }
.diff-card--outline .diff-card__eyebrow { color: rgba(255,255,255,0.5); }

.diff-card p {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.5;
}

.diff-card p em { font-style: italic; color: var(--red); }
.diff-card--blue p em { color: #4D9EFF; }

/* ----------------------------------------------------------
   18. COMPARISON TABLE (Section 03)
   ---------------------------------------------------------- */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-3);
  margin-bottom: 24px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--dark-2);
}

.comparison-table thead tr {
  border-bottom: 2px solid var(--dark-3);
}

.comparison-table th {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.comparison-table th:first-child { text-align: left; color: var(--white); }

.col-openshift {
  background: rgba(0,102,204,0.12);
  color: var(--white) !important;
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  position: relative;
}

.th-badge {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,102,204,0.2);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
  text-align: center;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--dark-3);
  transition: background 0.15s ease;
}

.comparison-table tbody tr:last-child { border-bottom: none; }

.comparison-table tbody tr:hover { background: var(--dark-3); }

.comparison-table td {
  padding: 14px 20px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.comparison-table td:first-child { text-align: left; color: var(--white); font-weight: 500; }

.col-openshift td, .comparison-table td:nth-child(2) {
  background: rgba(0,102,204,0.06);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.cell-yes   { color: #5CB85C !important; font-weight: 700; }
.cell-no    { color: #E05C5C !important; font-weight: 700; }
.cell-partial { color: #F0A500 !important; font-weight: 500; }

.table-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
}

/* ----------------------------------------------------------
   19. PILLAR CARDS (Section 04)
   ---------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.pillar-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.pillar-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
}

.pillar-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-card__icon svg { width: 24px; height: 24px; color: var(--white); opacity: 0.85; }

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 16px;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar-list li {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  padding-left: 16px;
  position: relative;
}

.pillar-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
}

/* ----------------------------------------------------------
   20. TIMELINE (Section 04)
   ---------------------------------------------------------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-top: 16px;
}

.timeline--5col {
  grid-template-columns: repeat(5, 1fr);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--light-2);
  z-index: 0;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
}

/* dashed connector before post-migration items */
.timeline-item--post::before {
  content: '';
  position: absolute;
  top: 14px;
  left: -50%;
  width: 50%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--light-2) 0, var(--light-2) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}

.timeline-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid var(--marker-color, var(--gray));
  background: #fff;
  flex-shrink: 0;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  transition: var(--transition);
}

.timeline-marker--active {
  background: var(--marker-color, var(--blue));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--marker-color, var(--blue)) 20%, transparent);
}

.timeline-phase-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.timeline-content { flex: 1; }

.timeline-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.55;
}

/* ----------------------------------------------------------
   21. TCO CONTROLS (Section 05)
   ---------------------------------------------------------- */
.tco-controls { padding: 40px 0 24px; }

.slider-wrapper {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.slider-label {
  display: block;
  font-family: var(--font-text);
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 400;
}

.slider-label strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
}

.vm-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--light-2);
  outline: none;
  cursor: pointer;
}

.vm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(238,0,0,0.4);
  transition: box-shadow 0.2s;
}

.vm-slider::-webkit-slider-thumb:hover {
  box-shadow: 0 2px 12px rgba(238,0,0,0.6);
}

.vm-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  cursor: pointer;
  border: none;
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--gray);
}

/* ----------------------------------------------------------
   22. SAVINGS CARDS (Section 05)
   ---------------------------------------------------------- */
.tco-divider {
  border: none;
  border-top: 1px solid var(--light-2);
  margin: 32px 0;
}

.savings-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
}

.savings-card {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

.savings-card:hover { box-shadow: var(--shadow-lg); }

.savings-card--hero {
  background: #1a4d2e;
  border-color: #1a4d2e;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.savings-card__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 10px;
}

.savings-card--hero .savings-card__eyebrow { color: rgba(255,255,255,0.5); }

.savings-card__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.savings-card__value--sm {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
}

.savings-card__sub {
  font-size: 12px;
  color: var(--gray);
}

.savings-card--hero .savings-card__sub { color: rgba(255,255,255,0.5); }
.savings-card--hero .savings-card__value { color: #fff; }

.savings-card__bar {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.savings-bar {
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  min-width: fit-content;
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.savings-bar--vmware { background: var(--gray); }
.savings-bar--os     { background: var(--green); }

/* ----------------------------------------------------------
   23. TCO CHART (Section 05)
   ---------------------------------------------------------- */
.chart-container {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 16px;
}

.chart-note {
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
  text-align: center;
}

/* ----------------------------------------------------------
   24. CTA BLOCK (Section 05)
   ---------------------------------------------------------- */
.cta-block { padding: 80px 0; }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-text p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
}

.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(238,0,0,0.3);
}

.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(238,0,0,0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* ----------------------------------------------------------
   25. TEXT UTILITIES
   ---------------------------------------------------------- */
.text-red  { color: var(--red); }
.text-blue { color: #4D9EFF; }

/* ----------------------------------------------------------
   26. ANIMATIONS
   ---------------------------------------------------------- */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.anim.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------------------------
   27. RESPONSIVE — TABLET (≤ 1024px)
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --sidebar-w: 200px; }
  .container { padding: 0 32px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
  .savings-grid { grid-template-columns: 1fr 1fr; }
  .savings-card--hero { grid-column: span 2; }
  .timeline, .timeline--5col { grid-template-columns: 1fr 1fr; gap: 32px; }
  .timeline::before, .timeline-item--post::before { display: none; }
}

/* ----------------------------------------------------------
   28. RESPONSIVE — MOBILE (≤ 768px)
   ---------------------------------------------------------- */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .mobile-header { display: flex; }
  .main { margin-left: 0; padding-top: 60px; }

  .container { padding: 0 20px; }

  .section__hero { padding: 48px 0 40px; }
  .section__body { padding: 40px 0; }

  .discovery-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .diff-cards { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .timeline, .timeline--5col { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .savings-grid { grid-template-columns: 1fr; }
  .savings-card--hero { grid-column: span 1; }

  .story-metrics { flex-wrap: wrap; gap: 16px; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 12px; }

  .section__headline { font-size: 1.75rem; }
  .section__subtitle { font-size: 0.9375rem; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .diff-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------------------------
   29. ARCHITECTURE SECTION (Section 05)
   ---------------------------------------------------------- */
.section--arch { min-height: 100vh; }

/* Component overview grid */
.arch-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.arch-card {
  background: var(--white);
  border: 1px solid var(--light-2);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.arch-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--light-2);
  transition: background 0.3s ease;
}

.arch-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.arch-card:hover::after { background: var(--blue); }

.arch-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.arch-card__icon svg { width: 18px; height: 18px; }

.arch-card h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.arch-card p {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Diagram header row */
.arch-diagram-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.arch-diagram-note {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 4px;
  font-style: italic;
}

/* Toolbar buttons */
.arch-toolbar {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.arch-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--light-2);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
}

.arch-btn:hover { border-color: var(--blue); color: var(--blue); }

.arch-btn--primary {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.arch-btn--primary:hover {
  background: var(--dark-2);
  border-color: var(--dark-2);
  color: var(--white);
}

/* Excalidraw container */
.excalidraw-wrapper {
  position: relative;
  height: 820px;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--light-2);
  border-bottom: 1px solid var(--light-2);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.excalidraw-root {
  width: 100%;
  height: 100%;
}

.excalidraw-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--light);
  font-size: 0.875rem;
  color: var(--gray);
  z-index: 10;
  transition: opacity 0.3s ease;
}

.excalidraw-loading.is-hidden { opacity: 0; pointer-events: none; }

.excalidraw-loading__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--light-2);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.excalidraw-root .excalidraw { font-family: var(--font-text); }

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

@media (max-width: 768px) {
  .arch-overview-grid { grid-template-columns: 1fr; }
  .excalidraw-wrapper { height: 460px; }
  .arch-diagram-header { flex-direction: column; }
  .arch-toolbar { width: 100%; justify-content: flex-end; }
}

/* ============================================================
   ARCH CARD — BUTTON RESETS + NEW ELEMENTS
   ============================================================ */

.arch-card {
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--font-text);
  appearance: none;
  -webkit-appearance: none;
}

.arch-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.arch-card__chevron {
  color: var(--gray);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0;
  margin-top: 4px;
}

.arch-card__cta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
  transition: color 0.2s ease;
}

.arch-card:hover .arch-card__cta { color: var(--blue); }

/* Active / expanded state */
.arch-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0,102,204,0.15), 0 8px 32px rgba(0,0,0,0.08);
  background: #fff;
  transform: translateY(-2px);
}

.arch-card.is-active::after { background: var(--blue); }

.arch-card.is-active .arch-card__chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.arch-card.is-active .arch-card__cta { color: var(--blue); }

/* ============================================================
   ARCH DETAIL PANEL
   ============================================================ */

.arch-detail-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
  border-radius: 14px;
}

.arch-detail-panel.is-open {
  max-height: 1000px;
  opacity: 1;
  margin-top: 24px;
}

.arch-detail {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.09);
  border: 1px solid var(--light-2);
}

.arch-detail__header {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.arch-detail__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-detail__icon svg { width: 28px; height: 28px; }

.arch-detail__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.arch-detail__subtitle {
  font-size: 0.875rem;
  color: var(--gray);
}

.arch-detail__metrics {
  display: flex;
  border-top: 1px solid var(--light-2);
  border-bottom: 1px solid var(--light-2);
}

.arch-detail__metric {
  flex: 1;
  padding: 18px 24px;
  text-align: center;
  border-right: 1px solid var(--light-2);
}

.arch-detail__metric:last-child { border-right: none; }

.arch-detail__metric-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.arch-detail__metric-lbl {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.arch-detail__body {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.arch-detail__col h4 {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 14px;
}

.arch-detail__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.arch-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--dark);
  line-height: 1.5;
}

.arch-detail__bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.arch-detail__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.arch-detail__tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid;
}

@media (max-width: 900px) {
  .arch-detail__body { grid-template-columns: 1fr; gap: 20px; }
  .arch-detail__header { padding: 20px; gap: 14px; }
  .arch-detail__metrics { flex-wrap: wrap; }
  .arch-detail__metric { flex: 1 1 45%; }
}

/* ============================================================
   TCO SLIDER GRID
   ============================================================ */

.tco-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px 0;
}

@media (max-width: 1024px) { .tco-slider-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tco-slider-grid { grid-template-columns: 1fr; } }

.tco-scard {
  background: #fff;
  border: 1px solid var(--light-2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tco-scard:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.tco-scard--alert { border-color: rgba(238,0,0,0.3); background: rgba(238,0,0,0.025); }
.tco-scard--alert:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,0,0,0.1); }

.tco-scard--green { border-color: rgba(62,134,53,0.3); background: rgba(62,134,53,0.025); }
.tco-scard--green:focus-within { border-color: #3E8635; box-shadow: 0 0 0 3px rgba(62,134,53,0.1); }

.tco-scard__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray);
}

.tco-scard--alert .tco-scard__header { color: var(--red); }
.tco-scard--green .tco-scard__header { color: #3E8635; }

.tco-scard__value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.tco-scard__unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
}

.tco-scard__hint {
  font-size: 0.72rem;
  color: var(--gray);
  margin-top: -4px;
}

.tco-scard input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--light-2);
  outline: none;
  cursor: pointer;
  margin: 4px 0;
}

.tco-scard input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}

.tco-scard input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.25); }
.tco-scard input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid #fff;
}

.tco-scard--alert input[type="range"]::-webkit-slider-thumb { background: var(--red); }
.tco-scard--alert input[type="range"]::-moz-range-thumb { background: var(--red); }
.tco-scard--green input[type="range"]::-webkit-slider-thumb { background: #3E8635; }
.tco-scard--green input[type="range"]::-moz-range-thumb { background: #3E8635; }

.tco-scard__range {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--gray);
}

/* ============================================================
   BROADCOM SHOCK PANEL
   ============================================================ */

.broadcom-shock {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 100%);
  border-radius: 12px;
  padding: 32px;
  color: #fff;
}

.broadcom-shock__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.broadcom-shock__cols {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.broadcom-shock__col {
  flex: 1;
  border-radius: 12px;
  padding: 24px;
}

.broadcom-shock__col--bad {
  background: rgba(238,0,0,0.12);
  border: 1px solid rgba(238,0,0,0.25);
}

.broadcom-shock__col--good {
  background: rgba(62,134,53,0.12);
  border: 1px solid rgba(62,134,53,0.25);
}

.broadcom-shock__vs {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.broadcom-shock__platform {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.broadcom-shock__cost {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}

.broadcom-shock__col--bad .broadcom-shock__cost  { color: #ff6b6b; }
.broadcom-shock__col--good .broadcom-shock__cost { color: #6bcb77; }

.broadcom-shock__sub {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}

.broadcom-shock__badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.broadcom-shock__badge--red   { background: rgba(238,0,0,0.25);   color: #ffaaaa; }
.broadcom-shock__badge--green { background: rgba(62,134,53,0.25); color: #6bcb77; }

.broadcom-shock__saving {
  text-align: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.broadcom-shock__saving strong {
  color: #6bcb77;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .broadcom-shock__cols { flex-direction: column; }
  .broadcom-shock__vs   { justify-content: center; }
}

/* ============================================================
   ENGINEER TIME RECOVERY + PEOPLE VISUAL
   ============================================================ */

.time-recovery {
  padding: 0;
}

.time-recovery__header { margin-bottom: 24px; }

.time-recovery__header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.time-recovery__header p { font-size: 0.875rem; color: var(--gray); }

.time-recovery__stats {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.time-recovery__stat {
  flex: 1;
  text-align: center;
  padding: 16px 10px;
  background: var(--light);
  border-radius: 10px;
}

.time-recovery__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
}

.time-recovery__label {
  font-size: 0.7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.people-visual {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
  min-height: 56px;
  align-items: flex-start;
  padding: 12px;
  background: var(--light);
  border-radius: 10px;
}

.person-icon {
  width: 26px;
  height: 26px;
  transition: fill 0.4s ease;
}

.person-icon--active { fill: var(--blue); }
.person-icon--idle   { fill: #C8CBD0; }

.time-recovery__caption {
  font-size: 0.72rem;
  color: var(--gray);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 600px) { .time-recovery__stats { flex-direction: column; } }

/* ============================================================
   BREAK-EVEN TIMELINE
   ============================================================ */

.breakeven {
  padding: 0;
}

.breakeven__header { margin-bottom: 20px; }

.breakeven__header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.breakeven__header p { font-size: 0.875rem; color: var(--gray); }

.breakeven__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 8px;
}

.breakeven__point { font-weight: 600; color: var(--dark); }

.breakeven__track {
  position: relative;
  height: 48px;
  background: linear-gradient(to right, rgba(62,134,53,0.28) 0%, rgba(0,102,204,0.32) 100%);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 0;
}

.breakeven__dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.25), 0 2px 8px rgba(0,0,0,0.2);
  transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pulse-dot 2.2s ease-in-out infinite;
  z-index: 2;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,102,204,0.25), 0 2px 8px rgba(0,0,0,0.2); }
  50%       { box-shadow: 0 0 0 10px rgba(0,102,204,0.1), 0 2px 8px rgba(0,0,0,0.2); }
}

.breakeven__labels {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0,0,0,0.5);
  pointer-events: none;
}

/* ============================================================
   ARCHITECTURE ACCORDION
   ============================================================ */

.arch-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--light-2);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.arch-acc-item {
  border-bottom: 1px solid var(--light-2);
}

.arch-acc-item:last-child { border-bottom: none; }

.arch-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-text);
  transition: background 0.2s ease;
}

.arch-acc-trigger:hover { background: var(--light); }

.arch-acc-item.is-open .arch-acc-trigger { background: var(--light); }

.arch-acc-trigger__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-acc-trigger__text {
  flex: 1;
  min-width: 0;
}

.arch-acc-trigger__text h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.arch-acc-trigger__text p {
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arch-acc-trigger__tags {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.acc-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}

.arch-acc-chevron {
  color: var(--gray);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.2s ease;
}

.arch-acc-item.is-open .arch-acc-chevron {
  transform: rotate(180deg);
  color: var(--dark);
}

/* Accordion body — JS measures scrollHeight and sets explicit px height */
.arch-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.arch-acc-item.is-open .arch-acc-body {
  max-height: 1200px;
}

.arch-acc-detail {
  border-top: 1px solid var(--light-2);
}

/* Metrics bar */
.arch-acc-metrics {
  display: flex;
  border-bottom: 1px solid var(--light-2);
}

.arch-acc-metric {
  flex: 1;
  padding: 14px 20px;
  text-align: center;
  border-right: 1px solid var(--light-2);
}

.arch-acc-metric:last-child { border-right: none; }

.arch-acc-metric .val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--acc-color, var(--dark));
}

.arch-acc-metric .lbl {
  display: block;
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* 2-col body */
.arch-acc-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.arch-acc-features {
  padding: 24px;
  border-right: 1px solid var(--light-2);
}

.arch-acc-features h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 14px;
}

.arch-acc-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.arch-acc-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.8125rem;
  color: var(--dark);
  line-height: 1.5;
}

.arch-acc-features .bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.arch-acc-visual {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
}

.acc-diagram {
  width: 100%;
  max-width: 320px;
  height: auto;
}

@media (max-width: 900px) {
  .arch-acc-cols { grid-template-columns: 1fr; }
  .arch-acc-features { border-right: none; border-bottom: 1px solid var(--light-2); }
  .arch-acc-trigger__tags { display: none; }
  .arch-acc-metrics { flex-wrap: wrap; }
  .arch-acc-metric { flex: 1 1 45%; }
  .arch-acc-trigger { padding: 16px; gap: 12px; }
  .arch-acc-trigger__text p { display: none; }
}

/* ============================================================
   SECTION 07 — MIGRATION JOURNEY
   ============================================================ */

.migration-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.migration-phase {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.migration-phase__header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: color-mix(in srgb, var(--phase-color, #0066CC) 8%, #fff);
  border-bottom: 3px solid var(--phase-color, #0066CC);
}

.migration-phase__num {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--phase-color, #0066CC);
  line-height: 1;
  flex-shrink: 0;
}

.migration-phase__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--phase-color, #0066CC);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.migration-phase__icon svg {
  width: 20px;
  height: 20px;
}

.migration-phase__header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.2;
}

.migration-phase__duration {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--phase-color, #0066CC);
  background: color-mix(in srgb, var(--phase-color, #0066CC) 12%, #fff);
  border-radius: 20px;
  padding: 2px 10px;
}

.migration-phase__steps {
  list-style: none;
  padding: 20px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.migration-phase__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: #333;
  line-height: 1.5;
}

.migration-step__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.migration-phase__steps li strong {
  display: block;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.migration-phase__outcome {
  margin: 0 24px 20px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--phase-color, #0066CC) 6%, #f8f8f8);
  border-left: 3px solid var(--phase-color, #0066CC);
  border-radius: 0 6px 6px 0;
  font-size: 0.8125rem;
  color: #444;
  line-height: 1.5;
}

.migration-phase__outcome strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--phase-color, #0066CC);
  margin-bottom: 4px;
}

/* Post-migration value grid */
.post-migration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.post-mig-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-mig-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.post-mig-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-mig-card__icon svg {
  width: 22px;
  height: 22px;
}

.post-mig-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.3;
}

.post-mig-card p {
  font-size: 0.8125rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1100px) {
  .migration-phases { grid-template-columns: 1fr; }
  .post-migration-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .post-migration-grid { grid-template-columns: 1fr; }
  .migration-phase__header { flex-wrap: wrap; }
}
