@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg:            #04070d;
  --panel:         rgba(10, 19, 34, 0.55);
  --panel-strong:  rgba(10, 19, 34, 0.60);
  --inner:         #0a1322;

  --white:      #ffffff;
  --text:       #e9f0fa;
  --lead:       #dbe6f5;
  --body:       #cfdcf0;
  --muted:      #97a8c4;
  --mono-muted: #8599b9;
  --hero-lead:  #c3d1e6;
  --heading:    #f2f7ff;

  --accent-1:    #2f7cf6;
  --accent-2:    #5fc2ff;
  --accent-grad: linear-gradient(100deg, #2f7cf6, #5fc2ff);
  --link:        #5fb2ff;
  --link-hover:  #8ccaff;
  --accent-text: #5fa8ff;
  --accent-soft: #9fc1ee;
  --success:     #57d9a3;
  --term-green:  #7ee787;

  --btn-bg: #f2f7ff;
  --btn-fg: #06101f;

  --border:        rgba(126, 166, 255, 0.14);
  --border-soft:   rgba(126, 166, 255, 0.10);
  --border-strong: rgba(126, 166, 255, 0.28);
  --border-input:  rgba(126, 166, 255, 0.20);
  --border-hover:  rgba(95, 194, 255, 0.50);
  --focus-ring:    rgba(95, 194, 255, 0.55);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1160px;
  --pad-x:     24px;
  --nav-h:     70px;

  --fs-3xs: 11.5px;
  --fs-2xs: 12.5px;
  --fs-xs:  13.5px;
  --fs-sm:  14.5px;
  --fs-md:  16px;
  --fs-lg:  18px;
  --fs-xl:  22px;
  --fs-2xl: 26px;

  --r-xs:    8px;
  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   20px;
  --r-xl:   24px;
  --r-pill: 99px;

  --shadow-sm:    0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-md:    0 20px 50px rgba(0, 0, 0, 0.30);
  --shadow-lg:    0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-xl:    0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-modal: 0 40px 100px rgba(0, 0, 0, 0.60);
  --shadow-raise: 0 22px 52px rgba(0, 0, 0, 0.50);

  --sp-section:     110px;
  --sp-section-end:  30px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

[hidden] { display: none !important; }

a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }

::selection { background: var(--accent-1); color: var(--white); }

input::placeholder,
textarea::placeholder { color: #697c93; opacity: 1; }

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

.sr-only {
  position: absolute; 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: 12px; top: -60px; z-index: 100;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: var(--fs-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--btn-fg); }

.bg-gradients,
.bg-dots,
.bg-aurora {
  position: fixed;
  z-index: -1;
  pointer-events: none;
}

.bg-gradients {
  inset: 0;
  background:
    radial-gradient(1100px 700px at 88% 112%, rgba(47, 124, 246, 0.18), transparent 60%),
    linear-gradient(112deg, rgba(64, 175, 235, 0.34) 0%, rgba(64, 175, 235, 0) 26%),
    linear-gradient(112deg, rgba(45, 140, 215, 0) 14%, rgba(45, 140, 215, 0.24) 30%, rgba(45, 140, 215, 0) 48%),
    linear-gradient(112deg, rgba(35, 120, 195, 0) 42%, rgba(35, 120, 195, 0.17) 57%, rgba(35, 120, 195, 0) 74%),
    var(--bg);
}

.bg-dots {
  inset: 0;
  background-image: radial-gradient(rgba(150, 190, 255, 0.05) 1px, transparent 1.4px);
  background-size: 24px 24px;
}

.bg-aurora {
  left: -15%; top: -25%;
  width: 85vw; height: 85vw;
  background: radial-gradient(closest-side, rgba(56, 150, 230, 0.30), rgba(56, 150, 230, 0) 70%);
  filter: blur(40px);
  animation: aurora 26s ease-in-out infinite alternate;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--sp-section) var(--pad-x) var(--sp-section-end);
  scroll-margin-top: var(--nav-h);
  position: relative;
}
.section--kontakt { padding-bottom: var(--sp-section); }

.section__head { max-width: 640px; }

.kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.h2 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.h2--tight { margin-bottom: 0; }

.section__sub {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.6;
}

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

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card--hover {
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card--hover:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-raise);
}

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  background: rgba(5, 10, 20, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.nav__logo:hover { color: var(--text); }

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav__link {
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 5px 2px;
  margin: -5px 0;
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--white); }

.hero {
  position: relative;
  min-height: 96vh;
  min-height: 96svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px var(--pad-x) 220px;
  overflow: hidden;
  scroll-margin-top: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 940px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  background: radial-gradient(closest-side, rgba(5, 10, 20, 0.72), rgba(5, 10, 20, 0.35) 55%, rgba(5, 10, 20, 0) 78%);
  padding: 30px 20px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 44px rgba(4, 7, 15, 0.7);
}
.hero__title .grad-text { background: linear-gradient(100deg, #4da3ff, #7fd4ff); -webkit-background-clip: text; background-clip: text; }

.hero__lead {
  margin: 0;
  max-width: 640px;
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--hero-lead);
  text-shadow: 0 2px 20px rgba(4, 7, 15, 0.9);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  font-size: var(--fs-md);
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  box-shadow: 0 10px 40px rgba(95, 194, 255, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--btn-fg);
}

.btn--ghost {
  border: 1px solid rgba(126, 166, 255, 0.35);
  color: var(--text);
  font-weight: 600;
  background: rgba(8, 15, 28, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent-2);
  color: var(--white);
}

.about__grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px;
  align-items: start;
}

.about__lead {
  margin: 0 0 18px;
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--lead);
  font-weight: 500;
}
.about__p {
  margin: 0 0 18px;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--muted);
}
.about__p:last-of-type { margin-bottom: 26px; }

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chip {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.05em;
  color: var(--accent-soft);
  border: 1px solid rgba(126, 166, 255, 0.25);
  background: rgba(47, 124, 246, 0.10);
  border-radius: var(--r-pill);
  padding: 7px 14px;
}

.steps {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}
.step {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--r-md);
  padding: 20px;
  will-change: transform;
}
.step__nr {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  font-weight: 500;
}
.step__title {
  margin: 10px 0 5px;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--heading);
}
.step__desc {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  line-height: 1.55;
}

.about__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  width: 100%;
  justify-self: center;
}

.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(126, 166, 255, 0.18);
  background: var(--inner);
  box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--panel);
}
.mini-card__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--heading);
}
.mini-card__phone:hover { color: var(--accent-2); }
.mini-card__mail { font-size: var(--fs-sm); color: var(--accent-text);   padding: 1px 0;
}

.label-mono {
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mono-muted);
}

.edu__row {
  font-size: var(--fs-sm);
  color: var(--body);
  line-height: 1.5;
}
.edu__sub { color: var(--muted); font-size: var(--fs-xs); }

.cards {
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
}
.cards > li { flex: 1 1 280px; max-width: 380px; min-width: 0; display: flex; flex-direction: column; }

.service { padding: 28px 26px; }
.service__nr {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.service__title {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.service__desc {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.note {
  margin: 20px 4px 0;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--mono-muted);
}

.demo {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: center;
}
.demo__title {
  margin: 14px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.demo__lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.65;
}
.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--body);
}
.check::before {
  content: "✓";
  flex: none;
  width: 22px; height: 22px;
  border-radius: var(--r-xs);
  background: rgba(47, 124, 246, 0.16);
  border: 1px solid var(--border-hover);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-size: var(--fs-2xs);
  font-weight: 700;
}

.terminal {
  border-radius: var(--r-md);
  background: var(--inner);
  border: 1px solid rgba(126, 166, 255, 0.22);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(126, 166, 255, 0.14);
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal__dot--r { background: #ff5f57; }
.terminal__dot--y { background: #febc2e; }
.terminal__dot--g { background: #28c840; }
.terminal__name {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  color: var(--mono-muted);
}

.terminal__pauza { display: none; }
.js .terminal__pauza {
  display: inline-block;
  margin-left: auto;
  appearance: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: 0.06em;
  color: var(--mono-muted);
  background: rgba(47, 124, 246, 0.10);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 4px 11px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.js .terminal__pauza:hover { color: var(--text); border-color: var(--border-hover); }
.js .terminal__pauza:active { transform: translateY(1px) scale(0.985); filter: brightness(0.94); }
.terminal__body {
  padding: 20px 22px;
  min-height: 236px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  line-height: 1.9;
}
.terminal__line { white-space: pre-wrap; }
.terminal__caret {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--accent-2);
  vertical-align: -2px;
  animation: blink 1s step-end infinite;
}

.projects {
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
  padding: 0;
}
.projects > li { flex: 1 1 300px; min-width: 0; }

.project {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project__thumb {
  aspect-ratio: 16 / 10;
  background: var(--inner);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.project__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.project__zoom:hover img { transform: scale(1.03); }
.project__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--heading);
}
.project__desc {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.tag {
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: 0.06em;
  color: var(--accent-soft);
  border: 1px solid rgba(126, 166, 255, 0.25);
  background: rgba(47, 124, 246, 0.10);
  border-radius: var(--r-pill);
  padding: 5px 11px;
}
.project__effect {
  margin-top: auto;
  padding-top: 18px;
}
.project__effect span {
  display: block;
  padding-top: 14px;
  border-top: 1px dashed rgba(126, 166, 255, 0.18);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--success);
}

.contact__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  align-items: start;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-2xl);
  color: var(--white);
  letter-spacing: -0.01em;
}
.contact__phone:hover { color: var(--accent-2); }
.contact__mail { font-size: var(--fs-lg); font-weight: 600; color: var(--accent-text); }
.contact__value { font-size: var(--fs-md); color: var(--muted); }
.contact__note {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  background: var(--panel);
  max-width: 420px;
}
.contact__note p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted);
}

.form-card {
  border: 1px solid rgba(126, 166, 255, 0.16);
  border-radius: var(--r-xl);
  background: var(--panel-strong);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }

.input {
  background: rgba(5, 10, 20, 0.65);
  border: 1px solid var(--border-input);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  color: var(--text);
  font-size: var(--fs-md);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
textarea.input { resize: vertical; min-height: 120px; }

.btn--submit {
  margin-top: 4px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
}
.btn--submit:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--submit[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__rodo {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  line-height: 1.6;
  color: var(--mono-muted);
}

.form__error {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 95, 87, 0.4);
  background: rgba(255, 95, 87, 0.10);
  color: #ffb3ae;
  font-size: var(--fs-sm);
}

.sent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 10px;
}
.sent__icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(87, 217, 163, 0.14);
  border: 1px solid rgba(87, 217, 163, 0.45);
  display: grid;
  place-items: center;
  color: var(--success);
  font-size: var(--fs-xl);
  font-weight: 700;
}
.sent__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--white);
}
.sent__text {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}
.btn--ghost-sm {
  margin-top: 8px;
  background: none;
  border: 1px solid rgba(126, 166, 255, 0.3);
  color: var(--body);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: var(--fs-sm);
}
.btn--ghost-sm:hover { border-color: var(--accent-2); color: var(--white); }

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__copy { color: var(--mono-muted); font-size: var(--fs-xs); }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__link { color: var(--muted); font-size: var(--fs-xs); padding: 2px 0; }
.footer__link:hover { color: var(--white); }

@keyframes aurora {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(32vw, 20vh) scale(1.3); }
}
@keyframes blink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.js [data-reveal] {
  opacity: 0;
  translate: 0 26px;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-reveal].is-revealed {
  opacity: 1;
  translate: none;
}

@media (max-width: 900px) {
  .about__grid { gap: 40px; }
  .demo { gap: 36px; margin-top: 60px; }
  .contact__grid { gap: 36px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; --nav-h: 92px; --sp-section: 76px; --sp-section-end: 24px; }

  .nav { padding: 12px 18px; gap: 10px; justify-content: center; }
  .nav__links { gap: 18px; justify-content: center; width: 100%; }
  .nav__link { font-size: var(--fs-xs); }

  .hero { padding: 150px var(--pad-x) 190px; min-height: auto; }
  .hero__inner { gap: 22px; padding: 20px 0; }
  .btn { padding: 14px 26px; font-size: var(--fs-sm); }

  .form-card { padding: 22px 20px; }
  .contact__phone { font-size: var(--fs-xl); }

  .footer { padding: 24px 20px; justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .nav__links { gap: 14px; }
  .nav__link { font-size: var(--fs-xs); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-aurora { animation: none; }
  .terminal__caret { animation: none; }
  .js .terminal__pauza { display: none; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .card--hover:hover, .btn:hover { transform: none; }
  .project__zoom:hover img { transform: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .bg-gradients, .bg-dots, .bg-aurora, .nav { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; translate: none !important; }
}

.page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px var(--pad-x) 80px;
}
.page h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 14px 0 24px;
}
.page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--heading);
  margin: 34px 0 10px;
}
.page p,
.page li { color: var(--muted); font-size: var(--fs-md); line-height: 1.7; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.page strong { color: var(--body); font-weight: 600; }
.page__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--mono-muted);
  margin-top: 40px;
}

.center-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 100px 24px 60px;
}
.center-page__box {
  max-width: 560px;
  text-align: center;
  border: 1px solid rgba(126, 166, 255, 0.16);
  background: var(--panel-strong);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
}
.center-page__icon {
  width: 54px; height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(47, 124, 246, 0.16);
  border: 1px solid var(--border-hover);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  font-size: var(--fs-xl);
  font-weight: 700;
}
.center-page__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.center-page__text { margin: 0 0 26px; color: var(--muted); font-size: var(--fs-md); line-height: 1.65; }
.center-page__code {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.subhero {
  position: relative;
  padding: 150px var(--pad-x) 150px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.subhero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.subhero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--heading);
  margin: 0;
}
.subhero__title-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.subhero__lead {
  margin: 0;
  max-width: 62ch;
  color: var(--hero-lead);
  font-size: clamp(15.5px, 1.7vw, 18px);
  line-height: 1.65;
}
.subhero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.duo {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 780px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
}

.benefits { padding: 26px 24px; }
.benefits__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  color: var(--heading);
  margin: 0 0 18px;
}
.benefits .checks { gap: 11px; }
.benefits .check { font-size: var(--fs-sm); line-height: 1.5; }

.steps--flow { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps--flow .step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--heading);
  margin: 8px 0 6px;
}

.cta-card {
  border: 1px solid var(--border);
  background: var(--panel-strong);
  border-radius: var(--r-xl);
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.cta-card .section__sub { max-width: 60ch; }

@media (max-width: 640px) {
  .subhero { padding: 130px var(--pad-x) 130px; }
  .benefits { padding: 22px 20px; }
  .cta-card { padding: 32px 22px; }
}

.service__more {
  margin-top: 14px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
  color: var(--link);
  padding: 3px 0;
}
.service__more::after { content: " →"; }
.service__more:hover { color: var(--link-hover); }

.edu__spec {
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  line-height: 1.45;
  color: var(--mono-muted);
}

.branze {
  margin: 22px 4px 0;
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--muted);
}
.branze__label {
  display: inline-block;
  margin-right: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.mini-card__li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: var(--fs-xs);
  color: var(--muted);
  padding: 2px 0;
}
.mini-card__li svg { flex: none; }
.mini-card__li:hover { color: var(--link-hover); }


.term-tabs { display: none; }
.js .term-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(126, 166, 255, 0.14);
}

.js [data-terminal-src] { display: none; }

.term-tab {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: var(--fs-3xs);
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: var(--r-xs);
  border: 1px solid transparent;
  background: transparent;
  color: var(--mono-muted);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.term-tab:hover { color: var(--text); }
.term-tab[aria-selected="true"] {
  color: var(--heading);
  background: rgba(47, 124, 246, 0.16);
  border-color: var(--border-hover);
}
.terminal__body:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
  .term-tab { transition: none; }
}

.project__link {
  display: block;
  padding-top: 14px;
  border-top: 1px dashed rgba(126, 166, 255, 0.18);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--link);
}
.project__link::after { content: " ↗"; }
.project__link:hover { color: var(--link-hover); }

.project__zoom {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.project__zoom:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -3px; }

.lightbox {
  max-width: min(94vw, 1240px);
  max-height: 92vh;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--inner);
  color: var(--text);
  overflow: visible;
  box-shadow: var(--shadow-modal);
}
.lightbox::backdrop {
  background: rgba(2, 5, 10, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--bg);
}
.lightbox__tytul {
  margin: 0;
  padding: 13px 18px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--muted);
}
.lightbox__zamknij {
  position: absolute;
  top: -14px; right: -14px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--inner);
  color: var(--text);
  font-size: var(--fs-xl);
  line-height: 1;
  cursor: pointer;
}
.lightbox__zamknij:hover { color: var(--white); border-color: var(--border-hover); }

@media (max-width: 640px) {
  .lightbox { max-width: 94vw; }
  .lightbox__zamknij { top: 8px; right: 8px; background: rgba(6, 12, 22, 0.85); }
}

.project__effect--demo span {
  color: var(--mono-muted);
  border-top-style: solid;
}

.contact__value--sub {
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  color: var(--mono-muted);
}
.contact__note strong { color: var(--body); font-weight: 600; }

.nav__mark {
  height: 22px;
  width: auto;
  flex: none;
}

.fazy {
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.fazy span { display: inline-flex; align-items: center; }
.fazy span:not(:last-child)::after {
  content: "→";
  margin-left: 14px;
  color: var(--mono-muted);
}
.benefits p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }

.cards--pack > li { flex: 1 1 225px; }
.cards--wide > li { flex: 1 1 430px; }


.section + .section::before {
  content: "";
  position: absolute;
  top: calc(var(--sp-section) * 0.3);
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

h1, h2, h3,
.hero__title, .subhero__title, .h2, .demo__title,
.service__title, .project__title, .step__title, .benefits__title,
.sent__title, .center-page__title { text-wrap: balance; }

p, .section__sub, .about__lead, .about__p, .hero__lead, .subhero__lead,
.service__desc, .project__desc, .step__desc, .check { text-wrap: pretty; }

.btn:active,
.btn--submit:active,
.btn--ghost-sm:active,
.term-tab:active,
.lightbox__zamknij:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.94);
}

.card--hover:active {
  transform: translateY(-2px) scale(0.995);
  filter: brightness(0.96);
}

.nav__link:active,
.footer__link:active,
.service__more:active,
.project__link:active,
.mini-card__li:active,
.mini-card__phone:active,
.contact__phone:active,
.project__zoom:active { opacity: 0.68; }

@media (prefers-reduced-motion: reduce) {
  .btn:active,
  .btn--submit:active,
  .btn--ghost-sm:active,
  .term-tab:active,
  .lightbox__zamknij:active,
  .card--hover:active { transform: none; }
}
