/* Netvello — shared stylesheet. Mobile-first, dark clean UI. */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --bg0:#070b14; --bg1:#0b1220;
  --ink:#e8eef7; --mut:#8fa3c0; --dim:#6b7d99;
  --line:rgba(255,255,255,.09);
  --acc1:#22d3ee; --acc2:#3b82f6; --acc3:#34d399;
  --card:rgba(255,255,255,.045);
}
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body {
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;
  background:radial-gradient(1200px 800px at 50% -10%, #1b2a4a 0%, var(--bg1) 55%, var(--bg0) 100%);
  background-attachment:fixed;
  color:var(--ink); min-height:100vh; line-height:1.7;
}
a { color:var(--acc1); text-decoration:none; }
a:hover { text-decoration:underline; }
img { max-width:100%; height:auto; }

/* ---------- header ---------- */
.site-header {
  border-bottom:1px solid var(--line);
  background:rgba(7,11,20,.82); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  position:sticky; top:0; z-index:50;
  box-shadow:0 4px 24px rgba(0,0,0,.35);
}
.site-header .inner {
  max-width:980px; margin:0 auto; padding:10px 18px;
  display:flex; align-items:center; gap:18px; flex-wrap:wrap;
}
.logo { display:inline-flex; align-items:center; gap:10px; font-size:21px; font-weight:800; letter-spacing:.4px; color:var(--ink); white-space:nowrap; }
.logo:hover { text-decoration:none; opacity:.92; }
.logo img { border-radius:8px; display:block; box-shadow:0 2px 10px rgba(34,211,238,.25); }
.main-nav { display:flex; flex-wrap:wrap; gap:4px 6px; font-size:14px; margin-left:auto; }
.main-nav a { color:var(--mut); padding:6px 10px; border-radius:9px; }
.main-nav a:hover { color:var(--ink); text-decoration:none; background:rgba(255,255,255,.05); }
.main-nav a.active { color:var(--ink); text-decoration:none; background:rgba(34,211,238,.12); box-shadow:inset 0 -2px 0 var(--acc1); }

/* ---------- layout ---------- */
.page { max-width:980px; margin:0 auto; padding:28px 18px 60px; }
.tool-zone { max-width:440px; margin:0 auto; }
.content { max-width:760px; margin:44px auto 0; }
.content h1 { font-size:clamp(24px,4.5vw,30px); line-height:1.3; margin-bottom:10px; letter-spacing:.2px; }
.content h2 { font-size:20px; margin:32px 0 10px; }
.content h3 { font-size:17px; margin:24px 0 8px; }
.content p { margin:0 0 14px; color:#cfdaeB; }
.content ul, .content ol { margin:0 0 14px 22px; color:#cfdaeB; }
.content li { margin-bottom:6px; }
.content table { width:100%; border-collapse:collapse; margin:14px 0 20px; font-size:14px; }
.content th, .content td { border:1px solid var(--line); padding:8px 10px; text-align:left; }
.content th { background:rgba(255,255,255,.05); color:var(--ink); }
.content td { color:#cfdaeB; }
.kicker { color:var(--mut); font-size:14px; margin-bottom:8px; }
.lede { font-size:16.5px; color:var(--ink); }
.updated { font-size:12.5px; color:var(--dim); }
.hero h1 { font-size:clamp(26px,6vw,34px); text-align:center; letter-spacing:.2px; line-height:1.3; font-weight:800; }
.hero .sub { text-align:center; color:var(--mut); font-size:14.5px; margin-top:10px; line-height:1.7; }

/* ---------- trust strip ---------- */
.trust-strip {
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px;
  margin-top:22px; padding:13px 10px;
  font-size:13px; color:var(--mut);
  background:rgba(52,211,153,.06); border:1px solid rgba(52,211,153,.18);
  border-radius:14px;
}
.trust-strip span { white-space:nowrap; }

/* ---------- steps ---------- */
.steps { display:grid; gap:10px; margin:6px 0 30px; }
.step {
  display:flex; gap:12px; align-items:flex-start;
  background:var(--card); border:1px solid var(--line);
  border-radius:14px; padding:13px 15px;
}
.step-n {
  flex:none; width:30px; height:30px; border-radius:50%;
  background:linear-gradient(135deg,var(--acc1),var(--acc3));
  color:#04121f; font-weight:800; font-size:15px;
  display:flex; align-items:center; justify-content:center;
}
.step b { display:block; font-size:14.5px; }
.step small { color:var(--mut); font-size:12.5px; line-height:1.55; display:block; margin-top:2px; }

/* ---------- cards ---------- */
.card-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; margin:16px 0 8px; }
.link-card {
  display:block; background:var(--card); border:1px solid var(--line);
  border-radius:16px; padding:16px 14px; color:var(--ink); font-size:14.5px; font-weight:700;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.link-card small { display:block; font-weight:400; color:var(--mut); font-size:12.5px; margin-top:5px; line-height:1.55; }
.link-card:hover { border-color:var(--acc1); text-decoration:none; transform:translateY(-2px); box-shadow:0 8px 22px rgba(34,211,238,.12); }

/* ---------- speed test widget ---------- */
.nv-tool {
  margin-top:18px; padding:20px 16px 18px; border-radius:22px;
  background:linear-gradient(var(--bg1),var(--bg1)) padding-box,
             linear-gradient(135deg,rgba(34,211,238,.55),rgba(52,211,153,.45),rgba(59,130,246,.4)) border-box;
  border:1.5px solid transparent;
  box-shadow:0 18px 50px rgba(0,0,0,.45), 0 0 40px rgba(34,211,238,.08);
}
.nv-cards { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; margin:6px 0 8px; }
.nv-card {
  background:rgba(255,255,255,.04); border:1px solid var(--line);
  border-radius:16px; padding:14px 6px; text-align:center;
}
.nv-label { font-size:11px; color:var(--mut); text-transform:uppercase; letter-spacing:1px; }
.nv-value { font-size:24px; font-weight:800; margin-top:6px; font-variant-numeric:tabular-nums; min-height:32px; }
.nv-unit { font-size:11px; color:var(--mut); margin-top:2px; }
.nv-unit span { color:var(--ink); font-weight:700; }
.nv-bar { height:6px; background:rgba(255,255,255,.08); border-radius:99px; margin-top:10px; overflow:hidden; }
.nv-bar > div { height:100%; width:0%; border-radius:99px; background:linear-gradient(90deg,var(--acc1),var(--acc2)); transition:width .25s; }

/* progress ring (download card) */
.nv-card-down { padding:12px 6px; }
.nv-ringwrap { position:relative; width:104px; height:104px; margin:8px auto 0; }
.nv-ring { width:104px; height:104px; transform:rotate(-90deg); }
.nv-ring-bg { fill:none; stroke:rgba(255,255,255,.09); stroke-width:9; }
.nv-ring-fg {
  fill:none; stroke:url(#nvgrad); stroke:#22d3ee; stroke-width:9; stroke-linecap:round;
  stroke-dasharray:263.9; stroke-dashoffset:263.9;
  transition:stroke-dashoffset .25s linear;
  filter:drop-shadow(0 0 5px rgba(34,211,238,.6));
}
.nv-center { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.nv-center .nv-value { margin-top:0; min-height:0; font-size:22px; }
.nv-center .nv-unit { margin-top:0; }

#nv-btn {
  width:100%; margin-top:20px; padding:19px; font-size:19px; font-weight:800; letter-spacing:.3px;
  color:#04121f; background:linear-gradient(135deg,var(--acc1),var(--acc3));
  border:none; border-radius:18px; cursor:pointer;
  box-shadow:0 12px 32px rgba(34,211,238,.30);
  transition:transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
#nv-btn:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 16px 38px rgba(34,211,238,.40); filter:brightness(1.05); }
#nv-btn:active:not(:disabled) { transform:translateY(1px) scale(.99); box-shadow:0 6px 18px rgba(34,211,238,.25); }
#nv-btn:disabled { opacity:.45; cursor:default; box-shadow:none; transform:none; }
#nv-status { text-align:center; color:#b8c7de; font-size:14px; margin-top:18px; min-height:48px; line-height:1.7; }
.nv-spinner {
  display:inline-block; width:14px; height:14px; border:2px solid rgba(255,255,255,.25);
  border-top-color:var(--acc1); border-radius:50%; animation:nvspin 1s linear infinite; vertical-align:-2px; margin-right:6px;
}
@keyframes nvspin { to { transform:rotate(360deg); } }
.nv-share {
  display:inline-block; margin-top:12px; padding:11px 22px; font-size:14px; font-weight:700;
  color:var(--ink); background:rgba(34,211,238,.12); border:1px solid rgba(34,211,238,.4);
  border-radius:12px; cursor:pointer; transition:background .15s ease, transform .12s ease;
}
.nv-share:hover { background:rgba(34,211,238,.22); }
.nv-share:active { transform:scale(.97); }
.nv-note { margin-top:22px; font-size:12.5px; color:var(--dim); line-height:1.9; text-align:center; }
.nv-history { margin-top:16px; font-size:13px; color:var(--mut); }
.nv-history .row { background:rgba(255,255,255,.04); border-radius:10px; padding:8px 12px; margin-top:6px; font-variant-numeric:tabular-nums; }
.nv-verdict { display:block; margin-top:8px; font-size:14.5px; color:var(--ink); }

/* ---------- faq ---------- */
.faq-item { background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:14px; margin:10px 0; overflow:hidden; transition:border-color .15s ease; }
.faq-item:hover { border-color:rgba(34,211,238,.3); }
.faq-item summary { padding:15px 17px; cursor:pointer; font-weight:700; font-size:15.5px; list-style:none; display:flex; align-items:center; gap:10px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::before { content:"+"; color:var(--acc1); font-size:20px; font-weight:800; line-height:1; flex:none; transition:transform .15s ease; }
.faq-item[open] summary::before { content:"–"; }
.faq-item .a { padding:0 17px 17px 44px; color:#cfdaeB; font-size:14.5px; }

/* ---------- footer ---------- */
.site-footer { border-top:1px solid var(--line); margin-top:40px; background:rgba(0,0,0,.25); }
.site-footer .inner { max-width:980px; margin:0 auto; padding:28px 18px 44px; font-size:13.5px; color:var(--dim); }
.site-footer nav { display:flex; flex-wrap:wrap; gap:6px 16px; margin:12px 0 14px; }
.site-footer a { color:var(--mut); }
.site-footer a:hover { color:var(--ink); }
.brandline { color:var(--mut); margin-bottom:4px; display:flex; align-items:center; gap:8px; }
.brandline img { border-radius:6px; }
.brandline b { color:var(--ink); }

/* ---------- misc ---------- */
.breadcrumb { font-size:13px; color:var(--dim); margin-bottom:14px; }
.breadcrumb a { color:var(--mut); }
.alert {
  background:rgba(34,211,238,.08); border:1px solid rgba(34,211,238,.25);
  border-radius:14px; padding:14px 16px; margin:16px 0; font-size:14.5px; color:#cfdaeB;
}
.btn-mail {
  display:inline-block; margin-top:14px; padding:13px 26px; border-radius:14px;
  background:linear-gradient(135deg,var(--acc1),var(--acc3)); color:#04121f; font-weight:800;
  transition:transform .12s ease, box-shadow .15s ease;
}
.btn-mail:hover { text-decoration:none; transform:translateY(-2px); box-shadow:0 10px 26px rgba(34,211,238,.3); }

@media (min-width:720px) {
  .hero h1 { font-size:36px; }
  .content h1 { font-size:30px; }
  #nv-btn { font-size:20px; }
  .steps { grid-template-columns:1fr 1fr 1fr; }
  .tool-zone { max-width:460px; }
}
