* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #020309;
  --bg-2: #0a0d24;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --gold: #f0b429;
  --mars: #f2603a;
  --text: #e8ecf8;
  --muted: #9aa3c0;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.12);
}

body {
  background:
    radial-gradient(ellipse 60% 45% at 82% 0%, rgba(255, 90, 40, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 8% 100%, rgba(124, 58, 237, 0.14), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cyan); }

/* ---------- Deep-space background layers ---------- */
.stars, .stars2 {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}
.stars {
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, #fff, transparent),
    radial-gradient(1px 1px at 18% 42%, #cfe8ff, transparent),
    radial-gradient(1.5px 1.5px at 26% 8%, #fff, transparent),
    radial-gradient(1px 1px at 34% 68%, #fff, transparent),
    radial-gradient(2px 2px at 42% 20%, #fff, transparent),
    radial-gradient(1px 1px at 48% 84%, #ffd9a0, transparent),
    radial-gradient(1px 1px at 56% 34%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 63% 62%, #cfe8ff, transparent),
    radial-gradient(1px 1px at 70% 14%, #fff, transparent),
    radial-gradient(2px 2px at 76% 48%, #fff, transparent),
    radial-gradient(1px 1px at 82% 76%, #fff, transparent),
    radial-gradient(1px 1px at 88% 26%, #cfe8ff, transparent),
    radial-gradient(1.5px 1.5px at 93% 58%, #fff, transparent),
    radial-gradient(1px 1px at 5% 88%, #fff, transparent),
    radial-gradient(1px 1px at 14% 60%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 38% 92%, #fff, transparent),
    radial-gradient(1px 1px at 52% 52%, #ffd9a0, transparent),
    radial-gradient(1px 1px at 67% 90%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 95% 8%, #fff, transparent),
    radial-gradient(1px 1px at 22% 28%, #fff, transparent);
}
.stars2 {
  background-image:
    radial-gradient(1px 1px at 12% 36%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 24% 74%, #fff, transparent),
    radial-gradient(1px 1px at 31% 18%, #cfe8ff, transparent),
    radial-gradient(1px 1px at 45% 44%, #fff, transparent),
    radial-gradient(2px 2px at 58% 10%, #fff, transparent),
    radial-gradient(1px 1px at 66% 80%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 73% 30%, #ffd9a0, transparent),
    radial-gradient(1px 1px at 85% 52%, #fff, transparent),
    radial-gradient(1px 1px at 91% 84%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 3% 30%, #fff, transparent),
    radial-gradient(1px 1px at 36% 56%, #fff, transparent),
    radial-gradient(1px 1px at 79% 66%, #cfe8ff, transparent);
  animation: twinkle 4.5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

.shooting {
  position: fixed;
  top: 14%;
  left: 72%;
  width: 130px;
  height: 2px;
  z-index: -2;
  background: linear-gradient(90deg, #fff, rgba(34, 211, 238, 0.6), transparent);
  border-radius: 2px;
  opacity: 0;
  animation: shooting 11s linear infinite;
  pointer-events: none;
}

@keyframes shooting {
  0%, 68% { opacity: 0; transform: translateX(0) rotate(-32deg); }
  74% { opacity: 1; }
  84%, 100% { opacity: 0; transform: translateX(-300px) rotate(-32deg); }
}

/* Faint circuit traces at the edges of deep space */
.circuit {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 50%, transparent 42%, black 100%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 50%, transparent 42%, black 100%);
}

/* Nebula orbs behind everything */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}
.orb-a { width: 460px; height: 460px; background: #7c3aed; top: -140px; left: -80px; animation: drift 16s ease-in-out infinite alternate; }
.orb-b { width: 400px; height: 400px; background: #0891b2; top: 30%; right: -120px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.orb-c { width: 340px; height: 340px; background: #b45309; bottom: -120px; left: 30%; opacity: 0.22; animation: drift 18s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 45px) scale(1.12); }
}

/* ---------- Full logo, shown exactly as attached — no disc, ring, filter or animation ---------- */
.logo-full {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto 26px;
  mix-blend-mode: screen;
}
.logo-full-mini {
  display: block;
  width: 85px;
  height: auto;
  margin: 0 auto 14px;
  mix-blend-mode: screen;
}
/* ---------- End of full-logo rules ---------- */

@keyframes card-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes link-in {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heading-shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes btn-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(34, 211, 238, 0.5), 0 0 60px rgba(167, 139, 250, 0.25); }
  50% { box-shadow: 0 0 40px rgba(34, 211, 238, 0.85), 0 0 90px rgba(167, 139, 250, 0.5); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes badge-shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ---------- Space-scene motion ---------- */
@keyframes mars-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rocket-float {
  0%, 100% { transform: translateY(0) rotate(-18deg); }
  50% { transform: translateY(-14px) rotate(-14deg); }
}

@keyframes flame-flicker {
  from { transform: scaleY(1); opacity: 0.9; }
  to { transform: scaleY(1.3); opacity: 1; }
}

@keyframes ufo-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(26px, -12px); }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scan {
  0% { top: -4px; opacity: 0; }
  8% { opacity: 0.5; }
  92% { opacity: 0.5; }
  100% { top: 100%; opacity: 0; }
}

.hero > * { animation: fade-down 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero > *:nth-child(2) { animation-delay: 0.1s; }
.hero > *:nth-child(3) { animation-delay: 0.2s; }
.hero > *:nth-child(4) { animation-delay: 0.3s; }
.hero > *:nth-child(5) { animation-delay: 0.4s; }
.hero > *:nth-child(6) { animation-delay: 0.5s; }

/* Scroll-in reveal for sections */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.hero {
  text-align: center;
  padding: 72px 20px 60px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.16) 0%, rgba(2, 3, 9, 0) 70%);
  border-bottom: 1px solid rgba(167, 139, 250, 0.25);
  position: relative;
  overflow: hidden;
}

.hero .logo-full,
.hero .ai-badge,
.hero h1,
.hero .tagline,
.hero .hero-minds,
.hero .hero-links,
.hero .hero-stats { position: relative; z-index: 1; }

/* Space scene layer inside the hero */
.hero-space {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Mars — big red planet with craters, glow and an orbiting satellite ring */
.mars {
  position: absolute;
  top: 34px;
  right: 3%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 196, 150, 0.85) 0%, transparent 40%),
    radial-gradient(circle at 64% 56%, rgba(110, 26, 8, 0.55) 0%, transparent 36%),
    radial-gradient(circle at 38% 72%, rgba(110, 26, 8, 0.5) 0%, transparent 30%),
    radial-gradient(circle at 70% 30%, rgba(255, 150, 100, 0.35) 0%, transparent 28%),
    radial-gradient(circle at 38% 32%, #ff9a66 0%, #f2603a 34%, #c63d1e 62%, #7e1d0c 100%);
  box-shadow:
    0 0 60px rgba(255, 90, 40, 0.45),
    0 0 140px rgba(255, 90, 40, 0.18),
    inset -30px -30px 60px rgba(0, 0, 0, 0.55);
  animation: mars-float 9s ease-in-out infinite;
}

.mars-ring {
  position: absolute;
  inset: -30px;
  border: 1px dashed rgba(34, 211, 238, 0.45);
  border-radius: 50%;
  animation: spin-slow 26s linear infinite;
}
.mars-ring::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan), 0 0 26px rgba(34, 211, 238, 0.6);
}

/* Rocket climbing at the lower left of the hero */
.hero-rocket {
  position: absolute;
  left: 5%;
  bottom: 24px;
  width: 92px;
  height: 184px;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.35));
  animation: rocket-float 5s ease-in-out infinite;
}
.hero-rocket .flame {
  transform-box: fill-box;
  transform-origin: 50% 0%;
  animation: flame-flicker 0.45s ease-in-out infinite alternate;
}

/* Little UFO drifting across the top of the hero */
.hero-ufo {
  position: absolute;
  top: 48px;
  left: 22%;
  width: 110px;
  height: 57px;
  filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.45));
  animation: ufo-drift 8s ease-in-out infinite;
}

/* Friendly robot character in the hero, waving hello */
.hero-robot {
  position: absolute;
  left: 2%;
  top: 38%;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(240, 180, 41, 0.35));
  animation: robot-float 6s ease-in-out infinite;
}
.robot-wave {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: robot-wave 1.6s ease-in-out infinite;
}
.robot-light { animation: robot-blink 1.8s ease-in-out infinite; }

/* Astronaut floating near Mars */
.hero-astronaut {
  position: absolute;
  right: 12%;
  top: 56%;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.35));
  animation: astro-float 7s ease-in-out infinite;
}

/* Small satellite drifting near the top of the hero */
.hero-satellite {
  position: absolute;
  right: 26%;
  top: 20px;
  width: 88px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.3));
  animation: sat-drift 9s ease-in-out infinite;
}

/* Rover parked on the Mars surface */
.mars-rover {
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 64px;
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Small robot in the technology section */
.tech { position: relative; }
.tech .section-sub { padding-right: 96px; }
.tech-robot {
  position: absolute;
  right: 6px;
  top: 44px;
  width: 76px;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(240, 180, 41, 0.3));
  animation: robot-float 6s ease-in-out infinite;
}

@keyframes robot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes robot-wave {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(16deg); }
}
@keyframes robot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
@keyframes astro-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes sat-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -8px); }
}

/* HUD scanline sweeping down the hero */
.scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.7), transparent);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.6);
  animation: scan 9s linear infinite;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #06121a;
  background: linear-gradient(90deg, var(--cyan), #34d399, var(--violet));
  background-size: 200% 100%;
  animation: badge-shine 5s linear infinite, glow-pulse 2.8s ease-in-out infinite;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.5);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06121a;
  animation: pulse 1.6s ease-in-out infinite;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.12;
  letter-spacing: -0.5px;
  max-width: 860px;
  margin: 0 auto;
}

.grad-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold), var(--mars), var(--cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: badge-shine 8s linear infinite;
}

.tagline {
  font-size: 1.25rem;
  color: var(--text);
  margin: 16px auto 28px;
  max-width: 640px;
}

.hero-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--cyan));
  background-size: 200% 100%;
  animation: btn-flow 6s ease-in-out infinite alternate;
  color: #06121a;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(167, 139, 250, 0.6); }

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--glass-border);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn.ghost:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(34, 211, 238, 0.25); }

.hero-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 14px 34px rgba(34, 211, 238, 0.22),
    0 0 24px rgba(167, 139, 250, 0.25);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label { font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }

/* Mission ticker scrolling under the hero */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(34, 211, 238, 0.25);
  border-bottom: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(5, 10, 25, 0.6);
  padding: 10px 0;
}
.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-track span {
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  font-weight: 700;
  color: var(--cyan);
  padding-right: 12px;
}

main { max-width: 1020px; margin: 0 auto; padding: 0 20px; position: relative; }

section { padding: 52px 0 8px; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

h2 {
  position: relative;
  font-size: 1.9rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--mars), var(--cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heading-shimmer 7s linear infinite;
}
/* Gradient underline that grows in when the section scrolls into view */
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.5);
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}
.reveal.visible h2::after { width: 72px; }

/* Staggered card entrances: cards rise in one by one as their section appears.
   Fill mode is "backwards" so after the entrance the card returns to its
   natural state and the hover lift keeps working. */
.reveal.visible .card { animation: card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.reveal.visible .card:nth-child(2) { animation-delay: 0.08s; }
.reveal.visible .card:nth-child(3) { animation-delay: 0.16s; }
.reveal.visible .card:nth-child(4) { animation-delay: 0.24s; }
.reveal.visible .card:nth-child(5) { animation-delay: 0.32s; }
.reveal.visible .card:nth-child(6) { animation-delay: 0.4s; }

/* Staggered link-chip entrances in the Follow section */
.reveal.visible .links li { animation: link-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.reveal.visible .links li:nth-child(2) { animation-delay: 0.07s; }
.reveal.visible .links li:nth-child(3) { animation-delay: 0.14s; }
.reveal.visible .links li:nth-child(4) { animation-delay: 0.21s; }
.reveal.visible .links li:nth-child(5) { animation-delay: 0.28s; }

.section-sub { color: var(--muted); margin-bottom: 8px; }

h3 { font-size: 1.15rem; margin-bottom: 6px; }

.about p { color: #c9d1e8; font-size: 1.1rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

/* Frosted glass cards — translucent white gradient, strong blur, glossy top
   highlight, soft inner glow, and an animated shine sweep on hover */
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* Glossy sheen across the top of the glass */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  pointer-events: none;
}
/* Shine sweep that glides across the card on hover */
.card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.9s ease;
  pointer-events: none;
}
.card:hover::after { left: 130%; }

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 44px rgba(34, 211, 238, 0.22),
    0 0 30px rgba(167, 139, 250, 0.25);
}

.card p { color: var(--muted); }

.tech-card { position: relative; overflow: hidden; }
.tech-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--gold));
  opacity: 0.9;
}
.tech-card:hover { border-color: rgba(167, 139, 250, 0.7); box-shadow: 0 12px 36px rgba(167, 139, 250, 0.2); }

.icon {
  width: 40px;
  height: 40px;
  color: var(--cyan);
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.5));
}
.tech-card:nth-child(2) .icon { color: var(--gold); filter: drop-shadow(0 0 8px rgba(240, 180, 41, 0.5)); }
.tech-card:nth-child(4) .icon { color: var(--mars); filter: drop-shadow(0 0 8px rgba(242, 96, 58, 0.55)); }
.tech-card:nth-child(6) .icon { color: var(--violet); filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.5)); }

.story h3 { color: var(--text); }

/* ---------- The Minds Behind AI — small cartoon leader portraits ---------- */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.leader {
  text-align: center;
  padding: 20px 12px 18px;
}
.leader img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.35), 0 0 32px rgba(167, 139, 250, 0.2);
  margin-bottom: 12px;
}
.leader-name {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.3;
}
.leader-company {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 2px;
}

/* ---------- Minds strip inside the hero — faces + company tags only ---------- */
.hero-minds { margin-top: 26px; }
.hero-minds-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.hero-minds-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.hero-minds .mind { text-align: center; width: 104px; }
.hero-minds .mind img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.35), 0 0 26px rgba(167, 139, 250, 0.2);
  margin-bottom: 8px;
}
.hero-minds .leader-name { font-size: 0.85rem; }
.hero-minds .leader-company { font-size: 0.68rem; letter-spacing: 1px; }

.story-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1a0b00;
  background: linear-gradient(90deg, var(--gold), #fbbf24);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.follow h3 { margin-top: 28px; }

.links { list-style: none; }
.links li { margin: 10px 0; }
.links a {
  text-decoration: none;
  padding: 10px 16px;
  display: inline-block;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 22px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.links a:hover { border-color: var(--cyan); transform: translateX(4px); text-decoration: none; }

footer {
  text-align: center;
  padding: 44px 20px 52px;
  margin-top: 52px;
  border-top: 1px solid rgba(167, 139, 250, 0.25);
  color: var(--muted);
}

@media (max-width: 760px) {
  .mars { width: 130px; height: 130px; top: 12px; right: -24px; opacity: 0.55; }
  .mars-ring { inset: -16px; }
  .hero-rocket { width: 52px; height: 104px; left: 2%; bottom: 12px; opacity: 0.85; }
  .hero-ufo { display: none; }
  .hero-robot { width: 100px; left: 0; top: 46%; }
  .hero-astronaut { width: 84px; right: 3%; top: 60%; }
  .hero-satellite { display: none; }
  .mars-rover { width: 40px; bottom: 8px; }
}

@media (max-width: 900px) {
  .tech-robot { display: none; }
  .tech .section-sub { padding-right: 0; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 16px 44px; }
  .hero h1 { font-size: 1.7rem; }
  .tagline { font-size: 1.05rem; }
  section { padding: 36px 0 8px; }
  .orb-a, .orb-b, .orb-c { width: 240px; height: 240px; }
  .logo-full { width: 140px; }
  /* Hero decorations sit on top of the tall mobile hero content — hide the
     two that collide with the faces/buttons and keep only a faint Mars. */
  .hero-robot, .hero-astronaut { display: none; }
  .mars { opacity: 0.3; }
  .leaders-grid { grid-template-columns: repeat(2, 1fr); }
  .leader img { width: 92px; height: 92px; }
  /* Minds strip: 4 faces per row so it takes 2 rows, not 3. */
  .hero-minds-row { gap: 12px 8px; }
  .hero-minds .mind { width: 68px; }
  .hero-minds .mind img { width: 56px; height: 56px; }
  .hero-minds .leader-name { font-size: 0.78rem; }
  /* Buttons and stats: full-width buttons, 3 compact stats in one row. */
  .hero-links { flex-direction: column; align-items: stretch; }
  .hero-links .btn { text-align: center; }
  .hero-stats { flex-wrap: nowrap; gap: 8px; }
  .stat { padding: 10px 8px; flex: 1; min-width: 0; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.68rem; letter-spacing: 1px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 18px; }
  .links a { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .ai-badge, .grad-text, .pulse-dot, .hero > *, .btn, h2,
  .stars2, .shooting, .mars, .mars-ring, .hero-rocket, .hero-ufo, .scanline, .ticker-track,
  .hero-robot, .hero-astronaut, .hero-satellite, .mars-rover, .tech-robot { animation: none; }
  .hero-rocket .flame { animation: none; }
  .robot-wave, .robot-light { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.visible .card, .reveal.visible .links li { animation: none; }
  .reveal.visible h2::after { width: 72px; transition: none; }
  .card::after { display: none; }
}
