:root {
  color-scheme: light;
  --ink: #0b0b12;
  --night: #0f1118;
  --ash: #8a90a5;
  --mint: #6df5d4;
  --electric: #5be1ff;
  --ice: #f5f7ff;
  --glow: rgba(91, 225, 255, 0.35);
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: rgba(12, 15, 24, 0.35);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background: radial-gradient(circle at top, #1c2233, #0e0f16 55%, #090a10);
  color: var(--ice);
  min-height: 100vh;
  line-height: 1.6;
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  position: relative;
  z-index: 1;
}

.bg-orbit {
  position: fixed;
  inset: -40% -10% auto auto;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(
      closest-side,
      rgba(109, 245, 212, 0.25),
      rgba(109, 245, 212, 0) 70%
    ),
    radial-gradient(
      farthest-side,
      rgba(91, 225, 255, 0.2),
      rgba(91, 225, 255, 0) 65%
    );
  filter: blur(0.5px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
  animation: drift 12s ease-in-out infinite alternate;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--glow);
}

.nav-link {
  text-decoration: none;
  color: var(--ice);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 120px;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  color: var(--mint);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.lead {
  color: var(--ash);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta {
  text-decoration: none;
  color: var(--night);
  background: var(--mint);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 20px 40px rgba(7, 18, 18, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(7, 18, 18, 0.4);
}

.cta.ghost {
  background: transparent;
  color: var(--ice);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-card {
  position: relative;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px var(--shadow);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: -60% 30% auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  opacity: 0.9;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  font-size: 0.95rem;
}

.card-grid span {
  color: var(--ash);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.card-grid strong {
  font-size: 1.1rem;
}

.card-footer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "IBM Plex Mono", monospace;
  color: var(--ash);
  font-size: 0.85rem;
}

.signal {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 14px rgba(91, 225, 255, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}

.pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  margin-bottom: 110px;
}

.pillars h2,
.apps h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.pillars p {
  color: var(--ash);
}

.pillars-grid {
  display: grid;
  gap: 18px;
}

.pillars-grid article {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 23, 0.65);
}

.pillars-grid h3 {
  margin-bottom: 6px;
}

.apps {
  display: grid;
  gap: 32px;
  margin-bottom: 100px;
}

.apps-header p {
  color: var(--ash);
}

.app-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(109, 245, 212, 0.15), rgba(91, 225, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mint);
  margin-bottom: 8px;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

.footer {
  padding: 24px;
  text-align: center;
  color: var(--ash);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .mono {
  display: block;
  margin-top: 6px;
  color: var(--ice);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-40px, 30px, 0);
  }
}

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

@media (max-width: 900px) {
  .hero,
  .pillars {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 32px;
  }

  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    margin-bottom: 80px;
  }
}
