:root {
  --dz-bg: #f7f4ef;
  --dz-surface: rgba(255, 255, 255, 0.84);
  --dz-surface-solid: #ffffff;
  --dz-ink: #101828;
  --dz-muted: #667085;
  --dz-soft: #e5e9f2;
  --dz-line: rgba(16, 24, 40, 0.10);
  --dz-cyan: #20d6d2;
  --dz-blue: #1a7cff;
  --dz-violet: #7869ff;
  --dz-pink: #ff5aa5;
  --dz-amber: #ffbf4d;
  --dz-green: #42d392;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.digital-zone-onepage {
  min-height: 100vh;
  min-height: 100svh;
  color: var(--dz-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 7% 10%, rgba(32, 214, 210, 0.28), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(255, 90, 165, 0.20), transparent 30%),
    radial-gradient(circle at 22% 92%, rgba(255, 191, 77, 0.22), transparent 30%),
    radial-gradient(circle at 86% 88%, rgba(120, 105, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #fffaf2 0%, #f7fbff 46%, #f4f0ff 100%);
}

body.digital-zone-onepage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,24,40,0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16,24,40,0.03) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body.digital-zone-onepage.admin-bar,
body.digital-zone-onepage.digital-zone-blocked {
  overflow-y: auto;
}

.dz-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  overflow: hidden;
}

body.admin-bar .dz-page {
  min-height: calc(100svh - 32px);
}

.dz-aura {
  position: fixed;
  inset: auto -14vw -28vh auto;
  width: min(62vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 34% 34%, rgba(32,214,210,0.28), transparent 30%),
    radial-gradient(circle at 74% 42%, rgba(255,90,165,0.20), transparent 34%),
    radial-gradient(circle at 62% 74%, rgba(26,124,255,0.18), transparent 42%);
  filter: blur(20px);
  opacity: 0.96;
}

.dz-shell {
  position: relative;
  width: min(100%, 1120px);
  min-height: min(760px, calc(100svh - clamp(36px, 8vw, 112px)));
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 82% 8%, rgba(32,214,210,0.18), transparent 24%),
    radial-gradient(circle at 8% 92%, rgba(255,191,77,0.18), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78));
  box-shadow: 0 28px 90px rgba(16, 24, 40, 0.13);
  backdrop-filter: blur(16px);
}

.dz-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(32,214,210,0.22), transparent 28%, transparent 70%, rgba(255,90,165,0.16)),
    linear-gradient(180deg, rgba(255,255,255,0.62), transparent 34%);
  opacity: 0.72;
}

.dz-shell::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(32,214,210,0.22), rgba(255,191,77,0.18) 42%, rgba(120,105,255,0.22));
  filter: blur(28px);
  opacity: 0.46;
}

.dz-topbar,
.dz-hero,
.dz-projects,
.dz-company {
  position: relative;
  z-index: 1;
}

.dz-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dz-logo {
  display: block;
  width: clamp(220px, 28vw, 330px);
  height: auto;
}

.dz-mail {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: #0f172a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: -0.01em;
  border: 1px solid rgba(32, 214, 210, 0.30);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(240,255,255,0.82)),
    linear-gradient(135deg, rgba(32,214,210,0.18), rgba(255,90,165,0.10));
  box-shadow: 0 12px 30px rgba(32, 214, 210, 0.12);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.dz-mail:hover,
.dz-mail:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(26,124,255,0.38);
  box-shadow: 0 16px 34px rgba(26, 124, 255, 0.14);
  outline: none;
}

.dz-hero {
  align-self: center;
  max-width: 840px;
}

.dz-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #0b1220;
  font-size: clamp(46px, 7.4vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.dz-lead {
  max-width: 650px;
  margin: clamp(18px, 2.5vw, 26px) 0 0;
  color: #485568;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.48;
  letter-spacing: -0.02em;
}

.dz-projects {
  display: grid;
  grid-template-columns: minmax(190px, 0.35fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding-top: clamp(24px, 3.2vw, 36px);
}

.dz-projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(32,214,210,0.55), rgba(255,191,77,0.52), rgba(255,90,165,0.45), rgba(120,105,255,0.50));
}

.dz-projects-head h2 {
  margin: 0;
  color: #0b1220;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.dz-projects-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--dz-cyan), var(--dz-amber), var(--dz-pink));
}

.dz-projects-head p {
  max-width: 230px;
  margin: 12px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.dz-project-list {
  display: grid;
  gap: 14px;
}

.dz-project {
  --project-accent: var(--dz-cyan);
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px clamp(14px, 2vw, 26px);
  min-height: 98px;
  padding: clamp(17px, 2vw, 22px) clamp(18px, 2.6vw, 28px);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 12px 38px rgba(16, 24, 40, 0.055);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.dz-project::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--project-accent);
}

.dz-project::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -46px;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--project-glow, rgba(32,214,210,0.18));
  filter: blur(3px);
  opacity: 0.72;
}

.dz-project:hover,
.dz-project:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(16, 24, 40, 0.14);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.09);
  outline: none;
}

.dz-project-pixplet {
  --project-accent: #18cfd0;
  --project-glow: radial-gradient(circle, rgba(32,214,210,0.30), transparent 64%);
  background:
    radial-gradient(circle at 91% 6%, rgba(32,214,210,0.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(241,255,255,0.72));
}

.dz-project-vypocitaj {
  --project-accent: #ffb84d;
  --project-glow: radial-gradient(circle, rgba(255,191,77,0.30), transparent 64%);
  background:
    radial-gradient(circle at 91% 6%, rgba(255,191,77,0.20), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(255,249,235,0.72));
}

.dz-project-lifezone {
  --project-accent: #ff5aa5;
  --project-glow: radial-gradient(circle, rgba(255,90,165,0.26), transparent 64%);
  background:
    radial-gradient(circle at 91% 6%, rgba(255,90,165,0.17), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(249,243,255,0.76));
}

.dz-project-label {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1 / 3;
  width: fit-content;
  padding: 7px 10px;
  color: #344054;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid rgba(16,24,40,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 22px rgba(16,24,40,0.04);
}

.dz-project-name {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  color: #101828;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 860;
  line-height: 1;
  letter-spacing: -0.06em;
}

.dz-project-description {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  color: #5d6878;
  font-size: 14.5px;
  line-height: 1.45;
}

.dz-project-link {
  position: relative;
  z-index: 1;
  grid-column: 3;
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
  border: 1px solid rgba(16,24,40,0.09);
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
}

.dz-company {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding-top: clamp(18px, 2.6vw, 28px);
  color: #6b7687;
  font-size: 12.5px;
  line-height: 1.45;
  font-style: normal;
}

.dz-company::before {
  content: "";
  flex: 0 0 100%;
  height: 1px;
  margin-bottom: clamp(10px, 1vw, 14px);
  background: linear-gradient(90deg, rgba(32,214,210,0.48), rgba(255,191,77,0.42), rgba(120,105,255,0.42));
}

.dz-company strong {
  color: #273142;
  font-weight: 820;
}

.dz-hero-blocked {
  width: min(100%, 520px);
  margin: auto;
}

.dz-logo-small {
  width: 330px;
  max-width: 88vw;
  margin: 0 auto 22px;
}

.dz-blocked-card {
  padding: 26px;
  color: #101828;
  text-align: center;
  background: var(--dz-surface-solid);
  border-radius: 28px;
  box-shadow: 0 24px 66px rgba(16,24,40,.16);
}

.dz-blocked-card a {
  color: #185cff;
  text-decoration: none;
  font-weight: 800;
}

.dz-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;
}

@media (max-width: 980px) {
  .dz-shell {
    min-height: auto;
  }

  .dz-projects {
    grid-template-columns: 1fr;
  }

  .dz-projects-head p {
    max-width: 460px;
  }

  .dz-project {
    grid-template-columns: 98px minmax(0, 1fr) auto;
  }
}

@media (max-width: 720px) {
  .dz-page {
    padding: 14px;
  }

  .dz-shell {
    padding: 22px;
    gap: 32px;
    border-radius: 28px;
  }

  .dz-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dz-logo {
    width: min(280px, 100%);
  }

  .dz-hero h1 {
    font-size: clamp(42px, 14vw, 62px);
  }

  .dz-lead {
    font-size: 16px;
  }

  .dz-project {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 20px;
    border-radius: 20px;
  }

  .dz-project::before {
    top: 16px;
    bottom: auto;
    left: 20px;
    width: 42px;
    height: 3px;
    border-radius: 999px;
  }

  .dz-project::after {
    right: -64px;
    top: -54px;
  }

  .dz-project-label,
  .dz-project-name,
  .dz-project-description,
  .dz-project-link {
    grid-column: auto;
    grid-row: auto;
  }

  .dz-project-label {
    margin-top: 8px;
  }

  .dz-project-name {
    font-size: 34px;
  }

  .dz-project-link {
    width: fit-content;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .dz-shell {
    padding: 18px;
    border-radius: 24px;
  }

  .dz-mail {
    width: 100%;
    justify-content: center;
  }

  .dz-project-name {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
