
:root {
  --ew-bg: #070b10;
  --ew-bg-2: #0b1118;
  --ew-panel: rgba(14, 21, 29, .72);
  --ew-panel-strong: rgba(15, 24, 33, .92);
  --ew-line: rgba(255, 255, 255, .09);
  --ew-line-hot: rgba(245, 143, 73, .35);
  --ew-text: #f3f6f8;
  --ew-muted: #9da8b3;
  --ew-accent: #f58f49;
  --ew-accent-2: #ffb36f;
  --ew-ok: #7fd2a6;
  --ew-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  --ew-radius: 18px;
  --ew-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ew-text);
  background:
    radial-gradient(circle at 15% 12%, rgba(245,143,73,.10), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(95,166,255,.06), transparent 34%),
    linear-gradient(180deg, #070b10 0%, #090e14 50%, #070b10 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.12));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.ew-shell {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--ew-max));
  margin: 0 auto;
}

.ew-header {
  padding: 28px 0 8px;
}

.ew-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ew-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -.02em;
  font-size: 20px;
}

.ew-brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ew-line-hot);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(245,143,73,.18), rgba(255,255,255,.02));
  box-shadow: inset 0 0 24px rgba(245,143,73,.05);
  position: relative;
  overflow: hidden;
}

.ew-brand__mark::before,
.ew-brand__mark::after {
  content: "";
  position: absolute;
  border: 1px solid var(--ew-accent);
  transform: rotate(45deg);
}

.ew-brand__mark::before {
  width: 11px;
  height: 11px;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.ew-brand__mark::after {
  width: 19px;
  height: 19px;
  border-right-color: transparent;
  border-top-color: transparent;
  opacity: .55;
}

.ew-brand__text {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.ew-brand__domain {
  color: var(--ew-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ew-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9d0d7;
  border: 1px solid var(--ew-line);
  background: rgba(255,255,255,.025);
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.ew-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ew-accent);
  box-shadow: 0 0 0 5px rgba(245,143,73,.10), 0 0 18px rgba(245,143,73,.45);
  animation: ewPulse 2.2s ease-in-out infinite;
}

@keyframes ewPulse {
  0%,100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(.78); opacity: .55; }
}

.ew-main {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
}

.ew-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 64px;
  align-items: center;
}

.ew-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ew-accent-2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ew-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--ew-accent), transparent);
}

.ew-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(56px, 7.2vw, 104px);
  line-height: .94;
  letter-spacing: -.065em;
  font-weight: 780;
}

.ew-title span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.58);
  text-shadow: 0 0 40px rgba(245,143,73,.04);
}

.ew-lead {
  margin: 28px 0 0;
  max-width: 620px;
  color: #b7c0c8;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.ew-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.ew-chip {
  padding: 9px 12px;
  border: 1px solid var(--ew-line);
  border-radius: 8px;
  color: #aeb8c2;
  background: rgba(255,255,255,.02);
  font-size: 12px;
  letter-spacing: .04em;
}

.ew-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.ew-orbit {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.045);
  background:
    radial-gradient(circle, rgba(245,143,73,.05) 0, transparent 45%),
    conic-gradient(from 45deg, transparent 0 72%, rgba(245,143,73,.10) 76%, transparent 80%);
  animation: ewOrbit 18s linear infinite;
}

.ew-orbit::before,
.ew-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.05);
}

.ew-orbit::before { inset: 46px; }
.ew-orbit::after { inset: 96px; }

@keyframes ewOrbit {
  to { transform: rotate(360deg); }
}

.ew-console {
  position: relative;
  width: min(100%, 430px);
  min-height: 420px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18,27,37,.90), rgba(11,18,25,.82));
  box-shadow: var(--ew-shadow), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.ew-console::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(245,143,73,.03) 50%, transparent 100%);
  transform: translateY(-100%);
  animation: ewScan 5.5s ease-in-out infinite;
}

@keyframes ewScan {
  0%, 14% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(100%); }
}

.ew-console__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ew-line);
}

.ew-console__label {
  font-size: 11px;
  color: #c8d0d6;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.ew-console__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  color: var(--ew-muted);
}

.ew-map {
  position: relative;
  height: 180px;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(25deg, transparent 47%, rgba(255,255,255,.05) 48% 49%, transparent 50%),
    linear-gradient(145deg, transparent 53%, rgba(255,255,255,.045) 54% 55%, transparent 56%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #0b1219;
  background-size: 100% 100%, 100% 100%, 28px 28px, 28px 28px, auto;
}

.ew-map__route {
  position: absolute;
  left: 17%;
  top: 63%;
  width: 66%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ew-accent), var(--ew-accent-2), transparent);
  transform: rotate(-16deg);
  filter: drop-shadow(0 0 6px rgba(245,143,73,.55));
}

.ew-map__point {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--ew-accent);
  border-radius: 50%;
  background: #111923;
  box-shadow: 0 0 0 5px rgba(245,143,73,.08);
}

.ew-map__point--a { left: 25%; top: 61%; }
.ew-map__point--b { right: 24%; top: 34%; }

.ew-map__crosshair {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
}

.ew-map__crosshair::before,
.ew-map__crosshair::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.08);
}

.ew-map__crosshair::before {
  width: 100px;
  height: 1px;
  left: -15px;
  top: 34px;
}

.ew-map__crosshair::after {
  width: 1px;
  height: 100px;
  top: -15px;
  left: 34px;
}

.ew-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.ew-module {
  min-height: 88px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(255,255,255,.022);
}

.ew-module__head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--ew-muted);
  letter-spacing: .1em;
}

.ew-module__value {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -.03em;
}

.ew-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 28px;
  margin-top: 10px;
}
.ew-bars i {
  display: block;
  width: 6px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(245,143,73,.35), var(--ew-accent));
}
.ew-bars i:nth-child(1){height:32%}
.ew-bars i:nth-child(2){height:58%}
.ew-bars i:nth-child(3){height:44%}
.ew-bars i:nth-child(4){height:76%}
.ew-bars i:nth-child(5){height:63%}
.ew-bars i:nth-child(6){height:90%}
.ew-bars i:nth-child(7){height:72%}

.ew-console__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--ew-line);
  font-size: 10px;
  color: var(--ew-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.ew-console__ok {
  color: var(--ew-ok);
}

.ew-footer {
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}

.ew-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #6f7b86;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ew-noscript {
  margin: 12px 0 0;
  color: #8f9aa5;
  font-size: 12px;
}

@media (max-width: 960px) {
  .ew-main { align-items: flex-start; padding-top: 70px; }
  .ew-grid { grid-template-columns: 1fr; gap: 48px; }
  .ew-visual { min-height: 420px; }
  .ew-orbit { width: 420px; height: 420px; }
  .ew-footer { position: static; padding-bottom: 24px; }
  .ew-footer__inner { padding-top: 20px; border-top: 1px solid var(--ew-line); }
}

@media (max-width: 620px) {
  .ew-shell { width: min(calc(100% - 28px), var(--ew-max)); }
  .ew-header { padding-top: 20px; }
  .ew-brand__domain { display: none; }
  .ew-status { font-size: 10px; padding: 8px 10px; }
  .ew-main { padding-top: 54px; padding-bottom: 40px; }
  .ew-title { font-size: clamp(48px, 17vw, 72px); }
  .ew-lead { font-size: 16px; line-height: 1.6; }
  .ew-visual { min-height: 360px; }
  .ew-orbit { width: 340px; height: 340px; }
  .ew-console { width: 100%; min-height: auto; }
  .ew-map { height: 150px; }
  .ew-footer__inner { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}



/* v4 — minimalistyczny landing page z bardziej efektowną grafiką */
.ew-main {
  min-height: calc(100vh - 96px);
  padding: 30px 0 50px;
}

.ew-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  gap: 56px;
}

.ew-copy {
  display: flex;
  align-items: center;
  min-height: 560px;
}

.ew-title {
  margin-top: 0;
}

.ew-visual {
  min-height: 560px;
}

.ew-orbit--outer {
  width: 520px;
  height: 520px;
  opacity: .32;
}

.ew-orbit--inner {
  width: 380px;
  height: 380px;
  opacity: .18;
  animation-direction: reverse;
  animation-duration: 24s;
}

.ew-sculpture {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(245,143,73,.10), transparent 28%),
    linear-gradient(180deg, rgba(16,24,33,.95), rgba(10,16,23,.90));
  box-shadow: var(--ew-shadow), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}

.ew-sculpture::before,
.ew-sculpture::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 22px;
  pointer-events: none;
}

.ew-sculpture::after {
  inset: 34px;
  border-style: dashed;
  opacity: .45;
}

.ew-sculpture__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 18%, transparent 80%);
}

.ew-sculpture__glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(circle at center, rgba(245,143,73,.08), transparent 32%),
    radial-gradient(circle at 38% 36%, rgba(245,143,73,.04), transparent 18%),
    radial-gradient(circle at 64% 62%, rgba(255,255,255,.03), transparent 18%);
}

.ew-sculpture__halo {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.08);
}

.ew-sculpture__halo--1 {
  width: 320px;
  height: 320px;
}

.ew-sculpture__halo--2 {
  width: 230px;
  height: 230px;
  border-style: dashed;
  opacity: .72;
}

.ew-sculpture__halo--3 {
  width: 124px;
  height: 124px;
  border-color: rgba(245,143,73,.26);
  box-shadow: 0 0 46px rgba(245,143,73,.04);
}

.ew-sculpture__beam,
.ew-sculpture__link {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: left center;
  height: 1px;
}

.ew-sculpture__beam {
  background: linear-gradient(90deg, rgba(245,143,73,.92), rgba(245,143,73,.18), transparent);
  filter: drop-shadow(0 0 8px rgba(245,143,73,.18));
}

.ew-sculpture__beam--1 { width: 190px; transform: rotate(-24deg); }
.ew-sculpture__beam--2 { width: 168px; transform: rotate(38deg); }
.ew-sculpture__beam--3 { width: 145px; transform: rotate(132deg); opacity: .78; }
.ew-sculpture__beam--4 { width: 120px; transform: rotate(208deg); opacity: .55; }

.ew-sculpture__panel {
  position: absolute;
  width: 122px;
  height: 84px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
    rgba(12, 18, 25, .72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
}

.ew-sculpture__panel::before,
.ew-sculpture__panel::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), transparent);
}

.ew-sculpture__panel::before { top: 18px; }
.ew-sculpture__panel::after { top: 31px; opacity: .65; }

.ew-sculpture__panel--1 {
  top: 64px;
  right: 48px;
  transform: rotate(7deg);
}

.ew-sculpture__panel--2 {
  bottom: 62px;
  right: 58px;
  transform: rotate(-8deg);
}

.ew-sculpture__panel--3 {
  bottom: 92px;
  left: 54px;
  transform: rotate(6deg);
}

.ew-sculpture__link {
  background: linear-gradient(90deg, rgba(255,255,255,.10), transparent);
}

.ew-sculpture__link--1 { width: 120px; transform: rotate(-48deg); }
.ew-sculpture__link--2 { width: 112px; transform: rotate(54deg); }
.ew-sculpture__link--3 { width: 124px; transform: rotate(156deg); }

.ew-sculpture__node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ew-accent);
  background: #101821;
  box-shadow: 0 0 0 6px rgba(245,143,73,.06), 0 0 20px rgba(245,143,73,.16);
}

.ew-sculpture__node--1 { right: 120px; top: 132px; }
.ew-sculpture__node--2 { right: 128px; bottom: 132px; }
.ew-sculpture__node--3 { left: 120px; bottom: 144px; }
.ew-sculpture__node--4 { left: 144px; top: 132px; transform: scale(.72); opacity: .75; }
.ew-sculpture__node--5 { left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.7); opacity: .78; }

.ew-sculpture__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: 132px;
  transform: translate(-50%, -50%);
}

.ew-sculpture__diamond {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(245,143,73,.50);
  background:
    linear-gradient(135deg, rgba(245,143,73,.16), rgba(255,255,255,.02));
  transform: rotate(45deg);
  box-shadow: 0 0 28px rgba(245,143,73,.10), inset 0 1px 0 rgba(255,255,255,.05);
}

.ew-sculpture__diamond--inner {
  inset: 28px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
}

.ew-sculpture__sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 45%;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(245,143,73,.40), transparent);
  animation: ewSweep 8s linear infinite;
}

@keyframes ewSweep {
  to { transform: rotate(360deg); }
}

@media (max-width: 960px) {
  .ew-copy {
    min-height: auto;
    padding-top: 48px;
  }

  .ew-visual {
    min-height: 430px;
  }
}

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

  .ew-copy {
    padding-top: 34px;
  }

  .ew-visual {
    min-height: 360px;
  }

  .ew-sculpture {
    width: min(100%, 360px);
  }

  .ew-sculpture__panel {
    width: 96px;
    height: 66px;
  }

  .ew-sculpture__panel--1 { top: 58px; right: 34px; }
  .ew-sculpture__panel--2 { bottom: 52px; right: 44px; }
  .ew-sculpture__panel--3 { bottom: 78px; left: 36px; }

  .ew-orbit--outer {
    width: 360px;
    height: 360px;
  }

  .ew-orbit--inner {
    width: 270px;
    height: 270px;
  }

  .ew-sculpture__halo--1 { width: 250px; height: 250px; }
  .ew-sculpture__halo--2 { width: 180px; height: 180px; }
  .ew-sculpture__halo--3 { width: 96px; height: 96px; }
}
