:root {
  --bg: #02060b;
  --surface: rgba(7, 14, 24, 0.92);
  --surface-soft: rgba(11, 22, 36, 0.84);
  --line: rgba(106, 198, 255, 0.2);
  --line-strong: rgba(0, 226, 255, 0.72);
  --text: #eefaff;
  --muted: #b9cedb;
  --accent: #00dff5;
  --accent-2: #72ffc9;
  --accent-strong: #00e0ff;
  --beam-cyan: var(--accent-strong);
  --frame-stroke: rgba(0, 217, 255, 0.45);
  --danger: #ff5d8f;
  --success: #62f6b0;
  --max: 1120px;
  --radius: 18px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 217, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 88% 34%, rgba(41, 255, 185, 0.08), transparent 30rem),
    linear-gradient(180deg, #02060b 0%, #030912 52%, #010408 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.3px),
    radial-gradient(circle, rgba(0, 217, 255, 0.7) 0 1px, transparent 1.4px);
  background-position: 0 0, 46px 62px;
  background-size: 118px 118px, 173px 173px;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #8bf6ff;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(114, 255, 201, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #001014;
  background: var(--accent-2);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

[data-lang-content] {
  display: none;
}

html[data-lang="en"] [data-lang-content="en"],
html[data-lang="de"] [data-lang-content="de"],
html[data-lang="pl"] [data-lang-content="pl"],
html[data-lang="fr"] [data-lang-content="fr"],
html[data-lang="it"] [data-lang-content="it"],
html[data-lang="tr"] [data-lang-content="tr"],
html[data-lang="es"] [data-lang-content="es"],
html[data-lang="cs"] [data-lang-content="cs"],
html[data-lang="uk"] [data-lang-content="uk"],
html[data-lang="nl"] [data-lang-content="nl"],
html[data-lang="el"] [data-lang-content="el"],
html[data-lang="ro"] [data-lang-content="ro"] {
  display: inline;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--frame-stroke);
  box-shadow: 0 8px 22px rgba(0, 217, 255, 0.1);
}

.nav-wrap {
  max-width: min(1200px, 95vw);
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  padding: 6px 8px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.25px;
}

.brand-text {
  white-space: nowrap;
}

.brand .brand-icon {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.brand-text .char {
  display: inline-block;
  will-change: transform, color, text-shadow;
}

@keyframes brandWave {
  0%, 80%, 100% {
    color: #fff;
    text-shadow: none;
    transform: translateY(0) scale(1);
  }
  10% {
    color: var(--accent-strong);
    text-shadow: 0 0 12px var(--accent-strong), 0 0 24px var(--accent-strong);
    transform: translateY(-2px) scale(1.05);
  }
  20% {
    color: var(--accent-strong);
    text-shadow: 0 0 12px var(--accent-strong), 0 0 20px var(--accent-strong);
    transform: translateY(-1px) scale(1.02);
  }
  35% {
    color: #fff;
    text-shadow: none;
    transform: translateY(0) scale(1);
  }
}

.nav-toggle {
  margin-left: auto;
  display: none;
  border: 1px solid rgba(0, 217, 255, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  position: relative;
  padding-top: 12px;
}

nav.primary a,
nav.primary button {
  color: #fff !important;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  position: relative;
  line-height: 1;
  white-space: nowrap;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

nav.primary a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

nav.primary a::after,
nav.primary button::after {
  display: none !important;
  content: none !important;
}

.has-menu {
  position: relative;
}

.has-menu .menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-trigger .caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #cfefff;
  filter: drop-shadow(0 0 6px rgba(0, 217, 255, 0.6));
  margin-top: 2px;
  transition: transform 0.18s ease;
}

.has-menu[data-open="true"] .menu-trigger .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  width: max-content;
  max-width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  margin-top: 10px;
  background: rgba(5, 7, 10, 0.92);
  border: 1px solid var(--frame-stroke);
  border-radius: 16px;
  padding: 8px;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow:
    0 14px 30px rgba(0, 217, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 18px rgba(0, 217, 255, 0.18);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.has-menu[data-open="true"] .dropdown {
  display: block;
}

nav.primary .dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #eaf6ff;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  white-space: normal;
  overflow-wrap: anywhere;
}

nav.primary .dropdown a:hover,
nav.primary .dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  color: #fff;
}

nav.primary .beam-active {
  --beam-show: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 12px;
  opacity: var(--beam-show);
  z-index: 2;
  pointer-events: none;
  transform-origin: center center;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.15s ease;
}

@keyframes triPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    filter:
      drop-shadow(2px 0 8px rgba(4, 175, 255, 0.45))
      drop-shadow(1px 0 2px rgba(0, 196, 226, 0.4))
      drop-shadow(0 0 3px rgba(17, 204, 255, 0.35))
      drop-shadow(8px 0 16px rgba(0, 156, 199, 0.35));
    opacity: 0.92;
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    filter:
      drop-shadow(2px 0 14px rgba(0, 224, 255, 0.75))
      drop-shadow(0 0 6px rgba(0, 217, 255, 0.7))
      drop-shadow(0 0 18px rgba(0, 224, 255, 0.6))
      drop-shadow(10px 0 26px rgba(0, 156, 199, 0.55));
    opacity: 1;
  }
}

nav.primary .beam-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 12px solid var(--beam-cyan);
  animation: triPulse 1.35s ease-in-out infinite;
  will-change: transform, filter, opacity;
}

nav.primary .beam-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

nav.primary .nav-word {
  display: inline-flex;
  gap: 0;
}

nav.primary .nav-char {
  display: inline-block;
}

nav.primary .nav-space {
  display: inline-block;
  width: 0.33em;
}

[id] {
  scroll-margin-top: 72px;
}

nav.primary .language-switch {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 18, 28, 0.8);
  gap: 3px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
}

nav.primary .language-switch:hover {
  background: rgba(0, 223, 245, 0.1);
}

nav.primary .language-switch:focus-visible {
  outline: none;
}

nav.primary .language-switch:focus-visible .switch-track {
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px rgba(0, 223, 245, 0.2),
    0 0 12px rgba(0, 223, 245, 0.45);
}

.switch-label {
  padding: 0 4px;
  color: var(--muted);
}

.language-switch[aria-checked="false"] .switch-label:first-child,
.language-switch[aria-checked="true"] .switch-label:last-child {
  color: #fff;
}

.switch-track {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 22px;
  margin-inline: 4px;
  border: 1px solid rgba(0, 223, 245, 0.5);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0, 223, 245, 0.42);
  transition: transform 160ms ease;
}

.language-switch[aria-checked="true"] .switch-thumb {
  transform: translateX(16px);
}

main {
  position: relative;
  flex: 1;
}

.career-contour-field {
  position: fixed;
  inset: 76px 0 0;
  z-index: -1;
  width: 100%;
  height: calc(100vh - 76px);
  opacity: 0.46;
  pointer-events: none;
}

.career-shell {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
  padding: 48px 0 72px;
}

.career-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(5, 12, 21, 0.96), rgba(3, 8, 14, 0.94));
  box-shadow:
    0 0 0 1px rgba(0, 223, 245, 0.08) inset,
    0 0 0 1.25px rgba(0, 234, 255, 0.9),
    0 0 18px rgba(0, 234, 255, 0.35),
    0 0 40px rgba(0, 234, 255, 0.18),
    0 30px 80px rgba(0, 0, 0, 0.5);
}

.career-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(
    800px circle at var(--card-glow-x, 50%) var(--card-glow-y, 50%),
    rgba(0, 234, 255, 0.08),
    transparent 40%
  );
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .career-card[data-card-glow-active="true"]::before {
    opacity: 1;
  }
}

.career-card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 48px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  max-width: 920px;
  margin: 0;
  color: var(--accent);
  font-size: clamp(2.1rem, 5.2vw, 4.25rem);
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow:
    0 0 6px rgba(0, 223, 245, 0.6),
    0 0 20px rgba(0, 223, 245, 0.35);
}

#job-title-pro2 .h1-visual {
  display: inline;
}

#job-title-pro2 .h1-word {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
}

#job-title-pro2 .h1-letter {
  display: inline-block;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease,
    filter 180ms ease;
}

@media (any-hover: hover) and (any-pointer: fine) {
  #job-title-pro2 .h1-letter:hover,
  #job-title-pro2 .h1-letter[data-letter-glow-active="true"] {
    color: #7df9ff;
    filter: brightness(1.08);
    text-shadow:
      0 0 6px #00eaff,
      0 0 12px #00eaff,
      0 0 22px #00eaff,
      0 0 36px #00bfff;
    transform: translateY(-2px) scale(1.06);
  }
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
}

.lead {
  max-width: 890px;
  margin: 18px 0 0;
  color: #dceef6;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.section-nav,
.pill-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-nav {
  margin-top: 28px;
}

.section-nav a,
.pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(0, 223, 245, 0.05);
  text-decoration: none;
  font-size: 0.9rem;
}

.section-nav a:hover {
  border-color: var(--line-strong);
  background: rgba(0, 223, 245, 0.11);
}

.pill-row {
  margin-top: 16px;
}

.pill {
  color: var(--accent);
  border-color: rgba(0, 223, 245, 0.28);
}

.divider {
  height: 1px;
  margin: 30px 0;
  background: linear-gradient(90deg, transparent, rgba(0, 223, 245, 0.54), transparent);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel,
.application-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.panel {
  padding: 22px;
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.panel ul {
  padding-left: 1.25rem;
}

.panel li + li {
  margin-top: 8px;
}

.application-panel {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.form-grid {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #edf9ff;
  font-size: 0.92rem;
  font-weight: 650;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--text);
  border: 1px solid rgba(122, 173, 211, 0.26);
  border-radius: 10px;
  background: #030a12;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input:hover,
.field select:hover {
  border-color: rgba(0, 223, 245, 0.48);
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 223, 245, 0.13);
}

.consent-field label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 450;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--accent);
}

.button-row {
  margin-top: 4px;
}

.submit-button {
  min-height: 46px;
  padding: 10px 18px;
  color: #001218;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 24px rgba(0, 223, 245, 0.2);
  cursor: pointer;
  font-weight: 800;
}

.submit-button:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  filter: grayscale(0.5);
  opacity: 0.55;
}

.app-status {
  margin-top: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 10, 17, 0.86);
}

.app-status.loading {
  color: #dffbff;
  border-color: var(--line-strong);
}

.app-status.ok {
  color: #eafff7;
  border-color: rgba(98, 246, 176, 0.7);
  box-shadow: 0 0 22px rgba(98, 246, 176, 0.1);
}

.app-status.err {
  color: #fff0f5;
  border-color: rgba(255, 93, 143, 0.78);
  box-shadow: 0 0 22px rgba(255, 93, 143, 0.12);
}

.hidden-iframe {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--frame-stroke);
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  color: #bdefff;
  box-shadow: 0 -8px 22px rgba(0, 217, 255, 0.08);
}

.footer-wrap {
  max-width: min(1200px, 95vw);
  margin: 0 auto;
  padding: 18px 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 8px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

@media (max-width: 920px) {
  .panel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  nav.primary {
    display: none;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 4px;
    margin: 10px 0 4px;
    padding-top: 0;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }

  header.site-header[data-open="true"] nav.primary {
    display: flex;
  }

  .has-menu {
    width: 100%;
  }

  .dropdown {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0;
    max-height: none;
    overflow-y: visible;
  }

  nav.primary .beam-active {
    display: none !important;
  }

  .language-switch {
    margin-top: 6px;
  }
}

@media (max-width: 720px) {
  .brand {
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .career-shell {
    width: min(100% - 20px, var(--max));
  }

  .career-shell {
    padding-top: 24px;
  }

  .career-card-inner {
    padding: 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  nav.primary .beam-active::before {
    animation: none !important;
  }

  #job-title-pro2 .h1-letter:hover,
  #job-title-pro2 .h1-letter[data-letter-glow-active="true"] {
    transform: none;
  }
}

@media (forced-colors: active) {
  nav.primary .language-switch:focus-visible {
    outline: 2px solid Highlight;
    outline-offset: 2px;
  }

  .career-card::before {
    display: none;
  }

  h1 {
    color: CanvasText;
    text-shadow: none;
  }

  #job-title-pro2 .h1-letter,
  #job-title-pro2 .h1-letter:hover,
  #job-title-pro2 .h1-letter[data-letter-glow-active="true"] {
    color: CanvasText;
    filter: none;
    text-shadow: none;
    transform: none;
  }
}
