/* ==========================================================================
   1. SHARED EYEBROW
   ========================================================================== */
.sec-eyebrow {
  text-align: center;
  color: #0078c8;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   2. HERO
   ========================================================================== */
.sec-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.sec-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/security/security.png");
  background-size: cover;
  background-position: center;
}

.sec-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(270deg, rgba(255, 255, 255, 0.42) 21.89%, #000000 89.42%),
    linear-gradient(269.8deg, rgba(255, 255, 255, 0) 33.9%, #000000 99.81%),
    linear-gradient(
      270deg,
      rgba(0, 0, 0, 0) 0%,
      #000000 49.76%,
      rgba(0, 0, 0, 0) 100%
    );
  opacity: 41%;
}

.sec-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 20px 110px;
  text-align: center;
}

.sec-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #024188;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 22px;
}

.sec-hero__pill-star {
  color: #ffb800;
  font-size: 14px;
}

.sec-hero__title {
  font-size: 50px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 22px;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.sec-hero__lede {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  max-width: 680px;
  margin: 0 auto 32px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.sec-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0078c8;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 120, 200, 0.4);
  transition: all 0.2s ease;
}

.sec-hero__cta:hover {
  background: #024188;
  transform: translateY(-1px);
}

/* ==========================================================================
   3. CERTIFICATIONS & COMPLIANCE
   ========================================================================== */
.sec-certs {
  background: #f8fafd;
  padding: 80px 0 100px;
}

.sec-certs__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 44px;
}

.sec-certs__title {
  font-size: 38px;
  font-weight: 800;
  color: #024188;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.sec-certs__card {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d7e3f0;
  border-radius: 14px;
  padding: 44px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  box-shadow: 0 2px 14px rgba(2, 65, 136, 0.05);
}

.sec-cert {
  text-align: center;
  padding: 6px 20px;
  position: relative;
}

.sec-cert + .sec-cert::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: #e5e7eb;
}

.sec-cert__badge {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
}

.sec-cert__badge svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sec-cert__title {
  font-size: 19px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 10px;
}

.sec-cert__sub {
  font-size: 14px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 18px;
}

.sec-cert__chip {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.sec-cert__chip--certified {
  background: #e6f4e0;
  color: #166534;
  border: 1px solid #b7dfa8;
}

.sec-cert__chip--compliant {
  background: #eff6fc;
  color: #0078c8;
  border: 1px solid #c2dcf0;
}

/* ==========================================================================
   4. BUILT-IN SECURITY — 6 feature cards
   ========================================================================== */
.sec-built {
  background: #eff4fa;
  padding: 90px 0 100px;
}

.sec-built__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.sec-built__title {
  font-size: 38px;
  font-weight: 800;
  color: #024188;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.sec-built__lede {
  font-size: 15.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.sec-built__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.sec-feature {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 22px;
  transition: all 0.2s;
}

.sec-feature:hover {
  border-color: #c2dcf0;
  box-shadow: 0 4px 14px rgba(0, 120, 200, 0.08);
  transform: translateY(-2px);
}

.sec-feature__img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
}

.sec-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sec-feature__img--aicpa {
  background: #a6dcf7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-feature__img--aicpa svg {
  width: 70%;
  height: auto;
}

.sec-feature__title {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 12px;
}

.sec-feature__copy {
  font-size: 14px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   6. SECURITY BEST PRACTICES — 2x2 grid
   ========================================================================== */
.sec-practices {
  background: #fff;
  padding: 70px 0 90px;
}

.sec-practices__intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.sec-practices__title {
  font-size: 38px;
  font-weight: 800;
  color: #024188;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

.sec-practices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.sec-practice {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: center;
  transition: all 0.2s;
}

.sec-practice:hover {
  border-color: #c2dcf0;
  box-shadow: 0 4px 14px rgba(0, 120, 200, 0.06);
}

.sec-practice__title {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 16px;
}

.sec-practice__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sec-practice__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #4a5c6f;
  line-height: 1.5;
}

.sec-practice__check {
  background: #e5f1ff;
  color: #0078c8;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.sec-practice__img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: 160px;
  width: 100%;
}

.sec-practice__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   7. CTA BANNER — Have Security Questions?
   ========================================================================== */
.sec-cta {
  background: #0078c8;
  padding: 70px 0;
  color: #fff;
}

.sec-cta__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.sec-cta__shield {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-cta__svg {
  width: 200px;
  height: 220px;
}

.sec-cta__title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.sec-cta__lede {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.93);
  line-height: 1.65;
  margin: 0 0 26px;
  max-width: 480px;
}

.sec-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0078c8;
  padding: 13px 36px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.sec-cta__btn:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .sec-hero__title {
    font-size: 40px;
  }
  .sec-hero__inner {
    padding: 64px 20px 84px;
  }

  .sec-certs__title,
  .sec-built__title,
  .sec-faq__title,
  .sec-practices__title,
  .sec-cta__title {
    font-size: 30px;
  }

  .sec-built__grid,
  .sec-practices__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sec-practice {
    grid-template-columns: 1fr 160px;
    padding: 22px;
    gap: 18px;
  }
  .sec-practice__img {
    height: 140px;
  }

  .sec-cta__grid {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }
  .sec-cta__svg {
    width: 170px;
    height: 188px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hero */
  .sec-hero__inner {
    padding: 50px 20px 64px;
  }
  .sec-hero__title {
    font-size: 28px;
  }
  .sec-hero__lede {
    font-size: 14.5px;
  }
  .sec-hero__cta {
    padding: 12px 26px;
    font-size: 14px;
  }

  /* Certifications */
  .sec-certs {
    padding: 56px 0 64px;
  }
  .sec-certs__title,
  .sec-built__title,
  .sec-faq__title,
  .sec-practices__title {
    font-size: 24px;
  }
  .sec-certs__card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
  }
  .sec-cert + .sec-cert::before {
    left: 14%;
    right: 14%;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  /* Built-in */
  .sec-built {
    padding: 56px 0 64px;
  }
  .sec-built__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* FAQ */
  .sec-faq {
    padding: 56px 0 64px;
  }
  .sec-faq__summary {
    padding: 16px 18px;
    gap: 14px;
  }
  .sec-faq__num {
    width: 22px;
    font-size: 14px;
  }
  .sec-faq__q {
    font-size: 14.5px;
  }
  .sec-faq__icon {
    width: 28px;
    height: 28px;
  }
  .sec-faq__answer {
    padding: 0 18px 18px 54px;
  }
  .sec-faq__answer p {
    font-size: 13.5px;
  }
  .sec-faq__callout {
    padding: 18px 22px;
    margin-top: 24px;
  }
  .sec-faq__callout-title {
    font-size: 15.5px;
  }
  .sec-faq__callout-copy {
    font-size: 13.5px;
  }

  /* Practices */
  .sec-practices {
    padding: 56px 0 64px;
  }
  .sec-practices__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sec-practice {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 20px;
  }
  .sec-practice__img {
    height: 180px;
    aspect-ratio: 16 / 9;
    order: -1;
  }

  /* CTA */
  .sec-cta {
    padding: 48px 0;
  }
  .sec-cta__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
  }
  .sec-cta__svg {
    width: 140px;
    height: 154px;
  }
  .sec-cta__title {
    font-size: 26px;
  }
  .sec-cta__lede {
    margin-left: auto;
    margin-right: auto;
  }
  .sec-cta__btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}
