:root {
  --bg-main: #020218;
  --bg-card: rgba(8, 12, 40, 0.85);
  --bg-card-soft: rgba(12, 16, 56, 0.85);
  --accent-1: #52ffe3;
  --accent-2: #7b5cff;
  --accent-3: #ff4dd8;
  --text-main: #f5f7ff;
  --text-muted: #a4a8d7;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 22px 80px rgba(0, 0, 0, 0.55);
  --radius-xl: 24px;
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #1a1040 0, #020218 55%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* Constrain max width on very large screens */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
}

/* Animated background orbits */

.bg-orbit {
  position: fixed;
  inset: -20%;
  background: conic-gradient(
    from 220deg,
    rgba(82, 255, 227, 0.03),
    rgba(123, 92, 255, 0.11),
    rgba(255, 77, 216, 0.08),
    rgba(82, 255, 227, 0.03)
  );
  opacity: 0.65;
  filter: blur(60px);
  mix-blend-mode: screen;
  pointer-events: none;
  animation: orbit-rotate 40s linear infinite;
  z-index: -3;
}

.bg-orbit--2 {
  animation-duration: 70s;
  animation-direction: reverse;
  opacity: 0.4;
}

/* Starfield canvas */
#space-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  background: linear-gradient(
    to bottom,
    rgba(1, 0, 20, 0.94),
    rgba(1, 0, 20, 0.7),
    transparent
  );
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-orbit {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0, #52ffe3 20%, transparent 60%);
  box-shadow: 0 0 25px rgba(82, 255, 227, 0.9);
  position: relative;
}

.logo-orbit::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.65);
  opacity: 0.4;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-text span {
  color: var(--accent-1);
}

.nav-main {
  display: flex;
  gap: 10px;
}

.nav-link {
  font-size: 0.8rem;
}

/* Sections */

.section {
  padding: 80px 7vw;
  position: relative;
}

.section:nth-of-type(odd) {
  backdrop-filter: blur(10px);
}

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--accent-1);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin: 0 0 14px;
}

.section-intro {
  max-width: 720px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Hero */

.hero-section {
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 48px;
}

.hero-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-1);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 18px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-metadata {
  display: grid;
  gap: 10px;
  max-width: 600px;
}

.meta-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01),
    rgba(0, 0, 0, 0.3)
  );
  display: flex;
  justify-content: space-between;
  column-gap: 14px;
  font-size: 0.78rem;
}

.meta-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.meta-value {
  color: var(--accent-1);
}

/* Hero visual */

.hero-visual {
  position: relative;
  isolation: isolate;
}

.sphere-orbit {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  position: relative;
  margin-inline: auto;
  animation: orbit-pulse 12s infinite linear;
}

@keyframes orbit-pulse {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1); }
}

.sphere {
  position: absolute;
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(82, 255, 227, 0.6));
}

.sphere--primary {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 30% 25%, #ffffff 0, #52ffe3 25%, #7b5cff 70%);
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
}

.sphere--secondary {
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, #ffffff 0, #ff4dd8 30%, transparent 70%);
  bottom: 4%;
  left: 10%;
}

.sphere--tertiary {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, #ffffff 0, #7b5cff 32%, transparent 70%);
  top: 6%;
  right: -10px;
}

/* Buttons */

.neon-button {
  position: relative;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top left, rgba(82, 255, 227, 0.1), transparent 55%);
  color: var(--text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast), background var(--transition-fast);
}

.neon-button::before {
  content: "";
  position: absolute;
  inset: -120%;
  background: conic-gradient(
    from 0turn,
    transparent,
    rgba(82, 255, 227, 0.35),
    rgba(123, 92, 255, 0.45),
    rgba(255, 77, 216, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease-out, transform 0.6s ease-out;
}

.neon-button:hover {
  border-color: rgba(82, 255, 227, 0.8);
  box-shadow: 0 0 20px rgba(82, 255, 227, 0.4);
  transform: translateY(-1px);
}

.neon-button:hover::before {
  opacity: 1;
  transform: rotate(0.5turn);
}

.neon-button:active {
  transform: translateY(0);
  box-shadow: 0 0 8px rgba(82, 255, 227, 0.6);
}

/* Primary CTA */

.primary-cta {
  background: linear-gradient(120deg, var(--accent-1), var(--accent-2));
  color: #020218;
  border: none;
  box-shadow: 0 0 30px rgba(82, 255, 227, 0.7);
}

.primary-cta:hover {
  box-shadow: 0 0 40px rgba(82, 255, 227, 0.9);
}

/* Ripple effect */

.ripple {
  position: relative;
}

.ripple::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  inset: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 70%);
  pointer-events: none;
}

.ripple--active::after {
  animation: ripple 0.5s ease-out;
}

@keyframes ripple {
  from {
    transform: translate(-50%, -50%) scale(0.1);
    opacity: 0.75;
  }
  to {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.future-card {
  padding: 20px 20px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01),
      rgba(0, 0, 0, 0.5)
    ),
    radial-gradient(circle at top left, rgba(82, 255, 227, 0.18), transparent 55%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(22px);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.future-card h3 {
  margin: 0 0 8px;
}

.future-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.future-card:hover {
  transform: translateY(-6px) translateZ(0);
  border-color: rgba(82, 255, 227, 0.8);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8);
}

/* Chips */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  font-size: 0.7rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--accent-1);
  background: radial-gradient(circle at top, rgba(82, 255, 227, 0.18), transparent 60%);
}

/* Capabilities */

.capabilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 32px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  inset-block: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
  opacity: 0.55;
}

.timeline-item {
  position: relative;
  padding-left: 16px;
  margin-bottom: 26px;
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0, var(--accent-1) 45%, transparent 70%);
  box-shadow: 0 0 10px rgba(82, 255, 227, 0.9);
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Capabilities holo panel */

.capabilities-holo {
  padding: 20px 18px;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    150deg,
    rgba(7, 238, 196, 0.12),
    rgba(123, 92, 255, 0.22),
    rgba(2, 0, 25, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-soft);
}

.capabilities-holo h3 {
  margin: 0 0 14px;
}

.capabilities-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.matrix-cell {
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
  color: #f3f5ff;
  opacity: 0.7;
  transition: opacity var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.matrix-cell:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(82, 255, 227, 0.7);
}

/* Leadership */

.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.leader-card {
  padding: 20px;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
  text-decoration: none;
  color: inherit;
}

.leader-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 92, 255, 0.7);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.85);
}

.leader-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  margin-bottom: 12px;
  background: radial-gradient(circle at top, #ffffff 0, var(--accent-2) 40%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.leader-avatar::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.75);
  opacity: 0.5;
}

.leader-card h3 {
  margin: 0 0 6px;
  color: #e6e9ff;
}

.leader-role {
  color: var(--accent-1);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 6px;
}

.leader-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */

.site-footer {
  padding: 18px 7vw 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: radial-gradient(circle at top, rgba(123, 92, 255, 0.16), transparent 60%);
}

/* Scroll & entrance animations */

.section-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.section-anim.in-view {
  opacity: 1;
  transform: translateY(0);
}

.panel-anim {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.panel-anim.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chip-anim {
  position: relative;
  overflow: hidden;
}

.chip-anim::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 35%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: translateX(-100%);
  opacity: 0;
}

.chip-anim.in-view::after {
  animation: chip-sheen 1.6s ease-out;
}

@keyframes chip-sheen {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(220%);
    opacity: 0;
  }
}

.pulse-glow {
  animation: pulse-glow 2.6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 16px rgba(82, 255, 227, 0.5);
  }
  50% {
    box-shadow: 0 0 26px rgba(82, 255, 227, 0.9);
  }
  100% {
    box-shadow: 0 0 16px rgba(82, 255, 227, 0.55);
  }
}

/* Custom cursor orb centered on the cursor */

#cursor-orb {
  position: fixed;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(82, 255, 227, 0.8);
  box-shadow: 0 0 22px rgba(82, 255, 227, 0.7);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  z-index: 9999;
  transition: width 0.16s ease-out, height 0.16s ease-out,
    opacity 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Responsive */

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

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .section {
    padding-inline: 5vw;
  }

  .capabilities-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 90px;
  }

  .future-card,
  .capabilities-holo,
  .leader-card {
    border-radius: 18px;
  }
}
