/* SCROLL PROGRESS */
.sp {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--teal);
  z-index: 700;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.07s linear;
}

/* HERO */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #F2FAFA;
}

#circuit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-content {
  padding: 0 3rem;
  max-width: 600px;
  pointer-events: auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(0, 150, 149, 0.3);
  border-radius: 2em;
  background: rgba(0, 150, 149, 0.07);
  padding: 0.35em 1em;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-d);
  margin-bottom: 1.8rem;
}

.pulse {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  animation: p 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes p {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.15;
  }
}
.hero-h {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.hero-h span {
  color: var(--teal);
}

.hero-sub {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.84;
  max-width: 480px;
  margin-bottom: 2.8rem;
}

.hbtns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bw {
  display: inline-flex;
  align-items: center;
  background: var(--teal);
  color: #fff;
  padding: 0.85em 2.1em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 18px rgba(0, 150, 149, 0.3);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.bw:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 150, 149, 0.4);
  background: var(--teal-d);
}

.bo {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(0, 150, 149, 0.35);
  color: #007574;
  padding: 0.81em 1.7em;
  border-radius: 2em;
  font-weight: 600;
  font-size: 0.88rem;
  background: rgba(0, 150, 149, 0.04);
  transition: border-color 0.2s, background 0.2s;
}

.bo:hover {
  border-color: var(--teal);
  background: rgba(0, 150, 149, 0.09);
}

/* SECTIONS */
.sec {
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.sec-alt {
  background: var(--off);
}

.sec-dark {
  background: var(--ink);
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
}

.lbl {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  border-bottom: 1.5px solid var(--teal);
  padding-bottom: 1px;
  margin-bottom: 1.2rem;
}

.lbl-w {
  color: rgba(150, 240, 240, 0.75);
  border-color: rgba(150, 240, 240, 0.35);
}

.edh {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.edh-w {
  color: #fff;
}

.sub {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.sub-w {
  color: #fff !important;
}

/* REVEALS */
.fd {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fl {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fr {
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fd.in, .fl.in, .fr.in {
  opacity: 1;
  transform: none;
}

/* ── FOCUS AREAS ─────────────────────────────────────── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.focus-card {
  border-radius: 16px;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(0, 150, 149, 0.14);
  background: #fff;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-l));
  opacity: 0;
  transition: opacity 0.25s;
}

.focus-card:hover {
  box-shadow: 0 8px 32px rgba(0, 150, 149, 0.12);
  transform: translateY(-3px);
}

.focus-card:hover::before {
  opacity: 1;
}

.focus-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 150, 149, 0.08);
  border-radius: 12px;
}

.focus-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-card h3 {
  font-size:16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.focus-card p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.75;
  margin: 0;
}

.focus-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 150, 149, 0.08);
  color: var(--teal-d);
  padding: 0.28em 0.85em;
  border-radius: 2em;
}

/* ── PLATFORM ─────────────────────────────────────────── */
.plat-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0, 150, 149, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2.5rem;
  border: 1px solid rgba(0, 150, 149, 0.15);
}

.ptile {
  background: #fff;
  padding: 2.2rem 2.4rem;
  transition: background 0.2s;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
}

.ptile:hover {
  background: var(--teal-bg);
}

.ptile-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 150, 149, 0.09);
  border-radius: 10px;
}

.ptile-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ptile-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.ptile-body p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0;
}

/* ── PROCESS ──────────────────────────────────────────── */
.proc-visual {
  position: relative;
  margin-top: 3rem;
}

.proc-track-line {
  position: absolute;
  top: 52px;
  left: 52px;
  right: 52px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 150, 149, 0.15), rgba(0, 150, 149, 0.5), rgba(0, 150, 149, 0.15));
  z-index: 0;
}

.proc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.proc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.proc-num-ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 1.2rem;
  box-shadow: 0 0 0 4px rgba(0, 150, 149, 0.06);
  position: relative;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.proc-num-ring.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 150, 149, 0.3);
}

.proc-step h4 {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.proc-step p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}

.proc-step-tag {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
  display: block;
  opacity: 0.7;
}

/* Circuit line decorating process steps */
.proc-circuit {
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  pointer-events: none;
  opacity: 0.12;
}

/* ── APPROACH SPLIT ───────────────────────────────────── */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.approach-col {
  border-radius: 16px;
  padding: 2.4rem 2.4rem;
}

.approach-col.other {
  background: var(--off);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.approach-col.diode {
  background: var(--teal-bg);
  border: 1px solid rgba(0, 150, 149, 0.2);
  border-top: 2.5px solid var(--teal);
}

.app-badge {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3em 0.9em;
  border-radius: 2em;
  display: inline-block;
  margin-bottom: 1.4rem;
}

.app-badge.other {
  background: rgba(0, 0, 0, 0.06);
  color: var(--muted);
}

.app-badge.diode {
  background: rgba(0, 150, 149, 0.12);
  color: var(--teal-d);
}

.approach-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.app-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.app-row:first-of-type {
  border-top: none;
}

.app-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.app-ico.no {
  background: rgba(200, 75, 75, 0.08);
  color: #c84b4b;
}

.app-ico.yes {
  background: rgba(0, 150, 149, 0.1);
  color: var(--teal);
}

.app-text {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.6;
}

.app-text strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── OUTCOMES (dark) ──────────────────────────────────── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.outcome {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.outcome:hover {
  background: rgba(255, 255, 255, 0.08);
}

.outcome-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 150, 149, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.outcome-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal-ll);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outcome h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
}

.outcome p {
  font-size:14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.7;
}

/* ── STATS ROW ────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 0;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  flex: 1;
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.stat:last-child {
  border-right: none;
}

.stat-n {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--teal-ll);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-l {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ── CTA BAND ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, #005a5a 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.cta-band p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 460px;
  margin: 0 auto 2.5rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-w {
  background: #fff;
  color: #009695 !important;
  padding: 0.88em 2.4em;
  border-radius: 2em;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-w:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.cta-o {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  padding: 0.84em 2em;
  border-radius: 2em;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.cta-o:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .diode-footer .wrap {
    padding: 0 1.3rem;
  }
  .frow {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .flinks {
    order: 3;
  }
  .fsocial {
    order: 2;
  }
}
/* RESPONSIVE */
@media (max-width: 980px) {
  .focus-grid, .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .plat-tiles, .approach-grid {
    grid-template-columns: 1fr;
  }
  .proc-steps {
    grid-template-columns: 1fr 1fr;
  }
  .proc-track-line {
    display: none;
  }
  .wrap {
    padding: 0 1.8rem;
  }
}
@media (max-width: 600px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .proc-steps {
    grid-template-columns: 1fr;
  }
  .hero-overlay {
    align-items: flex-end;
  }
  .hero-content {
    padding: 17px;
  }
  .sec {
    padding: 4.5rem 0;
  }
  .stats-row {
    flex-wrap: wrap;
    gap: 1.2rem;
  }
  .stat {
    border-right: none;
    padding-right: 0;
    min-width: 45%;
  }
  .hero-h span br {
    display: none;
  }
}
.delay-10 {
  transition-delay: 0.1s;
}

.delay-20 {
  transition-delay: 0.2s;
}