/* NEO Web Hosting Personal (neo-web-hosting.html). Built from the site's existing parts: neo-hero with an
   iso scene and focus buttons, plan filters + plan cards with capacity boards, comparison table,
   shipped feature cards, the dark certification band, the testimonial carousel, related catalog
   cards and the closing band. Shared promo parts (price, badge, code, certs) come from promo.css. */

/* ---------- Hero ---------- */
.nwh-hero .neo-hero-layout{align-items:center}
.nwh-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px}
.nwh-hero-actions .button{gap:24px}
.nwh-visual{position:relative;min-width:0;margin:0 -24px 0 0}
.nwh-scene{position:relative}
.nwh-hero-svg{display:block;width:100%;height:auto;overflow:hidden}
.nwh-scene>.scene-label{z-index:2;white-space:nowrap;transition:opacity .3s}
.nwh-label-ddos{left:3%;top:2%}
.nwh-label-ssd{left:46%;top:2%}
.nwh-label-uptime{left:82%;top:27%}
.nwh-label-support{left:68%;top:83%}
.nwh-iso-mark{font:600 13px var(--font);fill:#F9FBFD;letter-spacing:.06em}
.nwh-iso-small{font-size:9px}
.nwh-url-iso{font:600 5.5px var(--font);fill:#B9DCCB;letter-spacing:.06em}
.nwh-site rect{fill:#336950}
.nwh-site .is-accent{fill:var(--primary)}
.nwh-site .is-url{fill:#1B3F2D;stroke:#477E63;stroke-width:.5}
.nwh-site .is-lock{fill:none;stroke:#7DE1BB;stroke-width:.8;stroke-linejoin:round}
.nwh-chat rect{fill:#336950;stroke:#477E63;stroke-width:.5}
.nwh-chat .is-team{fill:var(--primary);stroke:#7DE1BB}
.nwh-uptime-iso rect{fill:var(--primary)}
.nwh-uptime-iso .is-dip{fill:#B9DCCB}
.nwh-uptime-iso text{font:600 12px var(--font);fill:#245740;letter-spacing:.02em}
.nwh-blocked-pkt polygon{fill:none;stroke:#6F9C86;stroke-width:.9;stroke-dasharray:3 3}
.nwh-pass-pkt{animation:nwh-pass 4s ease-in-out infinite;transform-box:fill-box}
@keyframes nwh-pass{0%,100%{transform:translate(0,0)}50%{transform:translate(18px,9.7px)}}
.nwh-part{transition:opacity .35s}
.nwh-scene[data-focus] .nwh-part{opacity:.28}
.nwh-scene[data-focus=ddos] [data-part=ddos],.nwh-scene[data-focus=shield] [data-part=ddos],.nwh-scene[data-focus=shield] [data-part=uptime],.nwh-scene[data-focus=ssd] [data-part=ssd],.nwh-scene[data-focus=uptime] [data-part=uptime],.nwh-scene[data-focus=support] [data-part=support]{opacity:1}
.nwh-scene[data-focus] .scene-label{opacity:.3}
.nwh-scene[data-focus=ddos] [data-label=ddos],.nwh-scene[data-focus=shield] [data-label=ddos],.nwh-scene[data-focus=shield] [data-label=uptime],.nwh-scene[data-focus=ssd] [data-label=ssd],.nwh-scene[data-focus=uptime] [data-label=uptime],.nwh-scene[data-focus=support] [data-label=support]{opacity:1}
.nwh-scene.is-armed .nwh-part{opacity:0}
.nwh-scene.is-in .nwh-part{animation:nwh-arrive .7s cubic-bezier(.22,1,.36,1) both}
.nwh-scene.is-in .nwh-part[data-part=ssd]{animation-delay:.1s}
.nwh-scene.is-in .nwh-part[data-part=ddos]{animation-delay:.35s}
.nwh-scene.is-in .nwh-part[data-part=uptime]{animation-delay:.5s}
.nwh-scene.is-in .nwh-part[data-part=support]{animation-delay:.65s}
@keyframes nwh-arrive{from{opacity:0;transform:translateY(-14px)}to{opacity:1;transform:none}}

.nwh-trust-row{grid-template-columns:1.15fr repeat(3,1fr);margin-top:48px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nwh-trust-row .metric-context .nwh-trust-line{white-space:nowrap}
.nwh-metric{text-align:left;color:var(--ink);cursor:pointer;margin:-12px 0;padding-top:12px;padding-bottom:12px;padding-right:16px;transition:box-shadow .2s}
.nwh-metric,.nwh-metric:hover,.nwh-metric[aria-pressed=true]{background:transparent}
.nwh-metric:hover>.technical{color:var(--primary-text)}
.nwh-metric[aria-pressed=true]{box-shadow:inset 0 -2px var(--primary)}
.nwh-metric[aria-pressed=true]>.technical{color:var(--primary-text)}
.nwh-metric:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.nwh-metric .trust-stars{max-width:240px}

/* ---------- Plans ---------- */
.nwh-plans{border-bottom:1px solid var(--line);scroll-margin-top:96px}
/* Plan cards: shared component, see plans.css */

/* ---------- Comparison ---------- */
.nwh-compare-section{border-bottom:1px solid var(--line);min-width:0}
.nwh-compare-section>*{min-width:0}
/* ---------- Features ----------
   Compact cards: the board graphic is capped at 150px tall (scaled whole, centred), tighter padding,
   20px titles and 15px body text, so the six cards read as one dense, even grid. */
.nwh-features{border-bottom:1px solid var(--line)}
.nwh-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.nwh-feature>.product-graphic{min-height:0!important;display:flex;align-items:center;justify-content:center;padding:14px 18px}
.nwh-feature .shipped-svg{display:block;width:100%;max-height:150px;margin-top:0}
.nwh-feature .shipped-info{gap:6px;padding:20px 24px 24px}
.nwh-feature .product-overline{font-size:12px;line-height:16px;letter-spacing:.06em;color:var(--primary-text)}
.nwh-feature .shipped-info h3{margin-top:2px;font-size:20px;line-height:28px;letter-spacing:-.02em}
.nwh-feature .shipped-info p{font-size:15px;line-height:24px;color:var(--muted)}
.nwh-lock{fill:none;stroke:#7DE1BB;stroke-width:1;stroke-linejoin:round}
.nwh-uptime{font:600 14px var(--font);fill:#7DE1BB}
.nwh-uptime-bars rect{fill:var(--primary);transform-box:fill-box;transform-origin:bottom;animation:nwh-bar 3.6s ease-in-out infinite;animation-delay:calc(var(--i) * 90ms)}
.nwh-uptime-bars .is-dip{fill:#91BDA7}
@keyframes nwh-bar{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.86)}}
.promo-ui-tile.is-on{fill:var(--primary);stroke:#7DE1BB}
.nwh-infinity{fill:none;stroke:#F9FBFD;stroke-width:2;stroke-linejoin:round}
.nwh-flow-2{animation-delay:-1.7s}
.nwh-flow-3{animation-delay:-3.4s}
.nwh-flow-4{animation-delay:-5.1s}
.nwh-bubble{fill:#336950;stroke:#477E63;stroke-width:.6}
.nwh-bubble.is-team{fill:var(--primary);stroke:#7DE1BB}
.nwh-bubble-line{fill:#B9DCCB;opacity:.7}
.nwh-dim{opacity:.55}
.nwh-typing{fill:#91DDB9;animation:nwh-typing 1.4s ease-in-out infinite}
.nwh-typing:nth-of-type(2){animation-delay:.2s}
.nwh-typing:nth-of-type(3){animation-delay:.4s}
@keyframes nwh-typing{0%,60%,100%{opacity:.35}30%{opacity:1}}
.nwh-big{font:600 18px var(--font);fill:#F9FBFD}
.nwh-shield{fill:none;stroke:#6F9C86;stroke-width:1}
.nwh-shield-1{stroke-dasharray:5 4}
.nwh-shield-2{stroke:#477E63;stroke-width:1.2}
.nwh-shield-3{stroke:var(--primary);stroke-width:1.4}
.nwh-stop{stroke:#C2410C;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.8}


/* Comparison table — same treatment as the NEO Lite Pro plan table (.neo-plan-table): no outer box,
   hairline rows, small muted column headings between two rules, 16px values, and the featured
   plan (Large) marked like the selected plan row there: soft green fill, heading in brand green.
   On small screens it scrolls sideways with the feature column pinned. */
.nwh-compare-wrap{overflow-x:auto;contain:paint;width:100%;max-width:100%;min-width:0;border:0;background:none}
.nwh-compare-wrap:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* sticky copy of the heading + price rows (built in neo-web-hosting.js) */
.nwh-compare-head{position:fixed;top:0;left:0;z-index:40;overflow:hidden;border:0;background:var(--paper);box-shadow:none;visibility:hidden;opacity:0;transition:opacity .15s,visibility 0s .15s;pointer-events:none}
.nwh-compare-head.is-stuck{visibility:visible;opacity:1;transition:opacity .15s}
.nwh-compare-head table{min-width:0;table-layout:fixed}
.nwh-compare-head th{white-space:nowrap}
.nwh-compare-head .nwh-compare tbody tr:last-child>*{border-bottom:1px solid var(--line)}
.nwh-compare-head tbody td,.nwh-compare-head tbody th{white-space:nowrap}
.nwh-compare{width:100%;min-width:760px;border-collapse:collapse;text-align:left}
.nwh-compare th,.nwh-compare td{padding:20px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.nwh-compare thead th{font-size:12px;line-height:20px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);white-space:nowrap;border-top:1px solid var(--line);background:var(--paper)}
.nwh-compare tbody th{font-size:16px;line-height:24px;font-weight:600;color:var(--ink);white-space:nowrap}
.nwh-compare td{font-size:16px;line-height:24px;color:var(--ink);white-space:nowrap}
/* pinned feature column (covers cells scrolling underneath) */
.nwh-compare tbody th,.nwh-compare thead th:first-child{position:sticky;left:0;z-index:1;background:var(--paper)}
.nwh-compare thead th:first-child{z-index:2}
/* featured plan: like the selected row of the reference table */
.nwh-compare thead th[data-col=large]{color:var(--primary-text);font-weight:600;background:var(--soft)}
.nwh-compare td:nth-child(4){background:var(--soft)}
.nwh-compare td>svg{display:inline-block;width:18px;height:18px;vertical-align:-3px;margin-right:6px}
.nwh-compare td>span:not(.sr-only){display:inline}
.nwh-compare td.is-mark>svg{margin:0}
.nwh-compare td small{font-size:14px;line-height:24px;color:var(--muted)}
/* first row = price, set like the reference price column */
.nwh-compare tbody tr:first-child td{font-weight:600;letter-spacing:-.015em}
.nwh-compare tbody tr:first-child td small{font-weight:400;letter-spacing:0}

/* ---------- Related ---------- */
.nwh-related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

/* ---------- Responsive ---------- */
@media(max-width:1200px){
}
@media(max-width:1150px){
  .nwh-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:960px){
  .nwh-visual{margin:0}
  .nwh-trust-row{grid-template-columns:repeat(2,1fr)}
  .nwh-trust-row .metric-context{flex-direction:column;align-items:flex-start;text-align:left;gap:10px}
  .nwh-metric{margin:0}
  .nwh-related-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
  .nwh-scene>.scene-label{display:none}
  .nwh-feature-grid{grid-template-columns:minmax(0,1fr)}
  .nwh-feature .shipped-info{padding:18px 20px 20px}
  .nwh-compare th,.nwh-compare td{padding:16px 12px}
  .nwh-compare td,.nwh-compare tbody th{font-size:14px;line-height:20px}
  .nwh-compare td small{font-size:12px;line-height:20px}
  .nwh-label-host{display:none}
}
@media(prefers-reduced-motion:reduce){
  .nwh-pass-pkt,.nwh-uptime-bars rect,.nwh-typing,.nwh-scene.is-in .nwh-part{animation:none}
}
