:root {
  --background: hsl(258, 60%, 8%);
  --foreground: hsl(0, 0%, 100%);
  --card: hsla(265, 70%, 18%, 0.82);
  --primary: hsl(310, 95%, 68%);
  --primary-strong: hsl(330, 100%, 75%);
  --secondary: hsl(188, 95%, 65%);
  --accent: hsl(54, 100%, 70%);
  --border: hsla(280, 70%, 80%, 0.35);
  --glow: 0 0 40px rgba(255, 105, 215, 0.75);
  --radius: 22px;
  --font-sans: "Poppins", system-ui, sans-serif;
  --font-orbitron: "Orbitron", "Poppins", sans-serif;
  --section-padding: clamp(1.25rem, 4vw, 2.5rem);
}

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

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: radial-gradient(
      circle at 20% 20%,
      rgba(236, 72, 153, 0.25),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(34, 211, 238, 0.25),
      transparent 45%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(251, 191, 36, 0.2),
      transparent 55%
    ),
    linear-gradient(135deg, hsl(250, 65%, 8%) 0%, hsl(273, 70%, 12%) 50%, hsl(300, 65%, 14%) 100%);
  margin: 0;
  min-height: 100vh;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.content-layer {
  position: relative;
  z-index: 1;
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 5rem);
}

.orbitron {
  font-family: var(--font-orbitron);
  letter-spacing: 0.05em;
}

.glass-card,
.glass-card-strong {
  background: linear-gradient(
      130deg,
      rgba(82, 0, 153, 0.8),
      rgba(13, 19, 51, 0.85)
    ),
    var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px rgba(15, 6, 32, 0.45);
  position: relative;
}

.glass-card::after,
.glass-card-strong::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.glass-card-strong {
  background: linear-gradient(
      135deg,
      rgba(255, 0, 179, 0.35),
      rgba(37, 99, 235, 0.35)
    ),
    rgba(36, 8, 66, 0.7);
  box-shadow: 0 45px 90px rgba(252, 70, 168, 0.4);
}

.uptitle {
  text-transform: uppercase;
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: var(--section-padding);
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  align-items: center;
}

.hero-title {
  font-family: var(--font-orbitron);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 0.3rem 0 1rem;
  color: hsl(284, 100%, 88%);
}

.hero-body {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-actions a {
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  flex: 0 1 auto;
  min-width: 180px;
}

.primary {
  border-radius: 999px;
  background: linear-gradient(
    120deg,
    var(--primary),
    var(--primary-strong),
    var(--secondary)
  );
  color: #fff;
  box-shadow: var(--glow);
}

.secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.45);
}

.neon-button:hover,
.secondary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(147, 51, 234, 0.55);
}

.neon-border {
  border-radius: 999px;
  border: 1px solid rgba(147, 51, 234, 0.5);
  padding: 0.85rem 1.7rem;
  color: #fff;
  text-decoration: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.neon-border:hover {
  border-color: rgba(147, 51, 234, 0.9);
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
}

.hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.stat-number {
  font-size: 2rem;
  margin: 0;
  color: var(--secondary);
}

.stat-label {
  margin: 0.3rem 0 0;
  opacity: 0.7;
}

.hero-visual {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.hero-figure {
  margin: 0 0 1.2rem;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px rgba(15, 6, 32, 0.55);
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-figure figcaption {
  font-size: 0.8rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.7);
}

.visual-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.visual-grid {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.visual-grid li {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  border-radius: calc(var(--radius) / 1.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.visual-title {
  font-weight: 600;
  color: hsl(320, 95%, 72%);
  display: block;
  margin-bottom: 0.3rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-family: var(--font-orbitron);
  margin: 0.4rem 0;
}

.facts {
  padding: var(--section-padding);
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

.panorama {
  margin-bottom: clamp(2.5rem, 6vw, 3rem);
  padding: 0;
  overflow: hidden;
}

.panorama-media {
  position: relative;
}

.panorama-media img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 260px;
  object-fit: cover;
}

.panorama-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 3vw, 1.8rem);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 70%
  );
}

.panorama-overlay h2 {
  margin: 0.4rem 0 0.6rem;
  font-family: var(--font-orbitron);
}

.panorama-overlay p {
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.fact-card {
  padding: 1.4rem;
  border-radius: calc(var(--radius) / 1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    145deg,
    rgba(76, 29, 149, 0.55),
    rgba(14, 165, 233, 0.15)
  );
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.4);
}

.fact-card h3 {
  margin-top: 0;
  font-family: var(--font-orbitron);
}

.fact-card p {
  margin-bottom: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.timeline {
  padding: var(--section-padding);
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline li {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0 1.2rem 1.5rem;
  position: relative;
  align-items: flex-start;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 1.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--secondary), var(--accent));
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
}

.timeline .dot {
  display: none;
}

.timeline-title {
  font-weight: 600;
  margin: 0 0 0.3rem;
}

.form-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
  padding: var(--section-padding);
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
  align-items: center;
}

.form-info p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0;
  display: grid;
  gap: 0.5rem;
}

.benefits li {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.cta-stack {
  margin-top: 1.5rem;
}

.cta-stack .primary.neon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  font-size: 1.05rem;
}

.cta-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.7rem;
}

.form-embed {
  padding: 0;
  overflow: hidden;
}

.form-embed iframe {
  width: 100%;
  min-height: clamp(420px, 60vw, 720px);
  border: none;
  border-radius: var(--radius);
  background: #121120;
}

.fact-stream {
  padding: var(--section-padding);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.marquee {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 65s linear infinite;
}

.marquee-track p {
  margin: 0;
  padding-right: 4rem;
  white-space: nowrap;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .content-layer {
    width: min(680px, 94%);
  }

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

  .hero-visual {
    order: 2;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions a {
    flex: 1 1 45%;
    min-width: 0;
  }

  .form-section {
    grid-template-columns: 1fr;
  }

  .form-embed iframe {
    min-height: clamp(420px, 80vw, 640px);
  }

  .facts-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .panorama-overlay {
    position: static;
    background: rgba(0, 0, 0, 0.7);
  }
}

@media (max-width: 600px) {
  .content-layer {
    width: min(520px, 94%);
    padding: clamp(1.5rem, 6vw, 2.5rem) 0 clamp(3rem, 8vw, 4rem);
  }

  .hero,
  .facts,
  .timeline,
  .form-section,
  .fact-stream {
    padding: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

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

  .section-head {
    text-align: left;
  }

  .timeline ol {
    border-left: none;
  }

  .timeline li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: calc(var(--radius) / 1.6);
  }

  .timeline li::before {
    content: none;
  }

  .fact-card {
    padding: 1.1rem;
  }

  .cta-stack .primary.neon-button {
    width: 100%;
  }

  .form-embed iframe {
    min-height: clamp(360px, 110vw, 500px);
  }

  .marquee-track {
    animation-duration: 85s;
  }

  .panorama-overlay h2 {
    font-size: 1.4rem;
  }

  .panorama-overlay p {
    font-size: 0.95rem;
  }
}
