:root {
  --bg: #030507;
  --bg-soft: #08131d;
  --laser: #55d7ff;
  --laser-bright: #a9efff;
  --text: #ebf7ff;
  --muted: #9fb8c6;
  --glass-stroke: rgba(130, 206, 237, 0.38);
  --glass-fill: linear-gradient(
    145deg,
    rgba(30, 56, 70, 0.42),
    rgba(14, 24, 33, 0.22)
  );
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 18%, rgba(21, 56, 78, 0.55) 0, transparent 43%),
    radial-gradient(circle at 72% 80%, rgba(10, 38, 60, 0.45) 0, transparent 47%),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
}

#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 42%, rgba(2, 5, 9, 0.7) 100%),
    linear-gradient(140deg, rgba(0, 0, 0, 0.2), rgba(1, 5, 10, 0.66));
}

.landing {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

.hero {
  width: min(980px, 100%);
  text-align: center;
}

.atom {
  width: clamp(5.2rem, 9vw, 6.2rem);
  aspect-ratio: 1;
  margin: 0 auto clamp(0.8rem, 2.3vw, 1.15rem);
  position: relative;
  transform-style: preserve-3d;
  filter: drop-shadow(0 0 20px rgba(85, 215, 255, 0.35));
}

.orbit {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(85, 215, 255, 0.94);
  border-radius: 100%;
  box-shadow: 0 0 14px rgba(60, 220, 255, 0.32), inset 0 0 12px rgba(82, 214, 255, 0.22);
}

.orbit-a {
  transform: rotateX(70deg);
  animation: orbitA 4.2s linear infinite;
}

.orbit-b {
  transform: rotateY(66deg);
  animation: orbitB 5.5s linear infinite reverse;
}

.orbit-c {
  transform: rotateZ(55deg) rotateX(64deg);
  animation: orbitC 6.2s linear infinite;
}

.nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 28% 30%, #e7f9ff 0, #67ddff 38%, #37afe0 100%);
  box-shadow: 0 0 20px rgba(94, 221, 255, 0.95);
}

.logo {
  margin: 0;
  font-family: "Orbitron", "Trebuchet MS", sans-serif;
  font-size: clamp(2.3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: transparent;
  background-image: linear-gradient(180deg, #f4fcff 8%, #a8eeff 45%, #65cbff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 22px rgba(80, 210, 255, 0.4),
    0 0 45px rgba(44, 170, 255, 0.22);
}

.tagline {
  width: min(620px, 100%);
  margin: clamp(0.8rem, 2vw, 1.3rem) auto clamp(1.6rem, 3vw, 2.5rem);
  color: var(--muted);
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  line-height: 1.6;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.4vw, 1rem);
}

.glass-button {
  position: relative;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--glass-stroke);
  border-radius: 16px;
  background: var(--glass-fill);
  box-shadow:
    inset 0 0 0 1px rgba(226, 249, 255, 0.07),
    0 22px 42px rgba(0, 8, 14, 0.42);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 102px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
  overflow: hidden;
}

.glass-button::before {
  content: "";
  position: absolute;
  inset: -40% -30%;
  transform: rotate(-12deg) translateX(-55%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(150, 236, 255, 0.08) 46%,
    transparent 80%
  );
  transition: transform 360ms ease;
  pointer-events: none;
}

.glass-button:hover,
.glass-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(131, 229, 255, 0.84);
  box-shadow:
    inset 0 0 0 1px rgba(228, 248, 255, 0.2),
    0 16px 50px rgba(7, 26, 39, 0.7),
    0 0 34px rgba(92, 209, 255, 0.22);
  background: linear-gradient(
    145deg,
    rgba(42, 82, 103, 0.52),
    rgba(18, 35, 46, 0.28)
  );
}

.glass-button:hover::before,
.glass-button:focus-visible::before {
  transform: rotate(-12deg) translateX(55%);
}

.glass-button:focus-visible {
  outline: 2px solid rgba(131, 229, 255, 0.95);
  outline-offset: 2px;
}

.label {
  font-family: "Orbitron", "Trebuchet MS", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(0.98rem, 1.2vw, 1.07rem);
}

.detail {
  color: #b0c7d3;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

@keyframes orbitA {
  from {
    transform: rotateX(70deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(70deg) rotateZ(360deg);
  }
}

@keyframes orbitB {
  from {
    transform: rotateY(66deg) rotateX(0deg);
  }
  to {
    transform: rotateY(66deg) rotateX(360deg);
  }
}

@keyframes orbitC {
  from {
    transform: rotateZ(55deg) rotateX(64deg) rotateY(0deg);
  }
  to {
    transform: rotateZ(55deg) rotateX(64deg) rotateY(360deg);
  }
}

@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: 1fr;
    width: min(460px, 100%);
    margin-inline: auto;
  }

  .glass-button {
    min-height: 94px;
  }

  .hero {
    padding-top: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0ms !important;
  }
}
