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

.hero {
  background: #000;
  position: relative;
  max-height: 800px;
  display: flex;
  align-items: center;
  overflow: hidden;
  top: -72px;
  margin-bottom: -72px;
  background-position: 50%;
}
.hero-circle {
  position: absolute;
  inset: 0;
  background: url("/i2/eda-circle.png") center / contain no-repeat;
  z-index: 0;
  pointer-events: none;
}
.hero-strips {
  position: absolute;
  inset: 0;
  background: url("/i2/home-strips.png") center / cover no-repeat;
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  max-width: 1200px;
}
.hero-text {
  padding-right: 40px;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #60c3ad;
  color: #60c3ad;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background-color: #f0f9f71f;
  margin-bottom: 28px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  margin: 0;
  font-weight: 600;
}
.hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 480px;
  margin: 28px 0 0;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin: 44px 0 0;
}
.hero-note-img {
  position: absolute;
  right: -4%;
  bottom: 0;
  width: 800px;
  z-index: 2;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

@media (max-width: 1280px) {
  .hero-note-img {
    width: 614px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  .hero-text {
    align-items: center;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
    padding-right: 0;
  }
  .hero p {
    font-size: 16px;
    max-width: 100%;
    margin: 20px auto 0;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-note-img {
    position: relative;
    width: 100%;
    right: auto;
    display: none;
  }
  .challenge-grid,
  .agents-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .challenge-left {
    position: static !important;
  }
  .timeline-cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .timeline-bar {
    display: none;
  }
  .tl-label {
    left: 0;
  }
  .tl-tick {
    display: none;
  }
  .step-panel {
    top: 0;
  }
  .advantage-card {
    padding: 32px 24px 320px;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .impact-featured {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .bench-metrics {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col,
  .cta-box {
    grid-template-columns: 1fr;
  }
  .deploy-badges {
    gap: 40px;
  }
}

/* Challenge section */
.section {
  padding: 110px 0;
}
.muted {
  color: var(--gray-75);
  font-size: 18px;
  line-height: 1.6;
}
.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;
}
.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:hover {
  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 {
  background: #fff;
}
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.challenge-left {
  position: sticky;
  top: 100px;
}
.challenge-heading {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 500;
  color: #0f0f0f;
}
.challenge-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.challenge-card {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 16px;
  flex-direction: column;
  border-radius: 12px;
}
.challenge-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  border-radius: 8px;
}
.challenge-card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  line-height: 1.3;
}
.challenge-card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--gray-75);
  line-height: 1.6;
}

/* Agents / Approach section */
.center {
  text-align: center;
}
.eyebrow-plain {
  display: inline-block;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 0.5px solid #d7f0ea;
  padding: 8px 12px;
  border-radius: 16px;
  background-color: #f0f9f7;
}
h2 {
  font-size: clamp(30px, 3vw, 40px);
  margin: 0 0 14px;
  line-height: 1.28;
  font-weight: 500;
}
.agents {
  background: #f2f4f4;
}
.agents-heading {
  margin-bottom: 48px;
  font-weight: 500;
}
.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.agents-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 12px;
  background: linear-gradient(
    285deg,
    rgba(96, 195, 173, 0.07),
    rgba(96, 195, 173, 0.03)
  );
  border: 1px solid rgba(96, 195, 173, 0.16);
}
.agents-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: start;
  border-radius: 8px;
  flex-shrink: 0;
}
.agents-card-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0f0f0f;
  line-height: 1.3;
}
.agents-card-desc {
  margin: 0;
  font-size: 14px;
  color: var(--gray-75);
  line-height: 1.6;
}

/* Process timeline */
.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: 0;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #b0e1d6, #60c3ad);
  transition: width 0.5s ease;
}
.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%;
  transition: color 0.4s ease;
}
.tl-label span {
  font-weight: 600;
  transition: color 0.4s ease;
}
.tl-label em {
  font-style: normal;
}
.tl-col.active .tl-label {
  color: #404040;
}
.tl-col.active .tl-label span {
  color: #bfbfbf;
}
.tl-tick {
  width: 3px;
  height: 86px;
  border-radius: 2px;
  background: #d0d0d0;
  margin-bottom: -12px;
  flex-shrink: 0;
  position: relative;
  left: 50%;
  top: -8px;
  transition: background 0.4s ease;
}
.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-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  top: -14%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  min-height: 94px;
}
.tl-col.active .step-panel {
  opacity: 1;
  transform: translateY(0);
}
.step-panel p {
  font-size: 13px;
  color: var(--gray-75);
  line-height: 1.55;
  margin: 0;
}

/* Advantage section */
.advantage {
  background: #fff;
}
.advantage-heading {
  margin-bottom: 40px;
  font-weight: 500;
}
.advantage-card {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(127, 195, 66, 0.16);
  background-image: url("/i2/eda-difference.png"),
    linear-gradient(180deg, #60c3ad14 0%, #60c3ad0a 100%);
  background-position: center bottom, center;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, cover;
  padding: 56px 56px 480px;
  overflow: hidden;
}
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
  z-index: 1;
}
.advantage-col-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  line-height: 1.2;
}
.advantage-col-title.green {
  color: var(--green);
}
.advantage-col-title.mint {
  color: var(--mint);
}
.advantage-col-desc {
  margin: 0;
  font-size: 16px;
  color: var(--gray-75);
  line-height: 1.6;
  max-width: 520px;
}

/* Impact section */
.impact {
  color: #fff;
  background: linear-gradient(90deg, #2f2f2f 0%, #000 100%);
  position: relative;
  overflow: hidden;
}
.impact h2 {
  color: #fff;
}
.impact-mask {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  opacity: 0.75;
  pointer-events: none;
}
.impact-featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.impact-featured-stat {
  font-size: clamp(96px, 12vw, 180px);
  font-weight: 600;
  line-height: 0.9;
  background: linear-gradient(180deg, #7fc342 0%, #4a8f22 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.impact-featured-title {
  color: #fff;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 600;
  margin: 12px 0 16px;
  line-height: 1.15;
}
.aqua-dark {
  color: var(--mint);
  background: rgba(240, 249, 247, 0.12);
  border-color: #88d2c2;
}
.muted-light {
  color: var(--gray-25);
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
}
.bench-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.bench-metric-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.15;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: fit-content;
}
.bench-metrics article:nth-child(1) .bench-metric-title {
  background-image: linear-gradient(135deg, #8ec157, #8fc361);
}
.bench-metrics article:nth-child(2) .bench-metric-title {
  background-image: linear-gradient(135deg, #6f9768, #88ba8c);
}
.bench-metrics article:nth-child(3) .bench-metric-title {
  background-image: linear-gradient(135deg, #7da98c, #95cbb4);
}
.bench-metric-desc {
  color: var(--gray-25);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  max-width: 360px;
}

/* Deploy section */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.deploy {
  background: #fff;
}
.deploy-header {
  text-align: center;
  margin-bottom: 40px;
}
.deploy-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
}
.deploy-cards {
  margin-bottom: 56px;
}
.deploy-card {
  padding: 28px 32px;
  border-radius: 14px;
}
.deploy-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f0f0f;
  margin: 0 0 10px;
}
.deploy-card-desc {
  font-size: 15px;
  color: var(--gray-75);
  line-height: 1.65;
  margin: 0;
}
.deploy-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 160px;
  margin-bottom: 32px;
}
.deploy-badge-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
}
.deploy-footnote {
  text-align: center;
  font-size: 15px;
  color: var(--gray-75);
  margin: 0;
}

/* CTA section */
.cta {
  padding-top: 40px;
}
.cta-box {
  position: relative;
  overflow: hidden;
  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-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}
.cta-deco-right {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 26px;
}
.cta-actions p {
  font-size: 24px;
  font-weight: 600;
  margin: 0px;
}
