/* ---------- HERO ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 6vw, 72px);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--protecting);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--protecting);
  box-shadow: 0 0 8px var(--protecting);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
h1 {
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 22px;
  max-width: 980px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h1 .accent {
  color: var(--brand);
}
.lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 34px;
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* ---------- boundary diagram (signature element) ---------- */
.boundary {
  position: relative;
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-variant));
  padding: 40px clamp(20px, 4vw, 36px) 32px;
  overflow: hidden;
}
.boundary-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.lanes {
  position: relative;
  height: 180px;
}
.demarc-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2px dashed var(--outline);
  transform: translateX(-50%);
}
.demarc-tag {
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  background: var(--surface);
  padding: 2px 8px;
  border: 1px solid var(--outline);
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--brand);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.lane {
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}
.lane-label {
  width: 120px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.track {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--outline-soft);
}
.packet {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  animation: travel 4s linear infinite;
  background:
    linear-gradient(var(--neutral), var(--neutral)) 0 0 / 5px 5px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 7px 0 / 5px 5px no-repeat,
    linear-gradient(var(--brand), var(--brand)) 0 7px / 5px 5px no-repeat,
    linear-gradient(var(--neutral), var(--neutral)) 7px 7px / 5px 5px no-repeat;
}
.packet.blocked {
  background:
    linear-gradient(var(--neutral), var(--neutral)) 0 0 / 5px 5px no-repeat,
    linear-gradient(var(--threats), var(--threats)) 7px 0 / 5px 5px no-repeat,
    linear-gradient(var(--threats), var(--threats)) 0 7px / 5px 5px no-repeat,
    linear-gradient(var(--neutral), var(--neutral)) 7px 7px / 5px 5px no-repeat;
  animation: travel-blocked 4s linear infinite;
}
@keyframes travel {
  0% {
    left: 0%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
@keyframes travel-blocked {
  0% {
    left: 0%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  46% {
    left: 50%;
    opacity: 1;
  }
  50% {
    left: 50%;
    opacity: 1;
  }
  54% {
    left: 50%;
    opacity: 0;
  }
  100% {
    left: 50%;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .packet {
    animation: none;
    left: 40%;
    opacity: 1;
  }
  .packet.blocked {
    left: 50%;
    opacity: 1;
  }
}

/* ---------- SECTIONS ---------- */
section {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--outline-soft);
}
.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}
.section-tag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h2 {
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
}
.pillar-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
}
.pillar h3 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.pillar p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

/* pipeline */
.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pipeline li {
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: var(--surface);
}
.pipeline .num {
  font-family: var(--mono);
  color: var(--brand);
  font-size: 12px;
  display: block;
  margin-bottom: 14px;
}
.pipeline h4 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 700;
}
.pipeline p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* pricing */
.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.plan {
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--surface);
}
.plan.pro {
  border-color: var(--brand-deep);
  background: linear-gradient(165deg, var(--surface), #151a3a);
}
.plan-name {
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.plan.pro .plan-name {
  color: var(--brand);
}
.plan-title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  padding: 12px 0;
  border-top: 1px solid var(--outline-soft);
}
.plan li:first-child {
  border-top: none;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pipeline {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .lane-label {
    width: 78px;
    font-size: 10px;
  }
  section {
    padding: 48px 0;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-row .btn {
    justify-content: center;
    width: 100%;
  }
  .lanes {
    height: auto;
  }
  .lane {
    height: 38px;
  }
}

@media (max-width: 480px) {
  .boundary {
    padding: 28px 16px 24px;
  }
  .plan {
    padding: 24px 20px;
  }
  h1 {
    margin-bottom: 16px;
  }
  .lede {
    font-size: 16px;
  }
}
