/* Page: Home | /css/pages/home.css */

/* ── HERO (824px tall, blurred bg) ── */
.hero {
  width: 100%;
  min-height: 824px;
  height: 824px;
  position: relative;
  overflow: hidden;
  display: block;
}

.hero-bg {
  position: absolute;
  inset: var(--z-base);
  background: url('../../assets/images/lap-hero.png') center bottom / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: var(--z-base);
  background: linear-gradient(173.4deg, rgba(3, 61, 150, 0.55) 7.92%, rgba(3, 61, 150, 0.12) 60%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 162px;
  left: 50%;
  transform: translateX(-50%);
  width: 926px;
  max-width: calc(100vw - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-secondary);
  font-weight: var(--weight-semibold);
  font-size: var(--text-7xl);
  line-height: 68px;
  letter-spacing: -3.84px;
  color: var(--color-white);
  width: 100%;
}

.hero-sub {
  font-weight: var(--weight-medium);
  font-size: var(--text-base);
  line-height: 22px;
  letter-spacing: -0.54px;
  color: var(--color-text-footer-links);
  max-width: 639px;
  margin-top: var(--z-base);
}

.hero-alert-card {
  position: absolute;
  left: calc(50% + 91px);
  top: 666px;
  z-index: 3;
  background: rgba(195, 195, 195, 0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  width: 352px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.alert-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-row svg {
  width: 25px;
  height: 22px;
  flex-shrink: 0;
}

.alert-row span {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-gray-dark);
  letter-spacing: -0.8px;
  line-height: var(--text-xl);
}

.hero-alert-card p {
  font-size: var(--text-base);
  color: var(--color-text-gray-dark);
  line-height: var(--text-lg);
  letter-spacing: -0.48px;
  white-space: nowrap;
}

/* ── SOLUTIONS SECTION LAYOUT ── */
.solutions {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 120px 80px 80px;
}

.section-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 945px;
}

.section-heading h2 {
  font-family: var(--font-secondary);
  font-weight: var(--weight-bold);
  font-size: var(--text-6xl);
  line-height: 60px;
  letter-spacing: -3.24px;
  color: var(--color-grey-900);
}

.section-heading p {
  font-size: var(--text-base);
  color: var(--color-text-gray-dark);
  line-height: var(--text-lg);
  letter-spacing: -0.48px;
}

/* ── HOW IT WORKS ── */
.hiw {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  padding: 64px 80px 100px;
  display: block;
  padding-bottom: var(--z-base);
}

.hiw-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  width: 1152px;
  max-width: 100%;
  margin: 0 auto;
}

.hiw-head {
  text-align: center;
  max-width: 1002px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.hiw-head h2 {
  font-family: var(--font-secondary);
  font-weight: var(--weight-bold);
  font-size: var(--text-5xl);
  line-height: 52px;
  letter-spacing: -1.92px;
  color: var(--color-grey-900);
}

.hiw-head .sub1 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-gray-dark);
  letter-spacing: -0.8px;
  line-height: var(--text-xl);
}

.hiw-head .sub2 {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--text-lg);
  letter-spacing: -0.48px;
}

.hiw-steps {
  display: flex;
  gap: 96px;
  align-items: flex-start;
  width: 1152px;
  max-width: 100%;
  margin: 48px auto var(--z-base);
  justify-content: space-between;
}

.hiw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  width: 320px;
  height: auto;
  box-sizing: border-box;
}

.hiw-step img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.hiw-step:nth-child(3) img {
  height: 140px;
}

.hiw-step:hover img {
  transform: scale(1.1);
}

.hiw-step-txt {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hiw-step-txt h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.96px;
  line-height: var(--text-xl);
  color: var(--color-grey-900);
  white-space: nowrap;
}

.hiw-step-txt p {
  padding-top: 12px;
  width: 320px;
  height: auto;
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 22px;
  letter-spacing: -0.48px;
  text-align: left;
}

/* ── TRUST CAPSULE ── */
.trust-capsule {
  background: var(--color-grey-900);
  border-radius: var(--radius-8xl);
  padding: 12px 32px;
  width: 100%;
  max-width: 1280px;
  margin: 120px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-capsule p {
  font-family: var(--font-primary);
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--color-white);
  letter-spacing: -3%;
  text-align: center;
  line-height: 22px;
}

/* ── OPERATIONAL IMPACT ── */
.oi-wrap {
  width: 1080px;
  max-width: calc(100% - 160px);
  height: 580px;
  position: relative;
  margin: var(--z-base) auto var(--z-base);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.oi-wrap img.oi-bg {
  position: absolute;
  inset: var(--z-base);
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.oi-wrap:hover img.oi-bg {
  transform: scale(1.1);
}

.oi-gradient {
  position: absolute;
  bottom: var(--z-base);
  left: var(--z-base);
  right: var(--z-base);
  height: 65%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 100%);
}

.oi-title {
  position: absolute;
  top: 29px;
  right: 37px;
  font-family: var(--font-secondary);
  font-weight: var(--weight-bold);
  font-size: var(--text-4xl);
  line-height: var(--space-12);
  letter-spacing: -1.44px;
  color: var(--color-grey-900);
  text-align: right;
}

.oi-caption {
  position: absolute;
  bottom: 30px;
  left: var(--z-base);
  right: var(--z-base);
  padding: var(--z-base) 40px;
  font-size: var(--text-base);
  color: var(--color-text-footer-links);
  line-height: var(--text-lg);
  letter-spacing: -0.48px;
}

/* ── INDUSTRIES HOME OVERRIDE ── */
.industries {
  background: var(--color-white);
  padding-top: 120px;
}

.who-for {
  background: var(--color-grey-400);
  border: 1px solid var(--color-grey-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 280px;
  padding: 48px 372px;
}

.who-for h2 {
  font-family: var(--font-secondary);
  font-weight: var(--weight-bold);
  font-size: var(--text-6xl);
  line-height: 60px;
  letter-spacing: -3.24px;
  text-align: center;
  max-width: 699px;
  margin: var(--z-base) auto;
  background: linear-gradient(-68.6deg, #00255d 0.57%, #006bd5 14.31%, #000d57 95.49%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── BLOGS CONTAINER LAYOUT ── */
.blogs {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 72px 40px 24px;
  cursor: pointer;
}

.blogs h2 {
  font-family: var(--font-secondary);
  font-weight: var(--weight-bold);
  font-size: var(--text-5xl);
  line-height: 52px;
  letter-spacing: -1.92px;
  color: var(--color-black);
  text-align: center;
}

.blog-row {
  display: flex;
  gap: 84px;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  cursor: pointer;
}

/* ── TRUST CTA SECTION ── */
.trust-cta {
  background: var(--color-grey-900);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 64px 80px 48px;
  text-align: center;
}

.trust-cta p {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-footer-links);
  line-height: var(--text-4xl);
  letter-spacing: -1.28px;
  max-width: 1024px;
}

.trust-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 40px;
  border: 1px solid var(--color-text-footer-links);
  border-radius: var(--radius-7xl);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-footer-links);
  letter-spacing: -0.48px;
  line-height: var(--text-lg);
  transition: all 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
  padding: 0 var(--space-4);
  vertical-align: middle;
}

.trust-cta a .arrow-circle {
  width: var(--z-base);
  height: 32px;
  background-color: var(--color-text-footer-links);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  opacity: var(--z-base);
}

.trust-cta a .arrow-circle svg {
  width: 14px;
  height: 14px;
}

.trust-cta a .arrow-circle svg path {
  stroke: var(--color-black);
  transition: stroke 0.25s ease;
}

.trust-cta a:hover {
  background: var(--color-accent);
  border-color: transparent;
  color: var(--color-white) !important;
  gap: var(--z-base);
  padding: var(--z-base);
}

.trust-cta a:hover .arrow-circle {
  width: 28px;
  height: 28px;
  opacity: 1;
  background-color: var(--color-white);
  margin-left: var(--space-2);
  margin-right: -10px;
}

.trust-cta a:hover .arrow-circle svg path {
  stroke: var(--color-black);
}

/* ── FAQ CONTAINER LAYOUT ── */
.faq {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 100px 180px 120px;
}

.faq h2 {
  font-family: var(--font-secondary);
  font-weight: var(--weight-bold);
  font-size: var(--text-4xl);
  line-height: var(--space-12);
  letter-spacing: -1.44px;
  text-align: center;
  color: var(--color-grey-900);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 1080px;
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 1300px) {
  .hero-alert-card {
    display: none;
  }

  .hiw-wrap {
    width: 100%;
  }

  .oi-wrap {
    width: calc(100% - 80px);
  }

  .blog-row {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 56px;
  }

  .hiw-step {
    max-width: 480px;
  }

  .faq {
    padding: 80px 40px 100px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 600px;
    min-height: 600px;
  }

  .hero-title {
    font-size: 38px;
    line-height: 44px;
    letter-spacing: -2px;
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .hero-content {
    top: 90px;
    width: calc(100vw - 40px);
  }

  .solutions {
    padding: 80px 24px 60px;
  }

  .hiw {
    padding: 80px 24px 60px;
    gap: 60px;
  }

  .hiw-head h2 {
    font-size: var(--text-4xl);
    line-height: 42px;
  }

  .industries {
    padding-top: 80px;
  }

  .who-for {
    padding: 48px 24px;
  }

  .who-for h2 {
    font-size: 38px;
    line-height: 46px;
  }

  .blogs {
    padding: 60px 20px 24px;
  }

  .blog-row {
    flex-direction: column;
    gap: 32px;
    padding: 40px 0;
  }

  .trust-cta {
    padding: 48px 24px;
  }

  .trust-cta p {
    font-size: var(--text-xl);
    line-height: 30px;
  }

  .faq {
    padding: 60px 20px 80px;
  }

  .oi-wrap {
    width: calc(100% - 40px);
    height: auto;
    min-height: 300px;
  }

  .oi-title {
    font-size: 22px;
    line-height: 28px;
  }
}
