/* ================= CONTAINER ================= */
.csa-container {
  position: relative;
  width: 650px;
  height: 300px;
  border-radius: 24px;
  background: linear-gradient(to bottom, #faf5ff, var(--light-yellow));
}

/* ================= HEADER ================= */
.csa-header {
  width: 100%;
  height: 72px;
  background: #f1f0f0;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  border: 1px solid #ececec;
}

/* Traffic lights */
.csa-traffic {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f56;
}

.dot.yellow {
  background: #ffbd2e;
}

.dot.green {
  background: #27c93f;
}

/* Address bar */
.csa-address {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  padding: 8px 20px;
  font-size: 14px;
  color: #7d7890;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-poppins);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  border: 1px solid #ededed;
  min-width: 220px;
  justify-content: center;
}

.lock-icon {
  color: #9b96ad;
}

/* ================= LINES ================= */
.csa-lines {
  margin-top: 24px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.csa-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.csa-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bright-yellow);
}

.csa-line-text {
  flex: 1;
  /* height: 18px; ❌ remove */
  min-height: 18px; /* ✅ keeps desktop look */
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: flex-start; /* important for multiline */
  padding: 0 16px;
  color: #8a859c;
  font-size: 16px;
  line-height: 1.45;
  font-family: var(--font-poppins);
  word-break: break-word;
}

/* ================= SNACKBAR ================= */
.csa-snackbar {
  position: absolute;
  bottom: -36px;
  right: 24px;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.csa-snackbar-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.csa-snackbar-title {
  color: var(--secondary);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-poppins);
}

.csa-snackbar-sub {
  color: #8a859c;
  font-size: 14px;
  font-family: var(--font-poppins);
}

@media (max-width: 540px) {
  .csa-container {
    height: 360px;
  }
  .csa-address{
    left: 63%;
  }
}

/* ================== SECTION ================== */
.compliance-section {
  width: 100%;
  padding: 96px 0;
}

.compliance-container {
  width: 80%;
  max-width: 1520px;
  margin: 0 auto;
}

/* ================== TOP ================== */
.compliance-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.compliance-image {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .compliance-top {
    grid-template-columns: 1fr;
  }

  .compliance-image {
    justify-content: center;
    width: 90%;
  }
}

@media (max-width: 724px) {
  .compliance-image {
    width: 70%;
  }
  .compliance-top-section {
    width: 70%;
  }
}

@media (max-width: 540px) {
  .compliance-image {
    width: 50%;
  }
  .compliance-top-section {
    width: 50%;
  }
}

/* ================== GRID WRAPPER ================== */
.compliance-grid-wrapper {
  position: relative;
  margin-top: 80px;
}

/* ================== FEATURE ROW ================== */
/* ================= FEATURE ROW ================= */
.feature-row {
  position: relative;
  padding: 48px 0;
}

/* ================= COMMON BORDER ================= */
.border-top,
.border-bottom,
.border-left,
.border-right,
.border-col-1,
.border-col-2,
.border-col-center {
  position: absolute;
  background: #efe4ff;
  z-index: 1;
}

/* Horizontal */
.border-top {
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
}

.border-bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
}

/* Vertical outer */
.border-left {
  top: 0;
  bottom: -10px;
  left: 8px;
  width: 1px;
}

.border-right {
  top: 0;
  bottom: -10px;
  right: 8px;
  width: 1px;
}

/* Vertical column dividers */
.border-col-1 {
  top: 0;
  bottom: 0;
  left: 33.333%;
  width: 1px;
}

.border-col-2 {
  top: 0;
  bottom: 0;
  left: 66.666%;
  width: 1px;
}

.border-col-center {
  top: 0;
  bottom: -10px;
  left: 50%;
  width: 1px;
}

/* ================= GRID ABOVE BORDERS ================= */
.feature-grid {
  position: relative;
  z-index: 2;
  padding: 40px;
  display: grid;
  gap: 48px;
}

/* Responsive */
@media (max-width: 768px) {
  .border-col-1,
  .border-col-2,
  .border-col-center {
    display: none;
  }
}

/* ================== FEATURE GRID ================== */
.feature-grid {
  position: relative;
  padding: 40px;
  display: grid;
  gap: 48px;
}

.feature-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .feature-grid-3,
  .feature-grid-2 {
    grid-template-columns: 1fr;
  }

  .row-borders-3,
  .row-borders-2 {
    display: none;
  }
}

/* ================== FEATURE ITEM ================== */
.feature-item {
  text-align: left;
}

.feature-icon {
  color: #34465e;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 24px;
  font-weight: 500;
  color: #34465e;
  margin-bottom: 8px;
}

/* ================== HELPERS ================== */
.no-left-margin {
  margin-left: 0 !important;
}

@media (max-width: 768px) {
  .compliance-section {
    overflow-x: clip;
  }

  .feature-row {
    overflow-x: clip;
  }

  /* Prevent borders from extending out */
  .border-left {
    left: 0;
  }

  .border-right {
    right: 0;
  }

  .border-top,
  .border-bottom {
    left: 0;
    right: 0;
  }
}


.feature-cards {
  margin-top: 60px;
}

/* ---------- ROWS ---------- */
.feature-row-3,
.feature-row-2 {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

.feature-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-row-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66%;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CARD ---------- */
.feature-card {
  background: #F3F2F3;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 1024px) {
  .feature-row-3 {
    grid-template-columns: 1fr;
  }

  .feature-row-2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* 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%;
  }
}
