/* ═══════════════════════════════════════════════════════
   PC SECURITY — Design System
   Bazuje na oryginalnej kolorystyce pcsecurity.pl
═══════════════════════════════════════════════════════ */

:root {
  --bg-dark:    #0a0e1a;
  --bg-card:    #131826;
  --bg-light:   #f8fafc;
  --primary:    #00d4ff;
  --secondary:  #00ff88;
  --accent:     #6366f1;
  --text-dark:  #0f172a;
  --text-light: #cbd5e1;
  --text-muted: #64748b;
  --white:      #ffffff;
  --border-dark:#1e293b;
  --gradient:   linear-gradient(135deg, #00ff88 0%, #00d4ff 50%, #6366f1 100%);
  --max: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); line-height: 1.6; background: var(--white); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 30px; }
.skip { position: absolute; left: -999px; width: 1px; height: 1px; overflow: hidden; }
.skip:focus { left: 16px; top: 16px; width: auto; height: auto; padding: 10px 16px; background: #fff; color: #000; border-radius: 8px; z-index: 9999; }

/* ── HEADER ── */
.site-header {
  background: var(--bg-dark);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,212,255,.1);
  border-bottom: 1px solid var(--border-dark);
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo-icon {
  width: 54px; height: 63px; flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(0,212,255,.45));
}
.logo-mark { display: none; }
.logo-text {
  font-size: 1.25em; font-weight: 700; color: var(--white);
  letter-spacing: -.3px; display: flex; flex-direction: column; line-height: 1.2;
}
.logo-text span {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 900;
}
.logo-text small {
  display: block; color: var(--text-light); font-size: 11px; font-weight: 500;
  -webkit-text-fill-color: var(--text-light); margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  color: var(--text-light); font-weight: 500; font-size: .95em;
  padding: 8px 14px; border-radius: 6px; transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--primary); background: rgba(0,212,255,.07);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; background: transparent;
  border: 1px solid var(--border-dark); color: #fff;
  border-radius: 8px; padding: 8px 12px; font-weight: 700; cursor: pointer;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 6px; font-weight: 700; font-size: .95em;
  cursor: pointer; border: none; transition: all .25s;
  background: var(--gradient); color: var(--bg-dark);
  box-shadow: 0 8px 24px rgba(0,212,255,.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,212,255,.4); }
.btn.secondary {
  background: transparent; color: var(--text-light);
  border: 1px solid var(--border-dark); box-shadow: none;
}
.btn.secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn.ghost {
  background: transparent; color: var(--text-light);
  border: 1px solid rgba(255,255,255,.2); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn.light {
  background: var(--gradient); color: var(--bg-dark);
  box-shadow: 0 8px 24px rgba(0,212,255,.25);
}

/* ── HERO ── */
.hero {
  background: var(--bg-dark); color: var(--white);
  padding: 90px 0 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: 0; right: -10%; width: 60%; height: 100%;
  background: radial-gradient(circle, rgba(0,212,255,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: 0; left: -10%; width: 50%; height: 60%;
  background: radial-gradient(circle, rgba(0,255,136,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 50px; align-items: center; position: relative; z-index: 2;
}
.hero h1 {
  font-size: clamp(2.2em, 4vw, 3.2em); font-weight: 300;
  line-height: 1.2; margin-bottom: 24px; color: var(--white);
}
.hero h1 strong {
  font-weight: 700; display: block; margin-top: 12px;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lead { font-size: 1.1em; color: var(--text-light); margin: 16px 0 0; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.microcopy { color: #64748b; font-size: 13px; margin-top: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid rgba(0,255,136,.3);
  border-radius: 999px; background: rgba(0,255,136,.08);
  color: #86efac; font-weight: 700; font-size: 13px; margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--secondary); box-shadow: 0 0 0 5px rgba(0,255,136,.15);
}

/* ── HERO PANEL (terminal/status) ── */
.hero-panel {
  background: linear-gradient(180deg, #121c30 0%, #0a1020 100%);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 20px; padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
  position: relative; overflow: hidden;
}
.hero-panel::before {
  content: ""; position: absolute; inset: -1px;
  background: radial-gradient(400px 180px at 50% -5%, rgba(0,212,255,.12), transparent 70%);
  pointer-events: none;
}
.status-card {
  border: 1px solid var(--border-dark); border-radius: 14px;
  background: rgba(255,255,255,.04); padding: 16px; margin-bottom: 12px;
  position: relative; z-index: 1;
}
.status-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 8px; color: #e2e8f0; font-weight: 700;
}
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 5px 10px;
  background: rgba(0,255,136,.1); color: #86efac;
  font-weight: 700; font-size: 12px; border: 1px solid rgba(0,255,136,.2);
}
.pill.warn { background: rgba(251,191,36,.1); color: #fcd34d; border-color: rgba(251,191,36,.25); }
.pill.cyan { background: rgba(0,212,255,.1); color: #67e8f9; border-color: rgba(0,212,255,.25); }
.signal { height: 7px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 8px; }
.signal span { display: block; height: 100%; border-radius: 99px; background: var(--gradient); }
.muted { color: #64748b; font-size: 13px; }
.terminal {
  font-family: "SFMono-Regular", Consolas, monospace;
  background: #030912; border: 1px solid rgba(0,212,255,.15);
  border-radius: 14px; padding: 16px; color: #93c5fd;
  font-size: 13px; position: relative; z-index: 1;
}
.terminal div { margin: 6px 0; }
.ok { color: #4ade80; } .warntext { color: #fcd34d; }

/* ── CITY SKYLINE ── */
.city-skyline {
  position: relative; height: 180px; margin-top: 50px; z-index: 2;
}
.city-buildings {
  position: absolute; bottom: 0; left: 0; right: 0; height: 150px;
  display: flex; align-items: flex-end; justify-content: space-around; padding: 0 3%;
}
.building {
  background: linear-gradient(to top, rgba(0,212,255,.28) 0%, rgba(0,212,255,.08) 100%);
  border-top: 2px solid rgba(0,212,255,.7);
  position: relative;
  animation: buildingGlow 4s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(0,212,255,.25);
}
.building::before {
  content: ""; position: absolute;
  top: 8%; left: 12%; right: 12%; bottom: 8%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(0,212,255,.35) 11px, rgba(0,212,255,.35) 13px),
    repeating-linear-gradient(90deg, transparent, transparent 14px, rgba(0,212,255,.25) 14px, rgba(0,212,255,.25) 16px);
}
@keyframes buildingGlow { 0%,100% { opacity:.65; } 50% { opacity:1; } }
.building:nth-child(1)  { width:55px; height:110px; animation-delay:0s; }
.building:nth-child(2)  { width:75px; height:85px;  animation-delay:.4s; }
.building:nth-child(3)  { width:65px; height:125px; animation-delay:.8s; }
.building:nth-child(4)  { width:85px; height:95px;  animation-delay:1.2s; }
.building:nth-child(5)  { width:50px; height:140px; animation-delay:1.6s; }
.building:nth-child(6)  { width:70px; height:90px;  animation-delay:2s; }
.building:nth-child(7)  { width:80px; height:115px; animation-delay:2.4s; }
.building:nth-child(8)  { width:60px; height:100px; animation-delay:2.8s; }
.building:nth-child(9)  { width:90px; height:130px; animation-delay:3.2s; }
.building:nth-child(10) { width:65px; height:88px;  animation-delay:3.6s; }

/* ── TRUST STRIP ── */
.trust-strip { padding: 16px 0 50px; background: var(--bg-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.metric {
  border: 1px solid var(--border-dark); border-radius: 16px;
  background: rgba(255,255,255,.04); padding: 18px;
}
.metric strong { display: block; font-size: 26px; letter-spacing: -1px; color: var(--primary); }
.metric span { display: block; color: var(--text-light); font-size: 13px; margin-top: 6px; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--bg-dark); color: var(--white); }
.section.light { background: var(--bg-light); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 40px; }
.section-head p { max-width: 520px; color: var(--text-muted); font-size: 1.05em; margin-top: 10px; }
.dark .section-head p { color: var(--text-light); }
.kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: .18em;
  font-weight: 800; color: var(--primary); margin-bottom: 10px;
}
.dark .kicker { color: var(--secondary); }

h1,h2,h3 { line-height: 1.1; }
h2 { font-size: clamp(1.8em, 3vw, 2.6em); letter-spacing: -.03em; color: var(--text-dark); }
h3 { font-size: 1.25em; }
.dark h2, .dark h3 { color: var(--white); }
.section-title {
  font-size: clamp(1.8em, 3vw, 2.6em); font-weight: 700;
  margin-bottom: 48px; text-align: center;
}
.section-title.gradient {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── GRID ── */
.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.grid.cols-5 { grid-template-columns: repeat(5,1fr); }

/* ── CARDS (light sections) ── */
.card {
  background: var(--white); border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 36px 28px; transition: all .25s;
  position: relative; overflow: hidden; color: var(--text-dark);
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient); transform: scaleX(0);
  transition: transform .3s; transform-origin: left;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,.09);
  transform: translateY(-5px); border-color: var(--primary);
}
.card h3 { font-size: 1.2em; margin-bottom: 12px; color: var(--text-dark); font-weight: 700; }
.card p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; font-size: .96em; }
.card-link { color: var(--accent); font-weight: 700; font-size: .9em; display: inline-flex; align-items: center; gap: 4px; }
.card-link:hover { gap: 8px; color: var(--primary); }
.featured {
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 100%) !important;
  border-color: rgba(0,212,255,.3) !important; color: var(--white) !important;
}
.featured h3 { color: var(--white) !important; }
.featured p { color: var(--text-light) !important; }

/* ── CARDS (dark sections) ── */
.dark .card {
  background: var(--bg-card); border-color: var(--border-dark);
  color: var(--white);
}
.dark .card h3 { color: var(--white); }
.dark .card p { color: var(--text-light); }
.dark .card:hover { border-color: var(--primary); box-shadow: 0 14px 36px rgba(0,212,255,.12); }

/* ── ICON ── */
.icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--gradient);
  display: grid; place-items: center; margin-bottom: 18px;
  font-weight: 900; font-size: 1em; color: var(--bg-dark);
}

/* ── SPLIT ── */
.split { display: grid; grid-template-columns: 1fr .85fr; gap: 60px; align-items: start; }
.sidebar {
  background: var(--white); border: 1px solid #e2e8f0;
  border-radius: 18px; padding: 24px; position: sticky; top: 90px;
}
.sidebar h3 { font-size: 1.15em; margin-bottom: 12px; color: var(--text-dark); }
.sidebar ul { padding-left: 18px; color: var(--text-muted); font-size: .95em; }
.sidebar ul li { margin: 8px 0; }
.dark .sidebar { background: var(--bg-card); border-color: var(--border-dark); }
.dark .sidebar h3 { color: var(--white); }

/* ── TIMELINE ── */
.timeline { display: grid; gap: 14px; counter-reset: step; }
.step { position: relative; padding: 20px 20px 20px 82px; border: 1px solid #e2e8f0; border-radius: 16px; background: var(--white); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gradient); color: var(--bg-dark);
  display: grid; place-items: center; font-weight: 900; font-size: .9em;
}
.step h3 { font-size: 1.05em; font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.step p { color: var(--text-muted); font-size: .92em; }
.dark .step { background: var(--bg-card); border-color: var(--border-dark); }
.dark .step h3 { color: var(--white); }
.dark .step p { color: var(--text-light); }

/* ── TABLE ── */
.table-wrap { overflow: auto; border-radius: 16px; border: 1px solid #e2e8f0; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
th { background: #f8fafc; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; }
td { color: var(--text-dark); font-size: .95em; }
td a { color: var(--accent); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* ── CTA BAND ── */
.cta-band {
  margin-top: 40px; border-radius: 20px; padding: 36px;
  background: var(--bg-dark); color: var(--white);
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 0 0 1px rgba(0,212,255,.1);
}
.cta-band h3 { font-size: 1.4em; color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--text-light); max-width: 640px; font-size: .96em; margin: 0; }

/* ── FORM ── */
.form { background: var(--white); border: 1px solid #e2e8f0; border-radius: 20px; padding: 36px; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.full { grid-column: 1/-1; }
label { display: block; font-weight: 600; color: var(--text-dark); font-size: .9em; margin-bottom: 7px; }
input, select, textarea {
  width: 100%; border: 2px solid #e2e8f0; border-radius: 10px;
  padding: 12px 14px; font: inherit; font-size: .96em; color: var(--text-dark);
  background: var(--white); transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { min-height: 130px; resize: vertical; }
.helper { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }

/* ── FAQ ── */
.faq { display: grid; gap: 10px; }
details { background: var(--white); border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 22px; overflow: hidden; }
summary { cursor: pointer; font-weight: 700; color: var(--text-dark); list-style: none; padding-right: 24px; position: relative; }
summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--primary); font-size: 1.2em; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--text-muted); margin-top: 12px; line-height: 1.7; font-size: .96em; }
.dark details { background: var(--bg-card); border-color: var(--border-dark); }
.dark summary { color: var(--white); }
.dark details p { color: var(--text-light); }

/* ── NOTICE ── */
.notice { border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.08); border-radius: 14px; padding: 16px; color: #fcd34d; font-size: .95em; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--bg-dark); color: var(--white);
  padding: 52px 0 48px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(0,212,255,.12), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { max-width: 820px; }
.breadcrumbs { color: #64748b; font-size: 13px; margin-bottom: 18px; }
.breadcrumbs a { color: var(--text-light); }
.badge-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  display: inline-flex; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: var(--text-light); font-weight: 700; font-size: 12px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ── LIST CLEAN ── */
.list-clean { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.list-clean li { position: relative; padding-left: 28px; color: var(--text-muted); font-size: .96em; }
.list-clean li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 900; }
.dark .list-clean li { color: var(--text-light); }

/* ── FOOTER ── */
.footer { background: var(--bg-dark); color: var(--text-light); padding: 60px 0 28px; border-top: 1px solid var(--border-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 32px; }
.footer h4 { color: var(--white); font-size: .9em; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer a { display: block; color: var(--text-muted); margin: 8px 0; font-size: .92em; transition: color .2s; }
.footer a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-dark);
  color: #475569; font-size: 12.5px;
}

/* ── PCB GRID BACKGROUND ── */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image:
    linear-gradient(rgba(0,212,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7) 0%, transparent 50%);
}

/* ── AUDIT PAGE ── */
.audit-page { max-width: 960px; margin: 0 auto; padding: 48px 22px; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .section-head { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 78px; background: #0a0e1a; border: 1px solid var(--border-dark); border-radius: 16px; padding: 12px; gap: 4px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .nav.open .nav-cta { display: flex; flex-direction: column; position: absolute; left: 16px; right: 16px; top: 280px; gap: 8px; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .trust-grid, .form-grid { grid-template-columns: 1fr; }
  .city-buildings { padding: 0 2%; }
  .building:nth-child(n+9) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
