/* =========================================================
   EXPORT – wzorzec: „EXPORT_FINAL_WZOR.png” (1672 × 941)
   Samodzielny arkusz – pozostałe podstrony nie są tu ładowane ani zmieniane.
   1u = 1/100 szerokości wzorca (16,72 px); hero wzorca (869 px = 51,97u)
   + nagłówek (5,5u) mieszczą się w jednym ekranie.
   Nagłówek identyczny jak w pozostałych podstronach.
   ========================================================= */

:root {
  --hu: 1vw;                /* jednostka headera – identyczna na wszystkich stronach (wzorzec: CONTACT) */
  --u: min(1vw, calc((100vh - var(--hu) * 5.5) / 51.97));
  --bg: #000502;
  --lime: #b4ec0c;
  --lime-soft: #a6dc22;
  --text: #ffffff;
  --line: rgba(180, 236, 12, .18);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Roboto", Arial, sans-serif;
  --header-h: calc(var(--hu) * 5.5);
}

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

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

body.ex {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, p { margin: 0; }

/* =========================================================
   NAGŁÓWEK
   ========================================================= */
.ex-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 calc(var(--hu) * 3);
  background: linear-gradient(180deg, #000 0%, rgba(0, 4, 1, .96) 100%);
}

.ex-header::after {               /* cienka linia pod nagłówkiem */
  content: "";
  position: absolute;
  left: calc(var(--hu) * 21);
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 180, 120, .45) 12%, rgba(150, 180, 120, .45));
}

.ex-brand img {
  width: auto;
  height: min(calc(var(--hu) * 4.3), 80px);
}

.ex-nav { margin-left: calc(var(--hu) * 5.4); }

.ex-nav ul { display: flex; gap: calc(var(--hu) * 2.15); }

.ex-nav a {
  position: relative;
  display: block;
  padding: calc(var(--hu) * .6) 0;
  font-family: var(--sans);
  font-size: calc(var(--hu) * 1.1);
  font-weight: 400;
  white-space: nowrap;
  transition: color .2s;
}

.ex-nav a:hover,
.ex-nav a.is-active { color: var(--lime); }

.ex-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hu) * -.55);
  height: calc(var(--hu) * .25);
  min-height: 3px;
  border-radius: 2px;
  background: var(--lime);
}

.ex-wa {
  display: flex;
  align-items: center;
  gap: calc(var(--hu) * .9);
  margin-left: auto;
}

.ex-wa svg {
  width: calc(var(--hu) * 2.6);
  height: calc(var(--hu) * 2.6);
  color: #25d366;
  flex-shrink: 0;
}

.ex-wa > span {
  display: flex;
  flex-direction: column;
  font-size: calc(var(--hu) * 1.08);
  line-height: 1.3;
}

.ex-lang {
  display: flex;
  gap: calc(var(--hu) * 2.1);
  margin-left: calc(var(--hu) * 4.4);
  font-size: calc(var(--hu) * 1.3);
  font-weight: 500;
}

.ex-lang a { position: relative; padding-bottom: calc(var(--hu) * .35); }
.ex-lang a.is-active { color: var(--lime); }

.ex-lang a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--hu) * -.3);
  height: calc(var(--hu) * .22);
  min-height: 2px;
  background: var(--lime);
}

.ex-burger { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.ex-hero {
  position: relative;
  overflow: hidden;
  height: calc(var(--u) * 51.97);
  background:
    radial-gradient(ellipse 26% 22% at 4% 90%, rgba(14, 50, 2, .45), transparent 72%),
    linear-gradient(180deg, #000400 0%, #000501 60%, #000903 100%);
}

/* ---------- świetlista smuga (lewy dół) ---------- */
.ex-swoosh {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: calc(var(--u) * 27.51);
  height: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%), linear-gradient(90deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%), linear-gradient(90deg, #000 72%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- scena (przezroczysta po lewej stronie łuku) ---------- */
.ex-scene {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: calc(var(--u) * 73.68);
  height: calc(var(--u) * 51.97);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%);
}

.ex-scene img {
  width: 100%;
  height: 100%;
  max-width: none;
}

/* ---------- treść ---------- */
.ex-content {
  position: relative;
  z-index: 3;
  width: calc(var(--u) * 40);
  padding: calc(var(--u) * 5.6) 0 0 calc(var(--u) * 3.3);
}

.ex-eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 1.6);
  font-size: calc(var(--u) * 1.05);
  font-weight: 400;
  letter-spacing: .78em;
  text-transform: uppercase;
}

.ex-eyebrow::after {
  content: "";
  width: calc(var(--u) * 14.8);
  height: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(180, 236, 12, .15));
}

.ex-title {
  margin-top: calc(var(--u) * 1.2);
  margin-left: calc(var(--u) * -.6);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: calc(var(--u) * 8.4);
  line-height: 1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}

.ex-subtitle {
  margin-top: calc(var(--u) * .9);
  font-family: var(--serif);
  font-weight: 600;
  font-size: calc(var(--u) * 2.7);
  line-height: 1.2;
  color: var(--lime-soft);
}

.ex-lead {
  margin-top: calc(var(--u) * 1.1);
  font-size: calc(var(--u) * 1.45);
  line-height: 1.36;
  color: #f0f2ee;
}

/* ---------- pięć elementów ---------- */
.ex-features {
  display: grid;
  grid-template-columns: repeat(5, calc(var(--u) * 7.05));
  margin-top: calc(var(--u) * 2.6);
  margin-left: calc(var(--u) * -.35);
}

.ex-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 calc(var(--u) * .1) calc(var(--u) * .3);
}

.ex-features li + li { border-left: 1px solid var(--line); }

.ex-features svg {
  width: calc(var(--u) * 3.4);
  height: calc(var(--u) * 3.4);
  color: var(--lime);
  filter: drop-shadow(0 0 6px rgba(180, 236, 12, .35));
}

.ex-features h2 {
  margin-top: calc(var(--u) * 1.4);
  font-family: var(--sans);
  font-weight: 400;
  font-size: calc(var(--u) * 1.02);
  line-height: 1.32;
  white-space: nowrap;
}

/* =========================================================
   TABLET / TELEFON
   ========================================================= */
@media (max-width: 1000px), (max-aspect-ratio: 1/1) {
  :root { --u: 10px; --hu: 10px; --header-h: 72px; }

  .ex-header { padding: 0 18px; }
  .ex-header::after { left: 0; }
  .ex-brand img { height: 44px; }

  .ex-wa > span { display: none; }
  .ex-wa svg { width: 34px; height: 34px; }
  .ex-lang { margin-left: 18px; gap: 14px; font-size: 1.05rem; }

  .ex-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    margin-left: 18px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .ex-burger span { height: 3px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .ex-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
  .ex-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .ex-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

  .ex-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 18px 18px;
    background: rgba(0, 5, 2, .98);
    border-bottom: 1px solid var(--line);
  }
  .ex-nav.is-open { display: block; }
  .ex-nav ul { flex-direction: column; gap: 0; }
  .ex-nav a { padding: 12px 0; font-size: 1.15rem; }
  .ex-nav a.is-active::after { right: auto; width: 56px; bottom: 6px; }

  .ex-hero {
    display: flex;
    flex-direction: column;
    height: auto;
  }

  .ex-content {
    order: 1;
    width: 100%;
    max-width: 640px;
    padding: 40px 20px 36px;
  }

  .ex-eyebrow { font-size: .85rem; gap: 18px; letter-spacing: .5em; }
  .ex-eyebrow::after { width: 70px; }
  .ex-title { font-size: clamp(3rem, 15vw, 5.4rem); margin: 10px 0 0 -4px; }
  .ex-subtitle { font-size: clamp(1.3rem, 5.6vw, 1.9rem); margin-top: 8px; }
  .ex-subtitle br, .ex-lead br { display: none; }
  .ex-lead { font-size: 1.05rem; line-height: 1.45; margin-top: 14px; }

  .ex-features { grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 28px 0 0; }
  .ex-features li { padding: 0 2px; }
  .ex-features svg { width: 34px; height: 34px; }
  .ex-features h2 { font-size: max(12px, clamp(.5rem, 2.4vw, .85rem)); margin-top: 10px; }

  .ex-swoosh { display: none; }

  /* scena pod treścią */
  .ex-scene {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1232 / 869;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

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

/* mobile: 4 najdłuższe podpisy ikon – minimalnie mniejsze, by mieściły się w kolumnie */
@media (max-width: 1000px), (max-aspect-ratio: 1/1) {
  html[lang="en"] .ex-features li:nth-child(2) h2 { font-size: 11.7px; } /* documentation */
}
