/* Join The Revolution Page */
.join-hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  overflow: hidden;
}

.join-hero::before,
.join-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.join-hero::before {
  background: radial-gradient(circle at 22% 18%, rgba(0, 214, 143, 0.18), transparent 50%),
    radial-gradient(circle at 78% 12%, rgba(114, 242, 212, 0.16), transparent 55%);
}

.join-hero::after {
  background: linear-gradient(
      120deg,
      transparent 0%,
      rgba(114, 242, 212, 0.12) 12%,
      rgba(0, 214, 143, 0.3) 26%,
      rgba(114, 242, 212, 0.14) 40%,
      transparent 58%
    );
  background-size: 280% 100%;
  animation: battery-flow 12s linear infinite;
  opacity: 0.7;
}

.join-hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: stretch;
}

.join-hero__copy {
  display: grid;
  gap: 1.5rem;
  align-content: center;
}

.join-hero__copy h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.9rem, 6vw, 4.3rem);
  line-height: 1.05;
}

.join-hero__copy p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 540px;
}

.join-hero__visual {
  display: grid;
  align-content: center;
}

.join-hero__card {
  background: rgba(5, 17, 26, 0.92);
  border: 1px solid rgba(114, 242, 212, 0.18);
  border-radius: 26px;
  padding: 2.2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 30px 55px rgba(4, 12, 20, 0.55);
}

.join-hero__card ul {
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.join-hero__card li {
  list-style: disc outside;
  margin-left: 1rem;
}

.join-segments {
  padding: 4.75rem 0;
}

.join-segments__inner {
  display: grid;
  gap: 1.75rem;
}

.segment-card {
  background: rgba(7, 21, 30, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(114, 242, 212, 0.18);
  padding: 2.2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 26px 45px rgba(4, 12, 20, 0.5);
}

.segment-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
}

.segment-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.join-cta {
  padding: 4.75rem 0 4.25rem;
  background: rgba(5, 17, 26, 0.85);
  border-top: 1px solid rgba(114, 242, 212, 0.12);
}

.join-cta__inner {
  display: grid;
  gap: 1.4rem;
  text-align: center;
}

.join-cta__inner h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
}

.join-cta__inner p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.join-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn-primary--ghost {
  background: rgba(4, 12, 20, 0.85);
  color: var(--text);
  border: 1px solid rgba(114, 242, 212, 0.28);
  box-shadow: none;
}

.btn-primary--ghost:hover,
.btn-primary--ghost:focus-visible {
  border-color: rgba(114, 242, 212, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .join-hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .join-hero__copy p {
    margin: 0 auto;
  }

  .join-hero__visual {
    justify-items: center;
  }

  .join-hero__card {
    max-width: 520px;
    text-align: left;
  }

  .join-cta__actions {
    flex-direction: column;
  }

  .join-cta__actions .btn-primary,
  .join-cta__actions .btn-primary--ghost {
    width: min(280px, 100%);
  }
}

@media (max-width: 540px) {
  .join-hero__card {
    padding: 1.75rem;
  }

  .segment-card {
    padding: 1.9rem;
  }
}

