.hero-section {
  background-color: var(--color-accent);
  box-sizing: border-box;
  margin: 0;
  height: 100vh;
  min-height: 800px; /* Ensure enough space on smaller screens */
  display: flex;
  padding: 0 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: sticky; /* The magic "Tab" effect */
  top: 0;
  z-index: 0; /* Keep at 0 to be interactable, next section is z-index: 1 */
  overflow: hidden;
}

.hero-background-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
  /* Clean dot pattern */
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding-top: 4rem; /* Offset for navbar */
}

.hero-title {
  font-size: 4.5rem;
  color: var(--color-text-inverted);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.text-highlight {
  color: var(--color-accent-extra2);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 750px;
  font-weight: 400;
}

/* Banner Styles */
.banner {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  margin-top: 5rem;
  animation: slideDown 0.8s ease-out;
}

.banner p {
  margin: 0;
  color: var(--color-text-inverted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-badge {
  background-color: var(--color-accent-extra);
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.banner-highlight {
  color: var(--color-accent-extra2);
  font-weight: 800;
}

.banner-link {
  color: var(--color-text-inverted);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
  transition: all 0.2s;
}

.banner-link:hover {
  color: var(--color-accent-extra2);
  border-color: var(--color-accent-extra2);
}

/* Hero Actions (Buttons) */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn-primary {
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-btn-secondary {
  font-size: 1.1rem;
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  text-decoration: none;
}

/* Social Proof */
.hero-social-proof {
  margin-top: auto;
  opacity: 0.8;
  width: 100%;
}

.hero-social-proof p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.proof-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
}

.proof-logos i, .proof-logos svg {
  transition: transform 0.2s, color 0.2s;
}

.proof-logos i:hover, .proof-logos svg:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-section {
    height: auto;
    min-height: 100svh; /* Use svh for better mobile sizing */
    padding: 7rem 1.5rem 4rem 1.5rem;
    position: relative;
    z-index: 0;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .hero-btn-primary, .hero-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    box-sizing: border-box; /* Fix overflow issue */
    display: flex; /* Ensure flex alignment works */
    align-items: center;
  }

  .banner {
    padding: 1.25rem;
    border-radius: 16px;
    width: 100%;
    box-sizing: border-box;
    /* Glassmorphism for Mobile */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
      margin-top: 0rem;

  }

  .banner p {
    display: block; /* Restore natural text flow */
    text-align: center;
    line-height: 1.6;
    font-size: 1rem;
    color: white;
    margin: 0;
  }

  .banner-badge {
    display: inline-block;
    background: white;
    color: var(--color-accent-extra);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    vertical-align: middle;
    margin: 0 4px;
    transform: translateY(-1px);
  }

  .banner-highlight {
    color: var(--color-accent-extra2); /* Gold */
    font-weight: 800;
    font-size: 1.1em;
  }

  .banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.95rem;
    color: white;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
  }

  .proof-logos {
    gap: 1.5rem;
    font-size: 1.75rem;
  }
}
