/* =========================================
   NOWA WERSJA SIEBIE — Premium White v2
   ========================================= */

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

:root {
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.06);
  --accent-border: rgba(37, 99, 235, 0.12);
  --gold: #d4a853;
  --section-py: clamp(64px, 8vw, 100px);
  --container-max: 1040px;
  --container-narrow: 680px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; color: var(--gray-900); line-height: 1.15; font-weight: 400; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }
h4 { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; color: var(--gray-900); }
.accent { color: var(--accent); }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: var(--section-py) 0; }
.section-alt { background: var(--gray-50); }
.section-heading-center { text-align: center; margin-bottom: 36px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-weight: 700;
  border: none; cursor: pointer; border-radius: var(--radius-md);
  transition: all 0.3s var(--ease); text-align: center;
}
.btn-primary {
  background: var(--gray-900); color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.08);
}
.btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white {
  background: var(--white); color: var(--gray-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-xl { padding: 16px 40px; font-size: 0.95rem; border-radius: var(--radius-lg); }
.btn-xxl { padding: 18px 48px; font-size: 1rem; border-radius: var(--radius-lg); width: 100%; max-width: 380px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gray-900); color: var(--white);
  padding: 9px 0; position: sticky; top: 0; z-index: 100;
}
.trust-bar-inner { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500; opacity: 0.85;
  white-space: nowrap;
}
.trust-item span:first-child { font-size: 0.8rem; }

/* ===== URGENCY BANNER ===== */
.urgency-banner {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid #fcd34d;
}
.urgency-banner p {
  font-size: 0.82rem;
  color: #92400e;
  font-weight: 500;
  margin: 0;
}
.urgency-banner strong {
  font-weight: 700;
  color: #78350f;
}
.urgency-banner s {
  color: #b45309;
  opacity: 0.7;
}
.urgency-banner a {
  color: #78350f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 2px;
}
.urgency-banner a:hover {
  color: #451a03;
}
.urgency-short { display: none; }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.sticky-cta-btn {
  width: 100%;
  padding: 15px 24px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* ===== HERO ===== */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-rating {
  font-size: 0.82rem; color: var(--gold); font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.hero-rating span { color: var(--gray-400); font-weight: 400; margin-left: 4px; }
.hero-content h1 { margin-bottom: 16px; }
.hero-sub {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem); color: var(--gray-500);
  max-width: 460px; margin-bottom: 28px; line-height: 1.7;
}
.hero-micro-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.hero-micro-trust span { font-size: 0.75rem; color: var(--gray-400); font-weight: 500; }
.hero-visual { display: flex; justify-content: center; }
.ebook-float { position: relative; }
.ebook-img {
  max-width: 340px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.12));
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0; background: var(--white);
}
.trust-strip-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-strip-item { text-align: center; }
.trust-strip-item strong {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--gray-900); letter-spacing: -0.02em;
}
.trust-strip-item span { font-size: 0.72rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* ===== PAIN SECTION ===== */
.pain-list { display: flex; flex-direction: column; gap: 0; margin: 32px 0; }
.pain-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; border-radius: var(--radius-md);
  transition: background 0.25s;
}
.pain-item:hover { background: var(--gray-50); }
.pain-icon { font-size: 1.5rem; flex-shrink: 0; }
.pain-item p { font-size: 0.95rem; color: var(--gray-600); }
.pain-item strong { color: var(--gray-900); }
.pain-outro {
  text-align: center; font-size: 1rem; color: var(--gray-500); margin-top: 8px;
}
.pain-outro strong { color: var(--gray-900); }

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all 0.3s var(--ease);
}
.feature-card:hover {
  border-color: var(--gray-300); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.feature-num {
  font-size: 0.72rem; font-weight: 800; color: var(--accent);
  margin-bottom: 12px; letter-spacing: 0.04em;
}
.feature-card h4 { margin-bottom: 4px; }
.feature-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.5; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative; max-width: 520px; margin: 0 auto; padding-left: 32px;
}
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--gray-200) 100%);
}
.timeline-item { position: relative; padding: 0 0 36px 22px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 4px;
  width: 10px; height: 10px; background: var(--gray-300);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white);
  transition: all 0.3s;
}
.timeline-item.active::before {
  background: var(--accent); width: 12px; height: 12px; left: -29px;
  box-shadow: 0 0 0 4px var(--white), 0 0 12px rgba(37,99,235,0.3);
}
.timeline-day {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 2px; }
.timeline-item p { color: var(--gray-500); font-size: 0.85rem; }

/* ===== RESULTS ===== */
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.result-item {
  padding: 16px 18px; font-size: 0.95rem; color: var(--gray-700);
  border-radius: var(--radius-sm); transition: background 0.2s;
}
.result-item:hover { background: var(--white); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--gray-300); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-card > p {
  font-size: 0.88rem; color: var(--gray-600); line-height: 1.6;
  margin-bottom: 18px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gray-900); display: flex; align-items: center;
  justify-content: center; font-weight: 800; color: var(--white);
  font-size: 0.8rem; flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.82rem; color: var(--gray-900); }
.testimonial-author span { font-size: 0.72rem; color: var(--gray-400); }

/* ===== OFFER ===== */
.section-offer { background: var(--gray-50); }
.offer-card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 52px);
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.04);
}
.offer-badge {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 100px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--accent); margin-bottom: 18px;
}
.offer-card h2 { margin-bottom: 4px; }
.offer-desc { color: var(--gray-400); margin-bottom: 28px; font-size: 0.9rem; }
.offer-includes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.offer-check { font-size: 0.88rem; color: var(--gray-700); }
.offer-pricing { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 4px; }
.price-old { font-size: 1.1rem; color: var(--gray-400); text-decoration: line-through; }
.price-current { font-family: 'DM Serif Display', serif; font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--gray-900); }
.offer-savings { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 28px; }
.offer-card .btn { margin: 0 auto; }

/* Trust badges row */
.offer-trust-row {
  display: flex; justify-content: center; gap: 24px; margin-top: 28px;
  flex-wrap: wrap;
}
.offer-trust-badge {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
}
.offer-trust-badge svg { color: var(--gray-400); }
.offer-trust-badge span { font-size: 0.68rem; color: var(--gray-400); font-weight: 500; line-height: 1.3; }

/* ===== FINAL CTA ===== */
.section-final-cta {
  background: var(--gray-900); text-align: center; padding: 72px 0;
}
.section-final-cta h2 { color: var(--white); margin-bottom: 10px; }
.section-final-cta .accent { color: var(--accent); filter: brightness(1.4); }
.section-final-cta p { font-size: 0.95rem; color: rgba(255,255,255,0.5); margin: 0 auto 28px; }
.section-final-cta .btn { margin: 0 auto; }
.final-trust {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 18px;
}
.final-trust span { font-size: 0.72rem; color: rgba(255,255,255,0.4); font-weight: 500; }

/* ===== FOOTER ===== */
.footer { padding: 28px 0; border-top: 1px solid var(--gray-200); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.75rem; color: var(--gray-400); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.75rem; color: var(--gray-400); transition: color 0.2s; }
.footer-links a:hover { color: var(--gray-900); }

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-micro-trust { justify-content: center; }
  .hero-rating { text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; }
  .ebook-img { max-width: 240px; }
  .trust-strip-inner { gap: 24px; }
  .results-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 600px) {
  body { font-size: 15px; }
  :root { --section-py: 48px; }
  .container { padding: 0 16px; }

  /* Trust bar mobile */
  .trust-bar { padding: 8px 0; }
  .trust-bar-inner { gap: 12px; justify-content: center; }
  .trust-item { font-size: 0.65rem; gap: 4px; }
  .trust-hide-mobile { display: none; }

  /* Urgency banner mobile */
  .urgency-banner { padding: 8px 0; }
  .urgency-full { display: none; }
  .urgency-short { display: block; font-size: 0.78rem; line-height: 1.5; }

  /* Sticky CTA mobile */
  .sticky-cta { display: block; }
  body { padding-bottom: 72px; }

  /* Hero mobile */
  .hero { padding: 40px 0 32px; }
  .hero-grid { gap: 24px; }
  .ebook-img { max-width: 180px; }
  .hero-rating { font-size: 0.75rem; }
  h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 0.9rem; margin-bottom: 24px; }

  /* Buttons mobile */
  .btn-xl { padding: 15px 28px; font-size: 0.9rem; width: 100%; }
  .btn-xxl { padding: 16px 24px; font-size: 0.92rem; max-width: 100%; }

  .hero-micro-trust { flex-direction: column; gap: 4px; align-items: center; }
  .hero-micro-trust span { font-size: 0.7rem; }

  /* Trust strip mobile — 2x2 grid */
  .trust-strip { padding: 20px 0; }
  .trust-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    justify-items: center;
  }
  .trust-strip-item strong { font-size: 1.15rem; }
  .trust-strip-item span { font-size: 0.62rem; }

  /* Pain section mobile */
  .pain-item { padding: 14px 12px; gap: 12px; }
  .pain-icon { font-size: 1.3rem; }
  .pain-item p { font-size: 0.88rem; }

  /* Features mobile */
  .feature-card { padding: 22px 18px; }
  .feature-card h4 { font-size: 0.95rem; }
  .feature-card p { font-size: 0.8rem; }

  /* Timeline mobile */
  .timeline { padding-left: 26px; }
  .timeline::before { left: 4px; }
  .timeline-item { padding: 0 0 28px 18px; }
  .timeline-item::before { left: -26px; width: 8px; height: 8px; }
  .timeline-item.active::before { width: 10px; height: 10px; left: -27px; }

  /* Results mobile */
  .result-item { padding: 12px 10px; font-size: 0.88rem; }

  /* Testimonials mobile */
  .testimonial-card { padding: 20px 16px; }
  .testimonial-card > p { font-size: 0.82rem; }
  .testimonial-avatar { width: 30px; height: 30px; font-size: 0.72rem; }

  /* Offer mobile */
  .offer-card { padding: 28px 18px; }
  .offer-includes { gap: 6px; }
  .offer-check { font-size: 0.82rem; }
  .price-current { font-size: 2.2rem; }
  .offer-trust-row { gap: 16px; }
  .offer-trust-badge { min-width: 60px; }
  .offer-trust-badge svg { width: 16px; height: 16px; }
  .offer-trust-badge span { font-size: 0.62rem; }

  /* Final CTA mobile */
  .section-final-cta { padding: 52px 0; }
  .section-final-cta h2 { font-size: 1.4rem; }
  .final-trust { gap: 12px; }
  .final-trust span { font-size: 0.65rem; }

  /* Footer mobile */
  .footer { padding: 20px 0; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
  .footer-links { gap: 16px; }
}

/* Extra small */
@media (max-width: 380px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .trust-bar-inner { gap: 8px; }
  .trust-item { font-size: 0.6rem; }
  .trust-strip-inner { gap: 12px; }
  .offer-trust-row { gap: 10px; }
}

/* Tap targets for touch */
@media (hover: none) {
  .btn-xl, .btn-xxl { min-height: 52px; }
}
