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

:root {
  --bg: #03040a;
  --bg2: #07111f;
  --white: #ffffff;
  --muted: #9aa7b7;
  --soft: #c7d4e3;
  --cyan: #00f3ff;
  --green: #38ff9f;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 35px 100px rgba(0, 0, 0, 0.52);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--white);
  font-family: "Space Grotesk", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 243, 255, 0.2), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(56, 255, 159, 0.14), transparent 30%),
    linear-gradient(155deg, var(--bg), var(--bg2) 50%, #020306);
}

body.menu-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

#spaceCanvas,
.hud-grid,
.noise,
.cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#spaceCanvas {
  z-index: 0;
}

.hud-grid {
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

.noise {
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.cursor-glow {
  z-index: 3;
  background: radial-gradient(450px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 243, 255, 0.12), transparent 42%);
}

main,
header,
footer {
  position: relative;
  z-index: 5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 4, 10, 0.62);
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: rgba(3, 4, 10, 0.92);
  backdrop-filter: blur(24px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font: 900 1rem Orbitron, sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 243, 255, 0.55);
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 800;
  transition: color 0.25s ease;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
  padding: 80px clamp(20px, 6vw, 90px);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Orbitron, sans-serif;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
}

.hero h2 {
  margin: 8px 0 22px;
  color: var(--cyan);
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.lead {
  max-width: 620px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

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

.centered {
  justify-content: center;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn.primary {
  color: #001016;
  background: var(--cyan);
  box-shadow: 0 0 35px rgba(0, 243, 255, 0.28);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 55px rgba(0, 243, 255, 0.45);
}

.btn.ghost {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--cyan);
}

.hero-orbit {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.planet {
  width: clamp(220px, 30vw, 395px);
  height: clamp(220px, 30vw, 395px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.85), transparent 14%),
    radial-gradient(circle at 62% 64%, rgba(56, 255, 159, 0.68), transparent 25%),
    linear-gradient(145deg, #0dd6ff, #064a7a 48%, #05213b);
  box-shadow: inset -45px -45px 80px rgba(0, 0, 0, 0.42), 0 0 110px rgba(0, 243, 255, 0.24);
  animation: planet 9s ease-in-out infinite;
}

.ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.r1 {
  width: 440px;
  height: 140px;
  transform: rotate(-18deg);
}

.r2 {
  width: 520px;
  height: 180px;
  transform: rotate(18deg);
}

.tag {
  position: absolute;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.t1 {
  left: 8%;
  top: 16%;
}

.t2 {
  right: 4%;
  top: 36%;
}

.t3 {
  left: 22%;
  bottom: 12%;
}

.section {
  padding: 80px clamp(20px, 6vw, 90px);
}

.section-title {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-title h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.section-title p {
  color: var(--muted);
  font-size: 1.12rem;
}

.feature-card,
.booking,
.ai-panel,
.mission-panel {
  max-width: 1180px;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.feature-media {
  min-height: 430px;
  padding: 22px;
}

.room-carousel {
  position: relative;
  height: 100%;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.carousel-track,
.carousel-slide {
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(3, 4, 10, 0.62);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.carousel-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.carousel-btn.prev {
  left: 14px;
}

.carousel-btn.next {
  right: 14px;
}

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

.carousel-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.42);
}

.carousel-dot.active {
  width: 24px;
  background: var(--cyan);
}

.carousel-hidden {
  display: none;
}

.feature-content {
  align-self: center;
  padding: clamp(28px, 5vw, 60px);
}

.pill {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ok {
  color: var(--green);
  border: 1px solid rgba(56, 255, 159, 0.45);
  background: rgba(56, 255, 159, 0.08);
}

.feature-content h3 {
  margin: 18px 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.feature-content p {
  color: #c9d5e2;
  line-height: 1.65;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.specs span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #dcecff;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
}

.service-grid {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: auto;
}

.service-card {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(20px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 243, 255, 0.55);
}

.service-card span {
  font-size: 2rem;
}

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

.service-card p {
  color: var(--muted);
  line-height: 1.55;
}

.mission-panel,
.booking {
  padding: clamp(32px, 6vw, 75px);
  text-align: center;
}

.mission-panel h2,
.booking h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
}

.mission-panel p,
.booking p,
.ai-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.ai-panel {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 5vw, 46px);
}

.ai-status {
  display: grid;
  gap: 4px;
}

.pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
  animation: pulse 2s infinite;
}

.ai-status small {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

footer {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 55px 20px;
  color: var(--muted);
  text-align: center;
}

footer strong {
  color: #fff;
  font-family: Orbitron, sans-serif;
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.28);
    opacity: 0.65;
  }
}

@keyframes planet {
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 73px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 4, 10, 0.96);
    backdrop-filter: blur(22px);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  body.menu-open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  nav a {
    padding: 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 50px;
    text-align: center;
  }

  .lead {
    margin: auto;
  }

  .actions {
    justify-content: center;
  }

  .hero-orbit {
    min-height: 350px;
  }

  .r1 {
    width: 330px;
    height: 110px;
  }

  .r2 {
    width: 380px;
    height: 135px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }

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

  .ai-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-status {
    justify-items: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 12px;
  }

  .brand {
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .section {
    padding: 60px 16px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 16vw, 4.3rem);
  }

  .hero h2 {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .hero-orbit {
    min-height: 310px;
  }

  .feature-media {
    min-height: 300px;
    padding: 14px;
  }

  .room-carousel {
    min-height: 300px;
  }

  .tag {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .t1 {
    left: 0;
  }

  .t2 {
    right: 0;
  }

  .t3 {
    left: 12%;
  }

  .btn {
    width: 100%;
  }

  .actions {
    width: 100%;
  }

  .booking,
  .mission-panel,
  .ai-panel {
    padding: 30px 20px;
  }
}

@media (max-width: 380px) {
  .brand {
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-orbit {
    transform: scale(0.92);
    transform-origin: top center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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