/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0e2a;
  color: #ffffff;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111537;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #F4CB00;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  gap: 1rem;
}

.login {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #ffffff;
  border-radius: 5px;
  transition: all 0.3s;
}

.login:hover {
  background: #ffffff;
  color: #0a0e2a;
  font-weight: bold;
}

.join-button {
  background: linear-gradient(to right, #3473F2, #00b4db);
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.join-button:hover {
  background: #275ecb;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: radial-gradient(circle at top, #1b2354, #0a0e2a);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #cccccc;
}

.hero-btn {
  background: linear-gradient(to right, #3473F2, #00b4db);
  color: white;
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: #275ecb;
}

/* Roadmap Section */
.roadmap {
  padding: 60px 20px;
  text-align: center;
}

.roadmap h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #F4CB00;
}

.models {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.model {
  background: #1a1f3c;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.model h3 {
  color: #00b4db;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Stats Section */
.stats {
  padding: 60px 20px;
  text-align: center;
  background: #10152f;
}

.stats h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #F4CB00;
}

.graph-placeholder {
  font-size: 1.2rem;
  color: #eeeeee;
}

/* Footer */
.footer {
  background: #0d102b;
  padding: 40px 20px;
  color: #ccc;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.footer-cols div {
  flex: 1;
  min-width: 200px;
}

.footer h4 {
  color: #F4CB00;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
}

.footer ul li a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 0.5rem 0;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #2c2f4a;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-logo {
  font-weight: bold;
  color: #F4CB00;
}

.policy-links a {
  margin-left: 1.5rem;
  color: #ccc;
  text-decoration: none;
}

.policy-links a:hover {
  color: #fff;
}

/* ------------------- Mobile Responsive ------------------- */
@media (max-width: 768px) {
  .navbar,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links li {
    width: 100%;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .auth-buttons a {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .models {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .model {
    width: 90%;
  }

  .stats {
    padding: 40px 20px;
  }

  .graph-placeholder {
    font-size: 1rem;
    text-align: center;
  }

  .footer-cols {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
  }

  .policy-links {
    flex-direction: column;
    gap: 5px;
    margin-top: 1rem;
  }

  .policy-links a {
    margin: 0;
  }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    gap: 12px;
    text-align: center;
  }

  .logo {
    font-size: 24px;
    font-weight: bold;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .nav-links li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
  }

  .nav-links li:first-child {
    border-top: none;
  }

  .nav-links a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    display: block;
    width: 100%;
    transition: background 0.2s;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .auth-buttons a {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
}
.footer {
  text-align: center;
}

.footer-cols {
  align-items: center;
}

.footer-cols div {
  text-align: center;
}

.footer ul {
  padding-left: 0;
}

.footer ul li a {
  margin: 6px 0;
}

.footer-logo {
  text-align: center;
  width: 100%;
}

.footer-bottom {
  align-items: center;
  text-align: center;
}

.policy-links {
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.policy-links a {
  margin: 0 10px;
}
/* ---------------- Modal Styles ---------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);

  /* Flexbox centering for all devices */
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #111537; /* match navbar */
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  position: relative;
  margin: 0; /* remove old margin */
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #F4CB00;
}

.modal-content label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
/* Center modal on mobile */
@media (max-width: 600px) {
  .modal {
    display: flex;
    align-items: flex-end; /* slide-up from bottom */
    justify-content: center; /* center horizontally */
    padding: 0; /* remove extra margin */
  }

  .modal-content {
    margin: 0; /* override previous margin */
    width: 95%;
    max-width: 480px;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .modal-content.show {
    transform: translateY(0);
  }
}

