/* Product detail pages — shared additions on top of the NEO Web Hosting reference
   (neo-web-hosting.css). Only what the per-product scenes, labels and tables need. */

/* ---------- Hero labels: placed from scene coordinates by product.js ---------- */
.pd-page .nwh-scene>.scene-label{transform:translate(0,-100%);left:0;top:0}
.pd-page .nwh-scene>.scene-label.is-r{transform:translate(-100%,-100%);border-left:0;border-right:1px solid var(--primary);padding-left:0;padding-right:9px;text-align:right}
.pd-page .nwh-scene[data-focus] .nwh-part.is-lit,.pd-page .nwh-scene[data-focus] .scene-label.is-lit{opacity:1}
.pd-page .nwh-scene.is-in .nwh-part{animation-delay:var(--d,0s)}

/* ---------- Scene parts ---------- */
.pd-page .nwh-iso-mark.pd-mark-s{font-size:9px}
.pd-page .nwh-iso-mark.pd-mark-xs{font-size:6.5px;letter-spacing:.08em}
.pd-page .nwh-iso-mark.pd-mark-ink{fill:#245740}
[data-theme=dark] .pd-page .nwh-iso-mark.pd-mark-ink{fill:#E6F5EE}
.pd-ui rect{fill:#336950}
.pd-ui .is-head{fill:#1B3F2D}
.pd-ui .is-accent{fill:var(--primary)}
.pd-ui .is-prompt{fill:#91BDA7}
.pd-ui .is-tile{fill:#245740;stroke:#477E63;stroke-width:.5}
.pd-ui .is-side{fill:#245740}
.pd-ui .is-desk{fill:#245740}
.pd-ui .is-win{fill:#477E63}
.pd-ui .is-task{fill:#1B3F2D}
.pd-ui .is-dip{fill:#B9DCCB}
.pd-ui .is-bubble{fill:#477E63}
.pd-ui .is-url{fill:#1B3F2D;stroke:#477E63;stroke-width:.5}
.pd-ui .is-line{fill:none;stroke:#B9DCCB;stroke-width:.8}
.pd-ui .is-lock,.pd-ui.is-lock{fill:none;stroke:#7DE1BB;stroke-width:.9;stroke-linejoin:round}
.pd-ui .is-lock{fill:none}
.pd-ui text{font:600 5px var(--font);fill:#B9DCCB;letter-spacing:.08em}
.pd-ui text.is-on{fill:#F9FBFD}
.pd-ui text.is-url-t{font-size:4.6px}
.pd-ui text.is-code{font-size:5.5px;letter-spacing:.02em;fill:#E6F5EE}
.pd-ui text.is-big{font-size:9px;fill:#F9FBFD}
.pd-ui .pd-face{fill:none;stroke:#7DE1BB;stroke-width:1}
.pd-ui .pd-dots circle{fill:#7DE1BB}
.pd-ui .pd-face-mesh{fill:none;stroke:#91BDA7;stroke-width:.6}
.pd-ui .pd-scan{fill:#7DE1BB;opacity:.8}
.pd-ui .pd-dial{fill:#245740;stroke:#7DE1BB;stroke-width:.8}
.pd-ui .pd-seal{fill:var(--primary);stroke:#7DE1BB;stroke-width:.8}
.pd-ghost polygon{fill:none;stroke:#6F9C86;stroke-width:.9;stroke-dasharray:3 3}
.pd-nvlink line,.pd-link line,.pd-wire line{stroke:var(--primary);stroke-width:2;stroke-linecap:round}
.pd-link line{stroke-width:2.6;stroke-dasharray:6 4;animation:pd-dash 1.6s linear infinite}
.pd-wire line{stroke:#7DE1BB;stroke-width:1.8;stroke-dasharray:5 3;animation:pd-dash 1.6s linear infinite}
.pd-hbm rect{fill:#06633F;stroke:#7DE1BB;stroke-width:.5}
.pd-tunnel path{fill:none;stroke:#7DE1BB;stroke-width:1.4;stroke-dasharray:6 4;animation:pd-dash 1.6s linear infinite}
.pd-voxel-dirt .box-top{fill:#B9DCCB}
.pd-roof polygon{stroke-width:.7}
.pd-awning{stroke:#7DE1BB;stroke-width:.7}

/* ---------- Purposeful motion (each loop shows what the product does) ---------- */
.pd-packet{animation:pd-pass 4s ease-in-out infinite;transform-box:fill-box}
@keyframes pd-pass{0%,100%{transform:translate(0,0)}50%{transform:translate(18px,9.7px)}}
.pd-grow polygon{animation:pd-grow 3.2s ease-in-out infinite}
@keyframes pd-grow{0%,100%{stroke-opacity:.35}50%{stroke-opacity:1}}
.pd-scale-in{animation:pd-scale 6s ease-in-out infinite}
@keyframes pd-scale{0%,30%{opacity:0;transform:translateY(-10px)}45%,85%{opacity:1;transform:none}100%{opacity:0}}
.pd-caret{animation:led-blink 1.1s steps(2) infinite}
.pd-scan{animation:pd-scan 2.8s ease-in-out infinite;transform-box:view-box}
@keyframes pd-scan{0%,100%{transform:translateY(0)}50%{transform:translateY(46px)}}
.pd-eq{transform-box:fill-box;transform-origin:bottom;animation:nwh-bar 3.2s ease-in-out infinite}
.pd-eq:nth-child(2n){animation-delay:-.8s}.pd-eq:nth-child(3n){animation-delay:-1.6s}
.pd-meter{animation:pd-meter 4s linear infinite;transform-box:fill-box;transform-origin:left}
@keyframes pd-meter{from{transform:scaleX(.08)}to{transform:scaleX(1)}}
.pd-step .chip-top,.pd-mod-on .chip-top,.pd-tld-on .chip-top,.pd-vm-on .chip-top,.pd-mail .chip-top,.pd-alert .chip-top,.pd-ping .chip-top,.pd-tick .chip-top{animation:pd-glow 4.8s ease-in-out infinite}
.pd-step:nth-of-type(2) .chip-top{animation-delay:.6s}
@keyframes pd-glow{0%,100%{fill:#118D62}40%,60%{fill:#29AE87}}
[data-theme=dark] .pd-page .pd-step .chip-top{animation-name:pd-glow-d}
@keyframes pd-glow-d{0%,100%{fill:#29AE87}40%,60%{fill:#7DE1BB}}
.pd-drive-b .chip-top{animation:pd-glow 2.4s ease-in-out infinite}
.pd-probe .chip-top{animation:pd-glow 2s ease-in-out infinite}

/* ---------- Plans ---------- */
.pd-page .nwh-toolbar{flex-wrap:wrap;gap:12px 20px}
.pd-page .neo-plan-toolbar .technical{color:var(--muted)}
.pd-plan-note{margin-top:20px;font-size:13px;line-height:20px;color:var(--muted)}
.pd-plan-note a{color:var(--primary-text)}
.pd-page .nwh-plan-grid.is-1{grid-template-columns:minmax(0,var(--plan-w))}
.pd-page .nwh-plan-grid.is-2{grid-template-columns:repeat(2,minmax(0,var(--plan-w)))}
.pd-page .promo-price .plan-unit{font-size:14px;color:var(--muted)}
/* contact-priced plans: the price row reads as text */
.pd-page .promo-price strong.is-text{font-size:24px;letter-spacing:-.02em}

/* ---------- Comparison tables ---------- */
.pd-page .nwh-compare td:nth-child(4){background:none}
.pd-page .nwh-compare thead th[data-col=large]{color:var(--muted);font-weight:400;background:var(--paper)}
.pd-page .nwh-compare .is-feat{background:var(--soft)}
.pd-page .nwh-compare thead th.is-feat{color:var(--primary-text);font-weight:600;background:var(--soft)}
.pd-page .nwh-compare.is-rows{min-width:880px}
.pd-page .nwh-compare.is-rows td{white-space:normal}
.pd-page .nwh-compare td .button{white-space:nowrap}

/* ---------- Text blocks for extra official sections (use cases, steps, software) ---------- */
.pd-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.pd-points.is-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.pd-point{background:var(--paper);padding:24px;display:flex;flex-direction:column;gap:8px}
.pd-point .technical{color:var(--primary-text);font-size:12px;line-height:16px}
.pd-point h3{margin:0;font-size:18px;line-height:26px;letter-spacing:-.015em}
.pd-point p{margin:0;font-size:15px;line-height:24px;color:var(--muted)}
.pd-section{border-bottom:1px solid var(--line)}
.pd-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.pd-chips span{border:1px solid var(--line);padding:6px 10px;font-size:13px;line-height:18px}

@media(max-width:1150px){
  .pd-points{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pd-points.is-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .pd-points,.pd-points.is-3{grid-template-columns:minmax(0,1fr)}
  .pd-page .nwh-plan-grid.is-2,.pd-page .nwh-plan-grid.is-1{grid-template-columns:minmax(0,var(--plan-w))}
}
@keyframes pd-dash{to{stroke-dashoffset:-20}}
@media(prefers-reduced-motion:reduce){
  .pd-packet,.pd-grow polygon,.pd-wire line,.pd-tunnel path,.pd-scale-in,.pd-caret,.pd-scan,.pd-eq,.pd-meter,.pd-link line,
  .pd-step .chip-top,.pd-mod-on .chip-top,.pd-tld-on .chip-top,.pd-vm-on .chip-top,.pd-mail .chip-top,.pd-alert .chip-top,.pd-ping .chip-top,.pd-tick .chip-top,.pd-drive-b .chip-top,.pd-probe .chip-top{animation:none}
  .pd-scale-in{opacity:1}
}
/* list tables (one plan per row): regular weight, price column emphasised, featured row tinted */
.pd-page .nwh-compare.is-rows tbody tr:first-child td{font-weight:400;letter-spacing:0}
.pd-page .nwh-compare.is-rows td:last-child{font-weight:600}
.pd-page .nwh-compare.is-rows td:last-child small{font-weight:400}
.pd-page .nwh-compare.is-rows tr.is-feat>*{background:var(--soft)}
.pd-build .chip-top{animation:pd-glow 2.4s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.pd-build .chip-top{animation:none}}
.pd-page .nwh-scene>.scene-label.is-below{transform:translate(0,10px)}
/* text comparison (no price row): regular first row, answers wrap */
.pd-page .nwh-compare.is-plain tbody tr:first-child td{font-weight:400;letter-spacing:0}
.pd-page .nwh-compare.is-plain td{white-space:normal}
.pd-page .nwh-compare.is-plain .is-feat{font-weight:600}
.pd-page .nwh-compare.is-plain th:first-child{width:200px}

/* ---------- Partnership + Blog heroes ---------- */
/* one tile after another lights up: the services a partner sells, the categories a reader browses */
.pd-seq .chip-top{animation:pd-glow 4.8s ease-in-out infinite;animation-delay:calc(var(--i,0) * .8s)}
[data-theme=dark] .pd-page .pd-seq .chip-top{animation-name:pd-glow-d}
/* commission: a new coin settles on the stack, then the cycle repeats */
.pd-coin{animation:pd-coin 4.8s cubic-bezier(.22,1,.36,1) infinite}
@keyframes pd-coin{0%,15%{opacity:0;transform:translateY(-14px)}35%,80%{opacity:1;transform:none}100%{opacity:0;transform:none}}
/* legal: the due date on the invoice calendar pulses */
.pd-ui .pd-cal{animation:pd-cal 4.8s ease-in-out infinite}
@keyframes pd-cal{0%,100%{opacity:1}50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.pd-seq .chip-top,.pd-coin,.pd-ui .pd-cal{animation:none}}
