/* --- ZMIENNE PROJEKTU --- */
:root {
  --blue: #53b8e5;
  --blue-hover: #40a6d3;
  --yellow: #fdb900;
  --yellow-hover: #e5a700;
  --burgundy: #7a0c1e;
  --text-dark: #1c2430;
  --text-muted: #64748b;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border-light: #edf2f7;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-card: 20px;
  --radius-pill: 50px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.5;
  padding-bottom: 70px; /* miejsce na dolną belkę mobile */
}

@media (min-width: 769px) {
  body { padding-bottom: 0; }
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* --- PRZYCISKI --- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-blue {
  background-color: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background-color: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
}

.btn-yellow {
  background-color: var(--yellow);
  color: var(--text-dark);
  font-weight: 900;
  padding: 16px 36px;
  font-size: 14px;
}
.btn-yellow:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  font-size: 12px;
  padding: 11px 0;
}

/* --- NAGŁÓWEK --- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
}
.logo {
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
}
.header-cart .cart-icon {
  position: relative;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}
.cart-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  background: var(--text-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
}

/* --- HERO --- */
.hero-section {
  padding: 60px 0 40px;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  display: block;
}
.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.text-blue {
  color: var(--blue);
}
.hero-desc {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  gap: 16px;
}
.hero-visual {
  position: relative;
  text-align: right;
}
.badge-new {
  position: absolute;
  top: -15px;
  right: 15px;
  background: var(--yellow);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}
.hero-image {
  margin-left: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.12));
}

/* --- ŻÓŁTA BELKA --- */
.category-ribbon {
  background: var(--yellow);
  padding: 16px 0;
  margin-bottom: 60px;
}
.ribbon-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.ribbon-inner a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- SEKCJE I KARTY --- */
.section {
  padding-bottom: 80px;
}
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}
.section-heading .title {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}
.section-heading .subtitle {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 10px;
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  min-height: 250px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.card-image {
  width: 53%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
}
.bg-light-blue { background: #eef5f8; }
.bg-light-pink { background: #fdf2f4; }
.bg-light-cyan { background: #f0f7fb; }
.bg-light-gray { background: #f1f5f9; }

.card-image img {
  max-width: 100%;
  max-height: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease;
}
.product-card:hover .card-image img {
  transform: scale(1.05);
}

.card-details {
  width: 47%;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-tag {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-title {
  font-size: 15px;
  font-weight: 800;
  margin: 3px 0 5px;
  line-height: 1.25;
}
.card-summary {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.card-features {
  list-style: none;
  margin: 8px 0 4px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.card-features li {
  font-size: 11px;
  line-height: 1.35;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.card-features li span {
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  line-height: 1.3;
  flex-shrink: 0;
}

.card-bottom {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}
.card-price-label {
  font-size: 9px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}
.card-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 3px 0 8px;
}
.price-old {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}
.price-current {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
}

/* Kolorowe krawędzie pakietów */
.border-burgundy { border-left: 6px solid var(--burgundy); }
.border-cyan { border-left: 6px solid var(--blue); }
.border-yellow { border-left: 6px solid var(--yellow); }

.badge-saving {
  display: inline-block;
  background: var(--yellow);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin: 4px 0;
  width: fit-content;
}

/* --- SUPER PAKIET --- */
.super-bundle {
  background: var(--blue);
  border-radius: 24px;
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
  color: #fff;
  margin-top: 50px;
}
.badge-super {
  background: var(--yellow);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}
.super-heading {
  font-size: 46px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.super-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #f0f9ff;
  margin-bottom: 16px;
}
.super-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.super-features li {
  font-size: 13px;
  line-height: 1.4;
  color: #f0f9ff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.super-features li span {
  color: var(--yellow);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.super-pricing {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}
.super-price-now {
  font-size: 48px;
  font-weight: 900;
}
.super-price-old {
  font-size: 18px;
  text-decoration: line-through;
  opacity: 0.8;
}
.super-save-label {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.super-visual {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.super-image {
  max-width: 100%;
  width: 480px;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.18));
  margin: 0 auto;
}

/* --- O AUTORZE --- */
.author-section {
  padding-bottom: 80px;
}
.author-card {
  background: var(--bg-card);
  border-radius: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 48px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: center;
}
.author-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}
.author-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.author-card:hover .author-photo {
  transform: scale(1.02);
}
.author-content {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.1;
  margin: 6px 0 6px;
}
.author-role {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.author-bio p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 14px;
}
.author-bio p:last-child {
  margin-bottom: 22px;
}
.author-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}
.highlight-icon {
  color: var(--blue);
  font-weight: 900;
}
.author-actions {
  display: flex;
  gap: 16px;
}

/* --- STOPKA --- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 26px 0;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

/* --- PRZYKLEJANA BELKA MOBILE --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 999;
}
.sticky-inner {
  background: #fff;
  border-radius: 50px;
  padding: 8px 10px 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
}
.sticky-title {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-dark);
}
.sticky-btn {
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
}

/* --- RWD (MOBILE) --- */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-visual { text-align: center; }
  .hero-image { margin: 0 auto; }
  
  .grid-3 { grid-template-columns: 1fr; }
  
  .super-bundle {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    text-align: center;
  }
  .super-pricing { justify-content: center; }
  .super-visual { text-align: center; margin-top: 20px; }
  .super-image { margin: 0 auto; }
  
  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 32px 20px;
  }
  .author-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }
  .author-highlights {
    justify-content: center;
  }
  .author-actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links.active { display: flex; }
  
  .hero-title { font-size: 32px; }
  .super-heading { font-size: 30px; }
  
  .ribbon-inner {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 11px;
  }
  
  .product-card {
    flex-direction: column;
    min-height: auto;
  }
  .card-image, .card-details {
    width: 100%;
  }
  .card-image {
    padding: 24px 16px;
  }
  .card-image img {
    max-height: 220px;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .mobile-sticky-bar {
    display: block; /* Pokazujemy dolny pasek na telefonie */
  }
}