/* CLEAR Landing Page - Static CSS */
/* Based on IEEE Spectrum Design System */

/* CSS Custom Properties */
:root {
  /* Primary Colors */
  --orange: #fd5a00;
  --orange-accent: #FF6B35;
  --coral: #FF8A73;
  --coral-light: #FF6B4A;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --black: #0D0D0D;

  /* Accent Colors */
  --teal: #49ADC1;
  --blue: #4A90E2;
  --blue-light: #93C5FD;

  /* Background */
  --bg-cream: rgba(254, 247, 243, 1);
  --bg-timeline: #FAF7F4;

  /* Typography */
  --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 5rem;
  --header-height: 64px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  transition: transform 0.3s ease;
}

.header.hidden-up {
  transform: translateY(-100%);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wordmark {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-nrc {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.25rem 0.5rem;
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--orange);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--black);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--orange);
  padding-top: var(--header-height);
  position: relative;
  overflow: visible;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-globe {
  order: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 280px;
  padding: 3rem 0;
}

#globe {
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.2));
  cursor: grab;
}

#globe:active {
  cursor: grabbing;
}

.globe-sphere {
  fill: rgba(74, 144, 226, 0.7);
  mix-blend-mode: multiply;
}

.globe-land {
  fill: rgba(76, 175, 80, 0.85);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 0.4;
  mix-blend-mode: multiply;
}

.globe-graticule {
  fill: none;
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 0.5;
}

.globe-border {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 2;
}

/* Pin styling */
.pin-shadow {
  fill: rgba(0, 0, 0, 0.15);
}

.pin-body {
  fill: #FFFFFF;
  stroke: var(--orange);
  stroke-width: 1.5;
}

.pin-dot {
  fill: var(--orange);
}

.pin-pulse {
  fill: none;
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 2;
  opacity: 0;
  animation: pulse-ring 2s ease-out infinite;
}

.pin-pulse-2 {
  animation-delay: 0.6s;
}

@keyframes pulse-ring {
  0% {
    opacity: 0.8;
    stroke-width: 3;
  }
  100% {
    opacity: 0;
    stroke-width: 1;
  }
}

.hero-content {
  padding: 1rem;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  background: var(--white);
  border: 1px solid var(--white);
  padding: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}


@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }

  .hero-globe {
    order: 1;
    height: 500px;
    padding: 0;
  }

  .globe-container {
    width: 400px;
    height: 400px;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--orange);
}

.btn-white:hover {
  background: var(--gray-100);
}

/* Sections */
.section {
  padding: var(--section-padding) 0;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--gray-500);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 2.75rem;
  }
}

/* Vision Section */
.vision-text {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.vision-paragraph {
  font-size: 1.5rem;
  color: var(--gray-800);
  line-height: 1.5;
  font-weight: 300;
}

/* Vision Graphic */
.vision-graphic {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 0;
}

.vision-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.vision-headline {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--gray-800);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .vision-headline {
    font-size: 2.25rem;
  }
}

/* Three Pillars */
.vision-pillars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .vision-pillars {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pillar-icon {
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.pillar-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.pillar-icon-light {
  background: rgba(255, 76, 0, 0.08);
  color: var(--orange);
}

.pillar-icon-dark {
  background: var(--orange);
  color: var(--white);
}

@media (min-width: 768px) {
  .pillar-icon {
    width: 7rem;
    height: 7rem;
  }

  .pillar-icon svg {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.pillar-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.4;
}

.pillar-arrow {
  display: none;
  color: var(--gray-400);
  padding: 0 0.5rem;
}

.pillar-arrow svg {
  width: 2.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .pillar-arrow {
    display: flex;
    align-items: center;
    margin-top: -2rem;
  }
}

/* Comparison Bars */
.vision-comparison {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-200);
}

.comparison-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.comparison-row:last-child {
  margin-bottom: 0;
}

.comparison-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 4rem;
  text-align: left;
}

.comparison-label-today {
  color: var(--orange);
}

.comparison-label-clear {
  color: var(--gray-700);
}

.comparison-bar {
  flex: 1;
  height: 0.5rem;
  background: var(--gray-100);
  position: relative;
}

.bar-today {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right, var(--orange) 0%, var(--coral) 50%, #C9A086 100%);
}

.bar-clear {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 25%;
  background: var(--orange);
}

.comparison-time {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  width: 5rem;
  text-align: right;
}

.comparison-time-today {
  color: var(--coral);
}

.comparison-time-clear {
  color: var(--gray-700);
}

/* Vision Tagline */
.vision-tagline {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.vision-tagline strong {
  color: var(--orange);
  font-weight: 600;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Card Styles */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 76, 0, 0.1);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--orange);
}

.card-icon.icon-teal svg {
  stroke: var(--teal);
}

.card-icon.icon-gray svg {
  stroke: var(--gray-500);
}

.card-icon.icon-accent svg {
  stroke: var(--orange-accent);
}

.card-icon.icon-orange svg {
  stroke: var(--orange);
}

.card-icon-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.card-icon-sm {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.card:hover .card-icon-sm {
  transform: scale(1.1);
}

.card-icon-sm svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--orange);
}

.card-icon-sm.icon-gray svg {
  stroke: var(--gray-500);
}

.card-icon-sm.icon-accent svg {
  stroke: var(--orange-accent);
}

.card-icon-sm.icon-orange svg {
  stroke: var(--orange);
}

.card-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.card-title-inline {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  text-transform: uppercase;
}

.card-text {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Signup Section */
.signup-box {
  background: var(--orange);
  padding: 3rem 2rem;
}

.signup-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.signup-text {
  color: var(--white);
}

.signup-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.signup-subtitle {
  font-size: 1rem;
  opacity: 0.9;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.signup-input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 2px solid var(--white);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
}

.signup-input:focus {
  border-color: var(--gray-300);
}

.signup-input::placeholder {
  color: var(--gray-400);
}

.signup-success,
.signup-error {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--white);
  padding: 0.75rem;
  text-align: center;
}

.signup-error {
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .signup-box {
    padding: 3rem;
  }

  .signup-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .signup-text {
    flex: 1;
  }

  .signup-title {
    font-size: 1.75rem;
  }

  .signup-form {
    flex: 1;
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: var(--white);
  color: var(--gray-800);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--gray-200);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.nrc-logo {
  height: 45px;
  width: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-right {
  align-items: flex-start;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.footer-address {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-email {
  font-size: 0.875rem;
  color: var(--orange);
  transition: opacity 0.2s ease;
}

.footer-email:hover {
  opacity: 0.8;
}

.footer-stat-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--orange);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-stat {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 300;
  color: var(--orange);
}

.footer-stat-text {
  font-size: 0.8rem;
  color: var(--gray-500);
  max-width: 200px;
  text-align: right;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-copyright p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--gray-500);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gray-800);
}

.footer-link-orange {
  color: var(--orange) !important;
}

.footer-link-orange:hover {
  opacity: 0.8;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-col-right {
    align-items: flex-end;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.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; }
.delay-5 { transition-delay: 0.5s; }

/* ========================================
   Components Hub - Integrated Ecosystem
   ======================================== */

.components-hub-card {
  background: white;
  padding: 48px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.06);
  max-width: 1000px;
  margin: 0 auto;
}

.hub-header {
  text-align: center;
  margin-bottom: 40px;
}

.hub-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E85D3D;
  margin-bottom: 12px;
}

.hub-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

/* Hub Layout */
.hub-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  aspect-ratio: 1.3;
}

/* Center hub */
.center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #E85D3D 0%, #D14D2D 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  box-shadow: 0 8px 32px rgba(232, 93, 61, 0.3);
  z-index: 10;
}

.hub-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 4px;
}

.hub-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Component cards */
.component {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  padding: 20px 16px 16px;
  width: 160px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #F0F0EE;
}

.component-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.component-icon svg {
  width: 22px;
  height: 22px;
}

.component-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 3px;
  line-height: 1.3;
}

.component-desc {
  font-size: 10px;
  color: #888;
  line-height: 1.3;
  margin-bottom: 12px;
}

/* Ecosystem tags */
.ecosystem-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.eco-tag {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 500;
  background: #F8F8F6;
  color: #666;
}

/* Component positions */
.component-detect {
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.component-analyze {
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
}

.component-field {
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
}

.component-cash {
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* Component colors */
.component-icon-detect {
  background: #FEF3F0;
  color: #E85D3D;
}

.component-icon-analyze {
  background: #FFF8F0;
  color: #E8923D;
}

.component-icon-field {
  background: #F0F7F4;
  color: #2D7A5F;
}

.component-icon-cash {
  background: #FEF7F0;
  color: #D97B35;
}

/* Connection lines */
.connections {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection-line {
  position: absolute;
  background: #E8E8E6;
  z-index: 1;
}

.line-top {
  width: 2px;
  height: calc(50% - 130px);
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.line-bottom {
  width: 2px;
  height: calc(50% - 130px);
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.line-left {
  height: 2px;
  width: calc(50% - 160px);
  left: 140px;
  top: 50%;
  transform: translateY(-50%);
}

.line-right {
  height: 2px;
  width: calc(50% - 160px);
  right: 140px;
  top: 50%;
  transform: translateY(-50%);
}

/* Flow dots */
.flow-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #E85D3D;
  opacity: 0;
}

.line-top .flow-dot {
  left: -2px;
  animation: flow-down 2.5s ease-in-out infinite;
}

.line-bottom .flow-dot {
  left: -2px;
  animation: flow-up 2.5s ease-in-out infinite;
  animation-delay: 0.6s;
}

.line-left .flow-dot {
  top: -2px;
  animation: flow-right 2.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

.line-right .flow-dot {
  top: -2px;
  animation: flow-left 2.5s ease-in-out infinite;
  animation-delay: 0.9s;
}

@keyframes flow-down {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes flow-up {
  0% { bottom: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 100%; opacity: 0; }
}

@keyframes flow-right {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@keyframes flow-left {
  0% { right: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { right: 100%; opacity: 0; }
}

/* Footer */
.hub-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E8E8E6;
}

.hub-tagline {
  font-size: 14px;
  color: #666;
}

.hub-tagline strong {
  color: #E85D3D;
  font-weight: 600;
}

/* Responsive adjustments for hub */
@media (max-width: 768px) {
  .components-hub-card {
    padding: 24px 16px;
  }

  .hub-container {
    aspect-ratio: auto;
    min-height: 600px;
  }

  .component {
    width: 140px;
    padding: 16px 12px 12px;
  }

  .component-detect {
    top: 0;
  }

  .component-analyze {
    left: 0;
  }

  .component-field {
    right: 0;
  }

  .component-cash {
    bottom: 0;
  }

  .center-hub {
    width: 100px;
    height: 100px;
  }

  .hub-icon {
    width: 24px;
    height: 24px;
  }

  .hub-label {
    font-size: 9px;
  }

  .line-top,
  .line-bottom {
    height: calc(50% - 110px);
  }

  .line-left,
  .line-right {
    width: calc(50% - 140px);
  }

  .line-left {
    left: 120px;
  }

  .line-right {
    right: 120px;
  }
}

/* ========================================
   Challenges Section - Humanitarian Challenge
   ======================================== */

.challenges-card {
  background: white;
  padding: 48px;
  box-shadow: 0 4px 60px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

.challenges-header {
  text-align: center;
  margin-bottom: 48px;
}

.challenges-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #B85450;
  margin-bottom: 12px;
}

.challenges-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}

/* Challenge Grid */
.challenges-grid-wrapper {
  position: relative;
}

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

.challenges-grid-8 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.challenge {
  background: #FAFAF8;
  padding: 28px 24px;
  position: relative;
  border: 1px solid #F0F0EE;
}

.challenge-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.challenge-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.challenge-icon svg {
  width: 22px;
  height: 22px;
}

.challenge-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  padding-top: 2px;
  text-transform: none;
  margin-bottom: 0;
}

.challenge-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

/* Challenge colors - muted warning palette */
.challenge-fragmentation .challenge-icon {
  background: #FCEEED;
  color: #B85450;
}

.challenge-warning .challenge-icon {
  background: #FEF6ED;
  color: #C4793C;
}

.challenge-delays .challenge-icon {
  background: #FDF5E8;
  color: #B8923C;
}

.challenge-ai .challenge-icon {
  background: #F0F4F8;
  color: #5A7A94;
}

/* New challenge colors for additional 4 cards */
.challenge-data .challenge-icon {
  background: #EEF4F0;
  color: #4A7C59;
}

.challenge-collab .challenge-icon {
  background: #F3EEF8;
  color: #6B5B7A;
}

.challenge-barriers .challenge-icon {
  background: #FFF4ED;
  color: #C45D35;
}

.challenge-voices .challenge-icon {
  background: #EDF4F8;
  color: #3D6E8D;
}

/* Center broken symbol */
.challenges-center-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 10;
}

.challenges-center-symbol svg {
  width: 24px;
  height: 24px;
  color: #B85450;
}

/* Dashed connection lines between quadrants */
.challenges-connection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.challenges-dashed-h {
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #D8D8D6 0px,
    #D8D8D6 6px,
    transparent 6px,
    transparent 12px
  );
  transform: translateY(-50%);
}

.challenges-dashed-v {
  position: absolute;
  left: 50%;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    #D8D8D6 0px,
    #D8D8D6 6px,
    transparent 6px,
    transparent 12px
  );
  transform: translateX(-50%);
}

/* Challenges Footer */
.challenges-footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid #E8E8E6;
}

.challenges-tagline {
  font-size: 14px;
  color: #666;
}

.challenges-tagline strong {
  color: #B85450;
  font-weight: 600;
}

/* Hide center symbol and dashed lines for 8-card grid */
.challenges-grid-8 + .challenges-center-symbol,
.challenges-grid-8 ~ .challenges-center-symbol {
  display: none;
}

.challenges-grid-8 ~ .challenges-connection-overlay,
.challenges-grid-wrapper:has(.challenges-grid-8) .challenges-connection-overlay,
.challenges-grid-wrapper:has(.challenges-grid-8) .challenges-center-symbol {
  display: none;
}

/* Responsive adjustments for challenges */
@media (max-width: 1200px) {
  .challenges-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .challenges-card {
    padding: 24px 16px;
  }

  .challenges-grid,
  .challenges-grid-8 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .challenge {
    padding: 20px 16px;
  }

  .challenges-center-symbol {
    display: none;
  }

  .challenges-dashed-h,
  .challenges-dashed-v {
    display: none;
  }
}
