/* netguardir.com — InfoRelay NetGuard product site
   Brand: InfoRelay blue #3d6cff + #1737a8 gradient, Space Grotesk display, Inter Tight body.
   Inspired by clean dev-tool sites (Wireshark, Tailscale, Sentry).
*/
:root {
  --brand: #3d6cff;
  --brand-deep: #1737a8;
  --brand-grad: linear-gradient(135deg, #3d6cff 0%, #1737a8 100%);
  --brand-glow: radial-gradient(60% 50% at 50% 0%, rgba(61, 108, 255, 0.32) 0%, rgba(23, 55, 168, 0) 70%);
  --bg: #07080c;
  --bg-soft: #0e1018;
  --bg-card: #14172000;
  --card: #131722;
  --card-hi: #1a1f30;
  --line: #232a3b;
  --line-soft: #1a1f30;
  --fg: #e8eaf2;
  --fg-soft: #c2c8d8;
  --muted: #8b91a5;
  --crit: #ef4444;
  --warn: #f59e0b;
  --ok: #10b981;
  --font-display: 'Space Grotesk', 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, Monaco, monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
a { color: var(--brand); text-decoration: none; transition: color 0.15s; }
a:hover { color: #6e91ff; }
code, pre { font-family: var(--font-mono); }
img { max-width: 100%; }

/* ── Header ─────────────────────────────────────────────────────── */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 12, 0.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--fg); }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1; }
.brand-word .info { font-weight: 500; color: var(--fg-soft); }
.brand-word .relay { color: var(--brand); }
.brand-word .dot { color: var(--muted); margin: 0 0.2rem; }
nav.primary { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
nav.primary a { color: var(--fg-soft); padding: 0.5rem 0.9rem; border-radius: 6px; }
nav.primary a:hover { color: var(--fg); background: var(--bg-soft); }
nav.primary a.cta { background: var(--brand-grad); color: #fff; font-weight: 600; }
nav.primary a.cta:hover { transform: translateY(-1px); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero { position: relative; padding: 6rem 0 4rem; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--brand-glow); pointer-events: none; }
.hero .eyebrow { display: inline-block; background: rgba(61, 108, 255, 0.12); color: #a8bdff; border: 1px solid rgba(61, 108, 255, 0.35); padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); margin: 0 0 1rem; letter-spacing: -0.025em; line-height: 1.05; font-weight: 700; }
.hero h1 .grad { background: linear-gradient(110deg, #fff 30%, #6e91ff 60%, #3d6cff 90%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero .lede { color: var(--fg-soft); font-size: 1.18rem; max-width: 720px; margin: 0 auto 2rem; }
.hero .cta-row { display: inline-flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.4rem; border-radius: var(--radius); font-weight: 600; font-family: var(--font-display); transition: transform 0.15s, box-shadow 0.15s; border: 1px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 20px rgba(61, 108, 255, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(61, 108, 255, 0.45); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--fg); }
.hero .meta-row { display: inline-flex; gap: 1.25rem; color: var(--muted); font-size: 0.86rem; font-family: var(--font-mono); flex-wrap: wrap; justify-content: center; }
.hero .meta-row span::before { content: "•"; margin-right: 0.6rem; color: var(--brand); }
.hero .meta-row span:first-child::before { content: ""; margin: 0; }

/* ── Screenshot stage ───────────────────────────────────────────── */
.stage { padding: 0 0 5rem; }
.stage-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 6px 20px rgba(61, 108, 255, 0.18); position: relative; }
.stage-wrap::before { content: ""; position: absolute; inset: -1px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(61, 108, 255, 0.25), transparent 60%); pointer-events: none; opacity: 0.7; }
.stage-frame { background: #0a0a0e; border-radius: calc(var(--radius-lg) - 4px); padding: 0; overflow: hidden; }
.stage-titlebar { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1rem; background: #0e1018; border-bottom: 1px solid var(--line); }
.stage-titlebar .dots { display: flex; gap: 0.4rem; }
.stage-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; background: #444; }
.stage-titlebar .dot.r { background: #ff5f57; }
.stage-titlebar .dot.y { background: #febc2e; }
.stage-titlebar .dot.g { background: #28c840; }
.stage-titlebar .title { margin-left: 0.6rem; color: var(--muted); font-size: 0.82rem; font-family: var(--font-mono); }
.stage-body { padding: 1.8rem; font-family: var(--font-mono); font-size: 0.86rem; color: var(--fg-soft); line-height: 1.7; }
.stage-body .prompt { color: var(--brand); }
.stage-body .cmd { color: var(--fg); }
.stage-body .out { color: var(--fg-soft); }
.stage-body .ok { color: #6ee7b7; }
.stage-body .fail { color: #fca5a5; }
.stage-body .info { color: #93c5fd; }
.stage-body .arrow { color: var(--brand); }

/* ── Section frames ─────────────────────────────────────────────── */
section.s { padding: 5rem 0; border-top: 1px solid var(--line); }
.kicker { display: inline-block; color: var(--brand); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; }
section.s h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0 0 1rem; letter-spacing: -0.02em; line-height: 1.15; }
section.s .lede { color: var(--fg-soft); font-size: 1.1rem; max-width: 720px; margin: 0 0 2.5rem; }

/* ── Features grid ──────────────────────────────────────────────── */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform 0.15s, border-color 0.15s; }
.feature:hover { transform: translateY(-2px); border-color: rgba(61, 108, 255, 0.4); }
.feature .icon { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(61, 108, 255, 0.12); border: 1px solid rgba(61, 108, 255, 0.35); border-radius: 8px; color: var(--brand); font-size: 1.1rem; margin-bottom: 0.85rem; }
.feature h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 0.5rem; }
.feature p { color: var(--fg-soft); font-size: 0.93rem; margin: 0; }

/* ── Workflow diagram ───────────────────────────────────────────── */
.workflow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; margin: 2rem 0; }
.workflow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.workflow-step { padding: 1.25rem; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line-soft); position: relative; }
.workflow-step .num { position: absolute; top: -10px; left: 1rem; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-weight: 700; font-size: 0.78rem; display: grid; place-items: center; font-family: var(--font-display); }
.workflow-step h4 { font-family: var(--font-display); margin: 0.5rem 0 0.4rem; font-size: 1rem; }
.workflow-step p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.workflow-step code { color: var(--fg); background: #0a0c12; padding: 0.05rem 0.35rem; border-radius: 3px; font-size: 0.85em; }

/* ── Download section ───────────────────────────────────────────── */
.download-card { background: linear-gradient(160deg, rgba(61, 108, 255, 0.08) 0%, rgba(23, 55, 168, 0.04) 100%); border: 1px solid rgba(61, 108, 255, 0.3); border-radius: var(--radius-lg); padding: 2.5rem; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.download-tile { display: flex; flex-direction: column; padding: 1.25rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: all 0.15s; text-align: left; color: var(--fg); }
.download-tile:hover { border-color: var(--brand); transform: translateY(-1px); color: var(--fg); }
.download-tile .os { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.download-tile .desc { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.download-tile .filename { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand); margin-top: auto; }
.download-tile .badge-soon { background: rgba(245, 158, 11, 0.15); color: #fcd34d; border: 1px solid rgba(245, 158, 11, 0.35); padding: 0.1rem 0.5rem; border-radius: 4px; font-size: 0.7rem; font-weight: 600; }
.download-meta { margin-top: 1.5rem; color: var(--muted); font-size: 0.85rem; }
.download-meta code { background: #0a0c12; padding: 0.1rem 0.4rem; border-radius: 3px; color: var(--fg); }
.install-walkthrough { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: rgba(245, 158, 11, 0.06); border: 1px solid rgba(245, 158, 11, 0.25); border-radius: var(--radius); }
.install-walkthrough h3 { font-family: var(--font-display); margin: 0 0 0.6rem; color: #fcd34d; font-size: 1rem; }
.install-walkthrough ol { color: var(--fg-soft); padding-left: 1.25rem; margin: 0; font-size: 0.92rem; line-height: 1.7; }
.install-walkthrough code { background: var(--bg); padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.88em; color: var(--fg); }
.install-walkthrough .muted-inline { color: var(--muted); font-size: 0.85em; }
.install-walkthrough a { color: var(--brand); }

/* ── Two-col explainer (Why offline) ────────────────────────────── */
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 768px) { .twocol { grid-template-columns: 1fr; } }
.twocol .text h2 { margin-top: 0; }
.twocol .panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; font-family: var(--font-mono); font-size: 0.88rem; line-height: 1.65; }
.twocol .panel ul { margin: 0; padding-left: 1.2rem; color: var(--fg-soft); }
.twocol .panel li { margin: 0.4rem 0; }
.twocol .panel li code { color: var(--brand); }

/* ── Tools family ───────────────────────────────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.tool-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; overflow: hidden; }
.tool-card.live { border-color: rgba(61, 108, 255, 0.4); }
.tool-card .status { position: absolute; top: 1rem; right: 1rem; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 4px; }
.tool-card.live .status { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }
.tool-card.roadmap .status { background: rgba(139, 145, 165, 0.12); color: var(--muted); border: 1px solid var(--line); }
.tool-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 0.4rem; padding-right: 4rem; }
.tool-card p { color: var(--fg-soft); margin: 0; font-size: 0.92rem; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 0.6rem; padding: 0; }
.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.2rem; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--fg-soft); }
.faq .answer code { color: var(--brand); background: var(--bg-soft); padding: 0.1rem 0.4rem; border-radius: 3px; font-size: 0.88em; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer.site { border-top: 1px solid var(--line); padding: 3rem 0 4rem; margin-top: 4rem; color: var(--muted); }
footer.site .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 768px) { footer.site .grid { grid-template-columns: 1fr 1fr; } }
footer.site .col h4 { font-family: var(--font-display); color: var(--fg); font-size: 0.9rem; margin: 0 0 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; }
footer.site .col a { display: block; padding: 0.25rem 0; color: var(--muted); font-size: 0.9rem; }
footer.site .col a:hover { color: var(--brand); }
footer.site .bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; }
