/* ─────────────────────────────
   RESET & BASE
───────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #0f1117;
  color: #e0e0e0;
  line-height: 1.7;
}

a {
  color: #00ff41;
  text-decoration: none;
}


/* ─────────────────────────────
   HERO
───────────────────────────── */

#hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 45px 20px 50px;
  text-align: center;
  background-image: url("./motherboard.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 0;
}

#hero > * {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  color: #ffffff;
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow:
    0 0 20px rgba(0, 0, 0, 0.9),
    0 2px 4px rgba(0, 0, 0, 0.8);
}

.tagline {
  max-width: 900px;
  margin-top: 10px;
  font-size: 1rem;
  color: #c0c0d0;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.tagline span {
  color: #00ff41;
}


/* ─────────────────────────────
   VIDEO
───────────────────────────── */

.video-wrapper {
  width: min(92vw, 380px);
  margin-top: 36px;
  overflow: hidden;
  background-color: rgba(0, 255, 65, 0.04);
  border: 1px solid rgba(0, 255, 65, 0.35);
  border-radius: 12px;
  box-shadow: 0 0 24px rgba(0, 255, 65, 0.12);
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}


/* ─────────────────────────────
   BUTTONS
───────────────────────────── */

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.buttons a,
.project-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 12px 26px;
  background-color: rgba(0, 255, 65, 0.06);
  color: #00ff41;
  border: 1px solid rgba(0, 255, 65, 0.4);
  border-radius: 8px;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.08);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.buttons a:hover,
.buttons a:focus,
.project-links a:hover,
.project-links a:focus {
  background-color: rgba(0, 255, 65, 0.15);
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.25);
  transform: translateY(-2px);
}

.buttons a:focus,
.project-links a:focus {
  outline: 2px solid rgba(0, 255, 65, 0.7);
  outline-offset: 3px;
}


/* ─────────────────────────────
   STATEMENT
───────────────────────────── */

#statement {
  max-width: 820px;
  margin: 0 auto;
  padding: 55px 20px;
  text-align: center;
  font-size: 1.05rem;
  color: #a0a0ba;
  border-bottom: 1px solid #1e1e2e;
}

#statement p {
  line-height: 1.9;
}


/* ─────────────────────────────
   SHARED SECTIONS
───────────────────────────── */

#projects,
#deployment,
#roadmap,
#connect {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

h2 {
  margin-bottom: 36px;
  color: #00ff41;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}


/* ─────────────────────────────
   PROJECTS
───────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 20px;
}

.project-card,
.deployment-card,
.roadmap-card {
  background-color: #1a1a2e;
  border: 1px solid #2a2a4a;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.18);
}

.project-card {
  padding: 24px;
}

.project-card.featured {
  border-color: rgba(0, 255, 65, 0.3);
}

.project-card h3 {
  margin: 12px 0 10px;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.35;
}

.project-card p {
  color: #a0a0ba;
  font-size: 0.92rem;
  line-height: 1.65;
}

.project-card ul {
  margin: 16px 0 0 18px;
  color: #8d8da8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.project-links a {
  min-width: auto;
  padding: 9px 18px;
  font-size: 0.86rem;
}


/* ─────────────────────────────
   DEPLOYMENT
───────────────────────────── */

#deployment {
  padding-top: 30px;
}

.deployment-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px;
  text-align: center;
}

.deployment-card p {
  color: #a0a0ba;
  line-height: 1.8;
}

.deployment-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

.deployment-flow span {
  padding: 10px 14px;
  color: #ffffff;
  background-color: rgba(0, 255, 65, 0.07);
  border: 1px solid rgba(0, 255, 65, 0.28);
  border-radius: 999px;
  font-size: 0.88rem;
}

.deployment-note {
  font-size: 0.95rem;
}


/* ─────────────────────────────
   ROADMAP
───────────────────────────── */

#roadmap {
  padding-bottom: 80px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.roadmap-card {
  min-height: 165px;
  padding: 22px;
}

.roadmap-card.active {
  border-color: rgba(0, 255, 65, 0.28);
}

.roadmap-card h3 {
  margin: 12px 0 8px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
}

.roadmap-card p {
  color: #8d8da8;
  font-size: 0.9rem;
  line-height: 1.6;
}


/* ─────────────────────────────
   CONNECT
───────────────────────────── */

#connect {
  max-width: 760px;
  padding-top: 20px;
  padding-bottom: 80px;
  text-align: center;
}

#connect p {
  color: #a0a0ba;
  line-height: 1.8;
}



/* ─────────────────────────────
   BADGES
───────────────────────────── */

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.badge.now {
  background-color: rgba(0, 255, 65, 0.1);
  color: #00ff41;
  border: 1px solid rgba(0, 255, 65, 0.5);
}

.badge.next {
  background-color: #1a2a3a;
  color: #4ea8de;
  border: 1px solid #4ea8de;
}

.badge.goal {
  background-color: #2a1a3a;
  color: #a070de;
  border: 1px solid #a070de;
}

.badge.future {
  background-color: #2a2a1a;
  color: #deaa40;
  border: 1px solid #deaa40;
}


/* ─────────────────────────────
   MOBILE
───────────────────────────── */

@media (max-width: 600px) {
  #hero {
    min-height: auto;
    padding: 36px 16px 42px;
    background-attachment: scroll;
  }

  h1 {
    letter-spacing: 3px;
  }

  .tagline {
    max-width: 340px;
    font-size: 0.95rem;
  }

  .video-wrapper {
    width: min(92vw, 340px);
    margin-top: 30px;
  }

  .buttons {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .buttons a {
    width: min(100%, 240px);
  }

  #statement {
    padding: 42px 18px;
    font-size: 1rem;
  }

  #projects,
  #deployment,
  #roadmap,
  #connect {
    padding: 48px 18px;
  }

  .project-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .project-links {
    flex-direction: column;
  }

  .project-links a {
    width: 100%;
  }

  .deployment-flow {
    flex-direction: column;
    align-items: center;
  }

  .deployment-flow span {
    width: min(100%, 260px);
  }
}