:root {
  --bg: #070914;
  --bg-soft: #0e1325;
  --panel: rgba(16, 22, 42, 0.72);
  --panel-strong: rgba(18, 27, 49, 0.88);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f6ff;
  --muted: #b6bfd8;
  --accent: #7c9cff;
  --accent-2: #9d7cff;
  --accent-3: #78f0dd;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
  --radius: 26px;
  --container: 1240px;
  --narrow: 780px;
  --transition: 0.45s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(78, 96, 170, 0.10), transparent 35%),
    linear-gradient(180deg, #060812 0%, #0a1020 55%, #090d18 100%);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: var(--narrow);
}

.cosmic-body {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 20, 0.45);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: var(--transition);
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

/* stars */
.stars,
.stars-2 {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.stars::before,
.stars::after,
.stars-2::before,
.stars-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  opacity: 0.55;
}

.stars::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 1px, transparent 1.5px);
  background-size: 120px 120px;
  animation: driftStars 90s linear infinite;
}

.stars::after {
  background-image:
    radial-gradient(circle, rgba(124,156,255,0.9) 1px, transparent 1.5px);
  background-size: 190px 190px;
  animation: driftStarsReverse 130s linear infinite;
  opacity: 0.35;
}

.stars-2::before {
  background-image:
    radial-gradient(circle, rgba(157,124,255,0.85) 1px, transparent 1.5px);
  background-size: 260px 260px;
  animation: driftStars 160s linear infinite;
  opacity: 0.25;
}

.stars-2::after {
  background-image:
    radial-gradient(circle, rgba(120,240,221,0.7) 1px, transparent 1.5px);
  background-size: 320px 320px;
  animation: pulseStars 8s ease-in-out infinite;
  opacity: 0.2;
}

@keyframes driftStars {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-120px) translateX(60px); }
}

@keyframes driftStarsReverse {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(80px) translateX(-60px); }
}

@keyframes pulseStars {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.28; }
}

/* glow lights */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatGlow 10s ease-in-out infinite;
}

.glow-1 {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 140px;
  background: rgba(124, 156, 255, 0.32);
}

.glow-2 {
  width: 300px;
  height: 300px;
  right: -70px;
  top: 45%;
  background: rgba(157, 124, 255, 0.26);
  animation-delay: 2s;
}

@keyframes floatGlow {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(20px) translateX(10px); }
}

main,
footer,
header {
  position: relative;
  z-index: 2;
}

.hero-cosmic {
  padding: 80px 0 40px;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.eyebrow,
.panel-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8c6ff;
  margin-bottom: 18px;
}

.hero-copy h1,
.inner-hero h1,
.contact-simple-box h1,
.section-heading h2,
.floating-panel h2,
.split-feature-copy h2,
.cosmic-cta h2 {
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  max-width: 760px;
  margin-bottom: 22px;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-solid {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 35px rgba(124, 156, 255, 0.35);
}

.btn-solid:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 40px rgba(124, 156, 255, 0.42);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.orbital-frame {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1.08;
  border-radius: 34px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.orbital-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.orbital-frame:hover img {
  transform: scale(1.06);
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  pointer-events: none;
}

.orbital-ring-1 {
  width: 120%;
  height: 120%;
  left: -10%;
  top: -10%;
  animation: spinSlow 20s linear infinite;
}

.orbital-ring-2 {
  width: 92%;
  height: 92%;
  left: 4%;
  top: 4%;
  border-color: rgba(124,156,255,0.22);
  animation: spinSlowReverse 16s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.light-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 28px currentColor;
}

.light-dot-1 {
  width: 12px;
  height: 12px;
  right: 12%;
  top: 20%;
  color: #7c9cff;
  background: #7c9cff;
  animation: orbitPulse 4s ease-in-out infinite;
}

.light-dot-2 {
  width: 10px;
  height: 10px;
  left: 16%;
  bottom: 18%;
  color: #78f0dd;
  background: #78f0dd;
  animation: orbitPulse 5.5s ease-in-out infinite;
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; }
}

.section {
  padding: 90px 0;
}

.floating-panel {
  padding: 34px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  max-width: 880px;
  margin: 0 auto;
}

.floating-panel h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.floating-panel p {
  color: var(--muted);
  margin-bottom: 16px;
}

.section-heading {
  margin-bottom: 30px;
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.photo-band {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1.15fr 0.9fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.photo-band-item {
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.03);
}

.photo-band-item.tall {
  min-height: 360px;
}

.photo-band-item.wide {
  min-height: 320px;
}

.photo-band-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease, filter 1s ease;
}

.photo-band-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.split-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.glass-card {
  padding: 14px;
  border-radius: 30px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.glass-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 22px;
  transition: transform 1.1s ease;
}

.glass-card:hover img {
  transform: scale(1.04);
}

.split-feature-copy h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.split-feature-copy p {
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 640px;
}

.cosmic-cta {
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(124,156,255,0.12), rgba(157,124,255,0.10)),
    var(--panel-strong);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}

.cosmic-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.site-footer {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

.footer-brand {
  margin-bottom: 8px;
  display: inline-block;
}

.footer-text {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.inner-hero {
  padding: 110px 0 26px;
}

.inner-hero h1 {
  font-size: clamp(2.1rem, 5vw, 4.4rem);
}

.content-shell {
  padding: 30px;
  border-radius: 26px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-shell p {
  color: var(--muted);
  margin-bottom: 18px;
}

.contact-simple {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.contact-simple-box {
  padding: 36px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-simple-box h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 14px;
}

.contact-simple-text {
  color: var(--muted);
  margin-bottom: 26px;
}

.contact-lines {
  margin-bottom: 28px;
}

.contact-lines p {
  color: var(--muted);
  margin-bottom: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-feature,
  .photo-band {
    grid-template-columns: 1fr;
  }

  .photo-band-item,
  .photo-band-item.tall,
  .photo-band-item.wide {
    min-height: 260px;
  }

  .glass-card img {
    height: 420px;
  }

  .cosmic-cta,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border-radius: 18px;
    background: rgba(10, 14, 28, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-copy h1,
  .inner-hero h1,
  .contact-simple-box h1 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-row {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .section {
    padding: 72px 0;
  }

  .floating-panel,
  .content-shell,
  .contact-simple-box,
  .cosmic-cta {
    padding: 24px;
  }

  .hero-cosmic {
    padding: 70px 0 24px;
  }
}