/* NAV */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.nav--scrolled {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.nav-logo img {
  height: 76px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 212, 255, 0.55);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  padding: 120px 48px 48px;
}

.nav-overlay.is-open {
  display: block;
}

.nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.nav-overlay a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.80);
  transition: color 0.25s ease;
}

.nav-overlay a:hover {
  color: #FFFFFF;
}

/* BUTTONS */

/* ---- Buttons ---- */
.btn,
.btn-primary,
.btn-secondary,
.btn-green,
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

/* Primary — pink glass */
.btn-primary {
  background:    linear-gradient(160deg, rgba(255, 255, 255, 0.10) 0%, rgba(0, 0, 0, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  border:        1px solid rgba(255, 0, 127, 0.65);
  color:         #FFFFFF;
  box-shadow:    0 0 22px rgba(255, 0, 127, 0.40),
                 0 2px 8px rgba(0, 0, 0, 0.40),
                 inset 0 1px 0 rgba(255, 255, 255, 0.18),
                 inset 0 0 0 1px rgba(255, 0, 127, 0.10);
}
.btn-primary:hover {
  background:    linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(0, 0, 0, 0.60) 100%);
  border-color:  rgba(255, 0, 127, 0.95);
  box-shadow:    0 0 40px rgba(255, 0, 127, 0.70),
                 0 0 12px rgba(255, 0, 127, 0.40),
                 0 2px 8px rgba(0, 0, 0, 0.40),
                 inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Secondary — cyan glass */
.btn-secondary {
  background:    linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(0, 0, 0, 0.50) 100%);
  backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  border:        1px solid rgba(0, 212, 255, 0.55);
  color:         rgba(255, 255, 255, 0.90);
  box-shadow:    0 0 18px rgba(0, 212, 255, 0.30),
                 0 2px 8px rgba(0, 0, 0, 0.35),
                 inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn-secondary:hover {
  border-color:  rgba(0, 212, 255, 0.92);
  box-shadow:    0 0 38px rgba(0, 212, 255, 0.62),
                 0 0 12px rgba(0, 212, 255, 0.30),
                 0 2px 8px rgba(0, 0, 0, 0.35),
                 inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* Green — lime green glass */
.btn-green {
  background:    linear-gradient(160deg, rgba(255, 255, 255, 0.09) 0%, rgba(0, 0, 0, 0.50) 100%);
  backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  border:        1px solid rgba(134, 223, 173, 0.55);
  color:         rgba(255, 255, 255, 0.90);
  box-shadow:    0 0 18px rgba(134, 223, 173, 0.28),
                 0 2px 8px rgba(0, 0, 0, 0.35),
                 inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-green:hover {
  border-color:  rgba(134, 223, 173, 0.92);
  box-shadow:    0 0 36px rgba(134, 223, 173, 0.60),
                 0 0 12px rgba(134, 223, 173, 0.30),
                 0 2px 8px rgba(0, 0, 0, 0.35),
                 inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

/* Nav — pink glass (matches btn-primary) */
.btn-nav {
  background:    linear-gradient(160deg, rgba(255, 255, 255, 0.10) 0%, rgba(0, 0, 0, 0.55) 100%);
  backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(115%);
  border:        1px solid rgba(255, 0, 127, 0.65);
  color:         #FFFFFF;
  box-shadow:    0 0 22px rgba(255, 0, 127, 0.40),
                 inset 0 1px 0 rgba(255, 255, 255, 0.18);
  padding: 10px 24px;
  font-size: 0.875rem;
}
.btn-nav:hover {
  border-color:  rgba(255, 0, 127, 0.95);
  box-shadow:    0 0 40px rgba(255, 0, 127, 0.70),
                 0 0 12px rgba(255, 0, 127, 0.40),
                 inset 0 1px 0 rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* SECTION LAYOUT */

.section {
  padding: 120px 48px;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
}

.section-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 3.2vw, 54px);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.section-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.2vw, 20px);
  color: var(--green);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 48px;
}

.section-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* CARD */

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
}

/* UPCOMING BADGE */

.upcoming-badge {
  display: inline-block;
  border: 1px solid var(--green);
  color: var(--green);
  background: rgba(134, 223, 173, 0.08);
  padding: 4px 14px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* FOOTER */

.site-footer {
  background: var(--black);
  padding: 80px 48px 40px;
}

/* ---- Card button spacing ---- */
.card [class*="btn-"],
.glass-card [class*="btn-"] {
  margin-top: 24px;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-logo img {
  height: 48px;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-links h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li + li {
  margin-top: 12px;
}

.footer-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.80);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* MOBILE */

@media (max-width: 768px) {
  .site-nav {
    padding: 18px 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 80px 24px;
  }

  .site-footer {
    padding: 60px 24px 32px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* ---- Z-index stacking — content above bgCanvas ---- */
main,
header,
.site-nav,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Hero stays above scroll-behind sections during GSAP pin */
.hero {
  position: relative;
  z-index: 10;
}

/* ---- Glassmorphism Utilities ---- */
.glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 16px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    0 2px 8px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
}

.glass-section {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border-radius: 20px;
  padding: 60px 48px;
  margin: 0 auto;
  max-width: 1240px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.22),
    0 2px 12px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
  .glass-section { padding: 40px 20px; border-radius: 14px; }
}

/* tsParticles background layer */
#tsparticles {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}
