@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Inter:wght@300;400;500;600;700&display=swap");

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

/* ===========================
   Background
=========================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top, #03fcf022 0%, transparent 50%),
    url("../images/backgrounds/BackGround.png");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.7)
  );
  z-index: -1;
}

/* ===========================
   Navigation
=========================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 52px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(3, 252, 240, 0.14);
  z-index: 999;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1.3rem;
}

.logo {
  width: 44px;
  transition: 0.35s;
}

.logo:hover {
  transform: rotate(8deg) scale(1.08);
}

.links {
  display: flex;
  gap: 34px;
}

.links a {
  position: relative;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
  transition:
    color 0.22s ease,
    text-shadow 0.22s ease;
}

.links a:hover,
.links a.active,
.links a[aria-current="page"] {
  color: #03fcf0;
}

.links a.active,
.links a[aria-current="page"] {
  text-shadow: 0 0 12px rgba(3, 252, 240, 0.18);
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: #03fcf0;
  box-shadow: 0 0 10px rgba(3, 252, 240, 0.55);
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.links a.active::after,
.links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ===========================
   Announcement Banner
=========================== */

.announcement-banner {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #03fcf0, #02c8b8);
  color: #070707;
  text-align: center;
  padding: 10px 20px;
  z-index: 998;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 12px rgba(3, 252, 240, 0.3);
}

.announcement-banner p {
  margin: 0;
}

body:has(.announcement-banner[style*="block"]) .hero:first-of-type {
  padding-top: 128px;
}

/* ===========================
   Hero
=========================== */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 90px 20px 30px;
}

.heroLogo {
  width: 420px;
  margin-bottom: 40px;
  filter: drop-shadow(0 0 20px #03fcf0)
    drop-shadow(0 0 60px rgba(3, 252, 240, 0.45));
  transition: 0.4s;
}

.heroLogo:hover {
  transform: scale(1.03);
}

.hero h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 4.8rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero h1 span {
  color: #03fcf0;
  text-shadow:
    0 0 12px #03fcf0,
    0 0 35px #03fcf0;
}

.hero p {
  max-width: 760px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #d2d2d2;
  margin-bottom: 45px;
}

/* Home hero is intentionally tighter than the shared hero layout. */
.home-hero {
  min-height: 88vh;
  padding: 112px 24px 64px;
}

.home-hero .heroLogo {
  width: clamp(220px, 20vw, 300px);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 16px rgba(3, 252, 240, 0.8))
    drop-shadow(0 0 42px rgba(3, 252, 240, 0.25));
}

.home-hero h1 {
  max-width: 1180px;
  font-size: clamp(2.7rem, 4.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.home-hero p {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* ===========================
   Buttons
=========================== */

.buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 16px;
  border: 2px solid #03fcf0;
  background: #101010;
  color: white;
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 0 18px rgba(3, 252, 240, 0.2);
}

.button:hover {
  background: #03fcf0;
  color: black;
  transform: translateY(-5px);
  box-shadow: 0 0 30px #03fcf0;
}

.home-actions {
  gap: 14px;
}

.home-actions .button {
  min-width: 150px;
  padding: 14px 26px;
  border-radius: 12px;
  border-width: 1px;
  box-shadow: none;
}

.button-primary {
  background: #03fcf0;
  color: #050505;
  border-color: #03fcf0;
  box-shadow: 0 0 24px rgba(3, 252, 240, 0.18) !important;
}

.button-primary:hover {
  background: #35fff5;
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(3, 252, 240, 0.38) !important;
}

.button-secondary {
  background: rgba(10, 10, 10, 0.72);
}

.button-tertiary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: #d8d8d8;
}

.button-tertiary:hover {
  border-color: #03fcf0;
  background: rgba(3, 252, 240, 0.08);
  color: #fff;
  box-shadow: none;
}

/* ===========================
   Homepage Features
=========================== */

.features-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}

.section-kicker {
  margin-bottom: 10px;
  color: #7f8b8b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.features-section h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.1;
}

.features-section h2 span {
  color: #03fcf0;
}

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

.feature-card {
  min-height: 176px;
  padding: 28px;
  border: 1px solid rgba(3, 252, 240, 0.13);
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(14, 18, 18, 0.78),
    rgba(7, 8, 8, 0.72)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 252, 240, 0.32);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: #03fcf0;
  font-size: 1.1rem;
}

.feature-card p {
  color: #bdbdbd;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ===========================
   Animation
=========================== */

.hero {
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 900px) {
  nav {
    padding: 0 20px;
  }

  .links {
    gap: 20px;
    font-size: 0.9rem;
  }

  .heroLogo {
    width: 240px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .home-hero {
    min-height: 82vh;
    padding-top: 105px;
  }

  .home-hero .heroLogo {
    width: 230px;
  }

  .home-hero h1 {
    font-size: clamp(2.35rem, 7vw, 3.25rem);
  }

  .buttons {
    flex-direction: column;
  }

  .button {
    width: 260px;
    text-align: center;
  }

  .home-actions .button {
    width: min(300px, 84vw);
  }

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

  .feature-card {
    min-height: auto;
  }
}

/* ===========================
   Small Mobile
=========================== */

@media (max-width: 480px) {
  nav {
    padding: 0 15px;
    height: 60px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand span {
    display: none;
  }

  .logo {
    width: 40px;
  }

  .links {
    gap: 10px;
    font-size: 0.8rem;
  }

  .links a.active::after,
  .links a[aria-current="page"]::after {
    bottom: -7px;
  }

  .announcement-banner {
    top: 60px;
  }

  .hero {
    padding: 70px 15px 20px;
  }

  .heroLogo {
    width: 200px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .home-hero {
    min-height: auto;
    padding: 100px 15px 58px;
  }

  .home-hero .heroLogo {
    width: 190px;
    margin-bottom: 20px;
  }

  .home-hero h1 {
    font-size: 2rem;
  }

  .home-hero p {
    margin-bottom: 26px;
  }

  .buttons {
    gap: 15px;
  }

  .button {
    width: 220px;
    padding: 15px 20px;
    font-size: 0.9rem;
  }

  .features-section {
    width: min(100% - 30px, 1120px);
    padding: 58px 0 72px;
  }

  .feature-card {
    padding: 24px;
  }
}

/* ===========================
   Footer
=========================== */

footer {
  margin-top: 20px;
  padding: 35px 20px;
  text-align: center;
  color: #8d8d8d;
  border-top: 1px solid rgba(3, 252, 240, 0.12);
}

footer p {
  margin-bottom: 8px;
}

.footer-admin-link {
  font-size: 0.75rem;
  color: #5a5a5a;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-admin-link:hover {
  color: #03fcf0;
}
