﻿@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Fredoka:wght@400;600;700&display=swap");

:root {
  --navy: #0c1226;
  --navy-soft: #111a35;
  --blue: #4aa3ff;
  --blue-soft: #6f87ff;
  --text: #f4f7ff;
  --muted: #a9b1c9;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 50px rgba(6, 10, 25, 0.6);
  --radius: 22px;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #1c254d 0%, #0b1226 55%, #070b1b 100%);
  color: var(--text);
  font-family: "Nunito", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
  padding: 0;
}

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

.nebula {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(83, 151, 255, 0.2), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(135, 94, 255, 0.18), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08), transparent 55%);
  z-index: -2;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.site-header {
  padding: 15px 2vw 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(9, 14, 35, 0.8), rgba(9, 14, 35, 0));
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
}

.brand-logo {
  width: 250%;
  height: 54px;
  object-fit: contain;
}

.brand-title {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.hero {
  min-height: 62vh;
  display: grid;
  place-items: center;
  padding: 48px 6vw 16px;
  text-align: center;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--blue);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.title-main {
  display: block;
  color: #ffffff;
}

.title-accent {
  display: block;
  background: linear-gradient(135deg, #4aa3ff, #7b7cff);
  -webkit-background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8edff;
  box-shadow: 0 12px 30px rgba(9, 14, 35, 0.35);
}

.pill-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(74, 163, 255, 0.2);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #4aa3ff, #5e7dff);
  color: #0b1024;
  box-shadow: 0 14px 30px rgba(74, 163, 255, 0.4);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(8, 12, 30, 0.4);
}

.section {
  padding: 48px 6vw;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  margin-bottom: 10px;
}

.section-heading .muted {
  color: var(--muted);
}

.hint {
  text-align: center;
  margin-top: 18px;
  font-size: 0.9rem;
}

.companies-stage {
  padding: 24px 0 10px;
}

.splash-map {
  position: relative;
  min-height: 520px;
}

.splash-bubble {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 45px rgba(4, 8, 20, 0.45);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bubble-float 7s ease-in-out infinite;
}

.splash-bubble::after {
  content: "";
  position: absolute;
  inset: -30% 10% 10% 10%;
  border-radius: 40px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0.7;
}

.splash-bubble:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 26px 60px rgba(74, 163, 255, 0.25);
}

.splash-bubble img {
  max-width: 65%;
  max-height: 65%;
  z-index: 1;
  filter: drop-shadow(0 8px 20px rgba(6, 10, 24, 0.5));
}

.splash-bubble .company-label {
  z-index: 1;
  font-size: 0.95rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.info-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  box-shadow: 0 16px 40px rgba(6, 10, 25, 0.4);
}

.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scroll-snap-type: x mandatory;
}

.slider-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px;
  min-height: 160px;
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(74, 163, 255, 0.18);
}

.slider-content h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  margin-bottom: 6px;
}

.slider-content p {
  color: var(--muted);
  margin-bottom: 10px;
}

.slider-content a {
  color: #bcd3ff;
}

.slider-hover {
  position: absolute;
  inset: auto 0 0 0;
  background: rgba(8, 12, 28, 0.85);
  padding: 12px 16px;
  font-weight: 600;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.slider-card:hover .slider-hover {
  transform: translateY(0);
}

.register {
  padding-bottom: 40px;
}

.cta {
  text-align: center;
  background: rgba(14, 22, 46, 0.7);
  border-radius: 28px;
  padding: 48px 32px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta p {
  color: var(--muted);
  margin-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  color: var(--muted);
  margin-bottom: 26px;
}

.footer-grid h3,
.footer-grid h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-grid ul li {
  margin-bottom: 8px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

.copyright {
  text-align: center;
  color: #7a84a4;
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 18, 0.85);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 20;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(500px, 90vw);
  background: #0e162e;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.modal-card ul {
  color: var(--muted);
}

.modal-close {
  justify-self: end;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bubble-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .splash-map {
    min-height: 600px;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding-top: 60px;
  }
  .hero-pills {
    justify-content: center;
  }
  .cta {
    padding: 38px 20px;
  }
  .splash-bubble {
    position: static;
    margin: 14px auto;
  }
  .splash-map {
    display: grid;
    gap: 16px;
    padding: 24px;
    min-height: auto;
  }
}
