/* Outer wrapper to pull card upward so lines look connected */
.next-section-wrapper {
  position: relative;
  padding-bottom: 160px;
  z-index: 10;
}

/* Main card container */
.next-section-card {
  background: #ffffff;
  border-radius: 24px;
  width: 80%;
  padding: 70px 60px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;

  /* Perfect soft shadow from Figma */
  box-shadow: 0px 40px 80px rgba(0, 0, 0, 0.03),
    0px 25px 40px rgba(0, 0, 0, 0.02);
}

/* Small purple eyebrow label */
.landingpage-question {
  color:var(--primary-bright);
  font-family: var(--font-poppins);
  font-size: clamp(14px, 0.8vw, 16px);
  font-weight: 500;
  margin-bottom: 14px;
}

/* Main title */
.landingpage-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  margin-top:22px;

  /* Gradient text */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 19.74%,
    #000000 113.82%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Description paragraph */
.landingpage-desc {
  font-size: 16px;
  color: #1A1A1A;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-family: var(--font-poppins) !important;
}

.landingpage-desc-pills{
  font-size: 16px;
  color: #1A1A1A;
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-family: var(--font-poppins) !important;
}

/* Black gradient CTA button */
.ns-button {
  padding: 14px 36px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, #000 100%);

  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: all 0.25s ease;
}

/* Hover: lift + brighter */
.ns-button:hover {
  transform: translateY(-4px);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .next-section-card {
    padding: 50px 28px;
    border-radius: 20px;
  }
  .landingpage-title {
    font-size: 28px;
  }
  .landingpage-desc {
    font-size: 15px;
  }
  .landingpage-desc-pills{
    font-size: 15px;
    width: 50%;
  }
  .next-section-wrapper {
    margin-top: -120px;
  }
}

/* Main section container */
.state-section {
  position: relative;

  width: min(1520px, calc(100vw - 320px));
  max-width: 1520px;

  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);

  flex-shrink: 0;
  margin-inline: auto;
}

@media (max-width: 1200px) {
  .state-section {
    width: 1100px;
    max-width: 1100px;
  }
}

@media (max-width: 768px) {
  .state-section {
    width: 1100px;
    max-width: 1100px;
  }
}

/* Inner content alignment */
.state-inner {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

/* Typography */
.tagline {
  font-size: clamp(14px, 3vw, 18px);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  margin-bottom: 16px;
}

.title {
  font-size: clamp(24px, 5vw, 46px);
  font-weight: 700;
  margin-bottom: 16px;
}

.subtitle {
  font-size: clamp(14px, 3.5vw, 18px);
  color: #555;
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  /* tablet */
  .subtitle {
    max-width: 480px;
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  /* mobile */
  .subtitle {
    max-width: 360px;
    font-size: 16px;
  }
}

@media(max-width: 480px){
  .landingpage-desc-pills{
    width: 32%;
  }
}
