/* Isolated programming hero with Ticker Delta */
body.nph-page-body {
  overflow-x: clip;
}

.nph-hero {
  --nph-navy: #1c1c35;
  --nph-deep: #061226;
  --nph-sky: #1db8f8;
  --nph-ink: #eef7ff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 18%, rgba(29, 184, 248, .28), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(125, 211, 252, .14), transparent 26%),
    linear-gradient(160deg, #061226 0%, #0a2446 48%, #03101f 100%);
  color: #fff;
  padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 56px);
}

.nph-hero *,
.nph-hero *::before,
.nph-hero *::after { box-sizing: border-box; }

.nph-wrap {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.nph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(29, 184, 248, .12);
  border: 1px solid rgba(29, 184, 248, .28);
  color: #7dd3fc;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.nph-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.4px;
  max-width: 18ch;
}

.nph-hero h1 span {
  display: block;
  background: linear-gradient(90deg, #7dd3fc, #fff 55%, #1db8f8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nph-lead {
  margin: 18px 0 0;
  max-width: 52ch;
  color: rgba(238, 247, 255, .86);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.9;
}

.nph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nph-btn:hover { transform: translateY(-1px); }

.nph-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: visible;
  display: block;
}

.nph-btn--wa svg {
  width: 22px;
  height: 22px;
}

.nph-btn--wa {
  background: #128c7e;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(18, 140, 126, .28);
}

.nph-btn--wa:hover { background: #0f7a6d; }

.nph-btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22);
}

.nph-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.nph-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.nph-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

.nph-kicker svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.nph-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.nph-plan-card {
  background: #fff;
  border: 1px solid #edf1f7;
  border-radius: 16px;
  padding: 18px;
}

.nph-plan-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  stroke: #0ea5e0;
  fill: none;
}

.nph-plan-card strong {
  display: block;
  color: #1c1c35;
  font-size: 1rem;
  margin-bottom: 6px;
}

.nph-plan-card span {
  color: #666;
  font-size: .92rem;
  line-height: 1.7;
}

.nph-wrap > div:first-child {
  position: relative;
  z-index: 2;
}

.nph-stage {
  position: relative;
  z-index: 1;
  min-height: 460px;
  height: min(58vw, 560px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 46%, rgba(29, 184, 248, .26), transparent 56%);
}

.nph-page-body .nf-calc-launcher {
  top: auto !important;
  bottom: 118px !important;
  transform: none !important;
}

.nph-ticker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.nph-ticker canvas {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 1024px) {
  .nph-wrap { grid-template-columns: 1fr; }
  .nph-hero h1 { max-width: none; }
  .nph-stage {
    min-height: 380px;
    height: 400px;
    order: -1;
  }
}

@media (max-width: 767px) {
  .nph-hero { padding: 22px 0 18px; }
  .nph-wrap { width: min(1180px, calc(100% - 24px)); }
  .nph-actions .nph-btn { width: 100%; }
  .nph-stage {
    min-height: 300px;
    height: 320px;
    border-radius: 22px;
  }
  .nph-lead { font-size: .98rem; }
  .nph-page-body .nf-calc-launcher {
    left: 18px !important;
    right: auto !important;
    top: auto !important;
    bottom: 150px !important;
    transform: none !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    padding: 0 !important;
    border-radius: 18px !important;
  }
  .nph-page-body .nf-calc-launcher:hover {
    transform: translateY(-3px) !important;
  }
  .nph-page-body .nf-calc-launcher span,
  .nph-page-body .nf-calc-launcher::after {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nph-ticker { pointer-events: none; }
}
