/* ==========================================================================
   ANYSOLVED - SLEEK & COMPACT STYLING WITH 3D WATERFALL ECOSYSTEM
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-dark: #060b14;
  --bg-dark-card: #0c1220;
  --bg-dark-surface: #101828;
  --bg-light: #ffffff;
  --bg-light-alt: #f8fafc;
  --bg-light-surface: #f1f5f9;

  --text-white: #ffffff;
  --text-gray-light: #94a3b8;
  --text-gray-muted: #64748b;
  --text-dark: #0f172a;
  --text-dark-dim: #334155;

  --accent-cyan: #38bdf8;
  --accent-cyan-glow: #00f0ff;
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-navy: #032b50;

  --color-green: #10b981;
  --color-amber: #f59e0b;
  --color-purple: #8b5cf6;
  --color-rose: #f43f5e;

  /* Radiant Sunset & Aurora Prism Tokens */
  --brand-pink: #f43f5e;
  --brand-rose: #ec4899;
  --brand-magenta: #d946ef;
  --brand-purple: #a855f7;
  --brand-indigo: #6366f1;
  --brand-apricot: #fb923c;
  --brand-coral: #ff758c;
  --brand-sunset-gradient: linear-gradient(135deg, #f43f5e 0%, #ec4899 26%, #a855f7 54%, #6366f1 78%, #f97316 100%);
  --brand-sunset-subtle: linear-gradient(135deg, rgba(244, 63, 94, 0.07) 0%, rgba(217, 70, 239, 0.05) 35%, rgba(168, 85, 247, 0.05) 70%, rgba(251, 146, 60, 0.06) 100%);
  --brand-aurora-glow: 0 0 24px rgba(236, 72, 153, 0.35);

  /* Stripe-Style Horizon Ray Burst Variables */
  --burst-bg-top: rgb(55, 48, 163);
  --burst-bg-bottom: #1e1b4b;
  --burst-glow-color: #818cf8;
  --burst-accent-color: #6366f1;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation */
  --shadow-card: 0 4px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 28px -6px rgba(2, 132, 199, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(56, 189, 248, 0.3);

  /* Layout Compact Measurements */
  --max-width: 1200px;
  --nav-height: 62px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
  background-color: var(--bg-dark);
  scrollbar-width: thin;
  scrollbar-color: #ec4899 #060b14;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Radiant Sunset Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #060b14;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f43f5e 0%, #ec4899 30%, #a855f7 65%, #6366f1 100%);
  border-radius: 6px;
  border: 2px solid #060b14;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fb7185 0%, #f43f5e 30%, #c084fc 65%, #818cf8 100%);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

section {
  scroll-margin-top: 76px;
}

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

/* Common Typography & Badges */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.section-tag-cyan {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

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

.section-sub-dark {
  color: var(--text-gray-light);
  font-size: 0.92rem;
  max-width: 620px;
  line-height: 1.55;
}

.text-highlight {
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons - Sleek & Compact */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-primary {
  background: var(--brand-sunset-gradient);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff6b9d 0%, #d946ef 45%, #f97316 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(236, 72, 153, 0.5);
}

.btn-primary .arrow {
  transition: transform 0.2s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.btn-outline {
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-outline-dark {
  color: var(--accent-blue);
  border: 1.5px solid var(--accent-blue);
  background: transparent;
}

.btn-outline-dark:hover {
  background: #f0f9ff;
  transform: translateY(-1px);
}

.btn-outline-white {
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-glass {
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(10px);
}

.btn-outline-glass:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: var(--text-white);
  transform: translateY(-1px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.88rem;
}

.link-arrow:hover {
  color: var(--accent-blue-hover);
}

.link-arrow .arrow {
  transition: transform 0.2s ease;
}

.link-arrow:hover .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

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

/* Brand Logo with D:\anysolved\assets\logo.png */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.35));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand-tagline {
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.45));
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  color: #334155;
  font-size: 0.85rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ec4899;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  background: transparent;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #0f172a;
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   HERO & 3D CYBER ECOSYSTEM SHOWCASE (LIGHT THEME LUXURY)
   ========================================================================== */
.ecosystem-hero-section {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  min-height: 0;
  background-color: #f8fafc;
  color: var(--text-dark);
  overflow: hidden;
  padding-top: var(--nav-height);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Ambient Space Background with Subtle Sunset Glows */
.hero-cosmic-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 40%, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
}

/* Subtle Animated Cosmic Nebula Atmosphere (Smooth living space) */
.cosmic-nebula-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle 500px at 22% 35%, rgba(244, 63, 94, 0.08) 0%, transparent 75%),
    radial-gradient(circle 550px at 78% 65%, rgba(168, 85, 247, 0.07) 0%, transparent 75%),
    radial-gradient(circle 420px at 50% 40%, rgba(56, 189, 248, 0.06) 0%, transparent 75%);
  filter: blur(40px);
  animation: nebulaBreathe 20s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes nebulaBreathe {
  0% {
    opacity: 0.55;
    transform: scale(1) translateY(0);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.05) translateY(-10px);
  }
  100% {
    opacity: 0.60;
    transform: scale(0.97) translateY(6px);
  }
}

/* Dynamic Animated Drifting Star Grid */
.cosmic-grid-dust {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background-image: radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridDrift 90s linear infinite;
  opacity: 0.22;
}

@keyframes gridDrift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, -20px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.cosmic-meteor {
  display: none;
}

@keyframes shootMeteor1 {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-35deg) scaleX(0.2);
  }
  3% {
    opacity: 1;
    transform: translate(-120px, 80px) rotate(-35deg) scaleX(1);
  }
  6% {
    opacity: 0;
    transform: translate(-240px, 160px) rotate(-35deg) scaleX(1.3);
  }
  100% {
    opacity: 0;
    transform: translate(-240px, 160px) rotate(-35deg);
  }
}

@keyframes shootMeteor2 {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(-40deg) scaleX(0.2);
  }
  3% {
    opacity: 0.9;
    transform: translate(-130px, 100px) rotate(-40deg) scaleX(1);
  }
  6% {
    opacity: 0;
    transform: translate(-270px, 210px) rotate(-40deg) scaleX(1.4);
  }
  100% {
    opacity: 0;
    transform: translate(-270px, 210px) rotate(-40deg);
  }
}

/* Main Hero Grid Layout */
.ecosystem-hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.hero-left-col,
.hero-select-card,
.satellite-node,
.globe-center-emblem,
.hero-right-col {
  pointer-events: auto;
}

/* LEFT COLUMN: Mission & Interactive Selectors */
.hero-left-col {
  position: absolute;
  left: clamp(20px, 4.3vw, 48px);
  top: clamp(80px, 14.5%, 130px);
  width: clamp(280px, 22vw, 325px);
  max-width: 325px;
  z-index: 10;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}

.hero-main-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.65rem, 2.15vw, 2.15rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 0.55rem;
}

.text-cyan-glow {
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.nowrap-line {
  white-space: nowrap;
}

.hero-main-desc {
  font-size: clamp(0.82rem, 0.92vw, 0.90rem);
  line-height: 1.5;
  color: #475569;
  margin-bottom: 0.95rem;
  max-width: 310px;
  font-weight: 400;
}

/* 3 Interactive Cards */
.hero-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  width: 100%;
  max-width: 310px;
}

.hero-select-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.hero-select-card:hover {
  background: #ffffff;
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow: 0 8px 24px -4px rgba(236, 72, 153, 0.16);
  transform: translateY(-1px);
}

.hero-select-card.active {
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.08) 0%, rgba(255, 255, 255, 0.98) 45%);
  border: 1.5px solid #ec4899;
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.22), inset 0 0 12px rgba(236, 72, 153, 0.05);
}

.card-icon-box {
  width: 25px;
  height: 25px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.hero-select-card.active .card-icon-box {
  background: transparent;
  border: none;
  color: #ec4899;
}

.card-svg {
  width: 22px;
  height: 22px;
}

.card-text-block {
  flex: 1;
  min-width: 0;
}

.card-tier-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 1px;
  display: block;
}

.hero-select-card.active .card-tier-label {
  color: #ec4899;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  white-space: nowrap;
}

.card-count {
  font-weight: 500;
  color: #64748b;
  font-size: 0.90rem;
}

.card-chevron {
  color: #94a3b8;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.chevron-svg {
  width: 17px;
  height: 17px;
}

.hero-select-card:hover .card-chevron,
.hero-select-card.active .card-chevron {
  color: #ec4899;
  transform: translateX(3px);
}

/* CENTER STAGE: 3D Holographic Cyber Globe & Orbit */
.hero-center-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.ecosystem-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

#ecosystem-canvas-3d {
  width: 100% !important;
  height: 100% !important;
  outline: none;
  display: block;
}

/* Center Core Alignment Anchor (invisible anchor for 3D globe alignment) */
.globe-center-anchor {
  position: absolute;
  left: 60%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* Center Core Glowing AnySolved Shield (Exact reference: x=644px, y=207px) */
.globe-center-emblem {
  position: absolute;
  left: 60%;
  top: 48%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.center-emblem-glow {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22) 0%, rgba(244, 63, 94, 0.10) 50%, transparent 75%);
  border-radius: 50%;
  filter: blur(14px);
}

.center-emblem-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.35)) drop-shadow(0 0 16px rgba(236, 72, 153, 0.25));
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 2;
}

.center-emblem-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.center-emblem-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.30rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 2px 6px rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}

.center-emblem-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-top: 2px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(236, 72, 153, 0.6));
}

/* Connecting SVG Light Beams Overlay */
.nodes-filaments-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.pulse-beam {
  stroke-dasharray: 6 6;
  animation: pulseBeamFlow 3s linear infinite;
}

@keyframes pulseBeamFlow {
  from {
    stroke-dashoffset: 48;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* 5 Satellite Orbiting Node Badges (Exact Mathematical Pixel Alignment from Reference) */
.satellite-node {
  position: absolute;
  z-index: 12;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.satellite-node:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

/* Exact Pixel Centers relative to stage center matching reference */
.node-pos-businesses {
  left: calc(60% - 150px);
  top: calc(48% - 145px);
}

.node-pos-ideas {
  left: calc(60% + 120px);
  top: calc(48% - 160px);
}

.node-pos-communities {
  left: calc(60% + 220px);
  top: calc(48% + 5px);
}

.node-pos-sustainability {
  left: calc(60% + 115px);
  top: calc(48% + 155px);
}

.node-pos-technology {
  left: calc(60% - 170px);
  top: calc(48% + 110px);
}

/* Labels positioned relative to the badge center matching reference mockup */
.satellite-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95), 0 0 4px #ffffff;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.01em;
}

.node-pos-businesses .satellite-label {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}

.node-pos-technology .satellite-label {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}

.node-pos-ideas .satellite-label {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
}

.node-pos-communities .satellite-label {
  position: absolute;
  left: calc(100% + 4px);
  top: 14px;
}

.node-pos-sustainability .satellite-label {
  position: absolute;
  left: calc(100% + 4px);
  top: 14px;
}

.satellite-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.satellite-node:hover .satellite-badge {
  transform: scale(1.10);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
}

.node-svg {
  width: 20px;
  height: 20px;
}

/* 5 Node Badges: Clean translucent frosted capsules with radiant colored borders */
.badge-amber {
  border-radius: 12px;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.65), 0 4px 12px rgba(245, 158, 11, 0.20);
}

.badge-cyan {
  border-radius: 50%;
  border: 2px solid #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.65), 0 4px 12px rgba(56, 189, 248, 0.20);
}

.badge-purple {
  border-radius: 50%;
  border: 2px solid #c084fc;
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.65), 0 4px 12px rgba(192, 132, 252, 0.20);
}

.badge-emerald {
  border-radius: 50%;
  border: 2px solid #34d399;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.65), 0 4px 12px rgba(52, 211, 153, 0.20);
}

.badge-pink {
  border-radius: 12px;
  border: 2px solid #f472b6;
  box-shadow: 0 0 16px rgba(244, 114, 182, 0.65), 0 4px 12px rgba(244, 114, 182, 0.20);
}

.badge-amber .node-svg { color: #d97706; filter: drop-shadow(0 0 2px rgba(217, 119, 6, 0.5)); }
.badge-cyan .node-svg { color: #0284c7; filter: drop-shadow(0 0 2px rgba(2, 132, 199, 0.5)); }
.badge-purple .node-svg { color: #9333ea; filter: drop-shadow(0 0 2px rgba(147, 51, 234, 0.5)); }
.badge-emerald .node-svg { color: #059669; filter: drop-shadow(0 0 2px rgba(5, 150, 105, 0.5)); }
.badge-pink .node-svg { color: #e11d48; filter: drop-shadow(0 0 2px rgba(225, 29, 72, 0.5)); }

/* RIGHT COLUMN: Slogan & Mission Pillars */
.hero-right-col {
  position: absolute;
  right: clamp(16px, 2.8vw, 32px);
  top: 130px;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  z-index: 10;
  pointer-events: auto;
}

.right-col-divider {
  position: relative;
  width: 2px;
  height: 155px;
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.70) 0%, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.05) 100%);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.35);
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 999px;
}

/* Streaming photon laser packet running continuously down the hairline divider */
.right-col-divider::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -1px;
  width: 4px;
  height: 55px;
  background: linear-gradient(180deg, transparent 0%, #00f0ff 45%, #ffffff 50%, #00f0ff 55%, transparent 100%);
  box-shadow: 0 0 14px #00f0ff, 0 0 6px #ffffff;
  filter: blur(0.5px);
  animation: dividerLaserStream 3.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes dividerLaserStream {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(220px);
    opacity: 0;
  }
}

.right-col-content {
  display: flex;
  flex-direction: column;
}

.right-accent-bar {
  position: relative;
  width: 22px;
  height: 3.5px;
  background: #00d2ff;
  border-radius: 2px;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.85), 0 0 25px rgba(0, 210, 255, 0.45);
  animation: accentBarPulse 2.8s ease-in-out infinite alternate;
  overflow: hidden;
}

.right-accent-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: accentBarScan 2.8s ease-in-out infinite;
}

@keyframes accentBarPulse {
  0% {
    transform: scaleX(1);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.7), 0 0 18px rgba(0, 210, 255, 0.35);
  }
  100% {
    transform: scaleX(1.15);
    box-shadow: 0 0 16px rgba(0, 240, 255, 1.0), 0 0 32px rgba(0, 210, 255, 0.65);
  }
}

@keyframes accentBarScan {
  0%, 20% {
    left: -100%;
  }
  60%, 100% {
    left: 100%;
  }
}

.right-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
  text-shadow: none;
  transition: text-shadow 0.4s ease;
}

.hero-right-col:hover .right-headline {
  color: #ec4899;
}

.right-subtext {
  font-size: clamp(0.78rem, 0.85vw, 0.86rem);
  color: #64748b;
  line-height: 1.6;
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

.right-subtext p {
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.right-subtext p:nth-child(1) {
  animation: subtextGlowCycle 6s ease-in-out 0s infinite;
}

.right-subtext p:nth-child(2) {
  animation: subtextGlowCycle 6s ease-in-out 2s infinite;
}

.right-subtext p:nth-child(3) {
  animation: subtextGlowCycle 6s ease-in-out 4s infinite;
}

@keyframes subtextGlowCycle {
  0%, 100% {
    color: #64748b;
    transform: translateX(0);
  }
  15%, 35% {
    color: #ec4899;
    transform: translateX(2px);
  }
  50% {
    color: #64748b;
    transform: translateX(0);
  }
}

.hero-right-col:hover .right-subtext p {
  color: #334155;
}

.hero-right-col:hover .right-subtext p:hover {
  color: #ec4899;
  transform: translateX(4px);
}

/* BOTTOM METRICS BAR (Horizontal Stats Across Bottom - Light Theme) */
.ecosystem-stats-bar {
  position: relative;
  z-index: 6;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0.35rem 2rem 0.4rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stats-metric-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  position: relative;
}

.stats-metric-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #e2e8f0;
}

.stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
  font-weight: 800;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-infinity {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 0.85;
}

.stat-label {
  font-size: clamp(0.72rem, 0.8vw, 0.82rem);
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.01em;
  margin: 0;
}

/* Responsive adjustments for Tablets & Mobile */
@media (max-width: 1200px) {
  .ecosystem-hero-container {
    grid-template-columns: 320px 1fr 180px;
    padding: 1rem 1.5rem;
  }
  .hero-main-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 992px) {
  .ecosystem-hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-left-col {
    align-items: center;
    text-align: center;
  }
  .hero-main-desc {
    max-width: 500px;
  }
  .hero-cards-stack {
    max-width: 480px;
  }
  .hero-right-col {
    display: none;
  }
  .ecosystem-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .hero-main-title {
    font-size: 2.1rem;
  }
  .hero-center-stage {
    height: 480px;
  }
  .satellite-node {
    transform: scale(0.85);
  }
  .ecosystem-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  .stat-number {
    font-size: 1.85rem;
  }
}

/* ==========================================================================
   ABOUT US SECTION - COMPACT
   ========================================================================== */
.about-section {
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(244, 63, 94, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.04) 0%, transparent 45%);
  padding: 2.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.25rem;
  align-items: center;
}

.about-lead {
  max-width: 400px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-dark-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-lifecycle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  position: relative;
  gap: 0.25rem;
}

.lifecycle-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0px;
  min-width: 0;
}

.step-icon-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff5f7;
  border: 1.5px solid #fecdd3;
  color: var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: 0 3px 12px rgba(244, 63, 94, 0.08);
}

.step-icon-bubble svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: stroke 0.2s ease;
}

.lifecycle-step:nth-child(1) .step-icon-bubble { background: #fff1f2; border-color: #fecdd3; color: #f43f5e; }
.lifecycle-step:nth-child(3) .step-icon-bubble { background: #fdf4ff; border-color: #f5d0fe; color: #d946ef; }
.lifecycle-step:nth-child(5) .step-icon-bubble { background: #faf5ff; border-color: #e9d5ff; color: #a855f7; }
.lifecycle-step:nth-child(7) .step-icon-bubble { background: #eef2ff; border-color: #c7d2fe; color: #6366f1; }
.lifecycle-step:nth-child(9) .step-icon-bubble { background: #fff7ed; border-color: #fed7aa; color: #f97316; }

.lifecycle-step:hover .step-icon-bubble {
  transform: translateY(-3px) scale(1.06);
  background: var(--brand-sunset-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.35);
}

.lifecycle-step:hover .step-icon-bubble svg {
  stroke: #ffffff;
}

.step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.035em;
  text-transform: uppercase;
  min-height: 2.35rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  margin: 0 0 0.35rem 0;
  width: 100%;
}

.step-sub {
  font-size: 0.72rem;
  color: var(--text-gray-muted);
  line-height: 1.35;
  max-width: 115px;
  margin: 0 auto;
  text-align: center;
  min-height: 2.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.lifecycle-arrow {
  height: 56px;
  width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #94a3b8;
  margin: 0;
  padding: 0;
  user-select: none;
}

.lifecycle-arrow svg {
  width: 16px;
  height: 16px;
  stroke: #94a3b8;
  stroke-width: 2;
  display: block;
}

/* ==========================================================================
   PORTFOLIO & VENTURE ECOSYSTEM - LIGHT MODERN ELEVATION SHOWCASE
   ========================================================================== */
.portfolio-section {
  background-color: #fdfcff;
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(244, 63, 94, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(168, 85, 247, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(251, 146, 60, 0.02) 0%, transparent 60%);
  padding: 3rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.85rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.portfolio-title-group {
  max-width: 620px;
}

.portfolio-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.portfolio-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #e11d48;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.count-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 8px #f43f5e;
  animation: beaconPing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.portfolio-sub {
  color: var(--text-dark-dim);
  font-size: 0.95rem;
  max-width: 620px;
  line-height: 1.55;
}

.portfolio-tabs {
  display: inline-flex;
  gap: 0.35rem;
  background: #ffffff;
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-tab {
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.filter-tab .tab-count {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-pill);
  background: #f1f5f9;
  color: #475569;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  color: #0f172a;
  background: #f8fafc;
}

.filter-tab.active {
  background: var(--brand-sunset-gradient);
  color: #ffffff;
  box-shadow: 0 3px 14px rgba(244, 63, 94, 0.35);
}

.filter-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Tier Blocks */
.portfolio-tier-block {
  margin-bottom: 2rem;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-tier-block.fade-out {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  pointer-events: none;
}

.tier-label-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tier-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tier-number {
  font-size: 1.45rem;
  font-weight: 800;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.tier-number-cyan {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tier-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: #f43f5e;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tier-tag-green {
  color: #a855f7;
}

.tier-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.tier-desc {
  font-size: 0.85rem;
  color: #64748b;
  max-width: 480px;
  line-height: 1.5;
}

/* Cards Grids */
.portfolio-grid {
  display: grid;
  gap: 1.15rem;
  align-items: stretch;
}

.companies-grid {
  grid-template-columns: repeat(4, 1fr);
}

.projects-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   COMPANY & PROJECT CARDS - RADIANT AURORA PRISM & 3D INTERACTIVITY
   ========================================================================== */
.company-card {
  position: relative;
  background: linear-gradient(168deg, #ffffff 0%, #ffffff 65%, rgba(254, 242, 246, 0.65) 100%), #ffffff;
  background-image: radial-gradient(circle at 90% 12%, rgba(244, 63, 94, 0.06) 0%, rgba(168, 85, 247, 0.04) 40%, transparent 70%);
  border: 1px solid rgba(244, 63, 94, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 18px -2px rgba(244, 63, 94, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Multi-hue radiant sunset top rail */
.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--brand-sunset-gradient);
  opacity: 0.92;
  transition: all 0.3s ease;
  z-index: 4;
}

/* Holographic animated gradient border on hover */
.company-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--brand-sunset-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 3;
}

.company-card:hover::after {
  opacity: 1;
}

/* Interactive Cursor Spotlight with Sunset Glow */
.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(244, 63, 94, 0.14) 0%, 
    rgba(217, 70, 239, 0.08) 35%,
    rgba(168, 85, 247, 0.06) 55%, 
    transparent 78%);
  z-index: 1;
}

.company-card:hover .card-spotlight {
  opacity: 1;
}

.company-card:hover {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow: 0 16px 36px -6px rgba(236, 72, 153, 0.26), 0 0 24px rgba(168, 85, 247, 0.16);
}

.company-card:hover::before {
  height: 5px;
  opacity: 1;
  box-shadow: 0 2px 14px rgba(236, 72, 153, 0.7);
}

/* Card Header Area - FIXED MIN-HEIGHT TO PRESERVE LASER ALIGNMENT */
.card-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 48px;
  height: 48px;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 2;
}

.company-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.logo-circle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #ffffff 0%, #fdf2f8 100%);
  border: 1.5px solid rgba(236, 72, 153, 0.24);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.08);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}

.company-card:hover .logo-circle {
  transform: scale(1.1) rotate(3deg);
  border-color: rgba(236, 72, 153, 0.6);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}

.logo-circle svg {
  width: 24px;
  height: 24px;
}

.logo-text-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  white-space: nowrap;
}

.venture-badge {
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  line-height: 1.2;
}

.project-pill-tag {
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #db2777;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(236, 72, 153, 0.35);
  padding: 0.16rem 0.52rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.project-pill-tag::before {
  content: '✦';
  font-size: 0.5rem;
  color: #f43f5e;
}

/* Status Badges */
.card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.52rem;
  border-radius: var(--radius-pill);
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #475569;
  flex-shrink: 0;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.company-card:hover .card-status-badge {
  border-color: rgba(236, 72, 153, 0.35);
  background: rgba(254, 242, 246, 0.6);
}

.status-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-rose);
  position: relative;
}

.card-status-badge.live .status-pulse-dot {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.card-status-badge.incubating .status-pulse-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--brand-rose);
  animation: beaconPing 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.card-status-badge.live .status-pulse-dot::after {
  border-color: #10b981;
}

.card-status-badge.incubating .status-pulse-dot::after {
  border-color: #f59e0b;
}

@keyframes beaconPing {
  0% { transform: scale(0.9); opacity: 0.9; }
  60% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Brand-specific Logos & Glows (Light Mode) */
.bg-ark { background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(244, 63, 94, 0.06)); border-color: rgba(236, 72, 153, 0.35); }
.bg-chinatown { background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(251, 146, 60, 0.06)); border-color: rgba(244, 63, 94, 0.35); }
.bg-loongbridge { background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 146, 60, 0.06)); border-color: rgba(249, 115, 22, 0.35); }
.bg-arknations { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(236, 72, 153, 0.06)); border-color: rgba(16, 185, 129, 0.35); }

.bg-planet { background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(56, 189, 248, 0.08)); border-color: rgba(16, 185, 129, 0.35); }
.bg-dejaloo { background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08)); border-color: rgba(99, 102, 241, 0.35); }
.bg-wonders { background: linear-gradient(135deg, rgba(251, 146, 60, 0.12), rgba(245, 158, 11, 0.08)); border-color: rgba(251, 146, 60, 0.35); }
.bg-dream { background: linear-gradient(135deg, rgba(236, 72, 153, 0.12), rgba(217, 70, 239, 0.08)); border-color: rgba(236, 72, 153, 0.35); }
.bg-brain { background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.08)); border-color: rgba(168, 85, 247, 0.35); }
.bg-vtreeo { background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.08)); border-color: rgba(5, 150, 105, 0.35); }
.bg-witness { background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(251, 146, 60, 0.08)); border-color: rgba(244, 63, 94, 0.35); }
.bg-doz { background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(168, 85, 247, 0.08)); border-color: rgba(79, 70, 229, 0.35); }

.logo-name-ark { font-weight: 800; font-size: 0.86rem; color: #ec4899; white-space: nowrap; }
.logo-name-chinatown { font-weight: 800; font-size: 0.86rem; color: #f43f5e; white-space: nowrap; }
.logo-name-loong { font-weight: 800; font-size: 0.86rem; color: #f97316; white-space: nowrap; }
.logo-name-nation { font-weight: 800; font-size: 0.86rem; color: #10b981; white-space: nowrap; }

/* Titles & Content - FIXED MIN-HEIGHT FOR PERFECT HORIZONTAL ALIGNMENT */
.company-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  min-height: 1.6rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

.company-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--card-accent, #ec4899);
  min-height: 1.15rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.55rem;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.25s ease;
}

.company-card:hover .company-category {
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-desc {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.5;
  min-height: 4.6rem;
  margin-bottom: 0.85rem;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

/* Card Action Footer */
.card-footer-rail {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(244, 63, 94, 0.12);
  position: relative;
  z-index: 2;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  padding: 0.44rem 1.05rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffffff 0%, #fff1f5 100%);
  border: 1.5px solid rgba(244, 63, 94, 0.32);
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.card-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-sunset-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.card-action-btn:hover {
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.48);
  transform: translateY(-2px);
}

.card-action-btn:hover::before {
  opacity: 1;
}

.btn-arrow {
  width: 14px;
  height: 14px;
  stroke: #e11d48;
  transition: transform 0.25s ease, stroke 0.25s ease;
}

.card-action-btn:hover .btn-arrow {
  transform: translateX(4px);
  stroke: #ffffff;
}

.card-action-badge.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  user-select: none;
}

/* ==========================================================================
   WATERFALL FLOW DIVIDER - DUAL PARTICLES & ROTATING AURORA EMITTER
   ========================================================================== */
.waterfall-flow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 2.5rem 0;
  position: relative;
}

.waterfall-flow-line {
  flex: 1;
  height: 2.5px;
  background: linear-gradient(90deg, transparent 0%, rgba(236, 72, 153, 0.45) 30%, rgba(168, 85, 247, 0.45) 70%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.waterfall-flow-line::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 35%;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f43f5e, #a855f7, transparent);
  animation: photonLaserRight 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.7);
}

.waterfall-flow-line:last-child::before {
  animation: photonLaserLeft 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes photonLaserRight {
  0% { transform: translateX(-150%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(350%); opacity: 0; }
}

@keyframes photonLaserLeft {
  0% { transform: translateX(350%); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateX(-150%); opacity: 0; }
}

.waterfall-flow-emitter {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  padding: 0.52rem 1.45rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.25), 0 0 16px rgba(168, 85, 247, 0.2);
  border: 1.5px solid rgba(244, 63, 94, 0.35);
  animation: emitterFloating 3.5s ease-in-out infinite alternate;
}

@keyframes emitterFloating {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-3px); }
}

.emitter-glow-core {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 75%);
  animation: emitterGlow 2.5s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes emitterGlow {
  0% { opacity: 0.5; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1.08); }
}

.emitter-pulse {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #ec4899;
  animation: pulseRings 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes pulseRings {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.12, 1.45); opacity: 0; }
}

.emitter-icon {
  font-size: 0.95rem;
  color: #f43f5e;
  filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.6));
  animation: iconSpark 1.8s ease-in-out infinite alternate;
}

@keyframes iconSpark {
  0% { transform: scale(0.95); filter: drop-shadow(0 0 6px #f43f5e); }
  100% { transform: scale(1.1); filter: drop-shadow(0 0 12px #a855f7); }
}

.emitter-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* ==========================================================================
   ECOSYSTEM SECTION - VIBRANT & ANIMATED
   ========================================================================== */
.ecosystem-section {
  background-color: var(--bg-light-alt);
  background-image: radial-gradient(circle at 75% 30%, rgba(244, 63, 94, 0.05) 0%, rgba(168, 85, 247, 0.04) 40%, transparent 70%);
  padding: 2.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.25rem;
  align-items: center;
}

.ecosystem-lead {
  max-width: 400px;
}

.ecosystem-desc {
  font-size: 0.95rem;
  color: var(--text-dark-dim);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Diagram */
.ecosystem-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.diagram-master-node {
  background: #090e1a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(9, 14, 26, 0.25), 0 0 20px rgba(236, 72, 153, 0.25);
  border: 1.5px solid rgba(244, 63, 94, 0.4);
  animation: masterNodePulse 4s ease-in-out infinite alternate;
  z-index: 3;
  transition: transform 0.25s ease;
}

.diagram-master-node:hover {
  transform: translateY(-2px) scale(1.02);
}

@keyframes masterNodePulse {
  0% {
    box-shadow: 0 8px 24px rgba(9, 14, 26, 0.25), 0 0 16px rgba(244, 63, 94, 0.25);
    border-color: rgba(244, 63, 94, 0.45);
  }
  50% {
    box-shadow: 0 10px 28px rgba(9, 14, 26, 0.3), 0 0 24px rgba(168, 85, 247, 0.4);
    border-color: rgba(168, 85, 247, 0.55);
  }
  100% {
    box-shadow: 0 8px 24px rgba(9, 14, 26, 0.25), 0 0 20px rgba(251, 146, 60, 0.3);
    border-color: rgba(251, 146, 60, 0.45);
  }
}

.diagram-brand-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.45));
}

.master-node-text {
  display: flex;
  flex-direction: column;
}

.master-brand {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.05;
}

.master-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tree Branch Connectors with Flowing Laser Conduits & Photon Packets */
.tree-connector-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 82%;
  margin: 0 auto;
  position: relative;
}

.tree-stem-vertical {
  width: 3px;
  height: 22px;
  background: linear-gradient(180deg, #ec4899 0%, #a855f7 50%, #6366f1 100%);
  background-size: 100% 200%;
  animation: laserPulseDown 1.8s linear infinite;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.7);
  position: relative;
}

/* Traveling Photon Packet down vertical stem */
.tree-stem-vertical::after {
  content: '';
  position: absolute;
  top: 0;
  left: -2.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #ec4899, 0 0 18px #f43f5e;
  animation: photonDrop 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes photonDrop {
  0% { top: -4px; opacity: 0; transform: scale(0.5); }
  20% { opacity: 1; transform: scale(1.2); }
  85% { opacity: 1; transform: scale(1); }
  100% { top: 22px; opacity: 0; transform: scale(0.6); }
}

.tree-stem-horizontal {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(244, 63, 94, 0.2) 0%, 
    #ec4899 20%, 
    #a855f7 50%, 
    #6366f1 80%, 
    rgba(99, 102, 241, 0.2) 100%);
  background-size: 200% 100%;
  animation: laserPulseAcross 2.8s linear infinite;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  position: relative;
}

/* Traveling Photons splitting across horizontal conduit */
.tree-stem-horizontal::before,
.tree-stem-horizontal::after {
  content: '';
  position: absolute;
  top: -2.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #a855f7, 0 0 16px #6366f1;
}

.tree-stem-horizontal::before {
  animation: photonSplitLeft 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tree-stem-horizontal::after {
  animation: photonSplitRight 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes photonSplitLeft {
  0% { left: 50%; opacity: 0; transform: scale(0.5); }
  15% { opacity: 1; transform: scale(1.1); }
  90% { opacity: 1; }
  100% { left: 0%; opacity: 0; transform: scale(0.6); }
}

@keyframes photonSplitRight {
  0% { left: 50%; opacity: 0; transform: scale(0.5); }
  15% { opacity: 1; transform: scale(1.1); }
  90% { opacity: 1; }
  100% { left: 100%; opacity: 0; transform: scale(0.6); }
}

.tree-stem-drops {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  height: 14px;
}

.stem-drop {
  width: 2px;
  height: 14px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.6) 0%, rgba(236, 72, 153, 0.3) 100%);
  position: relative;
  transition: all 0.3s ease;
}

@keyframes laserPulseDown {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 200%; }
}

@keyframes laserPulseAcross {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.diagram-pillars-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.25rem;
}

.pillar-pill {
  background: linear-gradient(168deg, #ffffff 0%, #ffffff 70%, rgba(254, 242, 246, 0.5) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pillarFloat 4.5s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

.pillar-pill:nth-child(1) { animation-delay: 0s; --pillar-accent: #f43f5e; }
.pillar-pill:nth-child(2) { animation-delay: 0.4s; --pillar-accent: #fb923c; }
.pillar-pill:nth-child(3) { animation-delay: 0.8s; --pillar-accent: #a855f7; }
.pillar-pill:nth-child(4) { animation-delay: 1.2s; --pillar-accent: #6366f1; }
.pillar-pill:nth-child(5) { animation-delay: 1.6s; --pillar-accent: #d946ef; }

@keyframes pillarFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-4px); }
}

.pillar-pill::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pillar-accent, #ec4899);
  opacity: 0.9;
  transition: height 0.25s ease;
}

.pillar-pill:hover {
  transform: translateY(-6px);
  border-color: var(--pillar-accent, #ec4899);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08), 0 0 16px rgba(236, 72, 153, 0.25);
}

.pillar-pill:hover::before {
  height: 4px;
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pillar-accent, #0284c7);
  margin-bottom: 0.35rem;
  transition: transform 0.25s ease;
}

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

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.text-amber { color: #fb923c; }
.text-blue { color: #a855f7; }
.text-cyan { color: #6366f1; }
.text-indigo { color: #d946ef; }

.pillar-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pillar-desc {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 0.35rem;
  text-align: center;
  font-weight: 400;
}

.diagram-bottom-node {
  margin-top: 1.15rem;
  background: #090e1a;
  color: #ffffff;
  width: 88%;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 6px 20px rgba(9, 14, 26, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.diagram-bottom-node::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: linear-gradient(180deg, #6366f1 0%, #a855f7 100%);
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
}

.diagram-bottom-node:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 8px 24px rgba(9, 14, 26, 0.3), 0 0 20px rgba(168, 85, 247, 0.3);
  transform: translateY(-2px);
}

.bottom-node-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.bottom-node-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

/* ==========================================================================
   PROCESS SECTION ("HOW WE BUILD") - LUMINOUS LIGHT MODE
   ========================================================================== */
.process-section {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 2.75rem 0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 2.5rem;
  align-items: center;
}

.process-lead {
  max-width: 400px;
}

.process-section .section-title-white {
  color: var(--text-dark);
}

.process-desc {
  font-size: 0.95rem;
  color: var(--text-dark-dim);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btn-outline-white {
  color: var(--text-dark);
  border: 1.5px solid #cbd5e1;
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

.process-steps-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  position: relative;
}

/* Connecting Glowing Energy Pipeline */
.process-steps-track::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, 
    #f43f5e 0%, 
    #ec4899 33%, 
    #a855f7 66%, 
    #6366f1 100%);
  opacity: 0.55;
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
  z-index: 1;
}

.process-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-node:hover {
  transform: translateY(-4px);
}

.node-number-badge {
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--brand-sunset-gradient);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
}

.process-node:hover .node-number-badge {
  transform: scale(1.15);
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.85);
}

.node-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #fff5f8 100%);
  border: 1.5px solid rgba(236, 72, 153, 0.25);
  color: var(--brand-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  box-shadow: 0 2px 10px rgba(236, 72, 153, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-icon-circle svg {
  width: 19px;
  height: 19px;
}

.process-node:hover .node-icon-circle {
  background: #ffffff;
  border-color: var(--brand-magenta);
  color: var(--brand-magenta);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(217, 70, 239, 0.28);
}

.node-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
  transition: color 0.25s ease;
}

.process-node:hover .node-title {
  color: var(--brand-magenta);
}

.node-timeline-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  color: #ec4899;
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: var(--radius-pill);
  padding: 1px 8px;
  margin: 0.15rem 0 0.35rem 0;
  letter-spacing: 0.02em;
}

.node-sub {
  font-size: 0.72rem;
  color: var(--text-dark-dim);
  line-height: 1.4;
  max-width: 140px;
}

.process-connector-arrow {
  color: var(--brand-purple);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: -1rem;
  user-select: none;
  animation: pulseArrow 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes pulseArrow {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(3px); opacity: 1; color: var(--brand-pink); }
}

/* ==========================================================================
   OUR DIFFERENCE & MILESTONES - COMPACT & RADIANT
   ========================================================================== */
.difference-milestones-section {
  background-color: var(--bg-light-alt);
  padding: 2.75rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.dual-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

/* Left: Features */
.difference-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

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

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px solid rgba(236, 72, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.08);
  transition: var(--transition);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature-item:hover .feature-icon {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--brand-rose);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.22);
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.feature-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.feature-detail {
  font-size: 0.70rem;
  color: #64748b;
  line-height: 1.42;
  margin-top: 0.15rem;
}

/* Right: Milestones */
.milestone-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 1.25rem;
  position: relative;
}

.milestone-track-line {
  position: absolute;
  top: 24px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  z-index: 1;
  overflow: hidden;
}

.milestone-track-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--brand-sunset-gradient);
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.7);
  transition: width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.milestone-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.milestone-node:hover {
  transform: translateY(-3px);
}

.milestone-year {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  margin-bottom: 0.35rem;
  transition: all 0.25s ease;
}

.milestone-node:hover .milestone-year,
.milestone-node.active .milestone-year {
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.08);
}

.milestone-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #cbd5e1;
  margin-bottom: 0.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.milestone-node:hover .milestone-dot,
.milestone-dot.dot-active,
.milestone-node.active .milestone-dot {
  background: var(--brand-sunset-gradient);
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.75);
  transform: scale(1.2);
}

.milestone-node.active .milestone-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #ec4899;
  animation: beaconPing 2s infinite;
}

.milestone-desc {
  font-size: 0.7rem;
  color: var(--text-dark-dim);
  line-height: 1.3;
  transition: color 0.25s ease;
}

.milestone-node:hover .milestone-desc,
.milestone-node.active .milestone-desc {
  color: var(--text-dark);
  font-weight: 600;
}

/* ==========================================================================
   STRIPE-STYLE GLOBAL HORIZON RAY BURST SECTION
   ========================================================================== */
.burst-horizon-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  background: var(--burst-bg-gradient, linear-gradient(180deg, #ffffff 0%, #f8fafc 55%, #f0f9ff 100%));
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.burst-horizon-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 220px;
  background: radial-gradient(ellipse at 50% 100%, var(--burst-glow-color, rgba(2, 132, 199, 0.08)) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.burst-horizon-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: crosshair;
  pointer-events: auto;
}

/* Content Overlay (Two columns: Brand Narrative on Left, Controls on Right) */
.burst-overlay-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  pointer-events: none;
}

/* Left-Side Content (High-Contrast Light Theme) */
.burst-content-left {
  max-width: 520px;
  pointer-events: auto;
}

.burst-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.burst-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--burst-accent-color, #0284c7);
  box-shadow: 0 0 10px var(--burst-accent-color, #0284c7);
  animation: burstTagPulse 2s infinite ease-in-out;
}

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

.burst-headline {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin-bottom: 1rem;
}

.burst-headline-gradient {
  background: linear-gradient(135deg, #0f172a 0%, var(--burst-accent-color, #0284c7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.burst-subtext {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 1.6rem;
}

.burst-features-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.burst-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.burst-mini-chip .chip-accent {
  color: var(--burst-accent-color, #0284c7);
  font-weight: 700;
}

.burst-action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Menu Wrap */
.burst-theme-menu-wrap {
  position: relative;
  pointer-events: auto;
}

/* Horizon Sun / Theme Toggle Button (Dynamic Color & Icon) */
.burst-moon-toggle {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--toggle-accent-color, rgba(124, 58, 237, 0.35));
  border-radius: 10px;
  color: var(--toggle-accent-color, #7c3aed);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.burst-moon-toggle:hover {
  background: #ffffff;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.burst-moon-toggle:active {
  transform: scale(0.96);
}

.burst-moon-toggle .moon-svg {
  width: 20px;
  height: 20px;
  transition: stroke 0.25s ease, transform 0.25s ease;
}

/* Popover Dropdown (2-Column Grid for 10 Tailored Shades) */
.burst-theme-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.95);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}

.burst-theme-popover.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.popover-swatches-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.popover-swatch-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
}

.popover-swatch-item:hover {
  background: #f1f5f9;
}

.popover-swatch-item.active {
  font-weight: 700;
}

.theme-menu-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}

.swatch-label {
  flex-grow: 1;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .burst-overlay-container {
    flex-direction: column;
    padding: 2.5rem 1.5rem 3rem;
    gap: 2rem;
  }
  .burst-theme-menu-wrap {
    align-self: flex-end;
  }
}

@media (max-width: 768px) {
  .burst-horizon-section {
    min-height: 500px;
    align-items: flex-start;
  }
  .burst-overlay-container {
    padding: 2.2rem 1.25rem 2rem;
    gap: 1.5rem;
    align-items: center;
  }
  .burst-content-left {
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .burst-tag-pill {
    margin-bottom: 0.85rem;
  }
  .burst-headline {
    font-size: 1.85rem;
  }
  .burst-subtext {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }
  .burst-features-mini {
    justify-content: center;
    margin-bottom: 1.4rem;
  }
  .burst-action-row {
    justify-content: center;
  }
  .burst-theme-menu-wrap {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 30;
  }
}

/* ==========================================================================
   CALL TO ACTION BANNER - DISTINCT TWILIGHT SUNRISE AURORA
   ========================================================================== */
.cta-banner-section {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(145deg, #090e1f 0%, #171133 45%, #231238 80%, #0d081f 100%);
  border-top: 1px solid rgba(236, 72, 153, 0.25);
}

/* Atmospheric Radiant Aurora Mist */
.cta-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 70% 85% at 85% 50%, 
    rgba(236, 72, 153, 0.35) 0%, 
    rgba(168, 85, 247, 0.25) 35%, 
    rgba(99, 102, 241, 0.18) 65%, 
    transparent 100%);
  animation: sunriseBreathe 7s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 2;
}

@keyframes sunriseBreathe {
  0% { opacity: 0.65; transform: scale(0.97) translateY(2%); }
  100% { opacity: 0.95; transform: scale(1.04) translateY(-2%); }
}

.cta-banner-bg-wrapper {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
}

.cta-banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, 
    rgba(9, 14, 31, 0.94) 0%, 
    rgba(23, 17, 51, 0.82) 50%, 
    rgba(35, 18, 56, 0.60) 100%);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.cta-content {
  max-width: 560px;
}

.cta-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.cta-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.cta-sub {
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-bottom: 1.25rem;
}

.cta-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.cta-quote-side {
  display: flex;
  justify-content: flex-end;
}

.cta-quote-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  max-width: 320px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-quote-box:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(236, 72, 153, 0.3);
}

.cta-quote-symbol {
  font-size: 2.2rem;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: -0.4rem;
}

.cta-quote {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   FOOTER - COMPACT & ORGANIZED
   ========================================================================== */
.site-footer {
  background-color: #050811;
  color: #94a3b8;
  padding: 2.25rem 0 3.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.text-white {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-socials a {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.copyright-text {
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: #64748b;
  font-size: 0.75rem;
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-link:hover {
  color: #ffffff;
}

.footer-motto {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-style: normal;
  background: var(--brand-sunset-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.4));
}

/* ==========================================================================
   INTERACTIVE CONNECT MODAL - COMPACT
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.6rem;
  color: #94a3b8;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-header {
  margin-bottom: 1.25rem;
}

.modal-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}

.modal-brand-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(220, 38, 38, 0.45));
}

.modal-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.2rem 0;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

.form-group select option {
  background: #0f172a;
  color: #ffffff;
}

.btn-block {
  width: 100%;
  margin-top: 0.35rem;
}

.modal-success-state {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

/* ==========================================================================
   LEGAL MODALS (PRIVACY POLICY, TERMS, COOKIES) & PREFERENCES
   ========================================================================== */
.legal-modal-dialog {
  max-width: 660px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 24px rgba(236, 72, 153, 0.15);
}

.legal-modal-body {
  overflow-y: auto;
  max-height: 54vh;
  padding-right: 0.6rem;
  margin: 0.75rem 0 1rem;
  font-size: 0.83rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.legal-modal-body::-webkit-scrollbar {
  width: 5px;
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.legal-modal-body h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin: 1.15rem 0 0.35rem;
}

.legal-modal-body h4:first-child {
  margin-top: 0;
}

.legal-modal-body p {
  margin-bottom: 0.65rem;
}

.legal-modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
}

.legal-modal-body li {
  margin-bottom: 0.2rem;
}

.legal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Preferences Toggle Rows */
.cookie-preference-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0.85rem 0;
}

.cookie-option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  gap: 1rem;
}

.cookie-meta h5 {
  font-size: 0.86rem;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.cookie-meta p {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: 0.25s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--brand-sunset-gradient);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (FLOATING AT BOTTOM)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 840px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(236, 72, 153, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(236, 72, 153, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.5rem;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateY(160%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0%);
  opacity: 1;
  pointer-events: all;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.cookie-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.cookie-banner-text h4 {
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.cookie-banner-text p {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--brand-pink);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.btn-cookie-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.btn-cookie-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 1rem;
    gap: 0.85rem;
  }
  .cookie-banner-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   FLOATING GO TO TOP BUTTON
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-sunset-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.45), 0 0 18px rgba(168, 85, 247, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.65), 0 0 24px rgba(244, 63, 94, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
}

.back-to-top-btn:active {
  transform: translateY(-1px) scale(0.96);
}

.back-to-top-btn svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.back-to-top-btn:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO ENRICHED CONTENT ELEMENTS
   ========================================================================== */
.hero-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.38);
  color: #f472b6;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  margin-bottom: 0.85rem;
  width: fit-content;
  box-shadow: 0 0 14px rgba(236, 72, 153, 0.22);
  backdrop-filter: blur(8px);
}

.hero-kicker-badge .badge-sparkle {
  color: #fb7185;
  font-size: 0.75rem;
}

.hero-meta-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(12, 19, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.65rem;
  backdrop-filter: blur(8px);
}

.hero-meta-badge .meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.hero-meta-badge .dot-cyan {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.hero-meta-badge .dot-rose {
  background: #f43f5e;
  box-shadow: 0 0 6px #f43f5e;
}

.hero-meta-badge .dot-amber {
  background: #fbbf24;
  box-shadow: 0 0 6px #fbbf24;
}

.hero-mobile-actions {
  display: none;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-quote-side {
    justify-content: flex-start;
  }
  .about-grid, .ecosystem-grid, .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .companies-grid, .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dual-columns-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cta-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  /* Landing page hero mobile reorganization */
  .ecosystem-hero-section {
    height: auto !important;
    min-height: 100vh;
    max-height: none !important;
    overflow: visible !important;
    padding-top: calc(var(--nav-height) + 1.25rem);
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .ecosystem-hero-container {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.25rem;
    box-sizing: border-box;
    width: 100%;
  }

  .hero-left-col {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    padding: 0;
  }

  .hero-kicker-badge {
    margin: 0 auto 0.75rem;
  }

  .hero-main-title {
    font-size: clamp(1.85rem, 7vw, 2.35rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 0.85rem !important;
    text-align: center;
  }

  .nowrap-line {
    white-space: normal !important;
  }

  .hero-main-desc {
    max-width: 540px !important;
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
    margin: 0 auto 1.15rem !important;
    text-align: center;
  }

  .hero-meta-badges {
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  /* 3D Ecosystem Showcase dedicated section on mobile */
  .hero-center-stage {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 360px !important;
    height: 330px !important;
    margin: 0.5rem auto 1.5rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: auto !important;
    overflow: visible !important;
  }

  .ecosystem-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .globe-center-emblem {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .center-emblem-glow {
    width: 80px;
    height: 80px;
  }

  .center-emblem-logo {
    width: 40px;
    height: 40px;
  }

  .center-emblem-brand {
    font-size: 1.15rem;
  }

  .satellite-node {
    transform: translate(-50%, -50%) scale(0.72) !important;
  }

  .satellite-node:hover {
    transform: translate(-50%, -50%) scale(0.82) !important;
  }

  .node-pos-businesses {
    left: calc(50% - 105px) !important;
    top: calc(50% - 92px) !important;
  }

  .node-pos-ideas {
    left: calc(50% + 92px) !important;
    top: calc(50% - 98px) !important;
  }

  .node-pos-communities {
    left: calc(50% + 115px) !important;
    top: calc(50% + 10px) !important;
  }

  .node-pos-sustainability {
    left: calc(50% + 82px) !important;
    top: calc(50% + 105px) !important;
  }

  .node-pos-technology {
    left: calc(50% - 105px) !important;
    top: calc(50% + 82px) !important;
  }

  /* Selector cards stack under 3D stage */
  .hero-cards-stack {
    max-width: 420px !important;
    width: 100% !important;
    margin: 0 auto 1.5rem !important;
    gap: 0.65rem;
  }

  .hero-select-card {
    padding: 0.75rem 1rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .hero-select-card.active {
    background: linear-gradient(90deg, rgba(244, 63, 94, 0.08) 0%, rgba(255, 255, 255, 0.98) 45%) !important;
    border: 1.5px solid #ec4899 !important;
  }

  /* Mission bar as an integrated sleek capsule */
  .hero-right-col {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto 1.5rem !important;
    padding: 0.9rem 1.25rem !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1.5px solid rgba(236, 72, 153, 0.30) !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(12px);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .right-col-divider {
    height: 42px;
    background: linear-gradient(180deg, #ec4899 0%, #a855f7 100%) !important;
  }

  .right-col-content {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
  }

  .right-accent-bar {
    display: none;
  }

  .right-headline {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    line-height: 1.25 !important;
    text-align: left;
    color: #0f172a !important;
  }

  .right-subtext {
    flex-direction: row !important;
    gap: 0.6rem !important;
    font-size: 0.76rem !important;
  }

  /* Ecosystem Stats Bar on mobile */
  .ecosystem-stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1rem !important;
    padding: 1.25rem 1.25rem !important;
    margin: 0 1.25rem !important;
    width: calc(100% - 2.5rem) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
  }

  .stats-metric-col:not(:last-child)::after {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }
  .nav-links.mobile-active {
    transform: translateY(0%);
  }
  .mobile-menu-toggle {
    display: flex;
  }
  /* What is Anysolved - Mobile 2-Column Balanced Lifecycle Cards */
  .about-lifecycle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.75rem;
  }
  .about-lifecycle .lifecycle-arrow {
    display: none;
  }
  .about-lifecycle .lifecycle-step {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 12px;
    padding: 0.85rem 0.65rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: auto;
  }
  .about-lifecycle .step-icon-bubble {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.45rem auto;
  }
  .about-lifecycle .step-icon-bubble svg {
    width: 20px;
    height: 20px;
  }
  .about-lifecycle .step-label {
    font-size: 0.80rem;
    font-weight: 700;
    min-height: auto;
    margin-bottom: 0.2rem;
    line-height: 1.25;
  }
  .about-lifecycle .step-sub {
    font-size: 0.70rem;
    color: var(--text-dark-dim);
    min-height: auto;
    max-width: 100% !important;
    line-height: 1.35;
    margin: 0;
  }
  /* 5th Step: Independent Company spans full width at bottom */
  .about-lifecycle .lifecycle-step:nth-child(9) {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
    border-color: rgba(249, 115, 22, 0.25);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.07);
  }
  .about-lifecycle .lifecycle-step:nth-child(9) .step-icon-bubble {
    margin: 0;
    flex-shrink: 0;
  }
  .about-lifecycle .lifecycle-step:nth-child(9) .step-label {
    margin-bottom: 0.15rem;
    text-align: left;
  }
  .about-lifecycle .lifecycle-step:nth-child(9) .step-sub {
    text-align: left;
  }

  /* How We Build - Connected Executive Process Cards */
  .process-steps-track {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    position: relative;
    margin-top: 0.75rem;
    padding: 0;
  }
  .process-steps-track::before {
    display: none;
  }
  .process-connector-arrow {
    display: none;
  }
  .process-node {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 0.9rem;
    row-gap: 0.2rem;
    align-items: start;
    text-align: left;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 0.95rem 1.05rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    transform: none !important;
  }
  .process-node .node-number-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 22px;
    height: 22px;
    font-size: 0.60rem;
    margin: 0;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.35);
  }
  .process-node .node-icon-circle {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
  }
  .process-node .node-title {
    grid-column: 2;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
  }
  .process-node .node-timeline-badge {
    grid-column: 2;
    font-size: 0.64rem;
    margin: 0.1rem 0 0.35rem 0;
    width: fit-content;
    display: inline-block;
  }
  .process-node .node-sub {
    grid-column: 2;
    max-width: 100% !important;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #475569;
    margin: 0;
  }
  .diagram-pillars-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .difference-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  /* Back to Top mobile positioning */
  .back-to-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }

  .back-to-top-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Universal section padding */
  .section-container {
    padding: 0 1.25rem;
  }

  .nav-container {
    padding: 0 1.15rem;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .portfolio-tabs {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }
  .filter-tab {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }
  .companies-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
  .diagram-pillars-row {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .waterfall-3d-wrapper {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 220px;
  }
}

/* ==========================================================================
   INTERACTIVE SCROLL REVEAL & SPECULAR LIGHTING UTILITIES
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger-1 { transition-delay: 0.08s; }
.reveal-stagger-2 { transition-delay: 0.16s; }
.reveal-stagger-3 { transition-delay: 0.24s; }
.reveal-stagger-4 { transition-delay: 0.32s; }

/* ==========================================================================
   COMPACT PORTFOLIO CARDS & SUB-MODULE DRAWER (ORGANIZED & SLEEK)
   ========================================================================== */
.compact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}

.company-card.compact-card {
  position: relative;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 12px !important;
  padding: 0.95rem 0.95rem 0.85rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 0.35rem !important;
  min-height: 215px !important;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.22s ease !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.company-card.compact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--brand-sunset-gradient));
  opacity: 0.85;
  transition: height 0.2s ease, opacity 0.2s ease;
}

.company-card.compact-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 10px 22px -4px rgba(2, 132, 199, 0.12), 0 3px 8px rgba(0, 0, 0, 0.03) !important;
}

.company-card.compact-card:hover::before {
  height: 4px;
  opacity: 1;
}

.company-card.compact-card .compact-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.45rem !important;
  min-height: 34px !important;
  height: 34px !important;
  margin-bottom: 0.35rem !important;
}

.company-card.compact-card .company-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.company-card.compact-card .logo-circle {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
}

.company-card.compact-card .logo-circle svg {
  width: 18px !important;
  height: 18px !important;
}

.company-card.compact-card .card-status-badge {
  padding: 0.15rem 0.45rem !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
}

.company-card.compact-card .status-pulse-dot {
  width: 5px !important;
  height: 5px !important;
}

.company-card.compact-card .compact-card-title {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0.1rem 0 0.15rem !important;
  line-height: 1.25 !important;
}

.company-card.compact-card .compact-card-category {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.25rem !important;
  display: block;
}

.company-card.compact-card .compact-card-hook {
  font-size: 0.74rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  flex-grow: 1;
}

.company-card.compact-card .compact-card-action {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 0.45rem !important;
  margin-top: auto !important;
  border-top: 1px solid #f1f5f9 !important;
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  color: #0284c7 !important;
  transition: all 0.18s ease !important;
}

.company-card.compact-card:hover .compact-card-action {
  color: #0369a1 !important;
  transform: translateX(2px) !important;
}

/* Expandable Ark Projects Drawer */
.more-projects-drawer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, margin 0.35s ease;
  margin-top: 0;
}

.more-projects-drawer.is-open {
  max-height: 1400px;
  opacity: 1;
  margin-top: 0.85rem;
}

.toggle-projects-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.toggle-projects-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.80rem;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-projects-btn:hover {
  background: #f8fafc;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.toggle-projects-btn .toggle-icon {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  display: inline-block;
}

.toggle-projects-btn.is-expanded .toggle-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   PROJECT INTELLIGENCE SUB-MODULE MODAL
   ========================================================================== */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.project-modal-dialog {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 2.25rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
}

.project-modal-backdrop.active .project-modal-dialog {
  transform: scale(1) translateY(0);
}

.project-modal-close-btn {
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: all 0.18s ease;
}

.project-modal-close-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: rotate(90deg);
}

.project-modal-header {
  margin-bottom: 1.25rem;
  padding-right: 2.5rem;
}

.project-modal-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.project-modal-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0284c7;
}

.project-modal-status {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.project-modal-status.stealth {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.project-modal-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin: 0.15rem 0 0.45rem;
}

.project-modal-hook {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-modal-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.project-modal-meta-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.project-modal-meta-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-modal-meta-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
}

.project-modal-subheading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin: 0 0 0.5rem;
}

.project-modal-desc {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

.project-modal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.project-modal-metric-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.project-modal-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1;
}

.project-modal-metric-label {
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 600;
}

.project-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.project-modal-list li {
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.45;
  position: relative;
  padding-left: 1.2rem;
}

.project-modal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 800;
}

.project-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  margin-top: 0.5rem;
}

/* ==========================================================================
   MOBILE VIEWPORT SPACING OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 992px) {
  .compact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-modal-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Tighten section padding and vertical gaps to remove empty space */
  .section-container {
    padding: 0 1.25rem;
  }
  .portfolio-section,
  .diagram-section,
  .process-section,
  .difference-milestones-section {
    padding: 2.25rem 0 !important;
  }
  .dual-columns-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .difference-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.75rem;
  }

  /* ==========================================================================
     OUR JOURNEY / MILESTONES MOBILE TIMELINE - SLEEK EXECUTIVE CARDS
     ========================================================================== */
  .milestones-col {
    margin-top: 0.5rem;
  }

  .milestone-track {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    padding-left: 32px;
    margin-top: 1.35rem;
  }

  /* Continuous vertical spine connecting all milestone dots */
  .milestone-track-line {
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 5.5px;
    right: auto;
    width: 3px;
    height: auto;
    background: #e2e8f0;
    border-radius: var(--radius-pill);
    z-index: 1;
    overflow: hidden;
  }

  .milestone-track-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-sunset-gradient);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.7);
    transition: height 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  /* Full-width milestone card row */
  .milestone-node {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    width: 100%;
    position: relative;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .milestone-node:hover,
  .milestone-node.active {
    transform: translateX(4px);
    border-color: rgba(236, 72, 153, 0.35);
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.12);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 242, 248, 0.65) 100%);
  }

  /* Dot anchored directly on the vertical line */
  .milestone-dot {
    position: absolute;
    left: -32px;
    margin-left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-bottom: 0;
    z-index: 2;
  }

  .milestone-node:hover .milestone-dot,
  .milestone-dot.dot-active,
  .milestone-node.active .milestone-dot {
    transform: translateY(-50%) scale(1.25);
  }

  /* Year pill / badge */
  .milestone-year {
    font-size: 0.80rem;
    font-weight: 800;
    color: #475569;
    padding: 0.22rem 0.6rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 0;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    transition: all 0.25s ease;
  }

  .milestone-node:hover .milestone-year,
  .milestone-node.active .milestone-year {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
    border-color: rgba(236, 72, 153, 0.3);
    color: #db2777;
    -webkit-text-fill-color: initial;
    transform: none;
  }

  /* Description */
  .milestone-desc {
    font-size: 0.84rem;
    font-weight: 500;
    color: #334155;
    line-height: 1.35;
    margin: 0;
    flex: 1;
    text-align: left;
  }

  .milestone-desc br {
    display: none;
  }

  .milestone-node.active .milestone-desc {
    font-weight: 600;
    color: var(--text-dark);
  }

  /* Present milestone badge on the right of latest 2026 node */
  .milestone-node:last-child::after {
    content: 'Present';
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #db2777;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
    border: 1px solid rgba(236, 72, 153, 0.25);
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 580px) {
  .compact-cards-grid {
    grid-template-columns: 1fr;
  }
  .project-modal-dialog {
    padding: 1.5rem 1.25rem;
  }
  .project-modal-meta-grid {
    grid-template-columns: 1fr;
  }
  .project-modal-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-modal-footer {
    flex-direction: column-reverse;
  }
  .project-modal-footer .btn {
    width: 100%;
  }
  .feature-item {
    text-align: left;
    align-items: flex-start;
  }
  .feature-content {
    align-items: flex-start;
    text-align: left;
  }
}

