/* ==========================================================================
   ALPHA DELVING — PROCESS & METHODOLOGY PAGE STYLES
   Design System: Lumina Light System (DESIGN.md)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. PROCESS HERO SECTION
   -------------------------------------------------------------------------- */
.process-hero {
  padding: 8rem 0 3.5rem 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 160, 233, 0.07) 0%, transparent 65%), #FFFFFF;
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  overflow: hidden;
}

.process-hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.process-hero-content .badge {
  margin-bottom: 1.25rem;
}

.process-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--color-brand-navy);
  margin-bottom: 1.25rem;
}

.process-hero p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--color-neutral-slate);
  margin-bottom: 2.5rem;
}

/* Hero Key Indicators / Pillar Pills */
.process-hero-indicators {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.process-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-navy);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-fast);
}

.process-indicator-pill:hover {
  border-color: var(--color-brand-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 160, 233, 0.12);
}

.process-indicator-pill .indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-cyan);
  box-shadow: 0 0 8px rgba(0, 160, 233, 0.6);
}


/* --------------------------------------------------------------------------
   3. FULL VERTICAL & ZIGZAG TIMELINE SECTION
   -------------------------------------------------------------------------- */
.process-timeline-section {
  padding: 5rem 0 6rem 0;
  background: #F8FAFC;
  position: relative;
}

.timeline-header-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4.5rem auto;
}

.timeline-header-wrap .badge {
  margin-bottom: 1rem;
}

.timeline-header-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-brand-navy);
  margin-bottom: 1rem;
}

.timeline-header-wrap p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-slate);
}

/* Timeline Track Wrapper */
.process-timeline {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Central Connecting Spine Line */
.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-full);
}

/* Animated Scroll Fill Indicator */
.timeline-spine-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-brand-cyan) 0%, #0284C7 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(0, 160, 233, 0.6);
  transition: height 0.15s ease-out;
}

/* Timeline Step Row (Zigzag) */
.timeline-step {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 5.5rem;
  width: 100%;
}

.timeline-step:last-child {
  margin-bottom: 1rem;
}

/* Central Illuminated Step Node */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 2.25rem;
  transform: translate(-50%, 0);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--color-border-subtle);
  color: var(--color-brand-navy);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition: all var(--transition-base);
}

.timeline-step.active .timeline-node {
  border-color: var(--color-brand-cyan);
  background: #FFFFFF;
  color: var(--color-brand-cyan);
  box-shadow: 0 0 0 6px rgba(0, 160, 233, 0.18), 0 8px 24px rgba(0, 160, 233, 0.3);
  transform: translate(-50%, 0) scale(1.08);
}

/* Step Card Box Container */
.timeline-card-col {
  width: calc(50% - 48px);
}

/* Left / Right Alternation */
.timeline-step:nth-child(odd) .timeline-card-col {
  margin-right: auto;
}

.timeline-step:nth-child(even) .timeline-card-col {
  margin-left: auto;
}

/* Timeline Content Card */
.timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-brand-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.timeline-card:hover,
.timeline-step.active .timeline-card {
  border-color: rgba(0, 160, 233, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 160, 233, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04);
}

.timeline-card:hover::before,
.timeline-step.active .timeline-card::before {
  opacity: 1;
}

/* Card Header */
.timeline-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.timeline-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background: #F0F9FF;
  border: 1px solid rgba(0, 160, 233, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.timeline-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.timeline-card:hover .timeline-icon-box {
  background: var(--color-brand-cyan);
  border-color: var(--color-brand-cyan);
  transform: scale(1.05);
}

.timeline-card:hover .timeline-icon-box img {
  filter: brightness(0) invert(1);
}

.timeline-meta-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.timeline-phase-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-brand-cyan);
  background: #E0F2FE;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.timeline-time-pill {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
}

/* Card Title & Content */
.timeline-card-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-brand-navy);
  margin-bottom: 0.875rem;
  line-height: 1.3;
}

.timeline-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-neutral-slate);
  margin-bottom: 1.75rem;
}

/* Deliverables Container Box */
.timeline-deliverables-box {
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.timeline-deliverables-title {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-brand-navy);
  margin-bottom: 0.75rem;
}

.timeline-deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.625rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-deliverables-grid li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 1.45;
  color: #334155;
  font-weight: 500;
}

.timeline-deliverables-grid li svg {
  width: 15px;
  height: 15px;
  fill: var(--color-brand-cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Card Bottom Micro-Bar */
.timeline-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
  font-size: 13px;
  color: #64748B;
}

.timeline-card-footer strong {
  color: var(--color-brand-navy);
}

/* --------------------------------------------------------------------------
   4. NATIONWIDE IMPACT & REACH SECTION (SECTION 10)
   -------------------------------------------------------------------------- */
.nationwide-reach-section {
  padding: 6rem 0;
  background: #FFFFFF;
  position: relative;
  border-top: 1px solid var(--color-border-subtle);
}

.reach-header-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.reach-header-wrap .badge {
  margin-bottom: 1rem;
}

.reach-header-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-brand-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.reach-header-wrap p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-slate);
}

/* 4-Stat Reach Overview Cards */
.reach-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.reach-stat-card {
  background: #F8FAFC;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.reach-stat-card:hover {
  background: #FFFFFF;
  border-color: rgba(0, 160, 233, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 160, 233, 0.12);
}

.reach-stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 800;
  color: var(--color-brand-navy);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.reach-stat-num span.accent {
  color: var(--color-brand-cyan);
}

.reach-stat-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 0.35rem;
}

.reach-stat-sub {
  font-size: 13px;
  color: #64748B;
  line-height: 1.4;
}

/* 12 High-Tech Hubs Matrix */
.hubs-block-wrap {
  margin-bottom: 4rem;
}

.hubs-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hubs-section-title span.sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
}

.hubs-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.hub-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
}

.hub-card:hover {
  border-color: var(--color-brand-cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 160, 233, 0.15);
}

.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.hub-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brand-navy);
}

.hub-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: #E0F2FE;
  color: #0369A1;
}

.hub-role {
  font-size: 13px;
  color: #475569;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.hub-coords {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 11px;
  font-family: monospace;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* State Capitals Network Ticker / Pill Cloud */
.capitals-network-card {
  background: #F8FAFC;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.capitals-header {
  margin-bottom: 1.5rem;
}

.capitals-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-brand-navy);
  margin-bottom: 0.5rem;
}

.capitals-desc {
  font-size: 14px;
  color: #64748B;
  line-height: 1.5;
}

.capitals-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.capital-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all var(--transition-fast);
}

.capital-pill:hover {
  background: #E0F2FE;
  border-color: var(--color-brand-cyan);
  color: #0369A1;
  transform: translateY(-2px);
}

.capital-pill svg {
  width: 12px;
  height: 12px;
  fill: var(--color-brand-cyan);
}

/* --------------------------------------------------------------------------
   5. METHODOLOGY COMPARISON (ALPHA DELVING VS TRADITIONAL)
   -------------------------------------------------------------------------- */
.process-comparison-section {
  padding: 5rem 0;
  background: #F8FAFC;
  border-top: 1px solid var(--color-border-subtle);
}

.comparison-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.comparison-header h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--color-brand-navy);
  margin-bottom: 1rem;
}

.comparison-header p {
  font-size: 15px;
  color: var(--color-neutral-slate);
}

.comparison-table-wrap {
  background: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #F8FAFC;
}

.comparison-table th.col-feature {
  width: 34%;
  color: #64748B;
}

.comparison-table th.col-traditional {
  width: 33%;
  color: #64748B;
}

.comparison-table th.col-dd {
  width: 33%;
  color: var(--color-brand-cyan);
  background: rgba(0, 160, 233, 0.06);
}

.comparison-table td.col-feature {
  font-weight: 600;
  color: var(--color-brand-navy);
  font-size: 14px;
}

.comparison-table td.col-traditional {
  color: #64748B;
  font-size: 14px;
}

.comparison-table td.col-dd {
  font-weight: 600;
  color: #0369A1;
  background: rgba(0, 160, 233, 0.03);
  font-size: 14px;
}

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

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .process-hero {
    padding: 6.5rem 0 3.5rem 0;
  }

  .process-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .reach-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .hubs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  /* Collapse Timeline to Left-Anchored Vertical Track */
  .timeline-spine {
    left: 24px;
    transform: none;
  }

  .timeline-node {
    left: 24px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .timeline-step.active .timeline-node {
    transform: translateX(-50%) scale(1.06);
  }

  .timeline-step {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 2.75rem;
  }

  .timeline-card-col {
    width: 100%;
    padding-left: 56px;
  }

  .timeline-step:nth-child(odd) .timeline-card-col,
  .timeline-step:nth-child(even) .timeline-card-col {
    margin: 0;
  }

  .timeline-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 767px) {
  .process-hero {
    padding: 5.5rem 0 2rem 0;
  }

  .process-hero h1 {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .process-hero p {
    font-size: 14.5px;
    margin-bottom: 1.5rem;
  }

  .process-hero-indicators {
    gap: 0.5rem;
  }

  .process-indicator-pill {
    padding: 0.45rem 0.85rem;
    font-size: 12px;
  }

  .timeline-section {
    padding: 3.5rem 0;
  }

  .timeline-deliverables-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-deliverables-wrap {
    padding: 1rem;
    border-radius: 12px;
  }

  .reach-section {
    padding: 3.5rem 0;
  }

  .reach-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .reach-stat-card {
    padding: 1.25rem 1rem;
  }

  .reach-stat-num {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hubs-block-wrap {
    margin-bottom: 2.5rem;
  }

  .hubs-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hub-card {
    padding: 1.25rem 1rem;
  }

  .capitals-network-card {
    padding: 1.5rem 1.15rem;
    border-radius: 16px;
  }

  .capitals-pills-wrap {
    gap: 0.5rem;
  }

  .capital-pill {
    font-size: 12px;
    padding: 0.35rem 0.75rem;
  }

  .process-comparison-section {
    padding: 3.5rem 0;
  }

  .comparison-header {
    margin-bottom: 2rem;
  }

  .comparison-table-wrap {
    border-radius: 16px;
  }

  .comparison-table {
    min-width: 600px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.85rem 1rem;
    font-size: 12.5px;
  }

  .comparison-table th.col-feature,
  .comparison-table td.col-feature {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #FFFFFF;
    box-shadow: 2px 0 8px -2px rgba(15, 23, 42, 0.08);
  }

  .comparison-table th.col-feature {
    background: #F8FAFC;
    z-index: 3;
  }

  .comparison-table td.col-feature,
  .comparison-table td.col-traditional,
  .comparison-table td.col-dd {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .timeline-spine {
    left: 16px;
  }

  .timeline-node {
    left: 16px;
    width: 34px;
    height: 34px;
    font-size: 12.5px;
  }

  .timeline-card-col {
    padding-left: 40px;
  }

  .timeline-card {
    padding: 1.25rem 0.95rem;
    border-radius: 16px;
  }

  .timeline-icon-box {
    width: 44px;
    height: 44px;
  }

  .reach-stats-grid {
    grid-template-columns: 1fr;
  }
}
