:root {
  --bg-app: #1b1d21;
  --bg-panel: #24272d;
  --bg-canvas: #15161a;
  --border: #3a3e47;
  --text: #d7dade;
  --text-dim: #8b909a;
  --accent: #e84a8a;
  --accent-hover: #f2669f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text);
  font-family:
    'Segoe UI',
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

h1 {
  font-size: 40px;
  letter-spacing: -0.3px;
}

h2 {
  font-size: 28px;
  letter-spacing: -0.2px;
}

h3 {
  font-size: 16px;
}

p {
  margin: 0 0 12px;
}

/* — nagłówek — */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(27, 29, 33, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
}

.brand-mark {
  height: 24px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 20px;
  flex: 1;
}

.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

/* — przyciski — */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(232, 74, 138, 0.3);
  transform: translateY(-1px);
}

.btn-small {
  padding: 8px 18px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-ghost:hover {
  background: rgba(232, 74, 138, 0.12);
}

/* — hero — */
.hero {
  padding: 80px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.icon-inline {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.lead {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* — ozdobna nitka (przerywany ścieg) — */
.stitch-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 52px;
  color: rgba(232, 74, 138, 0.55);
}

.stitch-rule::before,
.stitch-rule::after {
  content: '';
  height: 2px;
  flex: 1;
  background: repeating-linear-gradient(90deg, rgba(232, 74, 138, 0.55) 0 8px, transparent 8px 14px);
}

.stitch-rule-needle {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* — sekcje — */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-lead {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 620px;
  margin-bottom: 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 74, 138, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

.section-alt .card {
  background: var(--bg-app);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

.icon-tile {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(232, 74, 138, 0.2), rgba(232, 74, 138, 0.05));
  border: 1px solid rgba(232, 74, 138, 0.35);
}

.icon-tile .icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin: 0;
}

.icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* — kroki — */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.steps::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 52px;
  right: calc((100% - 48px) / 3 - 52px);
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(232, 74, 138, 0.5) 0 7px, transparent 7px 12px);
}

.step {
  background: var(--bg-app);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #35232d, #26222b);
  border: 1px solid rgba(232, 74, 138, 0.4);
}

.step-icon .icon {
  width: 26px;
  height: 26px;
  margin: 0;
}

.step-number {
  position: absolute;
  right: -8px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--bg-app);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
}

/* — showcase — */
.showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.showcase-text p {
  color: var(--text-dim);
}

.showcase-text .btn {
  margin-top: 8px;
}

/* — kontakt — */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-lead {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 24px;
}

.contact-media {
  display: flex;
  justify-content: center;
}

.contact-media img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}

/* — CTA końcowe — */
.cta-final {
  padding: 72px 0;
  text-align: center;
}

.cta-final p {
  color: var(--text-dim);
  margin-bottom: 24px;
}

.cta-note {
  margin-top: 24px;
  font-size: 13px;
}

.cta-note a {
  color: var(--accent);
  text-decoration: none;
}

.cta-note a:hover {
  text-decoration: underline;
}

/* — stopka — */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand-footer {
  font-size: 14px;
}

.brand-footer .brand-mark {
  height: 18px;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text-dim);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

/* — responsywność — */
@media (max-width: 900px) {
  .hero-inner,
  .showcase,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps::before {
    top: 30px;
    bottom: 30px;
    left: 29px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(232, 74, 138, 0.5) 0 7px, transparent 7px 12px);
  }

  .step {
    position: relative;
    padding-left: 84px;
  }

  .step-icon {
    position: absolute;
    top: 0;
    left: 0;
  }

  .contact-media img {
    max-width: 280px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }
}
