/* 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:#B9E9D2;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:#183F2E;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}
.nwh-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.nwh-plan{display:flex;flex-direction:column;min-width:0;background:var(--surface)}
.nwh-plan.is-featured{box-shadow:inset 0 2px var(--primary)}
.nwh-plan>.product-graphic{border-right:0;border-bottom:1px solid var(--line);padding:16px 18px 10px;min-height:0;justify-content:flex-start}
.nwh-plan .graphic-meta{font-size:8px;letter-spacing:.1em;line-height:12px}
.nwh-plan-svg{margin-top:10px}
.nwh-fill{fill:var(--primary);stroke:#7DE1BB;stroke-width:.8}
.nwh-ghost{fill:none;stroke:#6F9C86;stroke-width:1;stroke-dasharray:4 3}
.nwh-ram-on{fill:#1E503B}
[data-theme=dark] .nwh-ram-on{fill:#477E63;stroke:#7DE1BB}
.nwh-off{fill:var(--muted);opacity:.7}
.nwh-plan-body{display:flex;flex-direction:column;gap:14px;padding:24px 22px 22px;flex:1}
.nwh-plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px}
.nwh-plan h3{margin:0;font-size:20px;line-height:28px;letter-spacing:-.01em}
.nwh-plan-price{display:flex;flex-direction:column;gap:8px;min-height:120px}
.nwh-plan-price[hidden]{display:none}
.nwh-plan .promo-price strong{font-size:26px;line-height:34px;letter-spacing:-.017em}
.nwh-code-note{margin:0;font-size:13px;line-height:20px;color:var(--muted);letter-spacing:.004em}
.nwh-plan .promo-code{align-self:flex-start}
.nwh-plan-features{list-style:none;display:flex;flex-direction:column;gap:8px;margin:0;padding:16px 0 0;border-top:1px solid var(--line)}
.nwh-plan-features li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;font-size:14px;line-height:24px;letter-spacing:0}
.nwh-yes,.nwh-no{width:18px;height:18px;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nwh-yes{stroke:var(--primary-text)}
.nwh-no{stroke:var(--muted);opacity:.6}
.nwh-plan-cta{margin-top:auto;justify-content:space-between}
.nwh-plan-features+.nwh-plan-cta{margin-top:auto}
.nwh-plan-body>.nwh-plan-cta{margin-top:auto}
.nwh-plan-features{margin-bottom:8px}

/* ---------- Comparison ---------- */
.nwh-compare-section{border-bottom:1px solid var(--line);min-width:0}
.nwh-compare-section>*{min-width:0}
.nwh-compare-wrap{overflow-x:auto;contain:paint;width:100%;max-width:100%;min-width:0;border:1px solid var(--line);background:var(--surface)}
.nwh-compare-wrap:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* Floating copy of the header row, pinned under the site header while the table scrolls past. */
.nwh-compare-head{position:fixed;top:0;left:0;z-index:40;overflow:hidden;border:1px solid var(--line);border-bottom:0;background:var(--surface);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;font-size:14px;line-height:22px;letter-spacing:0}
.nwh-compare th,.nwh-compare td{padding:12px 20px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.nwh-compare tbody tr:last-child>*{border-bottom:0}
.nwh-compare thead th{background:var(--soft);font-size:12px;line-height:16px;letter-spacing:.06em;text-transform:uppercase;color:var(--primary-text);font-weight:600}
.nwh-compare thead th[data-col=large]{background:var(--primary);color:#F9FBFD}
.nwh-compare tbody th{font-weight:600;color:var(--ink);white-space:nowrap}
.nwh-compare tbody th,.nwh-compare thead th:first-child{position:sticky;left:0;background:var(--surface);z-index:1}
.nwh-compare thead th:first-child{background:var(--soft);z-index:2}
.nwh-compare td{color:var(--ink)}
.nwh-compare td>svg{display:inline-block;vertical-align:-4px;margin-right:6px}
.nwh-compare td>span:not(.sr-only){display:inline}
.nwh-compare td.is-mark>svg{margin:0}
.nwh-compare td small{color:var(--muted);font-size:12px;line-height:18px;letter-spacing:.008em}
.nwh-compare tbody tr:first-child td{font-weight:600}
.nwh-compare tbody tr:hover>*{background:color-mix(in srgb,var(--primary-soft) 55%,var(--surface))}
.nwh-compare td:nth-child(4){background:color-mix(in srgb,var(--primary-soft) 40%,var(--surface))}

/* ---------- Features ---------- */
.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;padding:16px 20px 10px}
.nwh-feature .shipped-svg{margin-top:0}
.nwh-feature .product-overline{font-size:12px;line-height:16px;letter-spacing:.06em;color:var(--primary-text)}
.nwh-feature .shipped-info h3{font-size:22px;line-height:30px;letter-spacing:-.013em}
.nwh-feature .shipped-info p{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}

/* ---------- Certifications ---------- */
.nwh-trust .network-copy h2{margin-top:0}
.nwh-certs{margin-top:32px}
.nwh-cert-panel{position:relative}
.nwh-cert-svg{display:block;width:100%;height:auto;overflow:hidden}
.nwh-cert-panel .scene-label{color:#F9FBFD;border-left-color:#29AE87;white-space:nowrap}
.nwh-cert-panel .scene-label>span:last-child{color:#A4BFB1}
.nwh-label-certs{left:4%;top:7%}
.nwh-label-host{right:4%;top:90%}

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

/* ---------- Responsive ---------- */
@media(max-width:1200px){
  .nwh-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@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-plan-grid,.nwh-feature-grid{grid-template-columns:minmax(0,1fr)}
  .nwh-plan-price{min-height:0}
  .nwh-compare th,.nwh-compare td{padding:10px 14px}
  .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}
}
