/* === Tokens (1:1 z React/Tailwind) === */
:root {
  --background: 40 15% 92%;
  --foreground: 220 20% 15%;
  --border: 40 15% 82%;
  --card: 40 18% 96%;
  --card-foreground: 220 20% 15%;
  --primary: 11 81% 53%;
  --primary-foreground: 0 0% 100%;
  --secondary: 200 40% 30%;
  --muted: 40 15% 86%;
  --muted-foreground: 220 15% 45%;
  --accent: 40 20% 88%;
  --destructive: 0 84% 60%;
  --success: 142 71% 40%;

  --dark-background: 220 25% 5%;
  --dark-foreground: 210 40% 98%;
  --dark-border: 215 28% 17%;
  --dark-muted-foreground: 215 20% 65%;

  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: hsl(var(--border)); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle, hsla(220, 20%, 15%, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; }
::selection { background: hsla(11, 81%, 53%, 0.3); color: hsl(var(--primary)); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .container { padding: 0 3rem; } }

.font-mono { font-family: var(--font-mono); }
.font-bold { font-weight: 700; }
.font-light { font-weight: 300; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.text-primary { color: hsl(var(--primary)); }
.text-muted { color: hsl(var(--muted-foreground)); }

/* === Utilities === */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1rem; }

/* ========== CYBER PANEL (kluczowy element designu) ========== */
.cyber-panel {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
}
.cyber-panel::before, .cyber-panel::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid hsl(var(--primary));
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.cyber-panel::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cyber-panel::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cyber-panel:hover::before, .cyber-panel:hover::after { opacity: 1; }

.cyber-text-glow { text-shadow: 0 0 10px hsla(11, 81%, 53%, 0.5); }
.cyber-border-glow { box-shadow: 0 0 15px hsla(11, 81%, 53%, 0.2); }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: hsl(var(--dark-background) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: hsl(var(--dark-foreground));
  border-bottom: 1px solid hsl(var(--dark-border) / 0.5);
  padding: 1rem 0;
  transition: padding 0.3s, background 0.3s;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: hsl(var(--dark-foreground));
}
.brand .icon { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); }
.brand .icon svg { width: 100%; height: 100%; stroke-width: 2; }
.brand:hover .icon { text-shadow: 0 0 10px hsla(11, 81%, 53%, 0.5); }
.brand .tld { color: hsl(var(--primary)); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  color: hsl(var(--dark-muted-foreground));
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: hsl(var(--primary)); }
.nav-cta {
  padding: 0.5rem 1rem;
  border: 1px solid hsl(var(--primary));
  color: hsl(var(--primary)) !important;
  box-shadow: 0 0 15px hsla(11, 81%, 53%, 0.2);
  transition: all 0.2s;
}
.nav-cta:hover { background: hsl(var(--primary)); color: white !important; }

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: hsl(var(--dark-foreground));
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: hsl(var(--dark-background) / 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--dark-border));
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: hsl(var(--dark-muted-foreground)); }
.mobile-menu a.nav-cta { margin-top: 0.5rem; padding: 0.75rem; text-align: center; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg .fade-r {
  position: absolute; inset: 0;
  background: linear-gradient(to right, hsl(var(--background) / 0.85), hsl(var(--background) / 0.4) 50%, hsl(var(--background) / 0));
}
.hero-bg .fade-b {
  position: absolute; left: 0; right: 0; bottom: 0; height: 10rem;
  background: linear-gradient(to top, hsl(var(--background)), transparent);
}
.hero-bg .glow-1 {
  position: absolute; top: 25%; right: -25%;
  width: 800px; height: 800px;
  background: hsl(var(--primary) / 0.15);
  border-radius: 50%;
  filter: blur(120px);
}
.hero-bg .glow-2 {
  position: absolute; bottom: 25%; left: -25%;
  width: 600px; height: 600px;
  background: hsl(var(--secondary) / 0.10);
  border-radius: 50%;
  filter: blur(100px);
}
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 70%, transparent 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) { .hero .container { flex-direction: row; } }
.hero-content { flex: 1; }
.hero-eyebrow {
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.dot-pulse {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.gradient-text {
  background: linear-gradient(to right, hsl(var(--primary)), #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
  position: relative;
  overflow: hidden;
}
.btn:hover { border-color: hsl(var(--primary) / 0.5); background: hsl(var(--primary) / 0.05); }
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  box-shadow: 0 0 15px hsla(11, 81%, 53%, 0.2);
}
.btn-primary:hover { background: hsl(var(--primary) / 0.9); border-color: hsl(var(--primary)); color: white; }
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(0.25rem); }

/* === Hero dashboard mockup === */
.hero-mockup {
  flex: 1;
  width: 100%;
  position: relative;
}
.hero-mockup .glow {
  position: absolute;
  inset: -1rem;
  background: hsl(var(--primary) / 0.2);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero-mockup .frame {
  position: relative;
  z-index: 1;
  background: #111113;
  border: 1px solid #2a2a2e;
  padding: 0.5rem;
  aspect-ratio: 16/10;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
  overflow: hidden;
}
.hero-mockup .titlebar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5rem;
  background: #1a1a1c;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
  z-index: 2;
}
.hero-mockup .titlebar .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.hero-mockup .titlebar .red { background: hsl(var(--destructive) / 0.8); }
.hero-mockup .titlebar .yellow { background: rgba(234, 179, 8, 0.8); }
.hero-mockup .titlebar .green { background: rgba(34, 197, 94, 0.8); }
.hero-mockup .titlebar .label {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: rgba(255,255,255,0.5);
}
.hero-mockup .screen {
  margin-top: 1.5rem;
  width: 100%;
  height: calc(100% - 1.5rem);
  background: #0a0a0c;
  position: relative;
  overflow: hidden;
}
.hero-mockup .screen img { width: 100%; height: 100%; object-fit: cover; }

/* ========== STATS ========== */
.stats {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border) / 0.5);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background));
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: hsl(var(--primary) / 0.02);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.stat:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.stat-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-shadow: 0 0 10px hsla(11, 81%, 53%, 0.5);
  margin-bottom: 0.5rem;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
}

/* ========== SECTION HEADER ========== */
section { padding: 6rem 0; position: relative; }
.section-eyebrow {
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.section-eyebrow .bar {
  width: 2rem;
  height: 1px;
  background: hsl(var(--primary));
}
.section-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-intro {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 42rem;
  line-height: 1.7;
  margin-bottom: 4rem;
}

/* ========== SERVICES ========== */
.services {
  border-top: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background) / 0.5);
}
.services .head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}
.services .head-center .section-eyebrow {
  justify-content: center;
}
.services .head-center .section-title { margin-bottom: 0; }

.grid-services {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .grid-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  cursor: crosshair;
}
.service-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 2rem;
}
.service-icon {
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.2);
  color: hsl(var(--muted-foreground));
  transition: color 0.2s, border-color 0.2s;
}
.service-card:hover .service-icon { color: hsl(var(--primary)); border-color: hsl(var(--primary) / 0.5); }
.service-icon svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; display: block; }
.service-num {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--muted) / 0.5);
  transition: color 0.2s;
}
.service-card:hover .service-num { color: hsl(var(--primary) / 0.2); }
.service-title {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 1rem;
  transition: text-shadow 0.2s;
}
.service-card:hover .service-title { text-shadow: 0 0 10px hsla(11, 81%, 53%, 0.5); }
.service-desc {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.6;
  flex: 1;
}
.service-cta {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.service-card:hover .service-cta { color: hsl(var(--primary)); }
.service-cta .bar { width: 1rem; height: 1px; background: hsl(var(--primary)); }

.service-features {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.service-features li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  align-items: start;
}
.service-features li svg {
  width: 1rem; height: 1rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.service-features li span { color: hsl(var(--foreground) / 0.8); }

/* ========== TECHNOLOGY (marquee) ========== */
.tech-section {
  padding: 5rem 0;
  border-top: 1px solid hsl(var(--border) / 0.5);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--muted) / 0.1);
  overflow: hidden;
}
.tech-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.marquee {
  position: relative;
  overflow: hidden;
  display: flex;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  margin: 0 2rem;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground) / 0.4);
  transition: color 0.2s;
  cursor: default;
}
.marquee-track span:hover { color: hsl(var(--primary)); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 8rem;
  z-index: 10;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, hsl(var(--background)), transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, hsl(var(--background)), transparent); }

/* ========== PROCESS ========== */
.process .container > .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .process .container > .grid { grid-template-columns: 1fr 1fr; } }
.process-eyebrow {
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.process-eyebrow svg { width: 1rem; height: 1rem; }
.process h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
}
.process-desc {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 3rem;
  max-width: 28rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}
.steps-list::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, hsl(var(--border)), transparent);
}
.step-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  position: relative;
}
.step-num-box {
  width: 3rem; height: 3rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  transition: all 0.2s;
}
.step-row:hover .step-num-box {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 15px hsla(11, 81%, 53%, 0.2);
}
.step-num-box span {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.step-row:hover .step-num-box span { color: hsl(var(--primary)); }
.step-card {
  flex: 1;
  padding: 1.5rem;
}
.step-card h3 {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.5rem;
}
.step-card p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
}
.process-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: hsl(var(--muted) / 0.1);
  display: none;
}
@media (min-width: 1024px) { .process-image { display: block; } }
.process-image img { width: 100%; height: 100%; object-fit: cover; }
.process-image .frame-1 { position: absolute; inset: 2rem; border: 1px solid hsl(var(--primary) / 0.2); }
.process-image .frame-2 { position: absolute; inset: 4rem; border: 1px solid hsl(var(--secondary) / 0.2); }

/* ========== FAQ ========== */
.faq-section .container { display: flex; flex-direction: column; align-items: center; }
.faq-eyebrow {
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.faq-eyebrow svg { width: 1rem; height: 1rem; }
.faq-section h2 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}
.faq-wrap {
  width: 100%;
  max-width: 48rem;
  padding: 2.5rem;
}
.faq-item { border-bottom: 1px solid hsl(var(--border) / 0.5); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-q:hover { color: hsl(var(--primary)); }
.faq-q::after {
  content: "›";
  color: hsl(var(--primary));
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
  transform: rotate(90deg);
}
.faq-item.open .faq-q::after { transform: rotate(270deg); }
.faq-a {
  display: none;
  padding: 0 0 1.5rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ========== CONTACT ========== */
.contact-section .container { display: flex; justify-content: center; }
.contact-wrap { max-width: 64rem; width: 100%; }
.contact-outer { padding: 0.25rem; }
@media (min-width: 768px) { .contact-outer { padding: 2rem; } }
.contact-inner {
  border: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background) / 0.8);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .contact-inner { padding: 3rem; } }
.contact-terminal-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2rem;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--muted) / 0.2);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.contact-terminal-bar svg { width: 1rem; height: 1rem; margin-right: 0.5rem; }
.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-info > p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}
.contact-list .row {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: hsl(var(--muted-foreground));
}
.contact-list .row svg { width: 1rem; height: 1rem; color: hsl(var(--primary)); flex-shrink: 0; }
.contact-list .status-dot {
  width: 1rem; height: 1rem;
  border: 1px solid hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-list .status-dot span {
  width: 0.5rem; height: 0.5rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

.form {
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--primary));
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  font-family: inherit;
  background: hsl(var(--muted) / 0.1);
  border: 1px solid hsl(var(--border));
  padding: 0.75rem;
  color: hsl(var(--foreground));
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: none; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary));
}
.form-submit {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 15px hsla(11, 81%, 53%, 0.2);
  transition: background 0.2s;
}
.form-submit:hover { background: hsl(var(--primary) / 0.9); }
.form-submit::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.form-submit:hover::after { transform: translateX(100%); }
.form-success, .form-error {
  display: none;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  margin-top: 0.5rem;
}
.form-success.show, .form-error.show { display: block; }
.form-success { background: hsl(var(--success) / 0.08); border-left: 3px solid hsl(var(--success)); }
.form-error { background: hsl(var(--destructive) / 0.08); border-left: 3px solid hsl(var(--destructive)); }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ========== FOOTER ========== */
footer {
  background: hsl(var(--dark-background));
  color: hsl(var(--dark-foreground));
  border-top: 1px solid hsl(var(--dark-border) / 0.5);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, hsl(var(--primary) / 0.5), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-about { grid-column: span 1; }
@media (min-width: 768px) { .footer-about { grid-column: span 2; } }
.footer-about p {
  color: hsl(var(--dark-muted-foreground));
  font-size: 0.875rem;
  font-weight: 300;
  max-width: 28rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: hsl(var(--dark-muted-foreground));
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: hsl(var(--primary)); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--dark-border) / 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: hsl(var(--dark-muted-foreground));
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-status { display: flex; align-items: center; gap: 1rem; }

/* ========== PAGE LAYOUT (subpages) ========== */
.page-main { padding-top: 8rem; padding-bottom: 6rem; }
.page-main.contact-only { padding-top: 6rem; padding-bottom: 0; }
.page-header { max-width: 48rem; margin-bottom: 5rem; }
.page-header .eyebrow {
  font-family: var(--font-mono);
  color: hsl(var(--primary));
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.page-header .eyebrow .bar {
  width: 2rem;
  height: 1px;
  background: hsl(var(--primary));
}
.page-header h1 {
  font-size: clamp(3rem, 6vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.page-header p {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.7;
}

/* === Services subpage grid === */
.grid-services-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .grid-services-2 { grid-template-columns: repeat(2, 1fr); } }

/* === Tech category card === */
.tech-cat { padding: 2rem; }
.tech-cat-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: hsl(var(--primary));
}
.tech-cat-head svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.75; }
.tech-cat-head h3 {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: hsl(var(--foreground));
}
.tech-list { display: flex; flex-direction: column; gap: 1.25rem; }
.tech-list li .name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: 0.25rem;
}
.tech-list li .use {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.6;
}

/* === Project card === */
.project-card { padding: 2rem; scroll-margin-top: 6rem; }
#typy-systemow { scroll-margin-top: 6rem; }
.project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.project-head .name {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.project-head .sector {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.project-card > p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: hsl(var(--muted) / 0.3);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground) / 0.8);
}

/* === Process subpage === */
.process-banner {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21/9;
  margin-bottom: 6rem;
}
.process-banner img { width: 100%; height: 100%; object-fit: cover; }
.process-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.8), transparent 60%);
}
.process-banner-text {
  position: absolute;
  bottom: 2rem; left: 2rem; right: 2rem;
}
.process-banner-text small {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}
.process-banner-text p {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  max-width: 36rem;
  color: hsl(var(--foreground));
}

.subsec-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.subsec-head svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); stroke-width: 1.75; }
.subsec-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.proc-card { padding: 2rem; }
.proc-card .head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.proc-card .num {
  font-family: var(--font-mono);
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--primary) / 0.3);
  transition: color 0.2s;
}
.proc-card:hover .num { color: hsl(var(--primary)); }
.proc-card .time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.proc-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.proc-card p {
  color: hsl(var(--muted-foreground));
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.6;
}
.proc-tech-card .num { display: block; margin-bottom: 1rem; }
.proc-tech-card h3 {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* === CTA panel === */
.cta-panel {
  margin-top: 5rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .cta-panel { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cta-panel h3 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.cta-panel p { color: hsl(var(--muted-foreground)); font-weight: 300; }
.cta-panel .btn-primary {
  flex-shrink: 0;
  padding: 1rem 1.5rem;
}
