/* FSSHOST: strona one-page. Kolory zgodne z marką (CLAUDE.md, sekcja "Marka") i motywem panelu. */

:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --card: #151515;
  --card-2: #111111;
  --border: #252525;
  --border-strong: #333333;
  --accent: #00e5ff;
  --accent-soft: rgba(0, 229, 255, 0.12);
  --accent-glow: rgba(0, 229, 255, 0.35);
  --text: #ffffff;
  --muted: #8b8b8b;
  --muted-2: #a8a8a8;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ff4d6d;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.4);
  --glow: 0 0 0 1px rgba(0, 229, 255, 0.18), 0 20px 60px -20px rgba(0, 229, 255, 0.25);

  --font: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

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

img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7ff2ff; }
.mono { font-family: var(--mono); font-size: 0.92em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #000; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow { max-width: calc(860px + 2 * var(--gutter)); }

/* ---------- Przyciski i etykiety ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--accent); color: #000; box-shadow: 0 8px 28px -10px var(--accent-glow); }
.btn-primary:hover { color: #000; background: #5ff0ff; transform: translateY(-1px); box-shadow: 0 12px 36px -10px rgba(0, 229, 255, 0.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.badge-demo { border-color: rgba(245, 158, 11, 0.5); color: var(--warning); }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.icon {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 40px; height: 40px; }

/* ---------- Nagłówek i nawigacja ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(5, 5, 5, 0.9); }

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

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 28px; width: auto; }
.brand-product {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 8px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted-2);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  margin-left: -9px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bars::before { transform: translateY(-6px); }
.nav-toggle-bars::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: rotate(45deg); background: var(--text); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: rotate(-45deg); background: var(--text); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    background: var(--bg);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--border);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s;
  }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px; font-size: 17px; }
  .nav-cta { min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 78% 30%, rgba(0, 229, 255, 0.14), transparent 70%),
    radial-gradient(500px 360px at 8% 90%, rgba(0, 229, 255, 0.06), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 24px; }
.hero h1 .accent { display: block; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted-2); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero-points { display: grid; gap: 10px; color: var(--muted-2); font-size: 15px; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; }
.hero-points li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  flex-shrink: 0;
  transform: translateY(-1px);
}

/* Makieta konsoli */
.console {
  margin: 0;
  background: linear-gradient(180deg, #121212, #0c0c0c);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glow);
  overflow: hidden;
  position: relative;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }
.console-title { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.console-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px 0;
}
.status-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-2);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.status-item small { grid-column: 2; color: var(--muted); font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; }
.status-live { color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; grid-row: span 2; }
.dot-ok { background: var(--success); box-shadow: 0 0 8px rgba(34, 197, 94, 0.6); }
.dot-live { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); animation: pulse 1.6s ease-in-out infinite; }

.log-stream {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  height: 232px;
  padding: 14px 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%);
  mask-image: linear-gradient(to bottom, transparent, #000 28%);
}
.log-line {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted-2);
  flex-shrink: 0;
}
.log-line time { color: #5f5f5f; }
.log-line code { font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-line.is-new { animation: logIn 0.45s var(--ease) both; }
.tag {
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  border: 1px solid var(--border-strong);
  color: var(--muted-2);
}
.tag-info { border-color: rgba(0, 229, 255, 0.3); color: var(--accent); }
.tag-warn { border-color: rgba(245, 158, 11, 0.45); color: var(--warning); }
.tag-ok { border-color: rgba(34, 197, 94, 0.45); color: var(--success); }

.alert-card {
  margin: 4px 18px 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.03));
  box-shadow: 0 10px 30px -14px rgba(245, 158, 11, 0.5);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.alert-card:not(.is-visible) { opacity: 0.18; transform: translateY(6px); }
.alert-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 6px; }
.sev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.sev::before { content: "▲"; font-size: 9px; }
.sev-high { background: var(--warning); color: #000; }
.alert-rule { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.alert-title { font-weight: 700; font-size: 16px; }
.alert-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 4px; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); }

/* ---------- Sekcje ---------- */
.section { padding: 112px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--bg-2);
  border-top: 1px solid #141414;
  border-bottom: 1px solid #141414;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section-lead { margin-top: 18px; color: var(--muted-2); font-size: 17px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Pipeline "Jak to działa" */
.pipeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}
.pipe-step {
  position: relative;
  padding: 24px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.pipe-step:hover { border-color: rgba(0, 229, 255, 0.45); transform: translateY(-3px); }
.pipe-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -17px;
  width: 18px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 4px, transparent 4px 7px);
  background-size: 14px 2px;
  animation: flow 1s linear infinite;
  z-index: 1;
}
.pipe-num { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.pipe-step .icon { margin-bottom: 14px; }
.pipe-step h3 { font-size: 18px; margin-bottom: 8px; }
.pipe-step p { font-size: 14.5px; color: var(--muted-2); }
.pipe-step:last-child { border-color: rgba(0, 229, 255, 0.35); box-shadow: var(--glow); }

@media (max-width: 1279px) {
  .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pipe-step:nth-child(3)::after { display: none; }
}
@media (max-width: 700px) {
  .pipeline { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pipe-step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .pipe-step .pipe-num { grid-column: 1 / -1; margin-bottom: 10px; }
  .pipe-step .icon { grid-row: 2 / span 2; margin: 0; }
  .pipe-step:not(:last-child)::after,
  .pipe-step:nth-child(3)::after {
    display: block;
    top: auto; bottom: -15px; right: auto; left: 33px;
    width: 2px; height: 16px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 4px, transparent 4px 7px);
    animation: none;
  }
}

/* Funkcje */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px 24px; transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.feature:hover { border-color: rgba(0, 229, 255, 0.4); transform: translateY(-3px); box-shadow: var(--shadow), var(--glow); }
.feature .icon {
  width: 48px; height: 48px;
  padding: 11px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.feature h3 { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--muted-2); font-size: 15px; }
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }

/* Modele wdrożenia */
.deploy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.deploy { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.deploy > p { color: var(--muted-2); }
.deploy-head { display: flex; align-items: center; gap: 18px; }
.deploy-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.deploy h3 { font-size: 26px; }
.deploy-featured {
  border-color: rgba(0, 229, 255, 0.35);
  background: radial-gradient(500px 260px at 100% 0%, rgba(0, 229, 255, 0.1), transparent 70%), var(--card);
  box-shadow: var(--shadow), var(--glow);
}
.checklist { display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300E5FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(0, 229, 255, 0.35);
}
@media (max-width: 800px) { .deploy-grid { grid-template-columns: minmax(0, 1fr); } .deploy { padding: 28px 24px; } }

/* Układ dwukolumnowy (parsery, kontakt) */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p { color: var(--muted-2); margin-bottom: 16px; }
.split-copy .btn { margin-top: 12px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.parser-demo { padding: 28px; }
.demo-label { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.code {
  margin: 0;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: #0a0a0a;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  color: #d6d6d6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.code code { font-family: inherit; }
.parser-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 14px 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
}
.parser-arrow span {
  width: 2px; height: 28px;
  background: linear-gradient(var(--accent), transparent);
  position: relative;
}
.event-fields { margin: 0; display: grid; gap: 6px; }
.event-fields div {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--card-2);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 12.5px;
}
.event-fields dt { color: var(--muted); }
.event-fields dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }

/* Bezpieczeństwo i retencja */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { padding: 28px 24px; }
.stat-value {
  font-family: var(--mono);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 18px;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
  white-space: nowrap;
}
.stat h3 { font-size: 17px; margin-bottom: 8px; }
.stat p:last-child { color: var(--muted-2); font-size: 15px; }
.note {
  margin-top: 32px;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--card-2);
  color: var(--muted-2);
  font-size: 15px;
}
@media (max-width: 1100px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stat-grid { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 18px; transition: border-color 0.2s; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: rgba(0, 229, 255, 0.35); }
.faq-item h3 { font-size: inherit; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  border-radius: 18px;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-icon { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 24px 22px; color: var(--muted-2); }

/* Kontakt */
.contact {
  background: radial-gradient(700px 400px at 20% 20%, rgba(0, 229, 255, 0.08), transparent 70%), var(--bg);
}
.contact .split { align-items: start; }
.contact .split-copy { padding-top: 8px; }
.contact-mail { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 18px; }
.contact-mail a { font-weight: 700; overflow-wrap: anywhere; }
.contact-form { padding: 32px; display: grid; gap: 18px; }
.form-info { font-size: 13px; color: var(--muted); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #0c0c0c;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #6f6f6f; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.2); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.25); }
.field-error { min-height: 0; font-size: 13px; color: var(--danger); }
.field-error:empty { display: none; }
.form-status:empty { display: none; }
.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
  color: #b9f5cf;
  font-size: 15px;
}
.form-status.is-error { border-color: rgba(255, 77, 109, 0.5); background: rgba(255, 77, 109, 0.08); color: #ffc2cd; }
@media (max-width: 560px) { .contact-form { padding: 24px 18px; } }

/* Stopka */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: #030303; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-brand { max-width: 380px; }
.footer-brand img { width: 280px; height: auto; margin-bottom: 12px; margin-left: -8px; }
.footer-brand p { color: var(--muted); font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-nav ul { display: grid; gap: 10px; align-content: start; }
.footer-nav a { color: var(--muted-2); text-decoration: none; }
.footer-nav a:hover { color: var(--accent); }
.footer-nav .badge { margin-left: 6px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #1a1a1a;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Responsywność ogólna ---------- */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero { padding: 48px 0 80px; }
  .hero-copy { max-width: 720px; }
}
@media (max-width: 700px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-actions .btn { flex: 1 1 220px; }
  .console-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .console-status .status-item:nth-child(2) { display: none; }
  .log-stream { height: 210px; padding: 12px 14px; }
  .log-line { font-size: 11px; gap: 8px; }
  .log-line time { display: none; }
  .alert-card { margin: 4px 14px 14px; }
}

/* ---------- Animacje ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes flow { to { background-position: 14px 0; } }

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