/* ==========================================================================
   Welmansec — site styles
   Light/dark via prefers-color-scheme. Hero and footer stay dark in both.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --text: #0b1220;
  --text-muted: #556079;
  --border: #e4e8f1;
  --link: #047857;
  --link-hover: #065f46;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.04), 0 12px 32px -12px rgba(11, 18, 32, 0.12);

  /* Brand gradient, tuned dark enough for white text */
  --grad: linear-gradient(120deg, #047857 0%, #0e7490 50%, #4338ca 100%);
  /* Brighter version for text and accents on dark backgrounds */
  --grad-bright: linear-gradient(100deg, #34d399 0%, #22d3ee 45%, #a78bfa 100%);

  /* One hue per product */
  --c-sec: #7c3aed;
  --c-desk: #d97706;
  --c-vpn: #0891b2;
  --c-erp: #2563eb;
  --c-mon: #db2777;
  --c-ok: #059669;

  /* Fixed dark surfaces (hero, contact band, footer) */
  --night: #060a18;
  --night-2: #0c1328;
  --night-text: #e8edf7;
  --night-muted: #9aa6bf;
  --night-border: rgba(255, 255, 255, 0.1);

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080d1a;
    --bg-alt: #0d1424;
    --surface: #111a2d;
    --text: #e8edf7;
    --text-muted: #98a3bb;
    --border: #1f2a42;
    --link: #34d399;
    --link-hover: #6ee7b7;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);

    --c-sec: #a78bfa;
    --c-desk: #fbbf24;
    --c-vpn: #22d3ee;
    --c-erp: #60a5fa;
    --c-mon: #f472b6;
    --c-ok: #34d399;
  }
}

.c-sec  { --c: var(--c-sec); }
.c-desk { --c: var(--c-desk); }
.c-vpn  { --c: var(--c-vpn); }
.c-erp  { --c: var(--c-erp); }
.c-mon  { --c: var(--c-mon); }
.c-ok   { --c: var(--c-ok); }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid #22d3ee; outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #047857; color: #fff;
  padding: 8px 14px; border-radius: var(--radius-sm); z-index: 200;
}
.skip-link:focus { left: 16px; top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--link);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

.grad-text {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lead { font-size: clamp(1.06rem, 1.8vw, 1.22rem); color: var(--text-muted); max-width: 40em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 0.97rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(2px); }

.btn-primary {
  background: var(--grad); background-size: 140% 100%; color: #fff;
  box-shadow: 0 8px 24px -10px rgba(14, 116, 144, 0.7);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 14px 30px -12px rgba(67, 56, 202, 0.7); }

.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--link); color: var(--link); }

.btn-glass {
  color: #fff; background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.32); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom-color: var(--border);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  transition: color 0.25s;
}
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; }
.is-scrolled .brand, .is-scrolled .brand:hover { color: var(--text); }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.78); text-decoration: none;
  font-size: 0.95rem; font-weight: 550;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: #fff; }
.is-scrolled .nav-links a:not(.btn) { color: var(--text-muted); }
.is-scrolled .nav-links a:not(.btn):hover { color: var(--text); }
.nav-links .btn { padding: 0.6em 1.15em; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius-sm);
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: #fff;
  align-items: center; justify-content: center;
}
.is-scrolled .nav-toggle { color: var(--text); background: var(--surface); border-color: var(--border); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(var(--header-h) - 4px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px 18px 18px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .site-header .nav-links li a:not(.btn) { display: block; padding: 12px 0; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 14px; width: 100%; }
}

/* ---------- Dark hero (shared by home and inner pages) ---------- */

.hero, .page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night);
  color: var(--night-text);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 22s ease-in-out infinite alternate; }
.blob-1 { width: 560px; height: 560px; left: -160px; top: -180px; background: #10b981; }
.blob-2 { width: 520px; height: 520px; right: -160px; top: -60px; background: #6366f1; animation-delay: -6s; animation-duration: 26s; }
.blob-3 { width: 420px; height: 420px; left: 35%; bottom: -260px; background: #06b6d4; opacity: 0.4; animation-delay: -12s; }
.blob-4 { width: 300px; height: 300px; right: 18%; bottom: -160px; background: #db2777; opacity: 0.28; animation-delay: -3s; animation-duration: 30s; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

.hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(72px, 9vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0.38em; }
.hero .lead { color: var(--night-muted); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px; margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem; font-weight: 550; color: #d6deef;
}
.badge b {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; color: #fff; background: var(--grad);
}

.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 2.25rem 0 0; padding: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 550; color: #cfd8ea;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
}
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
/* Hero chips use the bright dark-mode hues regardless of theme */
.hero .c-sec { --c: #a78bfa; } .hero .c-desk { --c: #fbbf24; } .hero .c-vpn { --c: #22d3ee; }
.hero .c-erp { --c: #60a5fa; } .hero .c-mon { --c: #f472b6; } .hero .c-ok { --c: #34d399; }

/* Live console mock */
.console-wrap { position: relative; }
.console-wrap::before {
  content: ""; position: absolute; inset: 10% 6% -6%; z-index: -1;
  background: var(--grad-bright); filter: blur(60px); opacity: 0.35; border-radius: 40px;
}
.console {
  background: rgba(13, 20, 40, 0.78);
  border: 1px solid var(--night-border);
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--night-border);
  background: rgba(255, 255, 255, 0.025);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.console-title { font-size: 0.85rem; font-weight: 650; color: #e2e8f5; flex: 1; }
.live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #6ee7b7; padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, 0.12);
}
.console-body { padding: 16px; display: grid; gap: 12px; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi {
  position: relative; overflow: hidden;
  padding: 12px 12px 11px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--night-border);
}
.kpi::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: var(--c); box-shadow: 0 0 12px var(--c); }
.kpi span { display: block; font-size: 0.68rem; color: var(--night-muted); line-height: 1.3; margin-bottom: 6px; }
.kpi strong { font-size: 1.2rem; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.kpi strong small { font-size: 0.72rem; font-weight: 550; color: var(--night-muted); }

.chart { padding: 12px 14px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--night-border); }
.chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.72rem; color: var(--night-muted); }
.chart-legend { display: inline-flex; gap: 12px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.bars i {
  flex: 1; height: 30%; border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #22d3ee, rgba(34, 211, 238, 0.25));
  transition: height 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bars i.hi { background: linear-gradient(180deg, #f472b6, rgba(167, 139, 250, 0.4)); }

.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--night-border);
  font-size: 0.8rem; color: #dbe3f2;
}
.feed li.enter { animation: feed-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.feed .tag {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent);
}
.feed span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed time { font-size: 0.7rem; color: var(--night-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.console .c-sec { --c: #a78bfa; } .console .c-desk { --c: #fbbf24; } .console .c-vpn { --c: #22d3ee; }
.console .c-erp { --c: #60a5fa; } .console .c-mon { --c: #f472b6; }

.console-note { margin: 12px 4px 0; font-size: 0.75rem; color: #6f7b95; text-align: right; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .console-wrap { max-width: 600px; }
}
@media (max-width: 520px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .chart-legend { display: none; }
}

/* Inner page hero */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.3em; }
.page-hero p { color: var(--night-muted); margin: 0; }
.page-hero .eyebrow { color: #6ee7b7; }

/* ---------- Marquee ---------- */

.marquee {
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 20px; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.marquee li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--c); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- Problem / solution ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card {
  border-radius: 20px;
  padding: clamp(26px, 3.5vw, 40px);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.compare-card.solution {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
}
.compare-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 1.1em; }
.compare-card h3 .ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
}
.compare-card h3 .ic svg { width: 20px; height: 20px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-card li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text-muted); }
.compare-card li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--c); }
.compare-card.problem { --c: #e11d48; }
@media (prefers-color-scheme: dark) { .compare-card.problem { --c: #fb7185; } }
.compare-card.solution { --c: var(--c-ok); }

@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */

/* Six-column grid: first row holds three cards, second row two wider cards */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.product {
  grid-column: span 2;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 28px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.product:nth-child(n+4) { grid-column: span 3; }
.product::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 30%, transparent));
}
.product::after {
  content: ""; position: absolute; z-index: -1;
  width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
  transition: transform 0.4s;
}
.product:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 45%, var(--border));
  box-shadow: 0 28px 50px -24px color-mix(in srgb, var(--c) 55%, transparent);
}
.product:hover::after { transform: scale(1.3); }

.product-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0b1220));
  box-shadow: 0 10px 22px -10px var(--c);
  margin-bottom: 20px;
}
.product-icon svg { width: 25px; height: 25px; }
.product h3 { margin-bottom: 0.2em; }
.product-tag { display: block; font-size: 0.8rem; font-weight: 700; color: var(--c); margin-bottom: 0.9em; letter-spacing: 0.01em; }
.product p { color: var(--text-muted); font-size: 0.97rem; margin: 0 0 18px; }
.product ul { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 8px; }
.product li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 0.92rem; color: var(--text-muted); }
.product li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--c); }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .product, .product:nth-child(n+4) { grid-column: span 1; }
  .product:last-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .products { grid-template-columns: 1fr; } }

.products-cta {
  margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
}
.products-cta span { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Platform (better together) ---------- */

.platform { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.flows { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.flow {
  padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.flow-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.flow-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent);
}
.flow-path svg { width: 16px; height: 16px; color: var(--text-muted); }
.flow p { margin: 0; font-size: 0.93rem; color: var(--text-muted); }

.hub { width: 100%; max-width: 520px; margin: 0 auto; }
.hub .ring { fill: none; stroke: var(--border); stroke-width: 1.5; stroke-dasharray: 4 6; }
.hub .ring-2 { fill: none; stroke: var(--border); stroke-width: 1; }
.hub .spoke { stroke: var(--c); stroke-width: 2; stroke-dasharray: 6 8; opacity: 0.55; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.hub .node-bg { fill: var(--surface); stroke: var(--c); stroke-width: 2; }
.hub .node-glow { fill: var(--c); opacity: 0.14; }
.hub .node-icon { color: var(--c); }
.hub .label { fill: var(--text); font-family: var(--font); font-size: 14px; font-weight: 700; text-anchor: middle; }
.hub .packet { fill: var(--c); }
.hub .core-text { fill: #fff; font-family: var(--font); font-size: 12px; font-weight: 700; text-anchor: middle; letter-spacing: 0.04em; }
.hub-spin { transform-origin: 260px 260px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) { .platform { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--c-ok), var(--c-vpn), var(--c-erp), var(--c-sec));
  opacity: 0.45;
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num {
  position: relative; z-index: 1;
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #0b1220));
  box-shadow: 0 0 0 6px var(--bg-alt), 0 12px 26px -10px var(--c);
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-num { margin: 0; grid-row: span 2; }
}

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-grid p { color: var(--text-muted); font-size: 1.05rem; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fact {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.fact:hover { transform: translateX(4px); border-color: color-mix(in srgb, var(--c) 45%, var(--border)); }
.fact .ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
}
.fact svg { width: 22px; height: 22px; }
.fact strong { display: block; font-size: 1.02rem; }
.fact span { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Contact band ---------- */

.contact-band {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 28px;
  background: var(--night);
  color: var(--night-text);
  padding: clamp(36px, 6vw, 72px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 56px); align-items: center;
}
.contact-band .blob { opacity: 0.5; }
.contact-band .blob-1 { width: 420px; height: 420px; left: -120px; top: -200px; }
.contact-band .blob-2 { width: 420px; height: 420px; right: -140px; bottom: -220px; top: auto; }
.contact-band h2 { color: #fff; }
.contact-band .eyebrow { color: #6ee7b7; }
.contact-band .lead { color: var(--night-muted); margin-bottom: 1.75rem; }
.contact-methods { display: grid; gap: 14px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: 16px;
  text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
}
.contact-method:hover { color: #fff; transform: translateY(-2px); background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.25); }
.contact-method .ic {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: #fff; background: var(--grad);
}
.contact-method svg { width: 22px; height: 22px; }
.contact-method span { display: block; font-size: 0.82rem; color: var(--night-muted); }
.contact-method strong { font-weight: 650; font-size: 1.05rem; word-break: break-word; }
.contact-method .arrow { margin-left: auto; width: 20px; height: 20px; color: var(--night-muted); flex: none; }

@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: var(--night-muted); font-size: 0.93rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-bright); opacity: 0.7; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 30em; margin: 0; }
.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin: 6px 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--night-muted); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 22px 0 30px; border-top: 1px solid var(--night-border); font-size: 0.86rem;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal (only when JS is running) ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */

.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 104px); }
.legal .container { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.4em; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: 0.45em; }
.legal li::marker { color: var(--link); }

.toc {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 2rem;
}
.toc strong { display: block; margin-bottom: 10px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 5px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ol { columns: 1; } }

.callout {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  padding: 18px 22px; border-radius: var(--radius);
  margin: 0 0 1.75em;
  box-shadow: var(--shadow);
}
.callout p { color: var(--text); margin: 0; }

.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--border); }
.legal th { color: var(--text); font-weight: 700; background: var(--bg-alt); }
.legal td { color: var(--text-muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 1.5em; }
.table-wrap table { margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hub .packet { display: none; }
}
