/* Base, header, footer, and button styles are in /css2/header-footer.css */

.hero {
  background: #000;
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
  top: -72px;
  margin-bottom: -72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  inset: -150px auto auto 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(159, 210, 113, 0.18),
    transparent 62%
  );
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(48px, 6.5vw, 80px);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
}
.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 680px;
  margin: 28px auto 0;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin: 44px 0 0;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  padding: 11px 22px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-top: 24px;
  cursor: pointer;
}
.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fc342;
  flex-shrink: 0;
}

/* Service Preview — overlaps hero */
.service-preview-wrap {
  position: relative;
  z-index: 2;
  /*
  margin-top: -106px;
  padding-bottom: 90px;
*/
}
.sp-card {
  position: relative;
  height: 640px;
  border-radius: 26px;
  border: 0.5px solid rgba(230, 230, 230, 0.4);
  background: linear-gradient(-76deg, #000 0%, #2f2f2f 100%);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
.sp-mesh {
  position: absolute;
  top: -197px;
  right: -60px;
  width: 520px;
  filter: blur(50px);
  opacity: 0.2;
  mix-blend-mode: darken;
  pointer-events: none;
}
.sp-mash {
  position: absolute;
  top: 38px;
  left: -320px;
  width: 1100px;
  opacity: 0.4;
  transform: scaleY(-1) rotate(2deg);
  pointer-events: none;
}
/* Sidebar */
.sp-nav {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 260px;
  padding: 40px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
}
.sp-item img {
  width: 24px;
  height: 24px;
  opacity: 0.55;
  flex-shrink: 0;
}
.sp-item--active {
  background: linear-gradient(
    -80deg,
    rgba(96, 195, 173, 0.08) 0%,
    rgba(96, 195, 173, 0.04) 100%
  );
  color: #fff;
}
.sp-item--active img {
  opacity: 1;
}
.sp-timeline {
  position: absolute;
  bottom: -1px;
  left: -8px;
  width: 97px;
  height: 1px;
  background: linear-gradient(90deg, #60c3ad, #88d2c2);
  display: block;
}
/* Screen */
.sp-screen {
  position: absolute;
  right: 30px;
  top: 40px;
  width: calc(85% - 280px);
  z-index: 1;
}
.sp-chrome {
  background: #e6e6e6;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px 8px 0 0;
  padding: 10px 12px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.sp-dot {
  width: 8px;
  height: 8px;
  display: block;
}
.sp-dashboard {
  display: block;
  width: 100%;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.16);
}

.section {
  padding: 110px 0;
}
.light {
  background: #f2f4f4;
}
.white {
  background: #fff;
}
.gray {
  background: #f2f4f4;
}
.center {
  text-align: center;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin: 0 0 14px;
  line-height: 1.28;
}
h3 {
  font-size: 34px;
  margin: 0 0 14px;
  line-height: 1.2;
}
.muted {
  color: var(--gray-75);
  font-size: 18px;
  line-height: 1.6;
}
.muted-light {
  color: var(--gray-25);
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
}
.eyebrow {
  display: inline-block;
  margin: 0 auto 16px;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 12px;
  color: var(--green);
  background: #f3f9ed;
  border: 0.5px solid #dff0cf;
  letter-spacing: 0.3px;
}
.eyebrow-plain {
  display: block;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.aqua {
  color: var(--mint);
  background: #f0f9f7;
  border-color: #d7f0ea;
}
.aqua-dark {
  color: var(--mint);
  background: rgba(240, 249, 247, 0.12);
  border-color: #88d2c2;
}

.stack-cards,
.grid-4,
.grid-3 {
  display: grid;
  gap: 14px;
}
.stack-cards .card,
.card {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(96, 195, 173, 0.16);
  background: linear-gradient(
    285deg,
    rgba(96, 195, 173, 0.08),
    rgba(96, 195, 173, 0.04)
  );
  color: var(--gray-75);
}
.card-active,
.feature-active {
  border-color: rgba(96, 195, 173, 0.32);
  box-shadow: 0 0 32px rgba(96, 195, 173, 0.16);
  background: linear-gradient(
    285deg,
    rgba(96, 195, 173, 0.16),
    rgba(96, 195, 173, 0.12)
  );
}

/* Challenge section cards */
.challenge-card {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.challenge-card:hover {
  border-color: rgba(96, 195, 173, 0.4);
  background: linear-gradient(
    285deg,
    rgba(96, 195, 173, 0.18),
    rgba(96, 195, 173, 0.1)
  );
  box-shadow: 0 4px 24px rgba(96, 195, 173, 0.14);
}
.card-icon {
  color: #60c3ad;
  display: flex;
  align-items: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
}
.feature {
  border: 1px solid rgba(96, 195, 173, 0.16);
  border-radius: 12px;
  padding: 24px 22px;
  background: linear-gradient(
    285deg,
    rgba(96, 195, 173, 0.07),
    rgba(96, 195, 173, 0.03)
  );
  min-height: 140px;
  display: flex;
  align-items: flex-start;
}
.approach-card {
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.approach-card:hover {
  border-color: rgba(96, 195, 173, 0.4);
  background: linear-gradient(
    285deg,
    rgba(96, 195, 173, 0.18),
    rgba(96, 195, 173, 0.1)
  );
  box-shadow: 0 4px 28px rgba(96, 195, 173, 0.15);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(96, 195, 173, 0.3);
  background: rgba(96, 195, 173, 0.08);
  flex-shrink: 0;
}
.feature-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  line-height: 1.3;
}
.feature-desc {
  margin: 0;
  font-size: 14px;
  color: var(--gray-75);
  line-height: 1.6;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.section-subtitle {
  font-size: 14px;
  color: var(--gray-25);
  margin: 4px 0 0;
}
.tiles {
  margin-top: 32px;
  gap: 20px;
}

.timeline {
  position: relative;
  margin-top: 40px;
}

.timeline-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 10px;
  border-radius: 6px;
  background: #ddd;
  z-index: 0;
}
.timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #b0e1d6, #60c3ad);
}

.timeline-cols {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.tl-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 16px;
}

.tl-label {
  font-size: 17px;
  font-weight: 400;
  color: #c0c0c0;
  padding-bottom: 6px;
  white-space: nowrap;
  position: relative;
  left: 32%;
}
.tl-label span {
  font-weight: 600;
}
.tl-label em {
  font-style: italic;
}
.tl-col.active .tl-label {
  color: #404040;
}
.tl-col.active .tl-label span {
  color: var(--mint);
}

.tl-tick {
  width: 3px;
  height: 86px;
  border-radius: 2px;
  background: #d0d0d0;
  margin-bottom: -12px;
  flex-shrink: 0;
  position: relative;
  left: 50%;
  top: -8px;
}
.tl-col.active .tl-tick {
  background: var(--mint);
}

.step-panel {
  background: #60c3ad14;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border: 1px solid #60c3ad1f;
  /* border-left: 3px solid rgba(96, 195, 173, 0.5); */
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  top: -14%;
}
.step-panel strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #404040;
  margin-bottom: 8px;
}
.step-panel p {
  font-size: 13px;
  color: var(--gray-75);
  line-height: 1.55;
  margin: 0;
}

.quote blockquote {
  font-size: clamp(32px, 3.5vw, 44px);
  max-width: 720px;
  margin: 16px auto 32px;
  line-height: 1.35;
  color: #404040;
  font-weight: 400;
  font-style: italic;
}
.eyebrow-dark {
  color: #1a1a1a;
  background: var(--green);
  border-color: var(--green);
  font-weight: 600;
}

.impact {
  color: #fff;
  background: linear-gradient(90deg, #2f2f2f 0%, #000 100%);
}
.impact h2 {
  color: #fff;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.metrics strong {
  font-size: clamp(42px, 4vw, 72px);
  font-weight: 500;
  line-height: 1;
  background: linear-gradient(90deg, #7fc342, #88d2c2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.metrics .metric-title {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
}
.metrics .metric-desc {
  color: #9a9a9a;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

.compliance {
  margin-top: 24px;
}
.cta {
  padding-top: 40px;
}
.cta-box {
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  padding: 36px;
  background: linear-gradient(
    303deg,
    rgba(255, 252, 201, 0.2),
    rgba(237, 237, 246, 0.2)
  );
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}


/* Tiles with images */
.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  aspect-ratio: 1;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(96, 195, 173, 0.16);
  background: linear-gradient(
    160deg,
    rgba(96, 195, 173, 0.07) 0%,
    rgba(96, 195, 173, 0.03) 100%
  );
  transition: box-shadow 0.35s ease;
  justify-content: space-between;
}
.tile:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}
.tile-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-75);
  margin: 0;
  position: relative;
  z-index: 1;
  transition: opacity 0.35s ease;
  flex-shrink: 0;
}
.tile-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: opacity 0.35s ease;
  position: absolute;
}
.tile-link {
  font-size: 11px;
  font-weight: 500;
  color: var(--mint);
  text-decoration: none;
  letter-spacing: 0.08em;
  margin-top: 12px;
  display: block;
  position: relative;
  z-index: 1;
  transition: opacity 0.35s ease;
  flex-shrink: 0;
}
.tile-hover {
  position: absolute;
  inset: 0;
  padding: 32px;
  background: linear-gradient(145deg, #18201d 0%, #0e0e0e 100%);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  justify-content: center;
}
.tile-hover-img {
  position: absolute;
  bottom: -4%;
  right: -16%;
  width: 95%;
  object-fit: contain;
  opacity: 0.5;
  pointer-events: none;
}
.tile-hover p {
  color: #ffffff;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 1;
}
.tile:hover .tile-hover {
  opacity: 1;
  pointer-events: auto;
}
.tile:hover .tile-img,
.tile:hover .tile-link,
.tile:hover .tile-title {
  opacity: 0;
}

/* Compliance cards with images */
.compliance-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.compliance-img {
  height: 75px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}
.compliance-card p {
  margin: 0;
}

/* Testimonial author */
.quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.quote-name {
  color: #000000;
  margin: 4px;
}
.quote-role {
  margin: 0;
  font-size: 13px;
  color: #808080;
}
.quote-divider {
  margin: 48px auto 0;
  max-width: 640px;
  height: 2px;
  background: linear-gradient(90deg, #b0e1d6 0%, #60c3ad 100%);
}

/* Use cases grid */
.use-cases h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin: 16px auto 48px;
  max-width: 800px;
  line-height: 1.2;
}
.use-cases-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.use-case-card {
  flex: 0 0 calc((100% - 40px) / 3);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(96, 195, 173, 0.12);
  border-radius: 16px;
  padding: 24px 28px;
  text-align: left;
}
.use-case-card .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.use-case-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #1a1a1a;
}
@media (max-width: 900px) {
  .use-case-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}
@media (max-width: 580px) {
  .use-case-card {
    flex: 0 0 100%;
  }
}

/* Impact section background */
.impact {
  position: relative;
  overflow: hidden;
}
.impact-mask {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  opacity: 0.75;
  pointer-events: none;
}

/* CTA decorations */
.cta-box {
  position: relative;
  overflow: hidden;
}
.cta-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.cta-deco-left {
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
}
.cta-deco-right {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
}

@media (max-width: 1024px) {
  .two-col,
  .grid-4,
  .grid-3,
  .metrics,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .hero p {
    font-size: 16px;
  }
  .quote blockquote {
    font-size: 24px;
  }
  .service-preview-wrap {
    display: none;
  }
  .timeline-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .timeline-bar {
    display: none;
  }
}
.hero-pill a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  text-decoration: none;
}
.hero-pill a:hover {
  color: rgba(127, 195, 66, 0.75);
}
