/* ==========================================================================
   Warden marketing site — design tokens
   ========================================================================== */

:root {
  /* Tokens mirror lib/core/theme/app_colors.dart (AppColors.dark) exactly,
     so every mock screen on this site matches the real running app. */
  --bg: #0b0d10;
  --bg-elevated: #1a1e25;
  --bg-card: #13161b;
  --bg-card-hover: #20242c;
  --border: #262b33;
  --border-strong: #343b46;
  --text: #edeff2;
  --text-dim: #a4acb8;
  --text-faint: #6b7280;
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --accent-muted: #46317a;
  --accent-dim: #2f2158;
  --accent-glow: rgba(139, 92, 246, 0.35);
  --chart-memory: #4c8dff;
  --green: #34c77b;
  --amber: #e8a33d;
  --red: #e5484d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
}

::selection {
  background: var(--accent-dim);
  color: #fff;
}

/* background texture shared across the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(56, 212, 123, 0.08), transparent 55%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 1200px 800px at 50% 0%, black, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 1200px 800px at 50% 0%, black, transparent 70%);
}

/* ==========================================================================
   Reveal-on-scroll utility
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.03s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.09s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.15s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.21s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.27s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.33s; }

/* ==========================================================================
   Buttons + pills
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 10px 30px -8px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 38px -6px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 13.5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-bright);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.pill.pill-green { background: rgba(56, 212, 123, 0.12); color: var(--green); border-color: rgba(56, 212, 123, 0.28); }
.pill.pill-amber { background: rgba(240, 177, 65, 0.12); color: var(--amber); border-color: rgba(240, 177, 65, 0.28); }
.pill.pill-neutral { background: rgba(255,255,255,0.06); color: var(--text-dim); border-color: var(--border-strong); }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding: 11px 0;
  background: rgba(6, 8, 13, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 4px 14px rgba(139, 92, 246, 0.45));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--text-dim);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--accent-bright);
  transition: right 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 190px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.28), transparent 65%);
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero-content {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 750;
}

.hero h1 .grad {
  background: linear-gradient(96deg, var(--accent-bright) 10%, #c4b5fd 55%, var(--accent-bright) 95%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}

@keyframes shine {
  to { background-position: -220% 0; }
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-meta {
  font-size: 13px;
  color: var(--text-faint);
}

.hero-meta code {
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: "SFMono-Regular", Consolas, monospace;
  color: var(--text-dim);
}

/* hero visual: mock dashboard window */
.hero-visual {
  margin-top: 72px;
  perspective: 1600px;
}

.mock-window {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
  box-shadow: var(--shadow-card), 0 60px 120px -40px rgba(139, 92, 246, 0.18);
  overflow: hidden;
  animation: float-window 7s ease-in-out infinite;
}

@keyframes float-window {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Warden runs with the OS's own Windows title bar (TitleBarStyle.normal) —
   no custom traffic-light chrome — so the mock mirrors that: icon + label
   on the left, minimize/maximize/close glyphs on the right. */
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 14px;
  height: 36px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.mock-titlebar .win-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.mock-titlebar span.label {
  font-size: 12px;
  color: var(--text-faint);
}

.mock-titlebar .win-controls {
  margin-left: auto;
  display: flex;
  align-self: stretch;
}

.mock-titlebar .win-controls span {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
}

.mock-titlebar .win-controls span svg { width: 10px; height: 10px; }

.mock-titlebar .win-controls span.win-close:hover { background: var(--red); color: #fff; }

.mock-body {
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 420px;
}

.mock-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.mock-sidebar .mock-sb-header {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mock-sidebar .mock-sb-header .mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
}

.mock-sidebar .mock-nav {
  flex: 1;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-sidebar .mock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mock-sidebar .mock-item:not(.active):hover {
  background: var(--bg-card-hover);
  color: var(--text);
}

.mock-sidebar .mock-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.mock-sidebar .mock-item.active {
  background: rgba(139, 92, 246, 0.4);
  color: var(--text);
  font-weight: 600;
}

.mock-sidebar .mock-item.active svg { color: var(--accent); }

.mock-sidebar .mock-sb-footer {
  border-top: 1px solid var(--border);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-faint);
}

.mock-sidebar .mock-sb-footer svg { width: 13px; height: 13px; }

.mock-main {
  padding: 20px 22px;
}

.mock-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.mock-tabs.is-hidden {
  display: none;
}

.mock-tab {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--text-faint);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
}

.mock-tab.active {
  color: #ffffff;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  border-color: transparent;
}

.mock-tab {
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mock-tab:not(.active):hover {
  color: var(--text-dim);
  border-color: var(--border-strong);
}

.mock-tab b { font-weight: 600; opacity: 0.75; margin-left: 3px; }
.mock-tab.active b { opacity: 0.9; }

@keyframes spin { to { transform: rotate(360deg); } }

.mock-panel {
  display: none;
}

.mock-panel.active {
  display: block;
  animation: panel-in 0.4s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mock-chart {
  height: 190px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(139,92,246,0.06), transparent);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.mock-chart svg { width: 100%; height: 100%; }

.mock-chart-path {
  fill: none;
  stroke: var(--accent-bright);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-chart 2.4s var(--ease) 0.4s forwards;
  filter: drop-shadow(0 0 8px rgba(139,92,246,0.5));
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

.mock-chart-fill {
  opacity: 0;
  animation: fade-in 1s ease 1.6s forwards;
}

@keyframes fade-in { to { opacity: 1; } }

.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}

.mock-row .swatch {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
}

.mock-row .meta {
  flex: 1;
  min-width: 0;
}

.mock-row .meta .name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
}

.mock-row .meta .sub {
  font-size: 11px;
  color: var(--text-faint);
}

.mock-row .bar-track {
  width: 90px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.mock-row .bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transform-origin: left;
  transform: scaleX(0);
  animation: grow-bar 1.2s var(--ease) forwards;
}

@keyframes grow-bar { to { transform: scaleX(1); } }

/* Process Explorer mock — a real table + selection + detail pane, distinct
   from the Dashboard's chart-and-rows look, so switching to the Processes
   tab actually looks like the Processes screen. */
.mock-proc {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.012);
}

.mock-proc-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.mock-proc-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--text-faint);
}

.mock-proc-search svg { width: 13px; height: 13px; flex-shrink: 0; }

.mock-proc-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  flex-shrink: 0;
}

.mock-proc-icon-btn svg { width: 14px; height: 14px; }

.mock-proc-head {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.9fr;
  padding: 8px 14px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}

.mock-proc-head span { display: flex; align-items: center; gap: 4px; }
.mock-proc-head span svg { width: 10px; height: 10px; color: var(--accent-bright); }

.mock-proc-row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.9fr;
  align-items: center;
  padding: 9px 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  border-left: 2px solid transparent;
  transition: background 0.2s var(--ease);
}

.mock-proc-row:hover { background: rgba(139, 92, 246, 0.05); }

.mock-proc-row.selected {
  background: rgba(139, 92, 246, 0.14);
  border-left-color: var(--accent);
}

.mock-proc-row .accent { color: var(--accent-bright); font-weight: 600; }

.mock-proc-name {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 600;
  min-width: 0;
}

.mock-proc-name .ico {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
}

.mock-proc-detail {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 14px;
  background: var(--bg-elevated);
}

.mock-proc-detail .row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}

.mock-proc-detail .row span { color: var(--text-faint); }
.mock-proc-detail .row b { font-size: 12.5px; color: var(--text); font-variant-numeric: tabular-nums; }

.mock-proc-kill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(229, 72, 77, 0.35);
  background: rgba(229, 72, 77, 0.12);
  color: #f0868a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mock-proc-kill svg { width: 13px; height: 13px; }

.mock-net-open {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mock-net-open svg { width: 13px; height: 13px; }

.mock-net-top {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 4px 20px;
}

.mock-net-gauge {
  width: 92px;
  height: 92px;
  position: relative;
  flex-shrink: 0;
}

.mock-net-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mock-net-gauge circle.track { stroke: rgba(255, 255, 255, 0.06); }
.mock-net-gauge circle.value {
  stroke: var(--amber);
  stroke-linecap: round;
  stroke-dashoffset: 264;
  filter: drop-shadow(0 0 6px rgba(232, 163, 61, 0.55));
  transition: stroke-dashoffset 1.4s var(--ease);
}

.mock-net-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mock-net-gauge-center .num { font-size: 17px; font-weight: 700; color: var(--text); }
.mock-net-gauge-center .unit { font-size: 10px; color: var(--text-faint); }

.mock-net-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-net-stats .stat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
}

.mock-net-stats .stat svg { width: 15px; height: 15px; color: var(--accent-bright); flex-shrink: 0; }
.mock-net-stats .stat .lbl { color: var(--text-faint); flex: 1; }
.mock-net-stats .stat .v { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.mock-row .val {
  font-size: 12px;
  color: var(--text-dim);
  width: 40px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* social proof strip */
.proof-strip {
  padding: 30px 0 10px;
}

.proof-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.7;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.proof-item svg { width: 16px; height: 16px; opacity: 0.8; }

/* ==========================================================================
   Section shell
   ========================================================================== */

.section {
  padding: 116px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 15%, rgba(255,255,255,0.015) 85%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 48px;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16.5px;
  line-height: 1.65;
}

/* ==========================================================================
   Feature grid (Dashboard / features overview)
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(139,92,246,0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.35);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 50px -24px rgba(139,92,246,0.35);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, rgba(139,92,246,0.22), rgba(139,92,246,0.05));
  border: 1px solid rgba(139,92,246,0.25);
  color: var(--accent-bright);
  margin-bottom: 18px;
  transition: transform 0.35s var(--ease);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-icon svg { width: 21px; height: 21px; }

.feature-card h3 {
  font-size: 16.5px;
  margin: 0 0 9px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Alternating showcase rows
   ========================================================================== */

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.showcase + .showcase {
  margin-top: 130px;
}

.showcase.reverse .showcase-text { order: 2; }
.showcase.reverse .showcase-visual { order: 1; }

.showcase-text h2 {
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  line-height: 1.18;
}

.showcase-text p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text);
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green);
}

.showcase-visual {
  position: relative;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
  transition: transform 0.4s var(--ease);
}

.showcase-visual:hover .panel {
  transform: translateY(-4px);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.panel-head .title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dim);
}

/* mini gauge for temperature/latency-like visuals */
.gauge-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gauge {
  width: 120px;
  height: 120px;
  position: relative;
  flex-shrink: 0;
}

.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }

.gauge circle.track { stroke: rgba(255,255,255,0.06); }

.gauge circle.value {
  stroke: var(--accent-bright);
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 314;
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.6));
  transition: stroke-dashoffset 1.4s var(--ease);
}

.gauge .gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gauge .gauge-center .num {
  font-size: 22px;
  font-weight: 700;
}

.gauge .gauge-center .unit {
  font-size: 11px;
  color: var(--text-faint);
}

/* rule row visuals */
.rule-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  background: rgba(255,255,255,0.015);
}

.rule-row:last-child { margin-bottom: 0; }

.rule-row .rule-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rule-row .rule-icon.blocked { background: rgba(240,85,95,0.14); color: var(--red); }
.rule-row .rule-icon.monitor { background: rgba(240,177,65,0.14); color: var(--amber); }
.rule-row .rule-icon.allowed { background: rgba(56,212,123,0.14); color: var(--green); }

.rule-row .rule-icon svg { width: 15px; height: 15px; }

.rule-row .meta { flex: 1; min-width: 0; }

/* Tweaks mock — mirrors the real screen: a stat-tile row, a search/action
   toolbar, category chips, a section header per group, and a card grid
   (icon + toggle + description + status badges), not a settings table. */
.mock-tweak-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.mock-tweak-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.015);
}

.mock-tweak-stat .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-tweak-stat .ico svg { width: 15px; height: 15px; }
.mock-tweak-stat .num { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.15; }
.mock-tweak-stat .lbl { font-size: 10px; color: var(--text-faint); }

.mock-tweak-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill.pill-accent { background: var(--accent); color: #fff; border-color: var(--accent); }

.mock-tweak-section {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-faint);
}

.mock-tweak-section b { color: var(--text); font-weight: 600; font-size: 13px; }

.mock-tweak-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mock-tweak-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.015);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mock-tweak-card .top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mock-tweak-card .left { display: flex; gap: 9px; align-items: flex-start; min-width: 0; }

.mock-tweak-card .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.14);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-tweak-card .icon svg { width: 13px; height: 13px; }
.mock-tweak-card .name { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }
.mock-tweak-card .desc { font-size: 10.5px; color: var(--text-faint); line-height: 1.45; }

.mock-tweak-card .footer {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 2px;
}

.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 0;
}

.mock-badge svg { width: 10px; height: 10px; }
.mock-badge.immediate { color: var(--green); }
.mock-badge.applied { color: var(--accent-bright); }
.mock-badge.admin { color: var(--amber); }

.mock-toggle {
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  position: relative;
  flex-shrink: 0;
}

.mock-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: left 0.2s var(--ease);
}

.mock-toggle.on { background: rgba(139, 92, 246, 0.35); }
.mock-toggle.on::after { left: 15px; background: var(--accent-bright); }
.rule-row .meta .name { font-size: 13px; font-weight: 600; }

/* Shared mock-screen components reused across Dashboard/Processes/Network/
   Applications/Cleanup/Rules/Privacy/Events/Clipboard/Settings, matching
   the real app's own info banners, checkboxes, and settings rows. */
.pill.pill-red { background: rgba(240, 85, 95, 0.12); color: var(--red); border-color: rgba(240, 85, 95, 0.28); }

.mock-banner {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 10.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.mock-banner svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; }
.mock-banner.info { background: rgba(76, 141, 255, 0.08); color: #a9c2ec; border: 1px solid rgba(76, 141, 255, 0.22); }
.mock-banner.warn { background: rgba(240, 177, 65, 0.08); color: #e0c088; border: 1px solid rgba(240, 177, 65, 0.22); }

.mock-checkbox {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.mock-checkbox.checked { background: var(--accent); border-color: var(--accent); }
.mock-checkbox svg { width: 9px; height: 9px; }

.mock-settings-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
}

.mock-settings-row:last-child { border-bottom: none; }

.mock-settings-row .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-settings-row .ico svg { width: 14px; height: 14px; }
.mock-settings-row .meta { flex: 1; min-width: 0; }
.mock-settings-row .meta .name { font-size: 12.5px; font-weight: 600; color: var(--text); }
.mock-settings-row .meta .sub { font-size: 10.5px; color: var(--text-faint); margin-top: 1px; }
.mock-settings-row .control { flex-shrink: 0; display: flex; gap: 6px; }

.mock-section-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 16px 0 8px;
}

.mock-section-label:first-child { margin-top: 0; }
.rule-row .meta .sub { font-size: 11.5px; color: var(--text-faint); }

/* three-column alert cards */
.alert-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.alert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.alert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.3);
}

.alert-card .badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139,92,246,0.12);
  color: var(--accent-bright);
}

.mini-icon svg { width: 16px; height: 16px; }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--green);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}

.alert-card h4 {
  font-size: 15px;
  margin: 0 0 8px;
}

.alert-card p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Process / signature explorer mock table
   ========================================================================== */

.proc-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.proc-table .proc-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 12px 20px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}

.proc-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  transition: background 0.2s var(--ease);
}

.proc-row:last-child { border-bottom: none; }

.proc-row:hover {
  background: rgba(139,92,246,0.05);
}

.proc-row .proc-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.proc-row .proc-name .ico {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
}

.proc-row .proc-name .txt .n {
  font-weight: 600;
  font-size: 13.5px;
}

.proc-row .proc-name .txt .p {
  font-size: 11.5px;
  color: var(--text-faint);
}

.sig-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
}

.sig-badge.verified { background: rgba(56,212,123,0.12); color: var(--green); }
.sig-badge.unsigned { background: rgba(240,85,95,0.12); color: var(--red); }

.sig-badge svg { width: 11px; height: 11px; }

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-cell {
  background: var(--bg-card);
  padding: 34px 26px;
  text-align: center;
}

.stat-cell .num {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff, var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-cell .label {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ==========================================================================
   Story / why section
   ========================================================================== */

.story {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.story p {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.75;
}

.story p + p { margin-top: 18px; }

.story strong { color: var(--text); }

/* ==========================================================================
   Get Warden / CTA
   ========================================================================== */

.get-warden {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(139,92,246,0.1), rgba(185,141,255,0.06) 60%, transparent);
  padding: 64px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.get-warden::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.2), transparent 65%);
  pointer-events: none;
}

.get-warden h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.get-warden p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.get-warden-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 12.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-credit:hover { color: var(--text-dim); }

.footer-credit-mark {
  height: 22px;
  width: auto;
  mix-blend-mode: screen;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-socials a:hover {
  color: var(--accent-bright);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-socials svg { width: 15px; height: 15px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 40px; }
  .showcase.reverse .showcase-text,
  .showcase.reverse .showcase-visual { order: initial; }
  .alert-cols { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-sidebar { display: none; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .hero { padding: 150px 0 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .proc-head, .proc-row { grid-template-columns: 1.6fr 1fr; }
  .proc-head span:nth-child(3), .proc-head span:nth-child(4),
  .proc-row .col-3, .proc-row .col-4 { display: none; }
  .get-warden { padding: 44px 24px; }
}

/* ---- Microsoft Store badge ---- */
.store-badge { display: inline-flex; align-items: center; line-height: 0; border-radius: 6px; transition: transform .15s ease, opacity .15s ease; }
.store-badge:hover { transform: translateY(-2px); opacity: .92; }
.store-badge img { display: block; width: auto; }
.hero-actions .store-badge img { height: 44px; }
.store-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin: 6px 0 4px; }
.store-open { font-size: .9rem; opacity: .8; text-decoration: underline; }
.store-open:hover { opacity: 1; }
.get-warden-or { margin: 18px 0 10px; font-size: .85rem; opacity: .6; }
