/* =====================================================
   ExpertSender – Affiliate Landing Page
   Brand: magenta -> fiolet gradient, granat, biel
   ===================================================== */

:root {
  --magenta: #ec008c;
  --magenta-dark: #c60076;
  --violet: #7b2d8b;
  --navy: #262a68;
  --navy-deep: #1d2050;
  --ink: #33355a;
  --grey: #6b6e8c;
  --bg-light: #f7f7fb;
  --white: #ffffff;
  --grad: linear-gradient(120deg, #ec008c 0%, #a4238f 55%, #7b2d8b 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 42, 104, 0.10);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; font-weight: 700; }

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.1rem; }

strong { color: inherit; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(236, 0, 140, 0.35);
}

.btn--primary:hover {
  background: var(--magenta-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(236, 0, 140, 0.45);
}

/* ---------- Topbar ---------- */
.topbar {
  padding: 18px 0;
  background: var(--white);
  border-bottom: 1px solid #eef0f6;
}

.topbar__logo { height: 40px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(236, 0, 140, 0.07), transparent 65%),
    var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content p { margin: 18px 0; font-size: 1.05rem; }

.hero__content .btn { margin-top: 14px; }

/* ---------- Trusted ---------- */
.trusted { padding: 46px 0; background: var(--bg-light); }

.trusted__title {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: var(--navy);
}

.trusted__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.trusted__logos img {
  max-height: 70px;
  width: auto;
  filter: grayscale(15%);
  opacity: .92;
}

/* ---------- Booking ---------- */
.booking { padding: 80px 0; }

.booking__steps {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.booking__step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--navy);
}

.booking__step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.booking__widget {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-deep);
}

.booking__widget iframe {
  width: 100%;
  height: 680px;
  border: 0;
  display: block;
  background: var(--white);
}

.booking__placeholder {
  padding: 70px 32px;
  text-align: center;
  color: #c9cbe8;
}

.booking__placeholder code {
  background: rgba(255,255,255,.12);
  padding: 2px 8px;
  border-radius: 6px;
  color: #ffd1ec;
}

/* ---------- Testimonial ---------- */
.testimonial { padding: 40px 0 80px; }

.testimonial__inner {
  max-width: 860px;
  text-align: center;
}

.testimonial__quote-mark {
  width: 42px;
  color: var(--magenta);
  margin: 0 auto 22px;
}

.testimonial blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
}

.testimonial__author {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__author div { text-align: left; line-height: 1.35; }
.testimonial__author strong { display: block; color: var(--navy); }
.testimonial__author span { color: var(--grey); font-size: .9rem; }

/* ---------- Features ---------- */
.features { padding: 80px 0; background: var(--bg-light); }

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

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s ease;
}

.feature:hover { transform: translateY(-4px); }

.feature__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  stroke: var(--magenta);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 { margin-bottom: 10px; }
.feature p { font-size: .95rem; color: var(--grey); }

/* ---------- Revenue (gradient) ---------- */
.revenue {
  padding: 90px 0;
  background: var(--grad);
  color: var(--white);
}

.revenue h2 { color: var(--white); margin-bottom: 16px; }

.revenue__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}

.revenue__content p { font-size: 1.05rem; }

.revenue__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  margin-top: 26px;
}

.revenue__lists ul { list-style: none; }

.revenue__lists li {
  padding: 7px 0 7px 30px;
  position: relative;
  font-weight: 500;
}

.revenue__lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 4px var(--white);
}

.revenue__media img { max-width: 300px; margin: 0 auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  padding: 66px 0 46px;
  position: relative;
}

.cta-band__badge {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: auto;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band p {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  max-width: 640px;
}

/* ---------- Why grow ---------- */
.why-grow { padding: 80px 0; }

.why-grow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.why-grow__item p {
  font-weight: 600;
  color: var(--navy);
  margin-top: 6px;
}

/* ---------- Split sections ---------- */
.split { padding: 70px 0; }

.split--deliver { background: var(--bg-light); }

.split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split__content h2 { margin-bottom: 18px; }
.split__content p { margin-bottom: 14px; font-size: 1.02rem; }

.split__media img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--navy-deep);
  padding: 80px 0;
  text-align: center;
}

.final-cta h2 { color: var(--white); margin-bottom: 10px; }
.final-cta p { color: #c9cbe8; font-size: 1.15rem; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  padding: 30px 0;
}

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

.footer__logo { height: 32px; width: auto; }

/* Kolorowe logo SVG przerobione na białe (nie mamy pliku białej wersji) */
.footer__logo--white { filter: brightness(0) invert(1); }

.footer__links { display: flex; gap: 26px; }

.footer__links a {
  color: #c9cbe8;
  text-decoration: none;
  font-size: .9rem;
}

.footer__links a:hover { color: var(--white); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature { transition: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .why-grow__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .hero { padding: 48px 0 56px; }

  .hero__grid,
  .revenue__grid,
  .split__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__media { order: -1; max-width: 420px; margin: 0 auto; }

  .split__grid--reverse .split__media { order: 2; }

  .revenue__media { display: none; }

  .cta-band .container {
    flex-direction: column;
    text-align: center;
  }

  .booking__widget iframe { height: 620px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }

  .features__grid,
  .why-grow__grid,
  .revenue__lists {
    grid-template-columns: 1fr;
  }

  .trusted__logos { gap: 28px; }
  .trusted__logos img { max-height: 52px; }

  .booking__steps { gap: 18px; flex-direction: column; align-items: center; }

  .btn { width: 100%; text-align: center; }

  .footer__inner { flex-direction: column; text-align: center; }
}
