@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-border: rgba(13, 54, 96, 0.08);
  --text: #15314f;
  --text-strong: #0e2741;
  --muted: #5a6e82;
  --accent: #138fc8;
  --accent-dark: #0b72a6;
  --accent-soft: #d9eef8;
  --shadow: 0 18px 60px rgba(14, 39, 65, 0.10);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
}

a { color: inherit; }

.page {
  position: relative;
  max-width: 1380px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px clamp(22px, 6vw, 86px) 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.background-shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.background-shape-one {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -100px;
  background: radial-gradient(circle, rgba(19, 143, 200, 0.12) 0%, rgba(19, 143, 200, 0) 72%);
}

.background-shape-two {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: 40px;
  background: radial-gradient(circle, rgba(11, 114, 166, 0.10) 0%, rgba(11, 114, 166, 0) 72%);
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 218px;
  max-width: 56vw;
  height: auto;
  display: block;
}

.header-note {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #6a7b8f;
  text-align: right;
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 3vw, 52px);
  align-items: center;
  padding: 20px 0 48px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(30px, 4vw, 58px);
  backdrop-filter: blur(6px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(19, 143, 200, 0.14);
}

h1 {
  margin: 24px 0 18px;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.lead {
  margin: 0 0 16px;
  max-width: 700px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.75;
  color: #29445f;
}

.lead strong,
.support strong {
  color: var(--text-strong);
}

.support {
  margin: 0;
  max-width: 650px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 17px 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(11, 114, 166, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(11, 114, 166, 0.28);
  filter: saturate(1.03);
}

.cta span {
  font-size: 20px;
  line-height: 1;
}

.web-address {
  font-size: 14px;
  color: #728498;
  letter-spacing: 0.02em;
}

.hero-side {
  min-width: 0;
}

.track-panel {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  background: #f5f8fa;
  border: 1px solid rgba(13, 54, 96, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
}

.track-glow {
  position: absolute;
  inset: 0;
  background: transparent;
}

.track-lines {
  position: absolute;
  inset: 0;
}

.rail {
  position: absolute;
  top: 8%;
  bottom: -8%;
  width: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7d91a3 0%, #dce5ed 48%, #708599 100%);
  box-shadow: 0 0 20px rgba(91, 117, 141, 0.18);
}

.rail-left {
  left: 44%;
  transform: rotate(22deg);
  transform-origin: top center;
}

.rail-right {
  left: 54%;
  transform: rotate(-22deg);
  transform-origin: top center;
}

.sleepers {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 45px,
    rgba(105, 128, 149, 0.30) 46px,
    rgba(105, 128, 149, 0.30) 54px,
    transparent 55px,
    transparent 71px
  );
  clip-path: polygon(47.8% 9%, 50.4% 9%, 100% 100%, 0% 100%);
}

.track-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 54, 96, 0.08);
  text-align: center;
  color: #48637d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 54, 96, 0.10);
  color: #718396;
  font-size: 13px;
}

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

  .hero-side {
    order: -1;
  }

  .track-panel {
    min-height: 300px;
  }
}

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

  .header {
    margin-bottom: 24px;
  }

  .header-note {
    display: none;
  }

  .hero {
    gap: 18px;
    padding: 8px 0 34px;
  }

  .hero-card {
    border-radius: 22px;
    padding: 26px 22px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
  }

  .lead {
    font-size: 17px;
  }

  .support {
    font-size: 16px;
  }

  .track-panel {
    min-height: 220px;
    border-radius: 22px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 180px;
  }

  .cta {
    width: 100%;
    justify-content: space-between;
  }

  .web-address {
    font-size: 13px;
  }
}

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

/* Jednolite tło bez dekoracyjnych gradientów. */
.background-shape { display: none; }
