/* ================================================================
   NetDesk marketing site — production design system
   ================================================================ */
:root {
  --bg: #0a0d14; --bg2: #10141e; --bg3: #161c28; --card: #141a26;
  --fg: #eaeff8; --muted: #9aa4b6; --faint: #6b7688;
  --accent: #3d7eff; --accent2: #6aa1ff; --accent-dim: rgba(61,126,255,.12);
  --ok: #2fbf71; --border: #212a3a; --border-soft: #1a2130;
  --r: 14px; --r-sm: 9px; --maxw: 1160px;
  --grad: linear-gradient(135deg, #3d7eff 0%, #6aa1ff 55%, #2fbf71 130%);
  --shadow: 0 24px 60px rgba(0,0,0,.45);
}
:root[data-theme="light"] {
  --bg: #f6f8fc; --bg2: #ffffff; --bg3: #eef2f8; --card: #ffffff;
  --fg: #131a26; --muted: #55617a; --faint: #97a1b4;
  --border: #e2e8f1; --border-soft: #edf1f7; --accent-dim: rgba(61,126,255,.08);
  --shadow: 0 24px 60px rgba(24,39,75,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--fg); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- header ---- */
.nz { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border-soft); }
.nz-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nz-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.4px; }
.nz-logo { width: 34px; height: 34px; border-radius: 9px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(61,126,255,.35); }
.nz-links { display: flex; align-items: center; gap: 4px; }
.nz-links a { padding: 9px 14px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 15px; transition: .15s; }
.nz-links a:hover { color: var(--fg); background: var(--bg3); }
.nz-links a.active { color: var(--fg); }
.nz-cta { display: flex; align-items: center; gap: 10px; }
.nz-burger { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; color: var(--fg); cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(61,126,255,.32); }
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-ghost { background: var(--bg2); color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 16.5px; border-radius: 12px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; padding: 92px 0 70px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(760px 420px at 50% -8%, rgba(61,126,255,.22), transparent 62%),
              radial-gradient(680px 420px at 88% 24%, rgba(47,191,113,.12), transparent 60%); }
.tagpill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--accent-dim); border: 1px solid var(--border); color: var(--accent2); font-size: 13.5px; font-weight: 600; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; letter-spacing: -1.6px; font-weight: 850; margin-bottom: 20px; }
.hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 720px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--faint); font-size: 14px; }
.hero-shot { max-width: 940px; margin: 54px auto 0; border-radius: 16px; border: 1px solid var(--border);
  box-shadow: var(--shadow); overflow: hidden; background: var(--bg2); }

/* ---- sections ---- */
.section { padding: 74px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.sec-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.sec-head .eyebrow { color: var(--accent2); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; font-weight: 800; margin: 10px 0 12px; }
.sec-head p { color: var(--muted); font-size: 18px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 26px; transition: .18s; }
.feat:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.feat .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-dim); color: var(--accent2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad);
  color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .who { color: var(--muted); font-size: 14.5px; margin: 4px 0 18px; }
.plan .price { font-size: 44px; font-weight: 850; letter-spacing: -1.5px; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--fg); }
.plan li svg { flex-shrink: 0; color: var(--ok); margin-top: 3px; }
.plan .btn { justify-content: center; margin-top: auto; }

/* ---- prose (legal/about) ---- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: 40px; letter-spacing: -1px; margin-bottom: 8px; }
.prose .updated { color: var(--faint); font-size: 14px; margin-bottom: 34px; }
.prose h2 { font-size: 24px; margin: 34px 0 12px; letter-spacing: -.4px; }
.prose h3 { font-size: 18px; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 14px; }
.prose a { color: var(--accent2); }
.prose strong { color: var(--fg); }

/* ---- contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; color: var(--fg); font-size: 15px; font-family: inherit; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.info-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.info-row .ic { color: var(--accent2); }

/* ---- cta band ---- */
.ctaband { text-align: center; padding: 70px 0; background: var(--bg2); border-top: 1px solid var(--border-soft); }
.ctaband h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; margin-bottom: 12px; }
.ctaband p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }

/* ---- footer ---- */
.ft { background: var(--bg2); border-top: 1px solid var(--border); padding: 56px 0 28px; }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.ft-brand p { color: var(--muted); font-size: 14.5px; margin: 14px 0; max-width: 300px; }
.ft-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--faint); margin-bottom: 14px; }
.ft-col a { display: block; color: var(--muted); font-size: 15px; padding: 5px 0; transition: .12s; }
.ft-col a:hover { color: var(--fg); }
.ft-bot { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--border-soft); color: var(--faint); font-size: 14px; flex-wrap: wrap; gap: 12px; }
.ft-social { display: flex; gap: 12px; }
.ft-social a { color: var(--muted); } .ft-social a:hover { color: var(--fg); }
.theme-toggle { background: var(--bg3); border: 1px solid var(--border); border-radius: 8px; color: var(--fg);
  padding: 8px 12px; cursor: pointer; font-size: 13.5px; }

/* ---- misc ---- */
.logos { display: flex; gap: 34px; justify-content: center; align-items: center; flex-wrap: wrap; opacity: .8; color: var(--muted); font-weight: 600; }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 15px; }
.compare th { color: var(--faint); font-weight: 600; font-size: 13px; text-transform: uppercase; }
.compare td.y { color: var(--ok); font-weight: 700; }
.compare td.n { color: var(--faint); }
.compare tr td:first-child { color: var(--fg); font-weight: 600; }

@media (max-width: 900px) {
  .nz-links { display: none; }
  .nz-burger { display: block; }
  .nz-links.open { display: flex; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column;
    background: var(--bg2); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
  .grid3, .price-grid, .ft-top { grid-template-columns: 1fr; }
  .grid2, .contact-grid { grid-template-columns: 1fr; }
  .ft-top { gap: 24px; }
}
