/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
    font-family: 'Inter', sans-serif;
  color: white;
  background: #0b0c2a;
  overflow-x: hidden;
}

/* Container helper */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* 👈 this ensures consistent inner alignment */
}


/* Navbar */

.menu-toggle {
  display: none;
}


.navbar {
  padding: 1.5rem 0;
  background: transparent; /* Removed purple background */
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
  max-height: 50px;
  max-width: 200px;
}

.logo img {
  max-height: 50px;
  max-width: 200px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  opacity: 0.9;
}
.nav-links a:hover {
  opacity: 1;
}
.user-icon {
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #5f47ff, #8b4eff);
  position: relative;
  text-align: left;
  padding: 10rem 0;
  overflow: hidden;
  height: 
  
}
.hero::before {
  content: '';
  background: url('../assets/images/bg04.png') no-repeat center center / cover;
  opacity: 0.15;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
  padding-left: 1.5rem;   /*  aligns with .container’s inner spacing */
  margin: 70px auto 70px 0;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Form */
.hero-form {
  display: flex;
  margin-top: 6rem;
  gap: 0;
  max-width: 480px;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.hero-form input[type="email"] {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: transparent;
  color: white;
  outline: none;
}

.hero-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hero-form input:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}


.hero-form button {
  padding: 0 2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  background: linear-gradient(to right, #6274ff, #9f5afd);
  color: white;
  transition: all 0.3s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-form button:hover {
  background: linear-gradient(to right, #5065f2, #9049f0);
}



/* ValueCards */

.value-cards {
  position: relative;
  margin-top: 50px; /* Overlap into the hero */
  padding: 0 0 6rem;
  z-index: 10;
  background: transparent; /* ✨ Important: No background on the section */
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  height: 48px;
  width: 48px;
  margin-bottom: 1rem;
}

.card-icon img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(34%) sepia(66%) saturate(2078%) hue-rotate(221deg) brightness(93%) contrast(92%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.card:hover .card-icon img {
  opacity: 1;
}

.card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #2e2e4e;
}

.card p {
  font-size: 1rem;
  color: #5a5a78;
  line-height: 1.6;
}

/* HOW IT WORKS */
.how-it-works {
  background: #f9f9fc;
  padding: 6rem 0;
  text-align: center;
}

.how-it-works h2{
 color: #5a5a78;
   font-size: 2.25rem;
  font-weight: 700;
 margin-bottom: 1.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2e2e4e !important;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #5a5a78;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #5f47ff;
}

.step h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2e2e4e;
}

.step p {
  font-size: 1rem;
  color: #5a5a78;
  line-height: 1.6;
}


.featured-projects {
  background: #fff;
  padding: 6rem 0;
  text-align: center;
}



.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
    align-items: stretch;
}

.project-card {
  background: #f9f9fc;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card h4 {
  font-size: 1.2rem;
  margin: 1.2rem 1rem 0.5rem;
  color: #2e2e4e;
}

.project-card p {
  font-size: 0.95rem;
  color: #5a5a78;
  margin: 0 1rem 1.5rem;
  line-height: 1.6;
}

.progress-bar {
  background: #eaeaea;
  border-radius: 999px;
  height: 8px;
  margin: 0 1rem 1rem;
  overflow: hidden;
}

.progress-bar .fill {
  background: linear-gradient(to right, #6274ff, #9f5afd);
  height: 100%;
  border-radius: 999px;
}

.project-btn {
  margin: 0 1rem 1.5rem;
  padding: 0.75rem 1.25rem;
  background: #5f47ff;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.project-btn:hover {
  background: #4b36e0;
}


/* Why Now Section */
.why-now {
  background: #0b0c2a;
  padding: 6rem 0;
  text-align: center;
}

.why-now h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.why-now p {
  font-size: 1.1rem;
  color: #d0d0ea;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Early Backer Rewards */
.early-backer-rewards {
  background: #15163b;
  padding: 5rem 0;
  text-align: center;
}

.early-backer-rewards h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.rewards-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.rewards-list li {
  font-size: 1.1rem;
  color: #d0d0ea;
  margin-bottom: 0.75rem;
}

/* Referral Section */
.referral {
  background: #1a1b45;
  padding: 5rem 0;
  text-align: center;
}

.referral h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.referral p {
  font-size: 1rem;
  color: #d0d0ea;
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
  background: #0b0c2a;
  padding: 4rem 0;
  text-align: center;
}

.social-proof h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.logos-row img {
  height: 40px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logos-row img:hover {
  opacity: 1;
}

.social-proof p {
  color: #d0d0ea;
  font-size: 1rem;
}

/* Fix if using .steps instead of .steps-grid */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}




@media (max-width: 600px) {
  .hero-form {
    flex-direction: column;
    border-radius: 20px;
     overflow: hidden;
  }
  .hero-form button {
 padding: 1rem;
  font-size: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 20px 20px;
  }
}

.hero-form input[type="email"] {
  border-radius: 20px 20px 0 0;
  padding: 1rem;
}



@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    background: #0b0c2a;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .user-icon {
    display: none;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
  }
}
