/* ==========================================================================
   SOC SupportIT — design tokens
   ========================================================================== */
:root{
  --bg: #0a0d12;
  --bg-1: #0d1117;
  --surface: #121722;
  --surface-2: #171e2b;
  --surface-3: #1c2433;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.14);
  --text: #eef1f6;
  --text-muted: #9aa4b6;
  --text-faint: #66708a;

  --red: #e83636;
  --red-light: #ff6259;
  --red-dark: #b91f24;
  --red-glow: rgba(232,54,54,.35);

  --green: #2fd97f;
  --amber: #f5b23c;

  --font-head: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 40px -24px rgba(0,0,0,.6);
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5{ font-family: var(--font-head); font-weight:600; line-height:1.15; margin:0 0 .5em; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
address{ font-style: normal; }
button{ font-family: inherit; cursor:pointer; }
svg{ display:block; }

.skip-link{
  position:absolute; left:-999px; top:0; z-index:1000;
  background:var(--red); color:#fff; padding:12px 18px; border-radius:0 0 10px 0;
}
.skip-link:focus{ left:0; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container{ width:100%; max-width:1240px; margin:0 auto; padding:0 24px; }
.section{ position:relative; padding:120px 0; }
.section--alt{ background: linear-gradient(180deg, transparent, rgba(255,255,255,.015) 15%, rgba(255,255,255,.015) 85%, transparent); }
.section-head{ max-width:720px; margin:0 auto 64px; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.lead{ color: var(--text-muted); font-size:1.08rem; }
.section-head .lead{ margin: 0 auto; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head); font-weight:600; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color: var(--red-light);
  margin: 0 0 16px;
}
.text-accent{ color: var(--red-light); }

.pulse-dot{
  width:8px; height:8px; border-radius:50%; background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: pulse-ring 2.2s infinite;
}
@keyframes pulse-ring{
  0%{ box-shadow: 0 0 0 0 rgba(232,54,54,.55); }
  70%{ box-shadow: 0 0 0 9px rgba(232,54,54,0); }
  100%{ box-shadow: 0 0 0 0 rgba(232,54,54,0); }
}

/* ==========================================================================
   Background FX
   ========================================================================== */
.bg-fx{ position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.bg-grid{
  position:absolute; inset:-2px;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 40%, transparent 85%);
}
.bg-glow{ position:absolute; border-radius:50%; filter: blur(90px); opacity:.35; }
.bg-glow--1{ width:640px; height:640px; top:-220px; left:-160px; background: radial-gradient(circle, var(--red) 0%, transparent 70%); }
.bg-glow--2{ width:560px; height:560px; top:280px; right:-220px; background: radial-gradient(circle, #3b4a8f 0%, transparent 70%); opacity:.22; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: sticky; top:0; z-index:100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled{
  background: rgba(10,13,18,.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner{ display:flex; align-items:center; gap:24px; height:76px; }

.brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand-logo{ height:32px; width:auto; display:block; }
.brand-suffix{ font-family: var(--font-head); font-weight:700; font-size:1.6rem; letter-spacing:-.02em; }
.brand-suffix .dot{ color: var(--red); }

.main-nav ul{ display:flex; gap:6px; }
.main-nav a{
  display:inline-block; padding:9px 14px; border-radius:8px;
  font-size:.92rem; font-weight:500; color: var(--text-muted);
  transition: color .2s, background-color .2s;
}
.main-nav a:hover{ color: var(--text); background: rgba(255,255,255,.05); }
.main-nav a.is-active{ color: var(--text); background: rgba(232,54,54,.12); }

.header-cta{ display:flex; }

.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:40px; height:40px; border-radius:8px; border:1px solid var(--border);
  background: var(--surface); padding:0;
}
.nav-toggle span{ display:block; width:18px; height:2px; margin:0 auto; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none; position:fixed; inset: 76px 0 0 0; z-index:99;
  background: rgba(9,11,15,.98); backdrop-filter: blur(10px);
  padding: 24px 24px 32px; overflow-y:auto;
  transform: translateY(-8px); opacity:0; pointer-events:none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-nav.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-nav ul{ display:flex; flex-direction:column; gap:2px; margin-bottom:24px; }
.mobile-nav a{ display:block; padding:14px 4px; font-size:1.05rem; border-bottom:1px solid var(--border); color: var(--text); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:.94rem; padding:13px 22px; border-radius:11px;
  border:1px solid transparent; white-space:nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg{ transition: transform .2s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }
.btn-primary{
  background: linear-gradient(135deg, var(--red-light), var(--red) 60%, var(--red-dark));
  color:#fff; box-shadow: 0 10px 24px -10px rgba(232,54,54,.65);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(232,54,54,.8); }
.btn-ghost{ background: rgba(255,255,255,.03); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover{ background: rgba(255,255,255,.07); transform: translateY(-2px); }
.btn-sm{ padding:9px 16px; font-size:.86rem; }
.btn-lg{ padding:16px 28px; font-size:1rem; }
.btn-block{ display:flex; width:100%; margin-top:8px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{ position:relative; padding: 76px 0 0; overflow:hidden; }
.hero-canvas{ position:absolute; inset:0; width:100%; height:100%; opacity:.55; }
.hero-inner{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1.05fr .95fr; gap:56px; align-items:center;
  padding: 76px 0 90px;
}
.hero-copy h1{ font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom:.45em; }
.hero-lead{ color: var(--text-muted); font-size:1.12rem; max-width:56ch; margin-bottom:0; }

.hero-panel{ position:relative; }
.panel-card{
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border:1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding:20px; box-shadow: var(--shadow-card), 0 0 80px -30px var(--red-glow);
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
}
.panel-card-head{ display:flex; align-items:center; gap:8px; padding-bottom:14px; margin-bottom:12px; border-bottom:1px solid var(--border); }
.panel-dot{ width:9px; height:9px; border-radius:50%; }
.panel-dot--red{ background:#ff5f57; } .panel-dot--amber{ background:#febc2e; } .panel-dot--green{ background:#28c840; }
.panel-title{ margin-left:8px; font-size:.82rem; color: var(--text-muted); font-weight:600; }
.panel-row{
  display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center;
  padding:10px 10px; border-radius:10px; margin-bottom:6px; background: rgba(255,255,255,.02);
  animation: rowIn .5s var(--ease) both;
}
.panel-row:nth-child(2){ animation-delay:.15s; }
.panel-row:nth-child(3){ animation-delay:.35s; }
.panel-row:nth-child(4){ animation-delay:.55s; }
.panel-row:nth-child(5){ animation-delay:.75s; }
@keyframes rowIn{ from{ opacity:0; transform: translateX(10px);} to{ opacity:1; transform:none; } }
.panel-tag{ font-size:.68rem; font-weight:700; letter-spacing:.03em; padding:4px 8px; border-radius:6px; text-transform:uppercase; }
.panel-tag--crit{ background: rgba(232,54,54,.18); color:#ff8a84; }
.panel-tag--ok{ background: rgba(47,217,127,.16); color: var(--green); }
.panel-tag--warn{ background: rgba(245,178,60,.16); color: var(--amber); }
.panel-text{ font-size:.82rem; color: var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.panel-row--resolved .panel-text{ color: var(--text); }
.panel-time{ font-size:.72rem; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.panel-foot{ display:flex; gap:18px; margin-top:16px; padding-top:14px; border-top:1px solid var(--border); }
.mini-stat{ display:flex; flex-direction:column; }
.mini-stat strong{ font-family: var(--font-head); font-size:1.15rem; }
.mini-stat span{ font-size:.72rem; color: var(--text-faint); }

.hero-stats{ position:relative; z-index:2; border-top:1px solid var(--border); background: rgba(255,255,255,.015); }
.hero-stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); }
.hero-stat{
  display:flex; flex-direction:column; align-items:center; gap:4px; text-align:center;
  padding:26px 12px; border-right:1px solid var(--border);
}
.hero-stat:last-child{ border-right:none; }
.hero-stat strong{ font-family: var(--font-head); font-size:1.7rem; color: var(--text); }
.hero-stat span{ font-size:.82rem; color: var(--text-muted); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
.reveal-group .reveal:nth-child(1){ transition-delay:.02s; }
.reveal-group .reveal:nth-child(2){ transition-delay:.09s; }
.reveal-group .reveal:nth-child(3){ transition-delay:.16s; }
.reveal-group .reveal:nth-child(4){ transition-delay:.23s; }
.reveal-group .reveal:nth-child(5){ transition-delay:.30s; }
.reveal-group .reveal:nth-child(6){ transition-delay:.37s; }
.reveal-group .reveal:nth-child(7){ transition-delay:.44s; }
.reveal-group .reveal:nth-child(8){ transition-delay:.51s; }
.reveal-group .reveal:nth-child(9){ transition-delay:.58s; }
.reveal-group .reveal:nth-child(10){ transition-delay:.65s; }

/* ==========================================================================
   Stat cards
   ========================================================================== */
.stat-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; margin-bottom:56px; }
.stat-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:26px 22px; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), border-color .3s;
}
.stat-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.stat-number{
  display:block; font-family: var(--font-head); font-weight:700;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--red-light); margin-bottom:10px;
  font-variant-numeric: tabular-nums;
}
.stat-label{ color: var(--text-muted); font-size:.92rem; }
.stat-label strong{ color: var(--text); }
.stat-source{ display:block; margin-top:12px; padding-top:10px; border-top:1px solid var(--border); font-size:.72rem; color: var(--text-faint); text-decoration:none; }
.stat-source:hover{ color: var(--red-light); }

.reg-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.reg-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:28px; transition: transform .3s var(--ease), border-color .3s;
}
.reg-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.4); }
.reg-icon{
  width:52px; height:52px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: rgba(232,54,54,.1); color: var(--red-light); margin-bottom:16px;
}
.reg-card h3{ font-size:1.15rem; margin-bottom:.4em; }
.reg-card p{ color: var(--text-muted); font-size:.92rem; margin:0; }

/* ==========================================================================
   Edge / differentiator cards
   ========================================================================== */
.edge-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.edge-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:26px; position:relative; overflow:hidden;
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.edge-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.35); background: var(--surface-2); }
.edge-card--feature{ background: linear-gradient(160deg, rgba(232,54,54,.14), var(--surface) 65%); border-color: rgba(232,54,54,.3); grid-column: span 2; }
.edge-num{ display:block; font-family: var(--font-head); font-weight:700; color: var(--red); opacity:.55; font-size:1.3rem; margin-bottom:10px; }
.edge-card h3{ font-size:1.02rem; margin-bottom:.5em; }
.edge-card p{ color: var(--text-muted); font-size:.9rem; margin:0; }
.edge-card--quote{
  grid-column: span 4; display:flex; flex-direction:column; justify-content:center;
  background: var(--surface-2); border-style:dashed;
}
.quote-mark{ color: var(--red); opacity:.6; margin-bottom:10px; }
.edge-card--quote p{ font-family: var(--font-head); font-size:1.05rem; color: var(--text); font-weight:500; line-height:1.4; }

/* ==========================================================================
   Flow (model usługi)
   ========================================================================== */
.flow{ display:flex; align-items:stretch; gap:8px; margin-bottom:70px; }
.flow-step{
  flex:1; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:28px; transition: transform .3s var(--ease), border-color .3s;
}
.flow-step:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.35); }
.flow-icon{
  width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: rgba(232,54,54,.1); color: var(--red-light); margin-bottom:16px;
}
.flow-step h3{ font-size:1.1rem; }
.flow-step p{ color: var(--text-muted); font-size:.92rem; margin:0; }
.flow-arrow{ display:flex; align-items:center; justify-content:center; color: var(--text-faint); flex:0 0 40px; }
.flow-arrow svg{ transition: transform .2s; }

/* ==========================================================================
   Architecture diagram
   ========================================================================== */
.architecture{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px clamp(16px,4vw,40px);
}
.arch-title{ font-size:1.5rem; margin-bottom:24px; }
.arch-diagram{ overflow-x:auto; }
.arch-svg{ width:100%; min-width:720px; height:auto; display:block; }
.arch-box{ fill: var(--surface-3); stroke: var(--border-strong); stroke-width:1; }
.arch-box--probe{ fill: rgba(232,54,54,.14); stroke: var(--red); }
.arch-box--out{ fill: rgba(47,217,127,.08); stroke: rgba(47,217,127,.4); }
.arch-box-text{ fill: var(--text); font-size:13px; font-weight:600; }
.arch-lines{ stroke: var(--border-strong); }
.arch-outputs{ stroke: rgba(47,217,127,.35); }
.arch-flow-lines path{ stroke-dasharray: 6 10; animation: dashMove 2.6s linear infinite; }
.arch-particle{ fill: var(--red-light); filter: drop-shadow(0 0 4px rgba(255,98,89,.9)); }
.arch-particle--green{ fill: #5cf0a4; filter: drop-shadow(0 0 4px rgba(47,217,127,.9)); }
@keyframes dashMove{ to{ stroke-dashoffset: -160; } }
.arch-hub{ fill: url(#flowGrad); fill-opacity:.12; stroke: var(--red); stroke-width:1.6; }
.arch-hub--team{ stroke: rgba(47,217,127,.6); }
.arch-hub-ring{ fill:none; stroke: rgba(232,54,54,.35); stroke-width:1; stroke-dasharray:2 6; animation: spin 18s linear infinite; transform-origin: 60px 40px; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.arch-hub-text{ fill: var(--text); font-size:14px; font-weight:700; font-family: var(--font-head); }
.arch-hub-text--sub{ fill: var(--text-muted); font-size:11px; font-weight:500; font-family: var(--font-body); }
.arch-caption{ color: var(--text-muted); font-size:.92rem; margin: 24px 0 0; max-width:80ch; }

/* ==========================================================================
   Tabs (warianty)
   ========================================================================== */
.tabs-nav{ position:relative; display:flex; gap:4px; background: var(--surface); border:1px solid var(--border); border-radius:14px; padding:6px; margin-bottom:32px; }
.tab-btn{
  flex:1; position:relative; z-index:2; background:transparent; border:none; color: var(--text-muted);
  font-family: var(--font-head); font-weight:600; font-size:.92rem; padding:13px 12px; border-radius:10px;
  transition: color .25s;
}
.tab-btn.is-active{ color:#fff; }
.tab-indicator{
  position:absolute; top:6px; left:6px; height: calc(100% - 12px); width: calc(33.333% - 4px);
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
  border-radius:10px; transition: transform .35s var(--ease); z-index:1;
  box-shadow: 0 8px 20px -8px rgba(232,54,54,.6);
}
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(10px);} to{opacity:1; transform:none;} }
.tab-panel-grid{ display:grid; grid-template-columns: 1.3fr 1fr; gap:40px; align-items:start; }
.tab-panel h3{ font-size:1.3rem; }
.tab-panel p{ color: var(--text-muted); }
.check-list{ display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.check-list li{ position:relative; padding-left:28px; font-size:.92rem; color: var(--text); }
.check-list li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%;
  background: rgba(47,217,127,.15);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12'%3E%3Cpath d='M4 12l5 5L20 6' stroke='%232fd97f' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center;
}
.tab-facts{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:22px; }
.tab-facts div{ padding:12px 0; border-bottom:1px solid var(--border); }
.tab-facts div:last-child{ border-bottom:none; padding-bottom:0; }
.tab-facts div:first-child{ padding-top:0; }
.tab-facts dt{ font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; color: var(--text-faint); margin-bottom:4px; }
.tab-facts dd{ margin:0; font-weight:600; font-size:.96rem; }

.foundation-note{
  margin-top:36px; text-align:center; color: var(--text-muted); font-size:.94rem;
  max-width:80ch; margin-left:auto; margin-right:auto;
}
.foundation-note strong{ color: var(--text); }

/* ==========================================================================
   Feature grid + spotlight (SOC Engine / one-click)
   ========================================================================== */
.feature-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-bottom:64px; }
.feature-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:26px; transition: transform .3s var(--ease), border-color .3s;
}
.feature-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.35); }
.feature-icon{
  width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center;
  background: rgba(232,54,54,.1); color: var(--red-light); margin-bottom:16px;
}
.feature-card h3{ font-size:1.05rem; }
.feature-card p{ color: var(--text-muted); font-size:.9rem; margin:0; }

.spotlight{
  display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:center;
  background: linear-gradient(135deg, rgba(232,54,54,.12), var(--surface) 60%);
  border:1px solid rgba(232,54,54,.28); border-radius: var(--radius-lg); padding: 44px;
}
.spotlight-copy h3{ font-size:1.5rem; }
.spotlight-copy p{ color: var(--text-muted); }
.spotlight-demo{ display:flex; flex-direction:column; gap:10px; }
.demo-step{
  display:flex; align-items:center; gap:14px; padding:16px; border-radius:12px;
  background: var(--surface); border:1px solid var(--border);
  transition: border-color .4s, background-color .4s, transform .4s var(--ease);
}
.demo-step.is-active{ border-color: var(--red); background: rgba(232,54,54,.1); transform: translateX(6px); }
.demo-icon{
  flex:0 0 auto; width:36px; height:36px; border-radius:9px; display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.05); color: var(--text-faint); transition: background-color .4s, color .4s;
}
.demo-step.is-active .demo-icon{ background: var(--red); color:#fff; }
.demo-step div strong{ display:block; font-size:.92rem; margin-bottom:2px; }
.demo-step div span{ font-size:.8rem; color: var(--text-muted); }

/* ==========================================================================
   Panel table + dashboard mock
   ========================================================================== */
.panel-table-wrap{
  overflow-x:auto; border:1px solid var(--border); border-radius: var(--radius-md); margin-bottom:44px;
  scrollbar-width:thin; scrollbar-color: var(--red) var(--surface-2);
}
.panel-table-wrap::-webkit-scrollbar{ height:8px; }
.panel-table-wrap::-webkit-scrollbar-track{ background: var(--surface-2); }
.panel-table-wrap::-webkit-scrollbar-thumb{ background: var(--red); border-radius:8px; }
.table-scroll-hint{ display:none; }
.panel-table{ width:100%; border-collapse:collapse; min-width:640px; background: var(--surface); }
.panel-table th, .panel-table td{ text-align:left; padding:16px 20px; font-size:.92rem; border-bottom:1px solid var(--border); }
.panel-table thead th{ color: var(--text-faint); text-transform:uppercase; font-size:.72rem; letter-spacing:.06em; background: var(--surface-2); border-bottom:2px solid var(--red); }
.panel-table tbody th{ font-weight:600; white-space:nowrap; color: var(--text); background: rgba(232,54,54,.06); border-right:1px solid var(--border); }
.panel-table td:last-child{ color: var(--text-muted); }
.panel-table tr:last-child td, .panel-table tr:last-child th{ border-bottom:none; }

.dashboard-mock{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); padding:24px; }
.dmock-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; font-size:.86rem; color: var(--text-muted); }
.dmock-live{ display:inline-flex; align-items:center; gap:6px; color: var(--green); font-weight:600; }
.dmock-live i{ width:7px; height:7px; border-radius:50%; background: var(--green); animation: pulse-ring 1.8s infinite; }
.dmock-body{ display:grid; grid-template-columns: 1.6fr 1fr; gap:28px; }
.dmock-chart{ background: var(--surface-2); border-radius: var(--radius-md); padding:20px; }
.dmock-bars{ display:flex; align-items:flex-end; gap:8px; height:140px; }
.dmock-bars span{
  flex:1; height: var(--h); border-radius:5px 5px 0 0;
  background: linear-gradient(180deg, var(--red-light), var(--red-dark));
  opacity:.85; transform: scaleY(0); transform-origin:bottom;
  transition: transform .8s var(--ease);
}
.is-visible .dmock-bars span{ transform: scaleY(1); }
.dmock-chart-label{ display:block; margin-top:14px; font-size:.78rem; color: var(--text-faint); }
.dmock-side{ display:flex; flex-direction:column; gap:20px; }
.dmock-ring{ position:relative; width:160px; height:160px; margin:0 auto; }
.dmock-ring svg{ width:100%; height:100%; transform: rotate(-90deg); }
.ring-bg{ fill:none; stroke: var(--surface-2); stroke-width:7; }
.ring-fg{ fill:none; stroke: var(--green); stroke-width:7; stroke-linecap:round; stroke-dasharray: 264; stroke-dashoffset:264; transition: stroke-dashoffset 1.4s var(--ease); }
.is-visible .ring-fg{ stroke-dashoffset: 4; }
.dmock-ring-label{
  position:absolute; inset:14px; border-radius:50%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center; gap:2px;
}
.dmock-ring-label strong{ font-family: var(--font-head); font-size:1.5rem; line-height:1; }
.dmock-ring-label span{ font-size:.7rem; color: var(--text-faint); }
.dmock-legend{ display:flex; flex-direction:column; gap:8px; font-size:.82rem; color: var(--text-muted); }
.dmock-legend div{ display:flex; align-items:center; gap:8px; }
.dot{ width:8px; height:8px; border-radius:50%; display:inline-block; }
.dot--ok{ background: var(--green); } .dot--warn{ background: var(--amber); } .dot--crit{ background: var(--red); }

/* ==========================================================================
   Integrations
   ========================================================================== */
.integration-block{ display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center; margin-bottom:56px; }
.integration-copy h3{ font-size:1.4rem; }
.integration-copy p{ color: var(--text-muted); }
.vendor-flow{ display:flex; flex-direction:column; align-items:center; gap:10px; }
.vendor-badge{
  width:100%; max-width:280px; display:flex; align-items:center; justify-content:center; gap:10px;
  padding:14px 18px; border-radius:12px;
  background: var(--surface); border:1px solid var(--border); font-weight:600; font-size:.92rem;
  transition: transform .3s var(--ease), border-color .3s;
}
.vendor-badge:hover{ transform: translateY(-2px); border-color: var(--border-strong); }
.vendor-badge--hub{ background: linear-gradient(135deg, var(--red-light), var(--red-dark)); border-color:transparent; color:#fff; box-shadow: 0 12px 26px -12px rgba(232,54,54,.7); }
.vendor-badge--hub:hover{ transform: translateY(-2px); }
.vendor-flow-arrow{ color: var(--text-faint); }

.vendor-mark{
  flex: 0 0 auto; display:inline-flex; align-items:center; justify-content:center;
  height:24px; padding:4px 7px; border-radius:6px; background:#fff;
}
.vendor-mark img{ height:100%; width:auto; max-width:56px; object-fit:contain; display:block; }

/* trusted technology logo strip */
.logo-strip{ margin-bottom:56px; text-align:center; }
.logo-strip-label{
  font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; font-weight:600;
  color: var(--text-faint); margin-bottom:22px;
}
.logo-strip-grid{ display:grid; grid-template-columns: repeat(9,1fr); gap:14px; }
.logo-chip{
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; height:64px; padding:10px 14px;
  background:#fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease-out, box-shadow .18s ease-out;
}
.logo-chip:hover{ transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 30px -14px rgba(0,0,0,.5); }
.logo-chip img{ max-height:28px; max-width:100%; width:auto; object-fit:contain; display:block; }

.mini-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; margin-bottom:56px; }
.mini-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:24px; transition: transform .3s var(--ease), border-color .3s; }
.mini-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.3); }
.mini-card-marks{ display:flex; gap:8px; margin-bottom:14px; }
.mini-card-marks .vendor-mark{ height:28px; }
.mini-card h4{ font-size:1rem; margin-bottom:.5em; }
.mini-card p{ color: var(--text-muted); font-size:.88rem; margin:0; }

.vuln-table-wrap h3{ font-size:1.3rem; margin-bottom:20px; }
.vuln-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.vuln-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:26px; }
.vuln-card strong{ display:block; font-family: var(--font-head); font-size:1.15rem; margin:10px 0 8px; }
.vuln-card p{ color: var(--text-muted); font-size:.9rem; margin:0; }
.vuln-tag{ display:inline-block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:4px 10px; border-radius:7px; background: rgba(255,255,255,.06); color: var(--text-muted); }
.vuln-tag--deep{ background: rgba(232,54,54,.14); color: var(--red-light); }

/* ==========================================================================
   Automation / orchestration layer + integration marketplace
   ========================================================================== */
.stack-block{
  display:flex; flex-wrap:wrap; gap:32px; align-items:center; justify-content:space-between;
  background: linear-gradient(135deg, rgba(232,54,54,.1), var(--surface) 65%);
  border:1px solid rgba(232,54,54,.25); border-radius: var(--radius-lg);
  padding: 32px clamp(20px,4vw,40px); margin-bottom:28px;
}
.stack-copy{ flex: 1 1 420px; }
.stack-copy h3{ font-size:1.3rem; }
.stack-copy p{ color: var(--text-muted); margin:0; }
.stack-stats{ display:flex; gap:28px; flex: 0 0 auto; }
.stack-stat{ display:flex; flex-direction:column; gap:2px; text-align:center; }
.stack-stat strong{ font-family: var(--font-head); font-size:1.6rem; color: var(--red-light); }
.stack-stat span{ font-size:.76rem; color: var(--text-muted); max-width:14ch; }

.int-market{ margin-bottom:56px; }
.int-filters{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.int-filter{
  font-family: var(--font-body); font-size:.82rem; font-weight:600; color: var(--text-muted);
  background: var(--surface); border:1px solid var(--border); border-radius:20px; padding:8px 14px;
  transition: color .2s, background-color .2s, border-color .2s;
}
.int-filter span{ color: var(--text-faint); font-weight:500; }
.int-filter:hover{ border-color: var(--border-strong); color: var(--text); }
.int-filter.is-active{ background: linear-gradient(135deg, var(--red-light), var(--red-dark)); border-color:transparent; color:#fff; }
.int-filter.is-active span{ color: rgba(255,255,255,.8); }

.int-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap:16px; }
.int-item{ display:flex; }
.int-item[hidden]{ display:none; }
.int-icon{
  width:100%; aspect-ratio:1; border-radius:18px; display:flex; align-items:center; justify-content:center;
  overflow:hidden; box-shadow: 0 10px 22px -14px rgba(0,0,0,.6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.int-item:hover .int-icon{ transform: translateY(-4px) scale(1.08); box-shadow: 0 16px 30px -14px rgba(0,0,0,.6); }
.int-icon--bare{ background: var(--surface-2); }
.int-icon--bare img{ width:100%; height:100%; object-fit:cover; }
.int-icon--boxed{ background: #eef0f4; padding:14px; }
.int-icon--boxed img{ width:100%; height:100%; object-fit:contain; }
.int-empty{ text-align:center; color: var(--text-muted); padding:32px 0; }
.int-more{ text-align:center; color: var(--text-faint); font-size:.86rem; margin:28px 0 0; }

/* ==========================================================================
   SupportIT Probe
   ========================================================================== */
.probe-block{ display:grid; grid-template-columns: 1.05fr .95fr; gap:40px; align-items:center; margin-bottom:56px; }
.probe-visual{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:480px; }
.probe-svg{ width:100%; height:auto; max-width:580px; color: var(--red-light); }
.probe-visual .arch-caption{ text-align:center; }
.probe-hub-glow{ fill: rgba(232,54,54,.1); }
.probe-sweep{ fill: rgba(255,98,89,.4); }
.probe-link-label{ fill: var(--text-faint); font-size:11px; font-weight:600; font-family: 'Inter', sans-serif; text-transform:uppercase; letter-spacing:.04em; }
.probe-copy h2{ font-size: clamp(1.6rem,3vw,2.2rem); }

.attack-scenario{
  background: linear-gradient(160deg, rgba(232,54,54,.06), var(--surface) 55%);
  border:1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px clamp(20px,4vw,48px);
}
.attack-scenario-head{ max-width:640px; margin:0 auto 32px; text-align:center; }
.attack-scenario-head .eyebrow{ justify-content:center; }
.attack-scenario h3{ font-size:1.4rem; margin:0; }
.probe-attack-visual{ max-width:680px; margin:0 auto; display:flex; flex-direction:column; gap:16px; }
.attack-row{
  border-radius: var(--radius-md); padding:20px 22px; border:1px solid var(--border);
}
.attack-row--vulnerable{ background: rgba(232,54,54,.05); border-color: rgba(232,54,54,.2); }
.attack-row--resilient{ background: rgba(47,217,127,.05); border-color: rgba(47,217,127,.25); }
.attack-row-label{ display:block; font-size:.7rem; color: var(--text-faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.attack-diagram{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.attack-node{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 16px 10px 10px; border-radius:12px; font-size:.86rem; font-weight:600;
  background: var(--surface-2); border:1px solid var(--border-strong); color: var(--text-muted);
  box-shadow: 0 6px 16px -12px rgba(0,0,0,.5);
  transition: background-color .4s, border-color .4s, color .4s;
}
.attack-icon{
  flex:0 0 auto; width:26px; height:26px; border-radius:8px; background-color: rgba(255,255,255,.08);
  background-repeat:no-repeat; background-position:center; background-size:16px;
}
.attack-icon--cloud{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18h11a4 4 0 0 0 .5-7.97A6 6 0 0 0 7 8.5 4.5 4.5 0 0 0 7 18Z' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.attack-icon--shield{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 5 6v5c0 5 3 8 7 9 4-1 7-4 7-9V6l-7-3Z' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.attack-icon--building{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' fill='none' stroke='white' stroke-width='2'/%3E%3Cpath d='M4 10h16M10 10v10' stroke='white' stroke-width='2'/%3E%3C/svg%3E"); }
.attack-icon--radar{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='white' stroke-width='1.6' opacity='.5'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='white' stroke-width='1.6' opacity='.85'/%3E%3Ccircle cx='12' cy='12' r='1.6' fill='white'/%3E%3C/svg%3E"); }
.attack-icon--check{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.attack-icon--x{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6 6 18' stroke='white' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.attack-node--probe{ color: var(--text); border-color: rgba(232,54,54,.4); }
.attack-node--probe .attack-icon{ background-color: rgba(232,54,54,.25); }
.attack-node--soc{ color: var(--text); border-color: rgba(47,217,127,.4); }
.attack-node--soc .attack-icon{ background-color: rgba(47,217,127,.22); }
.attack-node--hit{ background: rgba(232,54,54,.18); border-color: var(--red); color:#ff8a84; }
.attack-node--hit .attack-icon{ background-color: rgba(255,255,255,.16); }
.attack-node--down{ background: rgba(255,255,255,.03); border-color: var(--border); color: var(--text-faint); text-decoration: line-through; }
.attack-node--active{ background: rgba(47,217,127,.16); border-color: var(--green); color: var(--green); }
.attack-node--active .attack-icon{ background-color: rgba(47,217,127,.3); }
.attack-line{ flex:1 1 28px; max-width:44px; height:3px; background: rgba(47,217,127,.6); border-radius:3px; }
.attack-line--broken{ background: repeating-linear-gradient(90deg, var(--red) 0 6px, transparent 6px 12px); }
.attack-line--flow{
  background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px);
  background-size:24px 3px; animation: dashMove 1s linear infinite;
}
.attack-verdict{
  display:flex; align-items:center; gap:10px; margin:16px 0 0; font-size:.86rem; font-weight:600;
}
.attack-verdict .attack-icon{ width:22px; height:22px; background-size:13px; }
.attack-verdict--bad{ color:#ff8a84; }
.attack-verdict--bad .attack-icon{ background-color: rgba(232,54,54,.25); }
.attack-verdict--good{ color: var(--green); }
.attack-verdict--good .attack-icon{ background-color: rgba(47,217,127,.25); }
.attack-summary{
  text-align:center; color: var(--text); font-weight:600; font-size:1rem;
  margin:28px 0 0; max-width:70ch; margin-left:auto; margin-right:auto;
}

/* ==========================================================================
   Extended protection
   ========================================================================== */
.ext-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; }
.ext-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:24px; transition: transform .3s var(--ease), border-color .3s; }
.ext-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.3); }
.ext-card h3{ font-size:1rem; }
.ext-card p{ color: var(--text-muted); font-size:.88rem; margin:0; }

/* ==========================================================================
   Timeline (NIS2)
   ========================================================================== */
.timeline{ position:relative; display:grid; grid-template-columns: repeat(3,1fr); gap:32px; margin-bottom:36px; }
.timeline-track{ position:absolute; top:26px; left:8%; right:8%; height:2px; background: linear-gradient(90deg, var(--red), rgba(47,217,127,.6)); opacity:.4; }
.timeline-item{ text-align:center; }
.timeline-dot{
  width:56px; height:56px; margin:0 auto 18px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-family: var(--font-head); font-weight:700; font-size:.9rem;
  background: var(--surface); border:2px solid var(--red); color: var(--text); position:relative; z-index:2;
  box-shadow: 0 0 0 6px var(--bg);
}
.timeline-item h3{ font-size:1.05rem; }
.timeline-item p{ color: var(--text-muted); font-size:.88rem; max-width:34ch; margin:0 auto; }

.s46-block{
  margin-top:48px; display:grid; grid-template-columns: 1.2fr 1fr; gap:40px; align-items:start;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px clamp(20px,4vw,40px);
}
.s46-copy h3{ font-size:1.2rem; }
.s46-copy p{ color: var(--text-muted); font-size:.92rem; }
.s46-copy p:last-child{ margin-bottom:0; }
.s46-copy strong{ color: var(--text); }
.s46-flow{ display:flex; flex-direction:column; gap:14px; }
.s46-step{ display:flex; gap:14px; align-items:flex-start; background: var(--surface-2); border:1px solid var(--border); border-radius: var(--radius-md); padding:16px; }
.s46-step-num{
  flex:0 0 auto; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: rgba(232,54,54,.16); color: var(--red-light); font-family: var(--font-head); font-weight:700; font-size:.82rem;
}
.s46-step strong{ display:block; font-size:.88rem; margin-bottom:3px; }
.s46-step span{ font-size:.78rem; color: var(--text-muted); }

.cert-channels{ margin-top:44px; text-align:center; }
.cert-channels-label{
  font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; font-weight:600;
  color: var(--text-faint); margin-bottom:18px;
}
.cert-channels-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.cert-chip{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:18px 14px; transition: transform .3s var(--ease), border-color .3s;
}
.cert-chip:hover{ transform: translateY(-3px); border-color: rgba(47,217,127,.4); }
.cert-chip strong{ display:block; font-size:.92rem; margin-bottom:4px; }
.cert-chip span{ font-size:.76rem; color: var(--text-muted); }
.cert-channels-note{ margin:20px auto 0; max-width:70ch; font-size:.84rem; color: var(--text-faint); text-align:center; }
.trust-block{ margin-top:56px; padding-top:44px; border-top:1px solid var(--border); }
.trust-block h3{ font-size:1.3rem; margin-bottom:24px; max-width:60ch; }
.trust-block .mini-grid{ margin-bottom:28px; }

/* ==========================================================================
   Steps (wdrożenie)
   ========================================================================== */
.steps{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; margin-bottom:48px; counter-reset:none; }
.step{ display:flex; gap:14px; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:20px; transition: transform .3s var(--ease), border-color .3s; }
.step:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.3); }
.step-num{
  flex:0 0 auto; width:32px; height:32px; border-radius:9px; display:flex; align-items:center; justify-content:center;
  background: rgba(232,54,54,.14); color: var(--red-light); font-family: var(--font-head); font-weight:700; font-size:.92rem;
}
.step h3{ font-size:.95rem; margin-bottom:.35em; }
.step p{ color: var(--text-muted); font-size:.84rem; margin:0; }

.pricing-note{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; text-align:center; max-width:760px; margin:0 auto;
}
.pricing-note h3{ font-size:1.3rem; }
.pricing-note p{ color: var(--text-muted); }
.pricing-note-sub{ font-size:.9rem; margin-bottom:24px; }

/* ==========================================================================
   Addon grid
   ========================================================================== */
.addon-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.addon-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:24px; transition: transform .3s var(--ease), border-color .3s; }
.addon-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.3); }
.addon-card h3{ font-size:1rem; }
.addon-card p{ color: var(--text-muted); font-size:.88rem; margin:0; }
.addon-card--wide{ grid-column: 1 / -1; background: linear-gradient(135deg, rgba(232,54,54,.1), var(--surface) 60%); border-color: rgba(232,54,54,.25); }
.addon-card--wide p{ margin-bottom:16px; max-width:80ch; }
.addon-link{
  display:inline-flex; align-items:center; gap:6px; font-weight:600; font-size:.88rem; color: var(--red-light);
}
.addon-link svg{ transition: transform .2s var(--ease); }
.addon-link:hover svg{ transform: translate(2px,-2px); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:20px 24px; transition: border-color .3s;
}
.faq-item:hover{ border-color: var(--border-strong); }
.faq-item[open]{ border-color: rgba(232,54,54,.35); }
.faq-item summary{
  cursor:pointer; font-weight:600; font-size:1rem; list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:""; flex:0 0 auto; width:20px; height:20px; border-radius:50%;
  background: rgba(232,54,54,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='12' height='12'%3E%3Cpath d='M5 12h14M12 5v14' stroke='%23ff6259' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-answer{ padding-top:14px; }
.faq-answer p{ color: var(--text-muted); font-size:.92rem; margin:0; max-width:75ch; }

/* ==========================================================================
   Case studies
   ========================================================================== */
.case-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.case-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:26px; transition: transform .3s var(--ease), border-color .3s;
}
.case-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.3); }
.case-tag{
  display:inline-block; font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  padding:4px 10px; border-radius:7px; background: rgba(47,217,127,.14); color: var(--green); margin-bottom:14px;
}
.case-tag--crit{ background: rgba(232,54,54,.14); color: var(--red-light); }
.case-card h3{ font-size:1.05rem; margin-bottom:14px; }
.case-metric{
  display:flex; align-items:baseline; gap:8px; margin-bottom:18px; padding-bottom:16px;
  border-bottom:1px dashed var(--border);
}
.case-metric strong{ font-family: var(--font-head); font-size:1.3rem; color: var(--red-light); white-space:nowrap; }
.case-metric span{ font-size:.78rem; color: var(--text-muted); }
.case-story{ display:flex; flex-direction:column; gap:12px; }
.case-story dt{ font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color: var(--text-faint); margin-bottom:3px; }
.case-story dd{ margin:0; color: var(--text-muted); font-size:.86rem; line-height:1.55; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final{
  position:relative; padding:110px 0; text-align:center; overflow:hidden;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(232,54,54,.18), transparent 70%);
  border-top:1px solid var(--border);
}
.cta-final-inner{ max-width:720px; }
.cta-final h2{ font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom:.5em; }
.cta-final p{ color: var(--text-muted); font-size:1.06rem; margin-bottom:32px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--bg-1); border-top:1px solid var(--border); padding:56px 0 0; }
.footer-statement{ text-align:center; max-width:760px; padding-bottom:40px; }
.footer-statement .brand-logo--footer{ margin:0 auto 22px; }
.footer-statement p{ color: var(--text-muted); font-size:.98rem; line-height:1.6; margin:0 0 20px; }
.footer-tags{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.footer-tags span{ font-size:.76rem; color: var(--text-muted); background: var(--surface); border:1px solid var(--border); border-radius:20px; padding:5px 12px; }
.footer-inner{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:40px; padding:40px 0 48px; border-top:1px solid var(--border); }
.footer-brand p{ color: var(--text-muted); font-size:.88rem; max-width:34ch; }
.brand-logo--footer{ height:38px; display:block; }
.footer-col h3{ font-family: var(--font-head); font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color: var(--text-muted); margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ color: var(--text-muted); font-size:.9rem; transition: color .2s; }
.footer-col a:hover{ color: var(--text); }
.footer-col address{ color: var(--text-muted); font-size:.9rem; line-height:1.7; }
.footer-bottom{ border-top:1px solid var(--border); padding:20px 0; }
.footer-bottom p{ margin:0; color: var(--text-muted); font-size:.8rem; text-align:center; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top{
  position:fixed; right:24px; bottom:24px; z-index:80;
  width:46px; height:46px; border-radius:50%; border:1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text); display:flex; align-items:center; justify-content:center;
  opacity:0; transform: translateY(10px); pointer-events:none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.6);
}
.back-to-top.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.back-to-top:hover{ background: var(--red); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-panel{ max-width:520px; margin:0 auto; }
  .stat-grid, .reg-grid, .edge-grid, .feature-grid, .mini-grid, .ext-grid, .addon-grid, .steps, .case-grid{ grid-template-columns: repeat(2,1fr); }
  .edge-card--feature, .edge-card--quote, .addon-card--wide{ grid-column: span 2; }
  .spotlight, .integration-block, .probe-block, .tab-panel-grid{ grid-template-columns:1fr; }
  .spotlight{ gap:32px; }
  .vendor-flow{ margin-top:12px; }
  .footer-inner{ grid-template-columns: 1fr 1fr; }
  .logo-strip-grid{ grid-template-columns: repeat(5,1fr); }
  .cert-channels-grid{ grid-template-columns: repeat(2,1fr); }
  .s46-block{ grid-template-columns:1fr; }
  .stack-block{ flex-direction:column; align-items:flex-start; }
  .stack-stats{ width:100%; justify-content:space-between; }
}

@media (max-width: 860px){
  .main-nav, .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav{ display:block; }
  .hero-stats-grid{ grid-template-columns: repeat(2,1fr); }
  .hero-stat{ border-right:none; border-bottom:1px solid var(--border); }
  .timeline{ grid-template-columns:1fr; gap:28px; }
  .timeline-track{ display:none; }
  .dmock-body{ grid-template-columns:1fr; }
  .flow{ flex-direction:column; }
  .flow-arrow{ flex-basis:auto; padding:2px 0; }
  .flow-arrow svg{ transform:rotate(90deg); }
}

@media (max-width: 640px){
  .section{ padding:80px 0; }
  .container{ padding:0 18px; }
  .stat-grid, .reg-grid, .edge-grid, .feature-grid, .mini-grid, .ext-grid, .addon-grid, .steps, .vuln-grid, .case-grid{ grid-template-columns:1fr; }
  .edge-card--feature, .edge-card--quote, .addon-card--wide{ grid-column: span 1; }
  .hero-stats-grid{ grid-template-columns: repeat(2,1fr); }
  .logo-strip-grid{ grid-template-columns: repeat(3,1fr); }
  .footer-inner{ grid-template-columns:1fr; gap:32px; }
  .panel-card{ transform:none; }
  .tabs-nav{ flex-direction:column; }
  .tab-indicator{ display:none; }
  .cert-channels-grid{ grid-template-columns:1fr; }
  .int-grid{ grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap:10px; }
  .int-icon{ border-radius:14px; }
  .int-icon--boxed{ padding:10px; }
  .table-scroll-hint{
    display:flex; align-items:center; gap:6px; justify-content:flex-end;
    font-size:.72rem; color: var(--text-faint); margin-bottom:8px;
  }
}


/* ==========================================================================
   Przejścia między podstronami (View Transitions API)
   ========================================================================== */
@view-transition { navigation: auto; }

::view-transition-old(root){ animation: vtOut .16s ease both; }
::view-transition-new(root){ animation: vtIn .3s var(--ease) both; }
@keyframes vtOut{ to{ opacity:0; } }
@keyframes vtIn{ from{ opacity:0; transform: translateY(10px); } }

/* Pasek nagłówka nie miga przy przejściu — jest wspólny dla wszystkich podstron.
   Nazwa wisi na .header-inner, NIE na .site-header: element z view-transition-name
   staje się blokiem zawierającym dla potomków position:fixed, co zgniotłoby
   rozwijane menu mobilne (.mobile-nav) do wysokości nagłówka. */
.header-inner{ view-transition-name: site-header; }

@media (prefers-reduced-motion: reduce){
  ::view-transition-old(root), ::view-transition-new(root){ animation:none !important; }
}

/* ==========================================================================
   Nagłówek podstrony + okruszki
   ========================================================================== */
.page-hero{ position:relative; z-index:2; padding:72px 0 60px; border-bottom:1px solid var(--border); }
.page-hero h1{ font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin:0 0 .45em; max-width:24ch; }
.page-hero-lead{ color: var(--text-muted); font-size:1.1rem; line-height:1.6; max-width:64ch; margin:0; }

.breadcrumb{ margin-bottom:24px; }
.breadcrumb ol{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  list-style:none; margin:0; padding:0; font-size:.8rem; color: var(--text-faint);
}
.breadcrumb li{ display:flex; align-items:center; gap:8px; }
.breadcrumb li + li::before{ content:"/"; color: var(--text-faint); opacity:.5; }
.breadcrumb a{ color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover{ color: var(--red-light); }
.breadcrumb [aria-current="page"]{ color: var(--text-faint); }

/* ==========================================================================
   Strona główna — karty rozdziałów
   ========================================================================== */
.explore-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:20px; }
.explore-card{
  display:flex; flex-direction:column; align-items:flex-start;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:30px; text-decoration:none;
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.explore-card:hover{ transform: translateY(-4px); border-color: rgba(232,54,54,.35); background: var(--surface-2); }
.explore-tag{
  font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  color: var(--red-light); margin-bottom:14px;
}
.explore-card h3{ font-size:1.25rem; margin:0 0 .5em; color: var(--text); }
.explore-card p{ color: var(--text-muted); font-size:.92rem; margin:0 0 20px; }
.explore-more{
  display:inline-flex; align-items:center; gap:7px; margin-top:auto;
  font-size:.88rem; font-weight:600; color: var(--text);
}
.explore-card:hover .explore-more{ color: var(--red-light); }
.explore-more svg{ transition: transform .25s var(--ease); }
.explore-card:hover .explore-more svg{ transform: translateX(3px); }

/* ==========================================================================
   Strona kontaktu
   ========================================================================== */
.contact-methods{ display:grid; grid-template-columns: repeat(2,1fr); gap:24px; margin-bottom:64px; }
.contact-method{
  display:flex; flex-direction:column; gap:6px; text-decoration:none;
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding:34px 30px; transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.contact-method:hover{ transform: translateY(-3px); border-color: rgba(232,54,54,.35); background: var(--surface-2); }
.contact-method-label{ font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; color: var(--text-faint); }
.contact-method strong{ font-family: var(--font-head); font-size:1.7rem; color: var(--text); }

.contact-address{ max-width:520px; margin:0 auto; text-align:center; }
.contact-address h3{ font-size:1rem; margin-bottom:.7em; }
.contact-address address{ font-style:normal; color: var(--text-muted); font-size:.94rem; line-height:1.75; margin-bottom:14px; }
.contact-address address strong{ color: var(--text); }
.contact-address .addon-link{ justify-content:center; }

@media (max-width: 640px){
  .contact-methods{ grid-template-columns:1fr; }
  .explore-grid{ grid-template-columns:1fr; }
  .explore-card{ padding:24px; }
  .page-hero{ padding:56px 0 44px; }
}
