:root {
  --bg: #f9f4ee;
  --bg-soft: #f4eee6;
  --panel: rgba(255, 255, 255, 0.85);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --panel-light: #ffffff;
  --panel-light-soft: #f0f4f8;
  --text: #002347;
  --text-dim: rgba(0, 35, 71, 0.7);
  --text-dark: #001a35;
  --line: rgba(0, 194, 232, 0.2);
  --line-strong: rgba(0, 194, 232, 0.35);
  --accent: #00c2e8;
  --accent-bright: #00d4ff;
  --accent-deep: #002347;
  --accent-darkest: #001a35;
  --accent-soft: rgba(0, 194, 232, 0.12);
  --shadow: 0 20px 50px rgba(0, 35, 71, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --max: 1180px;
  /* Previously undefined variables — now resolved */
  --primary: #00c2e8;
  --surface: #ffffff;
  --white: #ffffff;
  --primary-vivid: #00d4ff;
  --primary-light: rgba(0, 194, 232, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 194, 232, 0.05), transparent 30%),
    radial-gradient(circle at 82% 14%, rgba(0, 35, 71, 0.03), transparent 25%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

.opportunity-categories {
  padding: 100px 5%;
  background: var(--bg);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(0, 35, 71, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 30px rgba(0, 35, 71, 0.06);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-card p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.button.outline,
.button.outline.white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: none;
}

.button.outline:hover,
.button.outline.white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WEBSITE INTRO — Cinematic multi-phase animated intro
   ============================================================ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #f9f4ee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.intro-overlay.intro-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Particle canvas — fills overlay */
.intro-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Center content */
.intro-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: iCenterIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes iCenterIn {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* SVG arc ring */
.intro-logo-ring {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.arc-track {
  fill: none;
  stroke: rgba(0,194,232,0.12);
  stroke-width: 3;
}
.arc-fill {
  fill: none;
  stroke: url(#arcGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 339.3;
  stroke-dashoffset: 339.3;
  animation: arcDraw 1.8s cubic-bezier(0.4,0,0.2,1) 0.3s forwards;
  filter: drop-shadow(0 0 6px rgba(0,194,232,0.6));
}
@keyframes arcDraw {
  to { stroke-dashoffset: 0; }
}

/* Gradient def — injected via CSS trick using SVG filter */
.intro-arc defs { display: block; }

/* Logo inside ring */
.intro-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  animation: iLogoPop 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.2s both,
             iLogoPulse 3s ease-in-out 1s infinite;
  filter: drop-shadow(0 2px 12px rgba(0,194,232,0.3));
}
@keyframes iLogoPop {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes iLogoPulse {
  0%,100% { filter: drop-shadow(0 2px 8px rgba(0,194,232,0.25)); }
  50%      { filter: drop-shadow(0 4px 22px rgba(0,194,232,0.6)); }
}

/* Text block */
.intro-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.intro-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  background: linear-gradient(90deg, #002347 0%, #00c2e8 50%, #002347 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brandShimmer 2s linear 1s infinite;
  min-height: 1.2em;
}
@keyframes brandShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.intro-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,35,71,0.45);
  opacity: 0;
  animation: iFadeUp 0.5s ease 1.2s forwards;
}
@keyframes iFadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Sweep exit — diagonal wipe */
.intro-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #002347 0%, #00c2e8 100%);
  transform: translateX(-105%) skewX(-8deg);
  z-index: 3;
  transition: transform 0.48s cubic-bezier(0.76,0,0.24,1);
}
.intro-sweep.sweep-go {
  transform: translateX(105%) skewX(-8deg);
}

/* Site shell */
.site-shell {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.2,0.8,0.2,1), transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
}
.site-ready .site-shell {
  opacity: 1;
  transform: none;
}


/* removed expensive fixed grid overlay — was causing scroll repaints */

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

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

.site-shell {
  position: relative;
}

.topbar,
main,
.footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.topbar {
  padding-top: 22px;
}

.announcement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  color: var(--text-dim);
  font-size: 0.93rem;
}

.announcement span,
.eyebrow,
.mini-label,
.leader-badge,
.micro-label {
  font-family: "Geist", "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.announcement span {
  color: var(--text);
  font-weight: 600;
}

.announcement p {
  margin: 0;
}

.navbar {
  position: relative; /* Changed from sticky so it doesn't hide content on scroll */
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 100px;
  border-bottom: 1px solid rgba(0, 35, 71, 0.07);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 35, 71, 0.04);
}

@media (max-width: 600px) {
  .navbar {
    height: 100px; /* Increased from 84px */
    padding: 0 20px;
  }
  .brand img {
    height: 80px; /* Increased from 60px */
  }
}

.brand img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 35, 71, 0.08));
}

.sf-logo img {
  height: 52px;
  width: auto;
}

.topbar {
  display: none;
  /* Hide topbar to make header cleaner */
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand strong,
.brand span {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border: 1px solid rgba(44, 173, 199, 0.12);
  border-radius: 999px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a,
.mobile-menu a {
  color: var(--text-dim);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(0, 194, 232, 0.08);
}

.nav-links a.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 194, 232, 0.35);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--text);
}

.nav-links a {
  text-decoration: none;
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #ffffff;
  font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease;
  box-shadow:
    0 1px 2px rgba(0, 194, 232, 0.15),
    0 4px 16px rgba(0, 194, 232, 0.3);
}

/* Shine sweep on hover */
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-15deg);
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
  pointer-events: none;
}

.button:hover::before {
  left: 130%;
}

.button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #33ddff 0%, var(--accent-bright) 100%);
  box-shadow:
    0 0 0 3px rgba(0, 212, 255, 0.2),
    0 6px 20px rgba(0, 194, 232, 0.45);
}

.button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 1px 4px rgba(0, 194, 232, 0.2);
}

/* Primary accent variant — used for main CTAs */
.button:not(.button-ghost):not(.button-outline) {
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  box-shadow:
    0 1px 2px rgba(0, 194, 232, 0.15),
    0 4px 16px rgba(0, 194, 232, 0.3);
}

/* Ghost / secondary button */
.button-ghost {
  background: transparent;
  border: 1.5px solid rgba(0, 194, 232, 0.4);
  color: var(--accent);
  box-shadow: none;
}

.button-ghost::before {
  background: linear-gradient(105deg,
    transparent 40%,
    rgba(0, 194, 232, 0.08) 50%,
    transparent 60%);
  background-size: 200% 100%;
  background-position: 200% 0;
}

.button-ghost:hover {
  background: rgba(0, 194, 232, 0.06);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 194, 232, 0.15);
}

/* Accent / teal CTA button */
.button-accent {
  background: var(--accent);
  color: #fff;
  box-shadow:
    0 1px 2px rgba(0, 194, 232, 0.2),
    0 4px 16px rgba(0, 194, 232, 0.28);
}

.button-accent:hover {
  background: var(--accent-bright);
  box-shadow:
    0 2px 4px rgba(0, 194, 232, 0.2),
    0 8px 28px rgba(0, 194, 232, 0.38);
}

/* Small size */
.button-sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* Nav CTA — matches navbar height */
.nav-cta {
  min-height: 40px;
  padding: 0 20px;
  font-size: 0.85rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 194, 232, 0.28);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #33ddff 0%, var(--accent-bright) 100%);
  box-shadow: 0 4px 18px rgba(0, 194, 232, 0.42);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1120px) {
  .navbar {
    padding: 0 20px;
  }
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(44, 173, 199, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--text);
  border-radius: 2px;
}

.nav-toggle span:last-child {
  margin-bottom: 0;
}

/* Mobile Menu styles moved to the end of the file to prevent conflicts */

main {
  padding: 40px 0 80px;
}

.hero,
.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero {
  min-height: calc(100vh - 180px);
  padding: 30px 0 40px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow,
.mini-label,
.micro-label {
  color: rgba(250, 249, 248, 0.62);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-copy h1,
.page-hero h1 {
  margin: 16px 0 18px;
  max-width: 9.2ch;
  font-size: clamp(3.3rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-text,
.page-hero p,
.card p,
.split-section p,
.trust-strip p,
.footer p,
.leader-card p,
.hero-highlight p,
.device-screen p {
  color: var(--text-dim);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.hero-metrics article {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-metrics strong {
  display: block;
  font-family: "Geist", "Space Grotesk", sans-serif;
  font-size: 2.15rem;
  line-height: 1;
  color: var(--text);
}

.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.hero-visual {
  perspective: 1400px;
  overflow: hidden;
  border-radius: 40px;
}

.orbital-stage {
  position: relative;
  min-height: 640px;
  border-radius: 40px;
  border: 1px solid rgba(0, 35, 71, 0.05);
  background:
    radial-gradient(circle at top right, rgba(0, 194, 232, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9f4ee);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  transition: transform 0.25s ease;
  will-change: transform;
}

.orbital-stage::before {
  content: "";
  position: absolute;
  inset: 18% 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 232, 0.18), transparent 60%);
  filter: blur(18px);
}

.orbital-grid {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: rotateX(76deg) translateY(26%);
  transform-origin: bottom;
  opacity: 0.6;
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
}

.ring-one {
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  transform: rotateX(72deg) rotateZ(0deg);
  animation: spin 16s linear infinite;
}

.ring-two {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  border-color: rgba(0, 141, 175, 0.45);
  transform: rotateY(72deg) rotateZ(14deg);
  animation: spin-reverse 18s linear infinite;
}

.ring-three {
  width: 500px;
  height: 500px;
  margin: -250px 0 0 -250px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.16);
  transform: rotateX(82deg) rotateY(12deg);
  animation: float 6s ease-in-out infinite;
}

.device-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100% - 56px));
  padding: 18px;
  border-radius: 34px;
  border: 1px solid rgba(0, 35, 71, 0.05);
  background: #ffffff;
  box-shadow:
    0 24px 70px rgba(0, 35, 71, 0.08),
    inset 0 1px 0 #ffffff;
  transform: translate3d(-50%, -50%, 90px) rotateX(12deg) rotateY(-18deg);
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--text-dim);
  font-size: 0.86rem;
}

.device-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.device-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 20px rgba(44, 173, 199, 0.75);
}

.device-screen {
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(0, 194, 232, 0.1), transparent 35%),
    #fcfaf8;
  min-height: 370px;
}

.device-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.device-logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.device-logo strong {
  display: block;
  font-family: "Geist", "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.device-logo span {
  display: block;
  margin-top: 2px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.device-screen h2 {
  margin: 0 0 10px;
  max-width: 11ch;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.device-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.device-stats article {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-stats strong {
  display: block;
  font-size: 1.65rem;
  font-family: "Geist", "Space Grotesk", sans-serif;
}

.device-stats span {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 194, 232, 0.2);
  background: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 35, 71, 0.05);
  color: var(--text);
}

.floating-chip strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
}

.chip-a {
  top: 78px;
  right: 28px;
  width: 180px;
  transform: translateZ(60px);
  animation: float 7s ease-in-out infinite;
}

.chip-b {
  bottom: 84px;
  left: 24px;
  width: 180px;
  transform: translateZ(42px);
  animation: float 6s ease-in-out infinite reverse;
}

.chip-c {
  right: 34px;
  bottom: 118px;
  width: 170px;
  transform: translateZ(76px);
  animation: float 8s ease-in-out infinite;
}

.trust-strip,
.cta-band {
  padding: 24px 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}

.trust-stat {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.trust-stat strong {
  display: block;
  font-size: 1.25rem;
  font-family: "Geist", "Space Grotesk", sans-serif;
}

.trust-stat span {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

.page-hero,
.section-grid,
.split-section,
.content-grid,
.leader-grid,
.contact-layout {
  margin-top: 16px;
}

.page-hero {
  padding: 36px 0 0;
}

.page-hero h1 {
  max-width: 11ch;
}

.section-heading {
  max-width: 740px;
}

.section-heading h2,
.split-section h2,
.content-grid h2,
.leader-card h2,
.cta-band h2,
.contact-layout h2 {
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.feature-grid,
.path-grid,
.content-grid,
.leader-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.mission-card,
.leader-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(0, 35, 71, 0.06);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 35, 71, 0.04);
  transition: all 0.3s ease;
}

.card:hover,
.mission-card:hover,
.leader-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 35, 71, 0.08);
}

.card h3,
.mission-card h3 {
  margin: 12px 0;
  font-size: 1.45rem;
  line-height: 1.14;
}

.accent-card {
  background: linear-gradient(135deg, rgba(0, 194, 232, 0.1), rgba(0, 35, 71, 0.02));
  border-color: rgba(0, 194, 232, 0.2);
}

.stacked-cards {
  display: grid;
  gap: 16px;
}

.muted-surface {
  padding: 28px;
  border-radius: 34px;
  border: 1px solid rgba(0, 35, 71, 0.05);
  background: #fdfcfb;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.mission-card span,
.leader-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.leader-grid {
  margin-top: 20px;
}

.leader-card h2 {
  font-size: 1.7rem;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim);
  line-height: 1.62;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-bright);
  box-shadow: 0 0 18px rgba(0, 194, 232, 0.4);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--text);
  font-weight: 700;
}

.text-link::after {
  content: "\2192";
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 26px;
  padding: 18px 0 48px;
}

.footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 10px;
  color: var(--text-dim);
}

.footer-brand {
  margin-bottom: 14px;
}

/* ============================================================
   ANIMATION SYSTEM — Agnos-inspired 3D & Motion Effects
   ============================================================ */

/* ---- Scroll Reveal Variants ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Staggered delay utilities */
.reveal-delay {
  transition-delay: 0.10s;
}

.reveal-delay-2 {
  transition-delay: 0.20s;
}

.reveal-delay-3 {
  transition-delay: 0.30s;
}

.reveal-delay-4 {
  transition-delay: 0.42s;
}

.reveal-delay-5 {
  transition-delay: 0.54s;
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- 3D Card Tilt (applied via JS) ---- */
.card,
.mission-card,
.leader-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover,
.mission-card:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(0, 141, 175, 0.22);
}

/* ---- Shimmer / Gradient Text ---- */
.shimmer-text {
  background: linear-gradient(90deg,
      var(--text) 0%,
      var(--accent) 35%,
      var(--text) 65%,
      var(--accent) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 300% center;
  }
}

/* ---- Ripple on click ---- */

/* ---- Ripple on click ---- */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.5s linear;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 2;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---- Orbital stage rings ---- */
@keyframes spin {
  from {
    transform: rotateX(72deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(72deg) rotateZ(360deg);
  }
}

@keyframes spin-reverse {
  from {
    transform: rotateY(72deg) rotateZ(360deg);
  }

  to {
    transform: rotateY(72deg) rotateZ(0deg);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateZ(60px) translateY(0);
  }

  50% {
    transform: translateZ(76px) translateY(-12px);
  }
}

/* ---- Chip float variants ---- */
@keyframes float-a {

  0%,
  100% {
    transform: translateZ(60px) translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateZ(80px) translateY(-10px) rotate(1deg);
  }
}

@keyframes float-b {

  0%,
  100% {
    transform: translateZ(42px) translateY(0) rotate(1deg);
  }

  50% {
    transform: translateZ(58px) translateY(-14px) rotate(-1deg);
  }
}

@keyframes float-c {

  0%,
  100% {
    transform: translateZ(76px) translateY(0) rotate(0.5deg);
  }

  50% {
    transform: translateZ(92px) translateY(-8px) rotate(-0.5deg);
  }
}

.chip-a {
  animation: float-a 7s ease-in-out infinite;
}

.chip-b {
  animation: float-b 6s ease-in-out infinite reverse;
}

.chip-c {
  animation: float-c 8s ease-in-out infinite;
}

/* ---- Marquee ---- */
.marquee-wrapper {
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track .marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--text-dim);
  font-family: "Geist", "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.72;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.marquee-track .marquee-item:hover {
  opacity: 1;
  color: var(--text);
}

.marquee-track .marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.7;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- Section divider line reveal ---- */
.line-reveal {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.line-reveal.is-visible {
  transform: scaleX(1);
}

/* ---- Number counter highlight ---- */
.hero-metrics strong,
.device-stats strong,
.trust-stat strong {
  display: block;
  transition: color 0.35s ease;
}

/* Glow on metric cards ---- */
.hero-metrics article {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-metrics article:hover {
  background: rgba(0, 194, 232, 0.08);
  box-shadow: 0 0 0 1px rgba(44, 173, 199, 0.24), 0 20px 48px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px) scale(1.02);
}

/* ---- Cursor glow ---- */
#cursor-glow {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 141, 175, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  z-index: 0;
  will-change: transform;
}

/* ---- Nav link hover underline ---- */
.nav-links a,
.mobile-menu a {
  position: relative;
}

/* Underline removed in favor of pill-hover background for consistency */
.nav-links a::after,
.mobile-menu a::after {
  display: none;
}

/* ---- text-link hover arrow animation ---- */
.text-link {
  transition: color 0.25s ease, gap 0.25s ease;
}

.text-link:hover {
  color: var(--accent);
  gap: 14px;
}

/* ---- Page Hero gradient text on h1 ---- */
.hero-copy h1 .accent-word {
  color: var(--accent);
}

/* ---- Section heading animated underline ---- */
.section-heading h2,
.page-hero h1 {
  position: relative;
}

/* ---- Card icon accent ---- */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(0, 194, 232, 0.12);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 14px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(-4deg);
  background: rgba(0, 194, 232, 0.22);
}

/* ---- Comparison table ---- */
.compare-section {
  margin-top: 32px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
}

.compare-table th {
  font-family: "Geist", "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-bottom: 12px;
}

.compare-table tbody tr {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.25s ease;
}

.compare-table tbody tr.is-visible {
  opacity: 1;
  transform: none;
}

.compare-table tbody tr:hover {
  background: rgba(0, 194, 232, 0.04);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.compare-table td:nth-child(2) {
  color: #5bde8e;
}

.compare-table td:nth-child(3) {
  color: rgba(250, 249, 248, 0.42);
}

.compare-check {
  font-size: 1.05rem;
}

/* ---- Floating badge on orbital ---- */
@keyframes badge-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(44, 173, 199, 0.45);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(44, 173, 199, 0);
  }
}

.device-pill {
  animation: badge-pulse 2.8s ease infinite;
}

/* ---- Scroll progress bar ---- */
#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-bright));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ---- Magnetic link area ---- */
.magnetic {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- CTA band hover ---- */
.cta-band {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.cta-band:hover {
  background: linear-gradient(180deg, rgba(0, 194, 232, 0.08), rgba(0, 35, 71, 0.02));
  border-color: rgba(0, 194, 232, 0.2);
}

/* ---- Footer link hover ---- */
.footer a {
  transition: color 0.22s ease, padding-left 0.22s ease;
}

.footer a:hover {
  color: var(--text);
  padding-left: 5px;
}

/* ---- Prefers reduced motion ---- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1080px) {

  .hero,
  .split-section,
  .contact-layout,
  .feature-grid,
  .path-grid,
  .leader-grid,
  .content-grid,
  .mission-grid,
  .footer,
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {

  .topbar,
  main,
  .footer,
  .mobile-menu {
    width: min(calc(100% - 24px), var(--max));
  }
  .navbar {
    width: 100%;
    border-radius: 0;
  }

  .announcement {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 10px;
  }

  .split-section,
  .contact-layout,
  .feature-grid,
  .path-grid,
  .leader-grid,
  .content-grid,
  .mission-grid,
  .footer,
  .hero-metrics,
  .trust-strip,
  .device-stats {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .orbital-stage {
    min-height: 380px;
    overflow: hidden;
  }

  .device-shell {
    width: calc(100% - 48px);
    transform: translate3d(-50%, -50%, 20px) rotateX(6deg) rotateY(-8deg);
  }

  .chip-a,
  .chip-b,
  .chip-c {
    width: 130px;
    font-size: 0.78rem;
    padding: 10px 12px;
  }

  .chip-a {
    top: 16px;
    right: 12px;
  }

  .chip-b {
    left: 10px;
    bottom: 44px;
  }

  .chip-c {
    display: none;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  main {
    padding-top: 20px;
  }

  /* ---- Mobile compact hero ---- */
  .hero {
    padding: 16px 0 24px;
    gap: 20px;
  }
  .hero-brand-title {
    font-size: clamp(2.6rem, 13vw, 4rem) !important;
    line-height: 0.88 !important;
  }
  .hero-brand-sub {
    font-size: clamp(1.6rem, 8vw, 2.6rem);
  }
  .hero-text {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 12px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }
  .hero-actions .button {
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.85rem;
    border-radius: 12px;
  }

  /* ---- Hide orbital on mobile, show compact stat strip instead ---- */
  .hero-visual {
    display: none;
  }
  .hero-mobile-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 4px;
  }
  .hms-item {
    padding: 14px 10px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.7);
    text-align: center;
  }
  .hms-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
  }
  .hms-item span {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  /* ---- Trust strip compact ---- */
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px;
    border-radius: 20px;
  }
  .trust-strip p {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .trust-stat {
    padding-left: 14px;
  }
  .trust-stat strong {
    font-size: 1rem;
  }
  .trust-stat span {
    font-size: 0.82rem;
  }

  /* ---- Marquee compact ---- */
  .marquee-wrapper {
    padding: 14px 0;
  }

  /* ---- Core idea compact ---- */
  .core-idea-section {
    padding: 24px 0 8px;
  }
  .core-idea-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .large-desc {
    font-size: 1rem;
    margin: 10px 0;
  }
  .sub-desc {
    font-size: 0.88rem;
  }
  .vision-checklist li {
    font-size: 0.88rem;
  }

  /* ---- Split section compact ---- */
  .split-section {
    gap: 20px;
    margin-top: 0;
  }
  .split-section h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .split-section p {
    font-size: 0.9rem;
  }
  .vision-rich-card {
    gap: 14px;
    padding: 20px;
  }
  .vcs-num {
    font-size: 1.4rem;
  }

  /* ---- VM section compact ---- */
  .vm-section {
    padding: 24px 16px;
    border-radius: 24px;
  }
  .vm-heading {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }
  .vm-desc {
    font-size: 0.88rem;
  }
  .vm-vision-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .vm-vstat {
    padding: 14px;
    border-radius: 16px;
  }
  .vm-vstat-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .vm-vstat strong {
    font-size: 0.88rem;
  }
  .vm-vstat p {
    font-size: 0.78rem;
  }
  .vm-pillars {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .vm-pillar {
    padding: 14px;
    border-radius: 16px;
  }
  .vm-pillar-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .vm-pillar h4 {
    font-size: 0.88rem;
  }
  .vm-pillar p {
    font-size: 0.78rem;
  }

  /* ---- Commitments compact ---- */
  .commitments-section {
    padding: 32px 0;
    margin: 8px 0;
  }
  .commitments-section .section-heading h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
  .commitments-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .commitment-item {
    padding: 18px 14px;
    border-radius: 18px;
  }
  .commitment-item .c-num {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }
  .commitment-item h3 {
    font-size: 0.92rem;
    margin-bottom: 6px;
  }
  .commitment-item p {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* ---- Section spacing ---- */
  main > section + section {
    margin-top: 28px;
  }
}

/* ============================================================
   FINAL POLISH — Agnos parity extras
   ============================================================ */

/* Section rhythm — consistent vertical spacing */
main>section,
main>div.line-reveal {
  margin-bottom: 0;
}

main>section+section,
main>div.line-reveal+section {
  margin-top: 48px;
}

@media (max-width: 760px) {

  main>section+section,
  main>div.line-reveal+section {
    margin-top: 32px;
  }
}

/* Eyebrow — pill style like Agnos */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 194, 232, 0.2);
  background: rgba(0, 194, 232, 0.08);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* Section headings — tighter + heavier for impact */
.section-heading h2,
.split-section h2,
.content-grid h2,
.cta-band h2,
.contact-layout h2,
.page-hero h1 {
  letter-spacing: -0.055em;
  font-weight: 800;
}

/* mini-label — cleaner style */
.mini-label {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
  color: var(--text-dim);
}

/* Navbar — tighter brand text */
.brand strong {
  font-weight: 700;
  font-size: 1.05rem;
}

/* Hero h1 — tighter line-height for maximum visual impact */
.hero-copy h1 {
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: -0.06em;
}

/* Page hero — slightly less tight */
.page-hero h1 {
  line-height: 1.02;
  font-weight: 800;
}

/* Leader Profile Cards */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.leader-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.leader-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 194, 232, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 194, 232, 0.18);
}

.leader-image-container {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
  padding: 6px;
  background: linear-gradient(135deg, rgba(0, 141, 175, 0.55), rgba(0, 194, 232, 0.2) 70%, transparent);
  transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}

.leader-card:hover .leader-image-container {
  transform: scale(1.05) rotate(2deg);
}

.leader-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--bg);
}

.leader-info h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
}

.leader-info .designation {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.leader-info .role-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Leader card badge — glow ring */
.leader-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(44, 173, 199, 0.35);
  background: rgba(0, 194, 232, 0.12);
  color: #7fe0f2;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.leader-card:hover .leader-badge {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 141, 175, 0.5);
}

/* check-list dot — larger, more visible */
.check-list li::before {
  width: 8px;
  height: 8px;
  top: 8px;
  box-shadow: 0 0 12px rgba(44, 173, 199, 0.55);
}

/* Muted surface — subtle left border accent */
.muted-surface {
  border-left: 3px solid rgba(0, 141, 175, 0.22);
}

/* Orbital glow ring — stronger orange accent */
.ring-two {
  border-color: rgba(0, 141, 175, 0.55);
}

/* Floating chips — frosted glass style */
.floating-chip {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* CTA band — make h2 larger */
.cta-band h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

/* Page-level fade-in handled by JS, but ensure initial state */
html {
  transition: opacity 0.5s ease;
}

/* Marquee — tighter on mobile */
@media (max-width: 760px) {
  .marquee-track {
    gap: 36px;
  }

  .marquee-track .marquee-item {
    font-size: 0.88rem;
  }

  .marquee-track {
    animation-duration: 18s;
  }
}

/* Card accent-card — stronger gradient */
.accent-card {
  background: linear-gradient(160deg, rgba(0, 141, 175, 0.28), rgba(0, 75, 128, 0.1));
  border-color: rgba(44, 173, 199, 0.22);
}

/* Trust strip — add accent left border */
.trust-strip {
  border-left: 3px solid rgba(0, 194, 232, 0.25);
}

/* Footer — divider line at top */
.footer {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

/* Subtle section-grid spacing */
.section-grid {
  padding: 40px 0;
}


.section-grid.muted-surface {
  padding: 36px 28px;
  margin-left: 0;
  margin-right: 0;
  border-radius: 28px;
}

.email-display {
  display: block;
  font-size: clamp(0.9rem, 3.5vw, 1.15rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 8px;
  word-break: break-all;
  color: var(--accent-bright);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.email-display:hover {
  color: var(--accent);
  opacity: 0.85;
}

.carousel-container {
  width: 100%;
}

.founder-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: transparent; /* Removed white border/background */
  border: none;
}

.carousel-track {
  position: relative;
  min-height: 0; /* Auto height from content */
  display: grid;
  grid-template-columns: 1fr;
}

.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.6s;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}




.carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 194, 232, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0, 194, 232, 0.4);
}

.founder-banner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 80px 80px; /* Added extra bottom padding to prevent dots overlap */
}

.founder-banner-photo {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(0, 194, 232, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.founder-banner-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 194, 232, 0.25);
}

.founder-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-banner-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder-quote {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
  font-style: italic;
  letter-spacing: -0.02em;
}

.founder-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
  max-width: 720px;
  min-height: 180px; /* Balance the height for different message lengths */
}

.founder-sig {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-sig strong {
  font-size: 1.15rem;
  color: var(--text);
}

.founder-sig span {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  .founder-banner {
    flex-direction: column;
    padding: 32px 20px;
    gap: 30px;
    text-align: center;
  }
  .founder-banner-photo {
    width: 160px;
    height: 160px;
  }
  .founder-quote {
    font-size: 1.4rem;
  }
  .founder-sub {
    font-size: 0.95rem;
    min-height: auto;
  }
  .carousel-nav {
    display: none; /* Hide arrows on mobile for cleaner look */
  }
}


/* ============================================================
   HERO BRAND TITLE
   ============================================================ */
.hero-brand-title {
  font-size: clamp(3.2rem, 9vw, 7rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 0.9 !important;
  max-width: none !important;
}

.hero-brand-sub {
  display: block;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   VISION & MISSION SECTION
   ============================================================ */
.vm-section {
  margin-top: 32px;
  padding: 56px 48px;
}

.vm-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: start;
}

.vm-divider {
  width: 1px;
  min-height: 320px;
  background: linear-gradient(to bottom, transparent, var(--accent-bright), var(--accent), transparent);
  margin-top: 40px;
  opacity: 0.35;
  animation: vm-divider-glow 4s ease-in-out infinite alternate;
}

@keyframes vm-divider-glow {
  from {
    opacity: 0.2;
  }

  to {
    opacity: 0.55;
  }
}

.vm-label-row {
  margin-bottom: 18px;
}

.vm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.vision-badge {
  background: rgba(44, 173, 199, 0.15);
  border: 1px solid rgba(0, 194, 232, 0.3);
  color: var(--accent-bright);
}

.mission-badge {
  background: rgba(0, 194, 232, 0.15);
  border: 1px solid rgba(0, 141, 175, 0.3);
  color: #7fddee;
}

.vm-heading {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.vm-accent {
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vm-desc {
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 1.02rem;
  margin: 0 0 32px;
}

/* Mission Pillars Grid */
.vm-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.vm-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 141, 175, 0.06));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.vm-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 173, 199, 0.35);
  box-shadow: 0 18px 40px rgba(0, 141, 175, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vm-pillar-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(0, 141, 175, 0.16);
  border: 1px solid rgba(0, 194, 232, 0.2);
  transition: transform 0.35s ease;
}

.vm-pillar:hover .vm-pillar-icon {
  transform: scale(1.12) rotate(-4deg);
}

.vm-pillar h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-family: "Geist", "Space Grotesk", sans-serif;
  color: var(--text);
  letter-spacing: -0.02em;
}

.vm-pillar p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.84rem;
  line-height: 1.6;
}

/* Staggered pillar reveal animation offsets */
.vm-pillar:nth-child(1) {
  animation-delay: 0.05s;
}

.vm-pillar:nth-child(2) {
  animation-delay: 0.10s;
}

.vm-pillar:nth-child(3) {
  animation-delay: 0.15s;
}

.vm-pillar:nth-child(4) {
  animation-delay: 0.20s;
}

.vm-pillar:nth-child(5) {
  animation-delay: 0.25s;
}

.vm-pillar:nth-child(6) {
  animation-delay: 0.30s;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .vm-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vm-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-bright), var(--accent), transparent);
    margin: 0;
  }

  .vm-section {
    padding: 36px 24px;
  }

  .vm-pillars {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 560px) {
  .hero-brand-title {
    font-size: clamp(3rem, 13vw, 5rem) !important;
  }
}

/* ============================================================
   CORE IDEA & COMMITMENTS STYLES
   ============================================================ */

.core-idea-section {
  padding: 40px 0 10px;
  margin: 0;
}

.core-idea-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.large-desc {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text);
  margin: 16px 0;
}

.sub-desc {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.highlight-card {
  border-color: var(--accent-bright);
  background: linear-gradient(180deg, rgba(0, 194, 232, 0.05), #ffffff);
}

.core-idea-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.pillar-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .core-idea-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.commitments-section {
  padding: 60px 0;
  margin: 20px 0;
}

.commitments-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.commitment-item {
  padding: 30px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 141, 175, 0.05));
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.commitment-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent-bright);
  box-shadow: 0 20px 40px rgba(0, 194, 232, 0.15);
}

.commitment-item .c-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(44, 173, 199, 0.15);
  margin-bottom: 10px;
  line-height: 1;
}

.commitment-item h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text);
  line-height: 1.3;
}

.commitment-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

@media (max-width: 1100px) {
  .commitments-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 480px) {
  .commitments-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ENRICHED CONTENT STYLES
   ============================================================ */

/* Pillar Card Checklists */
.card-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-footer-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.card-footer-note strong {
  color: var(--accent-bright);
  margin-right: 4px;
}

.card-checklist li {
  font-size: 0.88rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-checklist li::before {
  content: "→";
  color: var(--accent-bright);
  font-weight: 700;
}

/* Vision Rich Card */
.vision-rich-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vision-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.vc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
}

.vision-card-stat {
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vcs-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.vcs-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-bright);
}

/* VM Vision Stats */
.vm-vision-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.vm-vstat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(0, 141, 175, 0.06));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.vm-vstat:hover {
  transform: translateY(-4px);
  border-color: rgba(44, 173, 199, 0.35);
  box-shadow: 0 18px 40px rgba(0, 141, 175, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vm-vstat-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(0, 141, 175, 0.16);
  border: 1px solid rgba(0, 194, 232, 0.2);
  transition: transform 0.35s ease;
}

.vm-vstat:hover .vm-vstat-icon {
  transform: scale(1.12) rotate(-4deg);
}

.vm-vstat strong {
  display: block;
  font-size: 0.95rem;
  font-family: "Geist", "Space Grotesk", sans-serif;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.vm-vstat p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* Staggered vstat reveal animation offsets */
.vm-vstat:nth-child(1) { animation-delay: 0.05s; }
.vm-vstat:nth-child(2) { animation-delay: 0.10s; }
.vm-vstat:nth-child(3) { animation-delay: 0.15s; }
.vm-vstat:nth-child(4) { animation-delay: 0.20s; }


@media (max-width: 640px) {
  .vm-vision-stats {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ENHANCED FOOTER STYLES
   ============================================================ */
.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 100px;
}

.footer-info p {
  margin: 20px 0;
  max-width: 400px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

.footer h3 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contact a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent-bright);
}

.footer-email {
  font-weight: 600;
  color: var(--text) !important;
}

.footer-tagline {
  margin-top: 20px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-bright);
  font-weight: 700;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: rgba(220, 240, 250, 0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: inherit;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .footer {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-info {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ============================================================
   INTEGRATED FOUNDER HERO STYLES
   ============================================================ */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px !important;
}

.founder-card-mini {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 141, 175, 0.06));
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.founder-card-mini:hover {
  transform: translateY(-5px);
  border-color: var(--accent-bright);
}

.quote-mini {
  font-family: "Geist", "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
  font-style: italic;
  font-weight: 700;
  margin: 12px 0;
  position: relative;
}

.founder-desc-mini {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 18px;
}

.founder-sig-mini strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.founder-sig-mini span {
  display: block;
  font-size: 0.78rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.founder-img-mini {
  width: 110px;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.founder-img-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .founder-card-mini {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .founder-img-mini {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
  }
}

/* ============================================================
   LEADER PROFILE MODAL STYLES
   ============================================================ */

.leader-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(249, 244, 238, 0.9);
  backdrop-filter: blur(12px);
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.leader-modal.open {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border: 1px solid rgba(0, 35, 71, 0.05);
  border-radius: 36px;
  width: 100%;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  box-shadow: 0 40px 100px rgba(0, 35, 71, 0.12);
  animation: modalIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--accent-soft);
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  padding: 50px;
  display: flex;
  flex-direction: column;
}

.modal-info .eyebrow {
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.modal-info h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.modal-info .designation {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.modal-bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 32px;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0077b5;
  color: white;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  width: max-content;
  transition: transform 0.3s ease, background 0.3s ease;
}

.linkedin-btn:hover {
  background: #00a0dc;
  transform: translateY(-3px);
}

.linkedin-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-img {
    height: 300px;
  }

  .modal-info {
    padding: 30px;
  }
}

.leader-card {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leader-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.leader-card::after {
  content: "View Profile";
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent-soft);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.leader-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SOCIAL CONNECT SECTION
   ============================================================ */
.social-connect {
  padding: 100px 5%;
  background: white;
}

.sc-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.sc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.sc-item {
  background: var(--bg);
  padding: 30px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(0, 35, 71, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-item:hover {
  transform: translateY(-8px);
  background: white;
  box-shadow: 0 20px 40px rgba(0, 35, 71, 0.08);
  border-color: var(--primary);
}

.sc-icon {
  font-size: 32px;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 35, 71, 0.04);
}

.sc-item span {
  font-weight: 600;
  font-size: 1.1rem;
}



/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  width: 100%;
  background: var(--text);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow */
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 194, 232, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Main grid ---- */
.sf-main {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

/* ---- Brand col ---- */
.sf-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sf-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 4px;
}

.sf-word-megsyra {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-bright) 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wordmark-shimmer 5s linear infinite;
}

.sf-word-solutions {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  padding-left: 3px;
}

@keyframes wordmark-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.sf-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}

.sf-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sf-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sf-ci-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 194, 232, 0.1);
  border: 1px solid rgba(0, 194, 232, 0.2);
  flex-shrink: 0;
}

.sf-ci-badge svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-bright);
}

.sf-contact-list a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  transition: color 0.22s ease;
  word-break: break-all;
  text-decoration: none;
}

.sf-contact-list a:hover {
  color: #ffffff;
}

/* ---- Nav col ---- */
.sf-links-col {
  display: flex;
  flex-direction: column;
}

.sf-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sf-nav a {
  display: flex;
  align-items: center;
  gap: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 7px 0;
  text-decoration: none;
  transition: color 0.22s ease, gap 0.22s ease;
  position: relative;
}

.sf-nav a span {
  position: relative;
}

.sf-nav a::before {
  content: "\2192";
  font-size: 0.85rem;
  color: var(--accent-bright);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  margin-right: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, width 0.22s ease, margin-right 0.22s ease;
}

.sf-nav a:hover {
  color: #ffffff;
  gap: 8px;
}

.sf-nav a:hover::before {
  opacity: 1;
  transform: translateX(0);
  width: 14px;
  margin-right: 8px;
}

/* ---- Social col ---- */
.sf-social-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sf-social-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0;
}

.sf-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.sf-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
}

.sf-social-btn svg {
  width: 17px;
  height: 17px;
}

.sf-social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 194, 232, 0.35);
}

/* ---- Bottom bar ---- */
.sf-bottom {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sf-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.sf-bottom-links {
  display: flex;
  gap: 24px;
}

.sf-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.22s ease;
  text-decoration: none;
}

.sf-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ---- Mobile header fix ---- */
@media (max-width: 900px) {
  .navbar {
    padding: 0 16px;
    height: 64px;
  }
  .brand img {
    height: 44px;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .sf-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 32px;
  }
  .sf-brand-col {
    grid-column: span 1;
  }
  .sf-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .sf-bottom-links {
    flex-wrap: wrap;
    gap: 16px;
  }
  .sf-word-megsyra {
    font-size: 2.2rem;
  }
  .sf-socials {
    gap: 8px;
  }
  .sf-social-btn {
    width: 38px;
    height: 38px;
  }
}


/* ============================================================
   FOUNDER BANNER — 2-column: text left, photo right
   ============================================================ */
.founder-banner {
  margin-top: 24px;
  padding: 36px 32px;
  border-radius: 28px;
  border: 1px solid rgba(44, 173, 199, 0.22);
  background: linear-gradient(135deg, rgba(0, 194, 232, 0.12) 0%, rgba(0, 75, 128, 0.08) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 32px;
}

.founder-banner::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  left: 16px;
  font-size: 10rem;
  font-family: Georgia, serif;
  color: rgba(44, 173, 199, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* Photo on the RIGHT */
.founder-banner-photo {
  flex-shrink: 0;
  order: 2;
  width: 160px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(44, 173, 199, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(44, 173, 199, 0.06);
  position: relative;
  z-index: 1;
}

.founder-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-banner-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  order: 1;
}

.founder-quote {
  margin: 10px 0 14px;
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-family: "Space Grotesk", sans-serif;
  font-style: italic;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.founder-sub {
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.founder-sig {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-sig strong {
  font-size: 0.93rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  font-weight: 700;
}

.founder-sig span {
  font-size: 0.78rem;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
}

/* Tablet: shrink photo */
@media (max-width: 760px) {
  .founder-banner {
    gap: 20px;
    padding: 24px 20px;
  }

  .founder-banner-photo {
    width: 110px;
    height: 140px;
    border-radius: 14px;
  }
}

/* Mobile: stack, photo goes on top */
@media (max-width: 520px) {
  .founder-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .founder-banner-photo {
    order: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }

  .founder-banner-inner {
    order: 1;
  }
}

/* ============================================================
   CONTACT PAGE — Phone / email links
   ============================================================ */
.contact-phone-heading {
  font-size: 1.4rem !important;
  margin: 8px 0 16px !important;
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-phone-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
  text-decoration: none;
}

.contact-phone-link:hover {
  background: rgba(0, 141, 175, 0.1);
  border-color: rgba(44, 173, 199, 0.35);
  transform: translateX(4px);
  color: var(--text);
}

.contact-phone-flag {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-section {
  margin: 60px 0;
}

.contact-form-container {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.contact-form-header h2 {
  margin: 12px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.05em;
}

.contact-form-header p {
  color: var(--text-dim);
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid rgba(0, 35, 71, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 194, 232, 0.1);
}

.form-group textarea {
  resize: vertical;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* ============================================================
   LEADER FLIP CARDS — Mobile-first, tap to flip
   ============================================================ */
.leader-flip-section {
}

.flip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

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

@media (min-width: 1024px) {
  .flip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (min-width: 640px) {
  .flip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .flip-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.flip-card {
  perspective: 1200px;
  cursor: pointer;
  min-height: 380px;
  outline: none;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 20px;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.flip-front {
  background: #0a192f;
  padding: 0;
  overflow: hidden;
  justify-content: flex-end;
  border: 1px solid rgba(0, 194, 232, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.flip-back {
  background: linear-gradient(135deg, #ffffff 0%, #fdf9f4 100%);
  color: #0a284c;
  transform: rotateY(180deg);
  justify-content: center;
  padding: 30px 20px;
  gap: 14px;
  border: 1px solid rgba(0, 35, 71, 0.08);
  backdrop-filter: blur(20px);
}

/* Subtle glow on hover (front only) */
.flip-card:hover .flip-front,
.flip-card:focus .flip-front {
  border-color: rgba(0, 194, 232, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.flip-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  z-index: 0;
}

.flip-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, 
    rgba(0, 20, 40, 0.9) 0%, 
    rgba(0, 20, 40, 0.4) 40%, 
    transparent 100%);
  z-index: 1;
}

.flip-img-wrap img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center; /* Ensure perfectly centered */
  display: block;
}

.flip-name {
  position: relative;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.flip-title {
  position: relative;
  z-index: 2;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.flip-hint {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  font-size: 0.65rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  pointer-events: none;
  animation: hintPulse 2.5s ease-in-out infinite;
}

@keyframes hintPulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* Hide hint on desktop after 4 seconds */
@media (pointer: fine) {
  .flip-hint {
    animation: hintFadeOut 0.5s ease-in 4s forwards;
  }
}

@keyframes hintFadeOut {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 0;
    pointer-events: none;
  }
}

.flip-bio {
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

.linkedin-flip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 141, 175, 0.25);
  margin-top: 4px;
}

.linkedin-flip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 194, 232, 0.35);
}

.linkedin-flip-btn svg {
  width: 15px;
  height: 15px;
  fill: #fff;
  flex-shrink: 0;
}

/* Page hero for inner pages — simplified, no two-column split */
.page-hero {
  padding: 32px 0 8px;
  max-width: 640px;
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 12px 0 14px;
}

.page-hero p {
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 520px;
  font-size: 0.97rem;
  margin: 0;
}

/* Consistently professional mobile layout maintained via main media queries */
@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================================
   LEGAL PAGES STYLING
   ============================================================ */
.legal-section {
  padding: 60px 0 80px;
}

.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid rgba(0, 35, 71, 0.07);
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 8px 40px rgba(0, 35, 71, 0.05);
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0, 35, 71, 0.08);
  display: flex;
  flex-direction: column;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  transition: all 0.22s ease;
  width: fit-content;
}

.legal-back-link:hover {
  gap: 12px;
  color: var(--accent-bright);
}

.legal-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin: 0 0 10px;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  margin: 0;
}

.legal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  margin: 36px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}

.legal-body h2::before {
  content: "";
  display: block;
  width: 3px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.legal-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}

.legal-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover {
  color: var(--accent-deep);
}

.legal-body ul {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-body li {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.legal-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

  .legal-header h1 {
    font-size: 1.8rem;
  }
}

.mobile-menu {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  border-bottom: 1px solid rgba(0, 35, 71, 0.08);
  box-shadow: 0 12px 36px rgba(0, 35, 71, 0.12);
  visibility: hidden;
}

@media (max-width: 600px) {
  .mobile-menu {
    top: 100px; /* Match new mobile navbar height */
  }
}

.mobile-menu.open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 12px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}


/* ============================================================
   COMING SOON — Programs Page
   ============================================================ */
.coming-soon-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

.cs-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 232, 0.1) 0%, transparent 65%);
  animation: cs-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cs-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.5; }
  50%       { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

.cs-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cs-heading {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  display: flex;
  gap: 0.12em;
}

.cs-word {
  display: inline-block;
  color: var(--text);
  animation: cs-float 3.2s ease-in-out infinite;
}

.cs-word-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: cs-float 3.2s ease-in-out infinite 0.18s;
}

@keyframes cs-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.cs-desc {
  max-width: 460px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

.cs-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  animation: cs-bounce 1.4s ease-in-out infinite;
}

.cs-dot:nth-child(2) { animation-delay: 0.2s; }
.cs-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes cs-bounce {
  0%, 80%, 100% { transform: scale(1);   opacity: 0.35; }
  40%           { transform: scale(1.6); opacity: 1; }
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(0, 194, 232, 0.08);
  color: var(--accent);
}

.mobile-menu .mobile-cta {
  margin-top: 8px;
}

/* ============================================================
   INTERNSHIP PAGE — programs.html
   ============================================================ */

/* ---- Hero ---- */
.intern-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 60px;
  min-height: calc(100vh - 180px);
}

.intern-hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 800;
}

/* ---- Hero Visual Card ---- */
.intern-hero-visual {
  position: relative;
}

.intern-visual-card {
  background: #ffffff;
  border: 1px solid rgba(0, 35, 71, 0.07);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ivc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ivc-live {
  font-size: 0.78rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.05em;
  font-family: "Space Grotesk", sans-serif;
}

.ivc-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ivc-stat {
  text-align: center;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 194, 232, 0.06), rgba(0, 35, 71, 0.02));
  border: 1px solid var(--line);
}

.ivc-stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.ivc-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ivc-domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ivc-tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(0, 194, 232, 0.2);
}

.ivc-progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ivc-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.ivc-progress-bar {
  height: 6px;
  background: rgba(0, 35, 71, 0.07);
  border-radius: 999px;
  overflow: hidden;
}

.ivc-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-bright), var(--accent));
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.ivc-progress-fill.ivc-progress-animated {
  width: 72%;
}

.ivc-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ivc-cert-badge,
.ivc-remote-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

/* ---- Floating decorative chips on hero visual ---- */
.intern-chip {
  position: absolute;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 194, 232, 0.2);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 35, 71, 0.06);
  color: var(--text);
  z-index: 2;
}

.intern-chip .micro-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.7rem;
  margin-bottom: 2px;
}

.intern-chip strong {
  display: block;
  font-size: 0.88rem;
  font-family: "Space Grotesk", sans-serif;
}

.chip-top-right {
  top: -18px;
  right: -18px;
  animation: intern-float-a 6s ease-in-out infinite;
}

.chip-bottom-left {
  bottom: -18px;
  left: -18px;
  animation: intern-float-b 7s ease-in-out infinite;
}

@keyframes intern-float-a {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-8px) rotate(1deg); }
}

@keyframes intern-float-b {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50%       { transform: translateY(-10px) rotate(-1deg); }
}

/* ---- Highlights Grid ---- */
.intern-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.intern-highlight-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 35, 71, 0.06);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 35, 71, 0.04);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.intern-highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(0, 35, 71, 0.08);
  border-color: rgba(0, 194, 232, 0.2);
}

.intern-highlight-card h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
  line-height: 1.2;
}

.intern-highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- Domain Grid ---- */
.intern-domains-wrap {
  margin-top: 32px;
}

.intern-domain-category-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 14px;
}

.intern-domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.intern-domain-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  transition: all 0.25s ease;
  cursor: default;
}

.intern-domain-card:hover {
  border-color: rgba(0, 194, 232, 0.35);
  background: rgba(0, 194, 232, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 35, 71, 0.06);
}

.intern-domain-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ---- Why Megsyra ---- */
.intern-why-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 20px 0;
}

.intern-why-desc {
  color: var(--text-dim);
  line-height: 1.72;
  margin: 14px 0 24px;
}

.intern-why-copy h2 {
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -0.048em;
  font-weight: 800;
}

.intern-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.intern-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
}

.intern-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(0, 194, 232, 0.25);
}

/* Stats cards */
.intern-why-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.intern-why-stats .intern-stat-card:last-child {
  grid-column: 1 / -1;
}

.intern-stat-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 35, 71, 0.04);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.intern-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 35, 71, 0.08);
  border-color: rgba(0, 194, 232, 0.25);
}

.intern-stat-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.intern-stat-plus {
  position: absolute;
  top: 28px;
  right: 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
}

.intern-stat-card p {
  margin: 10px 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Timeline ---- */
.intern-timeline {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
}

.intern-timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
}

.itl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itl-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(0, 194, 232, 0.3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.itl-connector {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--accent), rgba(0, 194, 232, 0.12));
  margin: 4px 0;
}

.itl-connector--last {
  background: transparent;
}

.itl-content {
  padding: 12px 0 32px;
}

.itl-content h3 {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.itl-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 480px;
}

.itl-link {
  color: var(--accent);
  font-weight: 700;
  transition: color 0.2s ease;
}

.itl-link:hover {
  color: var(--accent-deep);
}

/* ---- Final CTA ---- */
.intern-cta-section {
  padding: 20px 0 60px;
}

.intern-cta-inner {
  position: relative;
  text-align: center;
  padding: 72px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 194, 232, 0.03));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.intern-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 232, 0.1), transparent 65%);
  pointer-events: none;
  animation: intern-cta-pulse 5s ease-in-out infinite;
}

@keyframes intern-cta-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.18); }
}

.intern-cta-inner h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
  position: relative;
}

.intern-cta-inner p {
  color: var(--text-dim);
  max-width: 480px;
  line-height: 1.7;
  margin: 0;
  font-size: 0.97rem;
  position: relative;
}

.intern-cta-inner .button {
  position: relative;
  margin-top: 8px;
  padding: 0 36px;
  min-height: 54px;
  font-size: 1rem;
}

/* ============================================================
   INTERNSHIP — RESPONSIVE
   ============================================================ */

/* Tablet: 2-col domains → 2-col */
@media (max-width: 1080px) {
  .intern-domains-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .intern-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium tablet */
@media (max-width: 900px) {
  .intern-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px;
    padding: 24px 0 40px;
  }

  .chip-top-right,
  .chip-bottom-left {
    display: none;
  }

  .intern-why-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intern-why-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .intern-why-stats .intern-stat-card:last-child {
    grid-column: auto;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .intern-hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .intern-highlights-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .intern-domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intern-checklist {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .intern-why-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .intern-cta-inner {
    padding: 48px 24px;
  }

  .intern-timeline {
    max-width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .intern-domains-grid {
    grid-template-columns: 1fr;
  }

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

  .intern-why-stats .intern-stat-card:last-child {
    grid-column: auto;
  }

  .ivc-stat-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
