/* =========================================================
   30HX Landing Section — scoped styles
   Every rule lives under .hxc30-landing so it cannot leak
   into, or be affected by, the host page's global styles.
   ========================================================= */

/* sections.css sets #landing-sections to GT Walsheim for its own (unused)
   legacy components; every 30HX/19DV component here is Poppins — override it. */
#landing-sections {
  font-family: 'Poppins', sans-serif;
}

.hxc30-landing,
.hxc30-landing * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hxc30-landing {
  background: #060b13;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

.hxc30-landing img {
  display: block;
  max-width: 100%;
}

.hxc30-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- INTRO ---------- */

.hxc30-intro {
  padding: 120px 0 60px;
}

.hxc30-intro-copy {
  max-width: 1100px;
  margin: 0 auto 80px;
  text-align: center;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.5;
  color: #fff;
}

.hxc30-pill-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 32px);
  margin-bottom: 90px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.hxc30-pill {
  flex: 0 1 155px;
  width: clamp(88px, 11vw, 155px);
  height: clamp(100px, 14vw, 165px);
  min-width: 0;
  border: 1px solid #2c2c2c;
  border-radius: 15px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.06) 100%),
    linear-gradient(90deg, #0d131f 0%, #0d131f 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding: clamp(10px, 1.4vw, 16px) 8px;
  text-align: center;
  scroll-snap-align: start;
}

.hxc30-pill img {
  height: clamp(34px, 4.6vw, 60px);
  width: auto;
  object-fit: contain;
}

.hxc30-pill img.hxc30-pill-img-ashrae {
  height: clamp(28px, 3.8vw, 50px);
}

.hxc30-pill img.hxc30-pill-icon-tank {
  height: clamp(38px, 5.2vw, 68px);
}

.hxc30-pill span {
  font-size: clamp(9px, 1vw, 12.7px);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hxc30-chiller-diagram {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.hxc30-chiller-diagram img:first-child {
  width: 100%;
}

.hxc30-diagram-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, calc(-100% - 14px)) scale(0.85);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(.16,.84,.44,1), transform 0.6s cubic-bezier(.16,.84,.44,1);
}

.hxc30-diagram-marker.hxc30-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 14px)) scale(1);
}

.hxc30-marker-label {
  order: 1;
  background: rgba(6, 11, 19, 0.85);
  border: 1px solid rgba(69, 171, 255, 0.5);
  color: #fff;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
}

.hxc30-marker-line {
  order: 2;
  width: 1px;
  height: 14px;
  background: rgba(69, 171, 255, 0.7);
}

.hxc30-marker-dot {
  order: 3;
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #45abff;
  box-shadow: 0 0 0 4px rgba(69, 171, 255, 0.2);
}

.hxc30-marker-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(69, 171, 255, 0.6);
  animation: hxc30-marker-pulse 2.2s ease-out infinite;
}

.hxc30-diagram-marker.hxc30-visible .hxc30-marker-dot::after {
  animation-play-state: running;
}

.hxc30-diagram-marker:not(.hxc30-visible) .hxc30-marker-dot::after {
  animation-play-state: paused;
}

@keyframes hxc30-marker-pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 700px) {
  .hxc30-pill-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .hxc30-pill {
    width: 100%;
    height: 140px;
  }
}

@media (max-width: 600px) {
  .hxc30-marker-label {
    font-size: 10px;
    padding: 4px 9px;
  }
}

/* ---------- INSTALLATION ---------- */

.hxc30-installation {
  position: relative;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hxc30-installation-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;   /* anchor left so the workers/equipment never get cropped */
  position: absolute;
  inset: 0;
}

.hxc30-installation-copy {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 90px 6vw 90px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: left;
}

.hxc30-accent-bar {
  width: 100px;
  height: 8px;
  background: #45abff;
  margin-bottom: 30px;
}

.hxc30-installation-copy h2 {
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: #21314c;
  width: 650px;
  max-width: 100%;
  margin-bottom: 20px;
}

.hxc30-installation-copy p {
  font-size: clamp(15px, 1.6vw, 24px);
  color: #18212f;
  width: 650px;
  max-width: 100%;
  line-height: 1.4;
}

/* Mid resolutions: the right wall area is narrower, so keep the copy compact
   and pinned to the right so it sits over the empty wall — not over the workers. */
@media (min-width: 701px) and (max-width: 1100px) {
  .hxc30-installation-copy { padding-right: 3vw; }
  .hxc30-installation-copy h2 {
    width: min(38vw, 650px);
    font-size: clamp(22px, 3vw, 40px);
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.75);
  }
  .hxc30-installation-copy p {
    width: min(38vw, 650px);
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.7);
  }
}

@media (max-width: 700px) {
  .hxc30-installation-copy {
    align-items: flex-start;
    text-align: left;
    background: rgba(6,11,19,0.55);
  }
  .hxc30-installation-copy h2,
  .hxc30-installation-copy p {
    color: #fff;
    text-shadow: none;
  }
}

/* ---------- BENEFITS (row inside the installation section) ---------- */

.hxc30-benefits-row {
  position: relative;
  z-index: 1;
  margin-top: auto;              /* push the cards to the bottom of the section */
  width: 100%;
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hxc30-benefit-card {
  background: rgba(9, 16, 28, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hxc30-benefit-card:hover {
  transform: translateY(-6px);
  background: rgba(14, 24, 40, 0.8);
  border-color: rgba(69, 171, 255, 0.4);
}

.hxc30-benefit-card h3 {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hxc30-benefit-card p {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 900px) {
  .hxc30-benefits-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hxc30-benefits-row { grid-template-columns: 1fr; }
}

/* ---------- COMPRESSOR TECH ---------- */

.hxc30-compressor-tech {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hxc30-tech-inner {
  position: relative;
  z-index: 1;
}

.hxc30-tech-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  margin-bottom: 20px;
}

.hxc30-tech-title span {
  background: #17479e;
  padding: 4px 14px;
  border-radius: 4px;
  display: inline-block;
}

.hxc30-tech-subtitle {
  text-align: center;
  font-size: clamp(15px, 1.6vw, 24px);
  color: #d7dbe2;
  max-width: 900px;
  margin: 0 auto 70px;
}

.hxc30-tech-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 1640 / 1328;
}

.hxc30-tech-glow {
  position: absolute;
  left: 37.56%;
  top: 14.15%;
  width: 62.44%;
  height: 70.2%;
  transform: translate(0, -50%);
  background: radial-gradient(circle, rgba(69,171,255,0.35) 0%, rgba(69,171,255,0) 70%);
  z-index: 0;
}

.hxc30-tech-photo {
  position: absolute;
  left: 37.56%;
  top: 0;
  width: 62.44%;
  z-index: 1;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.9s cubic-bezier(.16,.84,.44,1), transform 0.9s cubic-bezier(.16,.84,.44,1);
}

.hxc30-tech-photo.hxc30-visible {
  opacity: 1;
  transform: scale(1);
}

.hxc30-tech-feature {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4%;
  z-index: 2;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
}

.hxc30-tech-feature.hxc30-visible {
  opacity: 1;
  transform: translateY(0);
}

.hxc30-tech-feature img {
  width: clamp(52px, 8%, 112px);
  height: clamp(52px, 8%, 112px);
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.hxc30-tech-feature:hover img {
  transform: scale(1.08);
}

.hxc30-tech-feature p {
  font-size: clamp(12px, 1.3vw, 20px);
  line-height: 1.4;
  color: #fff;
}

@media (max-width: 800px) {
  .hxc30-tech-canvas {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .hxc30-tech-glow {
    display: none;
  }
  .hxc30-tech-photo,
  .hxc30-tech-feature {
    position: static;
    width: 100%;
    max-width: 100% !important;
    left: auto;
    top: auto;
  }
  .hxc30-tech-photo {
    order: -1;
    max-width: 420px;
    margin: 0 auto 12px;
  }
  .hxc30-tech-feature {
    gap: 20px;
  }
  .hxc30-tech-feature img {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hxc30-tech-feature,
  .hxc30-tech-photo,
  .hxc30-reliability-callout {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hxc30-diagram-marker {
    transition: none;
    opacity: 1;
    transform: translate(-50%, calc(-100% - 14px));
  }
  .hxc30-marker-dot::after {
    animation: none;
  }
}

/* =========================================================
   19DV — light-theme sections (Characteristics / Technology)
   Figma design uses a light gray background here, switching
   back to dark only for the closing Benefits section.
   ========================================================= */

#landing-sections > section.hxc30-theme-light {
  background: linear-gradient(120deg, #f0f2f5 0%, #ebedf5 35%, #e5ebf2 100%);
  color: #272727;
}

.hxc30-section-title {
  text-align: left;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  color: #17479e;
  margin-bottom: 12px;
}

.hxc30-section-title--center { text-align: center; }

/* "ULTIMATE ___" pattern: the leading "Ultimate" is light-blue/Regular,
   the rest of the heading stays navy/SemiBold (the title's own color). */
.hxc30-section-title-accent {
  color: #7cb9ff;
  font-weight: 400;
}

.hxc30-section-subtitle {
  font-size: clamp(15px, 1.6vw, 22px);
  color: #7e7e7e;
  margin-bottom: 60px;
}

.hxc30-section-subtitle--center { text-align: center; }

/* ---------- Reliability / Control diagram ----------
   A single relative "stage" (fixed aspect ratio) holds the diagram + both
   side callouts as absolutely-positioned children, so an SVG overlay can
   draw an elbow connector from a dot straight into its callout box — the
   same look as the printed spec sheet. Percentages below are all relative
   to this stage, not to the diagram image. */

.hxc30-reliability-stage {
  position: relative;
  max-width: 1400px;
  margin: 0 auto 90px;
  aspect-ratio: 1000 / 400;
}

.hxc30-reliability-stage .hxc30-chiller-diagram {
  position: absolute;
  left: 20%;
  top: 0;
  width: 60%;
  margin: 0;
}

.hxc30-reliability-callout {
  position: absolute;
  top: 0;
  width: 16%;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
}

.hxc30-reliability-callout.hxc30-visible {
  opacity: 1;
  transform: translateY(0);
}

.hxc30-reliability-callout--left  { left: 0; }
.hxc30-reliability-callout--right { right: 0; text-align: right; }

.hxc30-reliability-callout .hxc30-accent-bar {
  width: 7px;
  height: 44px;
  background: #05437d;
  margin-bottom: 16px;
}

.hxc30-reliability-callout--right .hxc30-accent-bar { margin-left: auto; }

.hxc30-reliability-callout h3 {
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 600;
  color: #05437d;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hxc30-reliability-callout p {
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 500;
  line-height: 1.5;
  color: #2b2b2b;
}

.hxc30-reliability-stage .hxc30-marker-label {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(23,71,158,0.4);
  color: #17479e;
}

.hxc30-reliability-stage .hxc30-marker-line { background: rgba(135,189,73,0.75); }
.hxc30-reliability-stage .hxc30-marker-dot { background: #87bd49; box-shadow: 0 0 0 4px rgba(135,189,73,0.22); }
.hxc30-reliability-stage .hxc30-marker-dot::after { border-color: rgba(135,189,73,0.6); }

/* The two dots that connect straight into a callout (no floating label) */
.hxc30-reliability-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #87bd49;
  box-shadow: 0 0 0 4px rgba(135,189,73,0.22);
  z-index: 2;
}

.hxc30-reliability-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hxc30-reliability-connectors path {
  fill: none;
  stroke: #87bd49;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

/* EquiDrive Compressor / SmartView Control Panel: on desktop only the dot
   shows (centered on its part) — the connector line + callout paragraph
   carry the label instead. Mobile re-enables the label (see media query). */
.hxc30-marker-connector-only,
.hxc30-marker-connector-only.hxc30-visible {
  transform: translate(-50%, -50%);
}
.hxc30-marker-connector-only .hxc30-marker-label,
.hxc30-marker-connector-only .hxc30-marker-line {
  display: none;
}

@media (max-width: 1000px) {
  .hxc30-reliability-stage {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 560px;
  }
  .hxc30-reliability-connectors { display: none; }
  .hxc30-reliability-dot { display: none; }
  .hxc30-reliability-callout {
    position: static;
    width: 100%;
  }
  /* relative (not static): it must stay a positioning context so the
     marker pins' left/top percentages stay relative to THIS image, not
     to the whole stage once it's taken out of absolute flow. */
  .hxc30-reliability-stage .hxc30-chiller-diagram {
    position: relative;
    left: 0;
    width: 100%;
  }
  .hxc30-reliability-callout--right { text-align: left; }
  .hxc30-reliability-callout--right .hxc30-accent-bar { margin-left: 0; }

  /* There isn't room on a small screen for the label to float above the
     dot on a connecting line — so on mobile the tag centers directly over
     its part instead (dot + line hidden), staying tight/legible. */
  .hxc30-reliability-stage .hxc30-chiller-diagram { margin-top: 60px; }
  .hxc30-diagram-marker,
  .hxc30-diagram-marker.hxc30-visible {
    transform: translate(-50%, -50%);
  }
  .hxc30-marker-dot,
  .hxc30-marker-line {
    display: none;
  }
  .hxc30-marker-label {
    font-size: 8.5px;
    padding: 3px 6px;
    max-width: 82px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  /* Falling Film Evaporator's dot sits right next to Variable Orifice's —
     nudge its tag up a bit (from the same centered anchor) so the two
     don't overlap, without dragging it away from its actual part. */
  .hxc30-marker-offset-mobile,
  .hxc30-marker-offset-mobile.hxc30-visible {
    transform: translate(-50%, -50%) translateY(-22px);
  }

  /* EquiDrive Compressor / SmartView Control Panel: re-show the tag that's
     desktop-only hidden, using the same centered treatment as the rest. */
  .hxc30-marker-connector-only .hxc30-marker-label {
    display: block;
  }

  /* SmartView's dot sits close to Falling Film Evaporator's (nudged up) —
     push this one down instead so the two tags don't touch. */
  .hxc30-marker-offset-down-mobile,
  .hxc30-marker-offset-down-mobile.hxc30-visible {
    transform: translate(-50%, -50%) translateY(20px);
  }
}

/* ---------- Efficiency / Innovation two-column intro ---------- */

.hxc30-lead-copy {
  max-width: 1000px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  color: #989898;
}

.hxc30-twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.hxc30-twocol-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.18;
  color: #17479e;
  margin-bottom: 20px;
}

.hxc30-twocol-title-accent { color: #7cb9ff; font-weight: 400; }

.hxc30-twocol-item p {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.6;
  color: #2b2b2b;
}

@media (max-width: 800px) {
  .hxc30-twocol { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Flexibility ---------- */

.hxc30-flexibility { padding: 100px 0 120px; }

.hxc30-flex-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}

.hxc30-flex-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}

.hxc30-flex-label {
  font-size: 15px;
  color: #2b2b2b;
  margin-right: 22px;
}

.hxc30-flex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hxc30-flex-photo { width: 100%; height: auto; }

@media (max-width: 900px) {
  .hxc30-flex-grid { grid-template-columns: 1fr; }
}

/* ---------- Performance & Flexibility chart (coded, was a static image) ---------- */

.hxc30-perf-chart { position: relative; }

.hxc30-perf-title {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  color: #7c8798;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
}

.hxc30-perf-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 280px;
}

.hxc30-perf-vlabel {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
  text-transform: uppercase;
  color: #5b6b82;
  letter-spacing: 0.03em;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hxc30-perf-vlabel--sub {
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #97a2b3;
}

.hxc30-perf-varrow {
  width: 24px;
  height: 100%;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.6s ease 450ms, transform 0.6s ease 450ms;
}
.hxc30-perf-varrow line    { stroke: #87bd49; stroke-width: 6; vector-effect: non-scaling-stroke; }
.hxc30-perf-varrow polygon { fill: #87bd49; }

.hxc30-perf-plot {
  position: relative;
  flex: 1;
  height: 100%;
  min-width: 0;
  border-left: 2px solid rgba(23,71,158,0.25);
  border-bottom: 2px solid rgba(23,71,158,0.25);
  padding: 0 8% 0 32px;
}

.hxc30-perf-bars {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 34px;
  height: 100%;
}

.hxc30-perf-bar {
  flex: 0 0 auto;
  width: 62px;
  height: 0;
  transition: height 1s cubic-bezier(.16,.84,.44,1);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 14px;
  border-radius: 3px 3px 0 0;
}
.hxc30-perf-bar span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-weight: 700;
  font-size: clamp(10px, 0.85vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hxc30-perf-bar--red   { background: #df272c; }
.hxc30-perf-bar--cyan  { background: #00afe2; }
.hxc30-perf-bar--green { background: #87bd49; }

.hxc30-perf-diagonal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hxc30-perf-diagonal line {
  stroke: #87bd49;
  stroke-width: 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  /* --dash-len is set by script.js from the bars' real on-screen position,
     so the "draw-in" reveal always matches the line's true length. */
  stroke-dasharray: var(--dash-len, 240px);
  stroke-dashoffset: var(--dash-len, 240px);
  transition: stroke-dashoffset 1s cubic-bezier(.16,.84,.44,1);
}
.hxc30-perf-diagonal polygon {
  fill: #87bd49;
  opacity: 0;
  transition: opacity 0.35s ease 900ms;
}
.hxc30-perf-diagonal-tag {
  fill: #05437d;
  opacity: 0;
  transition: opacity 0.5s ease 1000ms;
}
.hxc30-perf-diagonal text {
  fill: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.5s ease 1050ms;
}

.hxc30-perf-caption {
  margin-top: 30px;
  max-width: 640px;
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 600;
  line-height: 1.35;
  color: #3d4a5c;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.16,.84,.44,1) 200ms, transform 0.7s cubic-bezier(.16,.84,.44,1) 200ms;
}

.hxc30-perf-chart.hxc30-visible .hxc30-perf-title,
.hxc30-perf-chart.hxc30-visible .hxc30-perf-caption,
.hxc30-perf-chart.hxc30-visible .hxc30-perf-varrow {
  opacity: 1;
  transform: translateY(0);
}
.hxc30-perf-chart.hxc30-visible .hxc30-perf-bar { height: var(--h); }

/* The diagonal trend arrow reveals on its OWN class, added by script.js only
   once its position is computed from the bars' final (fully-grown) height —
   never on .hxc30-visible directly, or it would draw in as a flat line
   first (using the still-collapsed bars) and jump to the diagonal after. */
.hxc30-perf-chart.hxc30-perf-arrow-ready .hxc30-perf-diagonal line { stroke-dashoffset: 0; }
.hxc30-perf-chart.hxc30-perf-arrow-ready .hxc30-perf-diagonal polygon,
.hxc30-perf-chart.hxc30-perf-arrow-ready .hxc30-perf-diagonal-tag,
.hxc30-perf-chart.hxc30-perf-arrow-ready .hxc30-perf-diagonal text {
  opacity: 1;
}

@media (max-width: 700px) {
  .hxc30-perf-row { height: 220px; gap: 8px; }
  .hxc30-perf-vlabel--sub { display: none; }
  .hxc30-perf-plot { padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hxc30-perf-title,
  .hxc30-perf-caption,
  .hxc30-perf-varrow,
  .hxc30-perf-bar,
  .hxc30-perf-diagonal line,
  .hxc30-perf-diagonal polygon,
  .hxc30-perf-diagonal-tag,
  .hxc30-perf-diagonal text {
    transition: none;
  }
}

/* ---------- Cool in every way — dark CTA + split benefits ---------- */

#landing-sections > section.hxc30-benefits-dark {
  position: relative;
  padding: 130px 0 200px;
  overflow: hidden;
  background: #121829;
}

.hxc30-benefits-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 0;
}

.hxc30-benefits-inner {
  position: relative;
  z-index: 1;
}

.hxc30-cta-title {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 160px;
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}

.hxc30-cta-title span { color: #9abeff; }

.hxc30-benefits-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.hxc30-benefits-heading {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: #7cb9ff;
  margin-bottom: 22px;
}

.hxc30-benefits-heading span { font-weight: 600; color: #fff; }

.hxc30-benefits-copy {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.hxc30-icon-benefits {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;
}

.hxc30-icon-benefit {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hxc30-icon-benefit img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.hxc30-icon-benefit span {
  font-size: clamp(15px, 1.2vw, 19px);
  color: #fff;
}

.hxc30-benefits-subheading {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.hxc30-capability-label {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin: 28px 0 16px;
}

.hxc30-check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hxc30-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.1vw, 17px);
  color: #fff;
}

.hxc30-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(135, 189, 73, 0.18);
  border: 1px solid #87bd49;
  color: #87bd49;
  font-size: 12px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hxc30-benefits-split { grid-template-columns: 1fr; gap: 48px; }
}

/* Viewer Overview panel: respect line breaks so the info.json body can list
   features one per line (the shared viewer.css leaves white-space:normal). */
.info-panel-body { white-space: pre-line; }

/* Embedded interactive experience at the bottom */
.dv-embed {
  width: 100%;
  line-height: 0;
  background: #0e0f12;
}
.dv-embed-frame {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
}
