/* Podstawowy reset i typografia */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #0f172a, #020617 55%, #020617 100%);
  color: #e5e7eb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Kontener i layout */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Pasek nawigacji */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: linear-gradient(to right, rgba(15,23,42,0.95), rgba(15,23,42,0.8));
  border-bottom: 1px solid rgba(148,163,184,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: conic-gradient(from 140deg, #38bdf8, #22c55e, #facc15, #38bdf8);
  padding: 2px;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0%, #1e293b, #020617 70%);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94a3b8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5f5;
  position: relative;
  padding-block: 0.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 50%, #22c55e, #16a34a);
  color: #022c22;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(34,197,94,0.5), 0 18px 35px rgba(21,128,61,0.45);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.8), 0 22px 42px rgba(22,163,74,0.7);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(34,197,94,0.9), 0 12px 22px rgba(22,163,74,0.55);
}

/* Hero / nagłówek strony */
.hero {
  position: relative;
  padding-block: 4.5rem 3.5rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.22;
  mix-blend-mode: screen;
}

.hero::before {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 0% 0%, #22c55e, transparent 60%);
  top: -40px;
  left: -80px;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 100% 0%, #38bdf8, transparent 60%);
  top: 20px;
  right: -120px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a5b4fc;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.eyebrow-pill {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #38bdf8, #22c55e);
  box-shadow: 0 0 0 6px rgba(56,189,248,0.25);
}

.hero-title {
  font-size: clamp(2.4rem, 3.3vw + 1rem, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f9fafb;
  margin-bottom: 1.2rem;
}

.hero-title span {
  background: linear-gradient(120deg, #38bdf8, #22c55e, #facc15);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #cbd5f5;
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.meta-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at 0% 0%, rgba(148,163,184,0.22), rgba(15,23,42,0.7));
  font-size: 0.78rem;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 0% 0%, #22c55e, #16a34a);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(120deg, #38bdf8, #22c55e);
  color: #020617;
  box-shadow: 0 0 0 1px rgba(56,189,248,0.7), 0 18px 34px rgba(15,23,42,0.85);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.9), 0 24px 40px rgba(15,23,42,0.95);
}

.btn-secondary {
  background: rgba(15,23,42,0.85);
  color: #e5e7eb;
  border: 1px solid rgba(148,163,184,0.5);
}

.btn-secondary:hover {
  background: rgba(15,23,42,0.95);
  border-color: rgba(148,163,184,0.9);
}

.hero-side {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 1.5rem;
  background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 24px 60px rgba(15,23,42,0.9);
  padding: 1.3rem 1.3rem 1.1rem;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 0, rgba(148,163,184,0.25), transparent 55%), radial-gradient(circle at 100% 100%, rgba(56,189,248,0.3), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0.8;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.hero-card-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.hero-badge {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(22,163,74,0.16);
  color: #bbf7d0;
  border: 1px solid rgba(34,197,94,0.7);
}

.hero-card-body {
  position: relative;
  display: grid;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: #e5e7eb;
}

.hero-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric {
  padding: 0.55rem 0.7rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.95));
  border: 1px solid rgba(55,65,81,0.9);
}

.metric-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.15rem;
}

.metric-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.metric-tag {
  font-size: 0.68rem;
  color: #bbf7d0;
  margin-top: 0.1rem;
}

.hero-timeline {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(75,85,99,0.8);
  display: grid;
  gap: 0.45rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.timeline-dot {
  margin-top: 0.16rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #38bdf8, #22c55e);
}

.timeline-label {
  font-weight: 500;
  color: #e5e7eb;
}

.timeline-desc {
  color: #9ca3af;
}

.hero-badges-row {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-mini-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  color: #e5e7eb;
  background: rgba(15,23,42,0.9);
}

/* Sekcje ogólne */
.section {
  padding-block: 2.8rem 3.1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #f9fafb;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 28rem;
}

.section-tagline {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Karty i siatki */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

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

.card {
  position: relative;
  border-radius: 1.1rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  padding: 1.1rem 1.1rem 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
}

.card::before {
  content: "";
  position: absolute;
  inset-inline: -40%;
  top: -60%;
  height: 60%;
  background-image: radial-gradient(circle at 20% 0%, rgba(148,163,184,0.2), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.card-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  background: radial-gradient(circle at 0% 0%, #38bdf8, #22c55e);
  box-shadow: 0 0 20px rgba(56,189,248,0.45);
}

.card-title {
  font-size: 1rem;
  color: #f9fafb;
  margin-bottom: 0.4rem;
}

.card-lead {
  font-size: 0.9rem;
  color: #cbd5f5;
  margin-bottom: 0.6rem;
}

.card-meta {
  font-size: 0.75rem;
  color: #94a3b8;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.chip {
  font-size: 0.72rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.55);
  color: #e5e7eb;
}

/* Sekcje: informacje i listy */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.text-block {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #e5e7eb;
  display: grid;
  gap: 0.9rem;
}

.text-muted {
  color: #9ca3af;
}

.list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.list-bullet {
  margin-top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #22c55e, #16a34a);
}

.list-title {
  font-weight: 500;
}

.list-desc {
  color: #9ca3af;
}

/* Tabela / specyfikacja */
.spec-grid {
  display: grid;
  gap: 0.7rem;
  font-size: 0.88rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem 0.1rem;
  border-bottom: 1px dashed rgba(75,85,99,0.8);
}

.spec-label {
  color: #9ca3af;
}

.spec-value {
  color: #e5e7eb;
  font-weight: 500;
}

/* Kontakt / formularz */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-card {
  border-radius: 1.1rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  padding: 1.4rem 1.2rem 1.2rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
}

.contact-grid {
  display: grid;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.contact-label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: #e5e7eb;
}

.contact-eu {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-top: 0.6rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field-label {
  font-size: 0.82rem;
  color: #e5e7eb;
}

.field-helper {
  font-size: 0.75rem;
  color: #9ca3af;
}

.input,
.textarea,
.select {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(56,189,248,0.8);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.7);
  background: rgba(15,23,42,0.95);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.4rem;
}

.form-note {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Stopka */
.footer {
  margin-top: auto;
  border-top: 1px solid rgba(30,64,175,0.8);
  background: radial-gradient(circle at 0% 0%, rgba(15,23,42,0.9), rgba(15,23,42,1));
}

.footer-inner {
  padding-block: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-link {
  color: #cbd5f5;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Strony wewnętrzne – baner tytułowy */
.page-hero {
  padding-block: 2.6rem 1.3rem;
  border-bottom: 1px solid rgba(30,64,175,0.7);
  background: radial-gradient(circle at 0% 0%, rgba(30,64,175,0.5), transparent 60%);
}

.page-hero-title {
  font-size: 1.9rem;
  letter-spacing: -0.03em;
  color: #f9fafb;
  margin-bottom: 0.45rem;
}

.page-hero-desc {
  font-size: 0.95rem;
  color: #cbd5f5;
  max-width: 32rem;
}

/* Responsywność */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .grid-2,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.9rem;
  }

  .hero {
    padding-block: 3.4rem 2.4rem;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
