﻿/* ============================================================
   MagBeat — STYLE.CSS
   Spis treści:
   1. Reset & zmienne
   2. Elementy bazowe / typografia
   3. Layout / kontener
   4. Przyciski
   5. Header
   6. Hero
   6B. Quantity Discounts / Wybierz ofertę
   7. Pasek ikon
   8. Sekcja "Dlaczego"
   9. Lifestyle
   10. Funkcje
   11. Jak działa
   12. Porównanie
   13. Specyfikacja
   14. Opinie
   15. FAQ
   16. Oferta / CTA
   17. Footer
   18. Sticky CTA (mobile)
   19. Animacje
   20. Responsywność
   ============================================================ */

/* ============================== 1. RESET & ZMIENNE ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* Kolory */
  --color-white: #FFFFFF;
  --color-offwhite: #F7F8FA;
  --color-black: #0A0A0B;
  --color-gray-900: #18181B;
  --color-gray-700: #3F3F46;
  --color-gray-600: #52525B;
  --color-gray-400: #A1A1AA;
  --color-gray-200: #E4E4E7;
  --color-gray-100: #F4F4F5;
  --color-blue: #2563EB;
  --color-sky: #0EA5E9;
  --gradient-accent: linear-gradient(135deg, #2563EB 0%, #0EA5E9 100%);

  /* Promienie */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  /* Cienie */
  --shadow-sm: 0 2px 8px rgba(10, 10, 11, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 10, 11, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 10, 11, 0.12);
  --shadow-blue: 0 12px 32px rgba(37, 99, 235, 0.28);

  /* Typografia */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-w: 1200px;
  --header-h: 76px;

  /* Transition */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================== 2. ELEMENTY BAZOWE ============================== */
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-gray-900);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--color-gray-600); }

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

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Focus visibility (WCAG) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-black);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ============================== 3. LAYOUT ============================== */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.light h2, .section-head.light p { color: var(--color-white); }
.section-head p { font-size: 1.05rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--color-sky); }

/* ============================== 4. PRZYCISKI ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.36); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--color-white);
  color: var(--color-black);
  border: 1.5px solid var(--color-gray-200);
}
.btn-ghost:hover { border-color: var(--color-black); transform: translateY(-2px); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.1rem; }

/* ============================== 5. HEADER ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(228, 228, 231, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-accent);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--color-white);
}

.main-nav ul { display: flex; gap: 36px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-gray-700);
  transition: color 0.2s var(--ease);
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gradient-accent);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--color-black); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.nav-toggle span {
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav ul { padding: 16px 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--color-gray-100); }
.mobile-nav .btn { margin-top: 12px; width: 100%; display: flex; justify-content: center; }

/* ============================== 6. HERO ============================== */
.hero {
  padding: 72px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.10), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.08), transparent 50%),
    var(--color-white);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-gray-100);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.stars { color: #F59E0B; letter-spacing: 1px; }
.stars.big { font-size: 1.5rem; }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 20px;
}

.hero-desc { font-size: 1.1rem; max-width: 480px; margin-bottom: 32px; }

.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-price-box {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--color-gray-200);
}

.price-main { display: flex; align-items: baseline; gap: 10px; }
.price-current { font-size: 1.6rem; font-weight: 800; color: var(--color-black); }
.price-old { font-size: 1.05rem; color: var(--color-gray-400); text-decoration: line-through; }
.price-save {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-blue);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.price-info { display: flex; gap: 20px; flex-wrap: wrap; }
.price-info li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray-600);
}
.price-info svg { width: 16px; height: 16px; color: var(--color-blue); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  background: var(--gradient-accent);
  filter: blur(120px);
  opacity: 0.25;
  border-radius: 50%;
  z-index: 0;
}

.magnetic-scene {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}
.hero-phone {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.hero-speaker {
  position: absolute;
  width: 34%;
  top: 8%;
  right: -6%;
  border-radius: 50%;
  box-shadow: var(--shadow-blue);
  animation: magnetSnap 3.2s var(--ease) infinite;
}

@keyframes magnetSnap {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  38% { transform: translate(-14px, -10px) rotate(-6deg); }
  50% { transform: translate(2px, 1px) rotate(1deg); }
  62% { transform: translate(0, 0) rotate(0deg); }
}

/* ============================== 6B. QUANTITY DISCOUNTS / WYBIERZ OFERTĘ ============================== */
.quantity-offers {
  background: var(--color-offwhite);
  padding: 88px 0 96px;
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  background: var(--color-white);
  border: 2px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-family: var(--font-main);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gray-400);
}

.offer-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-offwhite);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background 0.35s var(--ease);
}
.offer-card-icon svg { width: 22px; height: 22px; color: var(--color-gray-600); }

.offer-card-qty {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-gray-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.offer-card-title { font-size: 1.2rem; margin-bottom: 14px; }

.offer-card-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.offer-card-price .price-current { font-size: 1.9rem; font-weight: 800; color: var(--color-black); }
.offer-card-price .price-old { font-size: 1.05rem; }

.offer-card-save {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.offer-card-gratis {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-sky);
  margin-bottom: 6px;
}

.offer-card-note { font-size: 0.9rem; color: var(--color-gray-600); margin-bottom: 20px; }
.offer-card-note--accent { color: var(--color-blue); font-weight: 700; }
.offer-card-note--lg { font-size: 1rem; font-weight: 700; color: var(--color-black); margin-bottom: 4px; }
.offer-card-hint { font-size: 0.85rem; color: var(--color-gray-600); margin-bottom: 20px; }

.offer-card-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-gray-200);
  width: 100%;
}
.offer-card-perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gray-600);
}
.offer-card-perks svg { width: 15px; height: 15px; color: var(--color-blue); flex-shrink: 0; }

.offer-card-badge {
  position: absolute;
  top: -14px; left: 24px;
  background: var(--gradient-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-blue);
  white-space: nowrap;
}
.offer-card-badge--alt { background: var(--color-black); box-shadow: var(--shadow-md); }

.offer-card-select {
  position: absolute;
  top: 20px; right: 20px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-gray-200);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-white);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.offer-card-select svg {
  width: 14px; height: 14px;
  color: var(--color-white);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

/* Wyróżniona karta (Oferta 2) — większa i bardziej atrakcyjna wizualnie */
.offer-card--featured {
  padding: 40px 32px;
  border: 2px solid var(--color-gray-200);
  transform: scale(1.06);
  z-index: 1;
  box-shadow: var(--shadow-lg);
  animation: offerBounceIn 0.7s var(--ease) 0.15s both;
}
.offer-card--featured:hover { transform: scale(1.06) translateY(-6px); }
.offer-card--featured .offer-card-icon { background: var(--gradient-accent); }
.offer-card--featured .offer-card-icon svg { color: var(--color-white); }
.offer-card--featured .offer-card-title { font-size: 1.3rem; }
.offer-card--featured .offer-card-price .price-current { font-size: 2.2rem; }

@keyframes offerBounceIn {
  0%   { transform: scale(0.9); opacity: 0; }
  55%  { transform: scale(1.09); opacity: 1; }
  75%  { transform: scale(1.03); }
  100% { transform: scale(1.06); }
}

/* Stan zaznaczenia — dotyczy każdej karty po kliknięciu */
.offer-card[aria-checked="true"] {
  border-color: var(--color-blue);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(14, 165, 233, 0.02));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), var(--shadow-lg);
  /* animation: offerSelectPulse 0.5s var(--ease); */
}
.offer-card[aria-checked="true"] .offer-card-select {
  background: var(--gradient-accent);
  border-color: transparent;
}
.offer-card[aria-checked="true"] .offer-card-select svg {
  opacity: 1;
  transform: scale(1);
}
.offer-card--featured[aria-checked="true"] {
  transform: scale(1.08);
}

@keyframes offerSelectPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35), var(--shadow-lg); }
  70%  { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0), var(--shadow-lg); }
  100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), var(--shadow-lg); }
}

.offer-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}
.offer-cta-wrap .btn { min-width: 260px; }

.btn-pulse { animation: btnPulse 0.45s var(--ease); }
@keyframes btnPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.offer-summary {
  font-size: 0.95rem;
  color: var(--color-gray-600);
  margin: 0;
}
.offer-summary strong { color: var(--color-black); }

.offer-cta-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--color-gray-600);
  margin: 0;
}
.offer-cta-hint svg { width: 14px; height: 14px; color: var(--color-gray-400); }

/* Responsywność — karty w kolumnie na mobile/tablet */
@media (max-width: 900px) {
  .offer-cards { grid-template-columns: 1fr; max-width: 420px; }
  .offer-card--featured { transform: scale(1); }
  .offer-card--featured:hover { transform: translateY(-4px); }
  .offer-card--featured[aria-checked="true"] { transform: scale(1); }
}

@media (max-width: 768px) {
  .quantity-offers { padding: 56px 0 64px; }
  .offer-card { padding: 26px 22px; }
  .offer-card--featured { padding: 32px 24px; }
  .offer-cta-wrap .btn { width: 100%; }
}

/* ============================== 7. PASEK IKON ============================== */
.strip {
  background: var(--color-black);
  padding: 32px 0;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
}
.strip-item svg { width: 20px; height: 20px; color: var(--color-sky); }

/* ============================== 8. DLACZEGO MagBeat ============================== */
.why { background: var(--color-white); }

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

.why-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-offwhite);
  border: 1px solid var(--color-gray-200);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg { width: 24px; height: 24px; color: var(--color-white); }

.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 0.95rem; }

/* ============================== 9. LIFESTYLE ============================== */
.lifestyle { background: var(--color-offwhite); }

.lifestyle-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.lifestyle-row:last-child { margin-bottom: 0; }
.lifestyle-row.reverse { grid-template-columns: 0.9fr 1.1fr; }
.lifestyle-row.reverse .lifestyle-media { order: 2; }
.lifestyle-row.reverse .lifestyle-text { order: 1; }

.lifestyle-media img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.lifestyle-text h3 { font-size: 1.75rem; margin-bottom: 12px; }
.lifestyle-text p { font-size: 1.05rem; max-width: 420px; }

/* ============================== 10. FUNKCJE ============================== */
.features {
  background: var(--color-black);
  color: var(--color-white);
}

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

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(14, 165, 233, 0.4);
}
.feature-card svg { width: 26px; height: 26px; color: var(--color-sky); margin-bottom: 16px; }
.feature-card h3 { color: var(--color-white); font-size: 1.05rem; margin-bottom: 6px; }
.feature-card p { color: var(--color-gray-400); font-size: 0.9rem; margin: 0; }

/* ============================== 11. JAK DZIAŁA ============================== */
.how { background: var(--color-white); }

.how-steps {
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.how-step {
  flex: 1;
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--color-offwhite);
  position: relative;
}
.how-num {
  position: absolute;
  top: 20px; left: 24px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-gray-400);
}
.how-step svg {
  width: 32px; height: 32px;
  color: var(--color-blue);
  margin: 12px 0 20px;
}
.how-step h3 { margin-bottom: 8px; }
.how-step p { font-size: 0.92rem; margin: 0; }

.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
}
.how-arrow svg { width: 22px; height: 22px; }

/* ============================== 12. PORÓWNANIE ============================== */
.compare { background: var(--color-offwhite); }

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-gray-200);
}
.compare-table thead th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-600);
  background: var(--color-offwhite);
}
.compare-table thead th.highlight { color: var(--color-blue); }
.compare-table tbody th { font-weight: 700; }
.compare-table td.highlight { background: rgba(37, 99, 235, 0.05); font-weight: 600; }
.compare-table td svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 8px; }
.compare-table td.highlight svg { color: var(--color-blue); }
.compare-table td:not(.highlight) svg { color: var(--color-gray-400); }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: none; }

/* ============================== 13. SPECYFIKACJA ============================== */
.specs { background: var(--color-white); }
.specs-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }

.specs-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
}
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr:nth-child(odd) { background: var(--color-offwhite); }
.specs-table th, .specs-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.95rem;
}
.specs-table th { font-weight: 700; width: 40%; color: var(--color-gray-700); }
.specs-table td { color: var(--color-gray-600); }

/* ============================== 14. OPINIE ============================== */
.reviews { background: var(--color-offwhite); }

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

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

.review-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-head img { border-radius: 50%; width: 44px; height: 44px; }
.review-head strong { display: block; font-size: 0.92rem; }
.review-head .stars { font-size: 0.8rem; }

.review-card p { font-size: 0.9rem; margin: 0; }

/* ============================== 15. FAQ ============================== */
.faq { background: var(--color-white); }

.accordion { max-width: 760px; margin: 0 auto; }

.accordion-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-black);
}
.accordion-trigger svg {
  width: 20px; height: 20px;
  color: var(--color-gray-400);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.accordion-trigger[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--color-blue); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-panel p { padding: 0 4px 22px; margin: 0; font-size: 0.95rem; }

/* ============================== 16. OFERTA / CTA ============================== */
.offer {
  background: var(--color-black);
  background-image: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.35), transparent 60%);
  color: var(--color-white);
  text-align: center;
  padding: 120px 0;
}

.offer-inner { max-width: 640px; margin: 0 auto; }
.offer h2 { color: var(--color-white); font-size: clamp(2rem, 4vw, 3rem); }
.offer p { color: var(--color-gray-400); font-size: 1.1rem; margin-bottom: 36px; }
.offer .counter { color: var(--color-sky); font-weight: 800; }

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}
.offer-price .price-current { font-size: 2.75rem; color: var(--color-white); }
.offer-price .price-old { font-size: 1.3rem; }

.offer-info {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.offer-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gray-400);
}
.offer-info svg { width: 16px; height: 16px; color: var(--color-sky); }

/* ============================== 17. FOOTER ============================== */
.site-footer {
  background: var(--color-gray-900);
  color: var(--color-gray-400);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo { color: var(--color-white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }

.footer-links h4, .footer-social h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.92rem; transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--color-white); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.social-icons a:hover { background: var(--gradient-accent); transform: translateY(-3px); }
.social-icons svg { width: 18px; height: 18px; }

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================== 18. STICKY MOBILE CTA ============================== */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-gray-200);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-price { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta .price-current { font-size: 1.1rem; }
.sticky-cta .price-old { font-size: 0.8rem; }
.sticky-cta .btn { flex-shrink: 0; }

/* ============================== 19. ANIMACJE (SCROLL REVEAL) ============================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.card-grid .why-card:nth-child(1) { transition-delay: 0.03s; }
.card-grid .why-card:nth-child(2) { transition-delay: 0.08s; }
.card-grid .why-card:nth-child(3) { transition-delay: 0.13s; }
.card-grid .why-card:nth-child(4) { transition-delay: 0.18s; }
.card-grid .why-card:nth-child(5) { transition-delay: 0.23s; }
.card-grid .why-card:nth-child(6) { transition-delay: 0.28s; }

.offer-cards .offer-card:nth-child(1) { transition-delay: 0.03s; }
.offer-cards .offer-card:nth-child(2) { transition-delay: 0.1s; }
.offer-cards .offer-card:nth-child(3) { transition-delay: 0.17s; }

.feature-grid .feature-card:nth-child(n) { transition-delay: calc(0.04s * var(--i, 0)); }

/* ============================== 20. RESPONSYWNOŚĆ ============================== */

/* Tablet */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-desc { max-width: none; }

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

  .lifestyle-row, .lifestyle-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lifestyle-row.reverse .lifestyle-media { order: 1; }
  .lifestyle-row.reverse .lifestyle-text { order: 2; }

  .specs-inner { grid-template-columns: 1fr; }

  .how-steps { flex-direction: column; }
  .how-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }

  .header-actions .btn-primary.btn-sm { display: none; }

  h2 { font-size: 1.9rem; }

  .hero { padding: 40px 0 48px; }
  .hero-title { font-size: 2.4rem; }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .hero-price-box { flex-direction: column; align-items: flex-start; gap: 16px; }

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

  .card-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }

  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 0.85rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .offer { padding: 80px 0; }
  .offer-price .price-current { font-size: 2.1rem; }

  .sticky-cta { display: flex; padding-bottom: max(14px, env(safe-area-inset-bottom)); }

  section { padding: 56px 0; }
}

/* Small mobile */
@media (max-width: 380px) {
  .hero-title { font-size: 2.1rem; }
  .btn-xl { padding: 16px 32px; font-size: 1rem; }
}

/* === 21. QUANTITY PICKER (qp-*) === */

.qp-picker {
  font-family: var(--font-main);
  margin-bottom: 24px;
  text-align: center;
}

.qp-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
  outline: none;
}

.qp-pill {
  position: relative;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  min-height: 44px;
  min-width: 44px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.qp-pill:hover:not([aria-checked="true"]) {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}

.qp-pill[aria-checked="true"] {
  border: 2px solid var(--color-blue);
  box-shadow: var(--shadow-blue);
  transform: scale(1.04);
}

.qp-pill:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.qp-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--gradient-accent);
  color: var(--color-white);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.qp-price {
  margin-bottom: 20px;
  transition: opacity 0.3s var(--ease);
}

.qp-price-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
}

.qp-price-regular {
  font-size: 1.05rem;
  color: var(--color-gray-400);
  text-decoration: line-through;
  margin-right: 8px;
}

.qp-price-savings {
  font-size: 0.88rem;
  color: var(--color-sky);
  font-weight: 600;
  display: block;
  margin-top: 4px;
}

/* qp-* responsive — narrow phones */
@media (max-width: 480px) {
  .qp-group { flex-direction: column; }
  .qp-pill  { width: 100%; }
}

/* qp-* responsive — CTA button full-width on mobile */
@media (max-width: 768px) {
  #oferta .offer-inner .btn.btn-primary.btn-xl { width: 100%; }
}

/* qp-* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .qp-pill,
  .qp-price,
  .qp-badge {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* hero-phone square crop on mobile */
@media (max-width: 768px) {
  .hero-phone {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
  }
}
.qp-picker--hero {
  margin-bottom: 28px;
  text-align: left;
}

.qp-picker--hero .qp-group {
  justify-content: flex-start;
}

.qp-picker--hero .qp-pill {
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-gray-900);
}

.qp-picker--hero .qp-pill:hover:not([aria-checked="true"]) {
  border-color: rgba(0, 0, 0, 0.4);
}

.qp-picker--hero .qp-pill[aria-checked="true"] {
  border-color: var(--color-blue);
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-black);
}

.qp-picker--hero .qp-price-main {
  color: var(--color-black);
}

.qp-picker--hero .qp-price-regular {
  color: var(--color-gray-400);
}

.qp-picker--hero .qp-price-savings {
  color: var(--color-blue);
}
