
:root {
  --bg: #080b14;
  --card: #121a2b;
  --text: #f5f7ff;
  --muted: #a5aec2;
  --blue: #85b7ff;
  --purple: #b99aff;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background:
    radial-gradient(ellipse at top, #1a2341, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 6%;
  background: rgba(8, 11, 20, .9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #ffffff14;
}

.brand {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -1px;
}

.brand span,
.about span {
  color: var(--blue);
}

#navLinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
}

#navLinks a:hover {
  color: white;
}

#menuToggle {
  display: none;
  border: 1px solid #ffffff22;
  color: white;
  background: var(--card);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.hero {
  min-height: 560px;
  max-width: 1100px;
  margin: auto;
  padding: 120px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(43px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: -4px;
}

.hero h1 span,
.about h2 span {
  background: linear-gradient(100deg, var(--blue), var(--purple));
  color: transparent;
  background-clip: text;
}

.hero > p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px 0;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  background: linear-gradient(110deg, var(--blue), var(--purple));
  color: #080b14;
  font-weight: 800;
  font-size: 13px;
  transition: transform .2s;
}

.button:hover {
  transform: translateY(-3px);
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 85px 25px;
}

.section h2,
.about h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.section > p:not(.eyebrow),
.about > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 760px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 35px;
}

.card {
  padding: 27px;
  margin-top: 20px;
  border: 1px solid #ffffff12;
  border-radius: 20px;
  background: linear-gradient(145deg, #182238, #0d1220);
  transition: transform .2s, border-color .2s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #85b7ff66;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.card a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
}

.card h3:not(:first-child) {
  margin-top: 24px;
}

.video {
  width: 100%;
  max-width: 850px;
  aspect-ratio: 16 / 9;
  margin: 30px 0 15px;
  background: #000;
  border: 1px solid #ffffff20;
  border-radius: 18px;
  overflow: hidden;
}

.video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.links a {
  padding-bottom: 14px;
  border-bottom: 1px solid #ffffff12;
}

.links a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about {
  text-align: center;
  max-width: 900px;
  margin-bottom: 60px;
  padding: 60px 25px;
  border: 1px solid #ffffff12;
  border-radius: 28px;
  background: radial-gradient(ellipse at top, #25254b, var(--card));
}

.about > p:not(.eyebrow) {
  margin: 0 auto;
}

footer {
  padding: 35px 24px;
  text-align: center;
  border-top: 1px solid #ffffff12;
  color: var(--muted);
  font-size: 12px;
}

footer p {
  max-width: 720px;
  margin: 12px auto 0;
}

#backToTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  border: 1px solid #ffffff22;
  border-radius: 14px;
  background: #182238;
  color: white;
  font-size: 23px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

#backToTop.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 760px) {
  .navbar {
    padding: 15px 20px;
  }

  #menuToggle {
    display: block;
  }

  #navLinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 22px;
    background: #080b14;
    border-bottom: 1px solid #ffffff18;
  }

  #navLinks.open {
    display: flex;
  }

  #navLinks a {
    padding: 10px 0;
  }

  .hero {
    min-height: 450px;
    padding: 85px 22px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .section {
    padding: 65px 22px;
  }

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

  .about {
    width: calc(100% - 30px);
    padding: 45px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
