:root {
  --bg-main: #ffffff;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --accent-coral: #f43f5e;
  --navy: #0f296b;
  --emerald: #065f46;
  --lime: #a3e635;
  --border: #e2e8f0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 0px 0;
}

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

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.mt-lg { margin-top: 72px; }
.mt-md { margin-top: 48px; }

/* TYPOGRAFIA */
h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-coral), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* PRZYCISKI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

.btn-dark {
  background: var(--text-main);
  color: #fff;
}
.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

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

.btn-white {
  background: #fff;
  color: var(--text-main);
}
.btn-white:hover {
  background: #f1f5f9;
}

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

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost {
  color: var(--text-main);
}
.btn-ghost:hover {
  color: var(--primary);
}

/* 1. NAWIGACJA */
.navbar {
  position: relative; /* Zmienione ze 'sticky' na 'relative' */
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 0px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--primary); }
.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-coral), var(--primary));
}

.nav-links {
  display: flex;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--text-main); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.94rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ========================================= */
/*       ROZWIJANE MENU (DROPDOWN)           */
/* ========================================= */

.dropdown {
  position: relative;
  display: inline-block;
  /* Wysokość dopasowana do kontenera nawigacji, by obszar najechania nie znikał */
  display: flex;
  align-items: center; 
}

.arrow-down {
  font-size: 0.8em;
  margin-left: 4px;
  opacity: 0.7;
}

.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%; /* Pojawia się dokładnie pod przyciskiem nawigacji */
  left: -20px; /* Lekkie przesunięcie, by zrównać tekst */
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  z-index: 1000;
  padding: 12px 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

/* Zachowanie podmenu przy najeździe na element główny (.dropdown) */
.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Stylowanie linków wewnątrz podmenu */
.dropdown-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--text-main) !important; /* Nadpisuje kolor szary ze zwykłych linków nawigacji */
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--primary) !important;
}

/* --- Responsywność dla menu mobilnego (poniżej 992px) --- */
@media (max-width: 992px) {
  .dropdown {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px; /* Wcięcie dla elementów podrzędnych */
    margin-top: 8px;
    display: none; /* Domyślnie schowane na mobile */
  }

  /* Na urządzeniach mobilnych kliknięcie działa inaczej niż hover, 
     dlatego aktywujemy rozwinięcie przy focusie/hoverze całego bloku */
  .dropdown:hover .dropdown-menu,
  .dropdown:active .dropdown-menu {
    display: block;
  }
}

/* 2. HERO */
.hero {
  padding: 64px 0 84px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  background: #eef2ff;
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-blob {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.18), rgba(79, 70, 229, 0.15), transparent 70%);
  z-index: -1;
  filter: blur(24px);
}

.hero-img {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.floating-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
}
.floating-stat strong { display: block; color: var(--text-main); }
.floating-stat small { color: var(--text-muted); }
.stat-top { top: -16px; left: -20px; }
.stat-bottom { bottom: -16px; right: -16px; }
.stat-icon { font-size: 1.4rem; }

/* 3. CREATOR SPLIT */
.creator-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.creator-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.color-backdrop {
  position: absolute;
  width: 90%;
  height: 82%;
  bottom: 0;
  background: linear-gradient(135deg, #fde68a 0%, #fda4af 100%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.creator-photo {
  position: relative;
  z-index: 1;
  width: 72%;
  margin-left: auto;
  box-shadow: var(--shadow-lg);
}

.ui-mini-store {
  position: absolute;
  left: 0;
  top: 24px;
  z-index: 2;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 240px;
  border: 1px solid var(--border);
}
.ui-mini-header {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.ui-mini-grid {
  display: grid;
  gap: 10px;
}
.ui-mini-item {
  background: var(--bg-light);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
}
.tag-pdf, .tag-vod {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 4px;
}
.tag-pdf { background: #fee2e2; color: #b91c1c; }
.tag-vod { background: #e0e7ff; color: #3730a3; }

.check-list {
  list-style: none;
  margin: 20px 0 28px;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

.stats-strip {
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
}
.stats-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* 4. KARTY 3-KOLUMNOWE */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}
.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.product-card-body p {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 18px;
  flex: 1;
}
.card-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.92rem;
}

/* 5. INTEGRACJE */
.integrations-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.integrations-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.integration-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.integration-tile strong {
  display: block;
  font-size: 0.92rem;
}
.integration-tile span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* 6. BANERY CTA (Granatowy i Szmaragdowy) */
.cta-banner-navy,
.cta-banner-emerald {
  margin-top: 64px;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
}
.cta-banner-navy {
  background: linear-gradient(135deg, #0f296b, #1d4ed8);
}
.cta-banner-emerald {
  background: linear-gradient(135deg, #064e3b, #059669);
}
.cta-banner-navy p,
.cta-banner-emerald p {
  max-width: 640px;
  margin: 0 auto 28px;
  opacity: 0.9;
}
.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* 7. SIATKA 4-KOLUMNOWA (Plany) */
.pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}
.plan-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.badge-accent { color: var(--primary); }
.plan-price {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 8px 0 12px;
}
.plan-price span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}
.plan-link {
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
}

/* 8. SEKCJA PASTELOWA */
.gradient-highlight-section {
  background: radial-gradient(circle at 20% 20%, #fff1f2 0%, #eef2ff 50%, #f8fafc 100%);
}
.center-callout {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.center-callout p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.subgrid-title {
  text-align: center;
  margin: 48px 0 24px;
}
.mini-showcase-card,
.ui-feature-box {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.mini-showcase-card img {
  height: 170px;
  width: 100%;
  object-fit: cover;
  margin-bottom: 14px;
}
.mini-showcase-card p,
.ui-feature-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.ui-preview-bar {
  background: var(--bg-light);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 14px;
  border: 1px dashed var(--border);
}

/* 10. LIMONKOWY PASEK PROMO */
.lime-promo-strip {
  background: var(--lime);
  padding: 28px 0 56px;
}
.lime-top-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 36px;
  font-weight: 700;
}
.lime-hero-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}
.lime-text p {
  margin-bottom: 20px;
  max-width: 540px;
}
.laptop-graphic {
  background: #0f172a;
  color: #fff;
  padding: 36px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.laptop-graphic strong {
  display: block;
  font-size: 1.8rem;
  color: var(--lime);
  margin-top: 8px;
}

/* 11. WORKSPACE & AUTOMATYZACJA */
.workspace-intro {
  max-width: 1000px; /* Zwiększony limit, aby tekst zmieścił się w 1 linii */
  margin-bottom: 56px;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.feature-row-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.network-diagram,
.ui-checklist-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.node-center {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.node-grid span {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--border);
}
.ui-window-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.ui-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}
.checklist-item {
  background: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.checklist-item.done { color: #059669; }
.checklist-item.active { border-color: var(--primary); color: var(--primary); }

.bento-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.bento-features-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
}
.bento-item h4 { margin-bottom: 8px; }
.bento-item p { font-size: 0.88rem; color: var(--text-muted); }

/* 12. KOLAŻ */
.collage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.collage-text p {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.collage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.collage-box {
  padding: 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.box-1 { background: #e0e7ff; }
.box-2 { background: #ffe4e6; }
.box-3 { background: #fef3c7; }
.box-4 { background: #dcfce7; }

/* 13. DOLNY CTA & STOPKA */
.bottom-cta-section {
  padding: 45px 0;
  background: radial-gradient(circle, #eef2ff 0%, #ffffff 70%);
  border-top: 0px solid var(--border);
}
.bottom-cta-section p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--text-muted);
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer-col h4 { color: #fff; margin-bottom: 14px; }
.footer-col a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* RESPONSYWNOŚĆ (TABLETY I SMARTFONY) */
@media (max-width: 992px) {
  .hero-grid,
  .creator-split,
  .integrations-split,
  .lime-hero-box,
  .feature-row,
  .collage-split {
    grid-template-columns: 1fr;
  }
  .cards-grid-3,
  .pricing-grid-4,
  .bento-features,
  .bento-features-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .integrations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .mobile-toggle { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .cards-grid-3,
  .pricing-grid-4,
  .integrations-grid,
  .bento-features,
  .bento-features-3,
  .collage-grid,
  .footer-grid,
  .node-grid {
    grid-template-columns: 1fr;
  }
  .floating-stat {
    position: static;
    margin-top: 12px;
  }
  .ui-mini-store {
    position: static;
    width: 100%;
    margin-bottom: 16px;
  }
  .creator-showcase {
    flex-direction: column;
  }
  .creator-photo {
    width: 100%;
  }
}

/* Definicja delikatnej animacji lewitacji */
@keyframes float-gentle {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Przypisanie animacji do pływających wizytówek */
.floating-stat {
  animation: float-gentle 4s ease-in-out infinite;
}

/* Przesunięcie w czasie dolnej wizytówki, aby ruch był naturalny i asynchroniczny */
.stat-bottom {
  animation-delay: -2s;
}

/* ========================================= */
/*       PODSTRONA ARTYKUŁU / CASE STUDY     */
/* ========================================= */

.article-page {
  padding-bottom: 96px;
  background-color: #fff;
}

/* Nagłówek artykułu */
.article-header {
  padding: 64px 0 40px;
  background: var(--bg-light); /* Jasne tło sekcji tytułowej */
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.article-header-container {
  max-width: 860px; /* Zwężony kontener dla lepszej czytelności nagłówka */
  margin: 0 auto;
  text-align: center;
}

.breadcrumbs {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--primary-hover);
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #cbd5e1;
}

.article-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 0;
}

/* Zdjęcie Hero (Banner artykułu) */
.article-hero {
  max-width: 1040px;
  margin-bottom: 56px;
}

.article-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  background-color: #e5efe9; /* Lekki zielonkawy podkład znany z załącznika */
}

/* Treść artykułu - optymalizacja UX czytania */
.article-content {
  max-width: 740px; /* Optymalna szerokość do czytania (ok. 70-80 znaków w linii) */
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #334155;
}

.article-content .lead {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 48px;
  line-height: 1.6;
}

.article-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 56px 0 24px;
}

.article-content p {
  margin-bottom: 24px;
}

/* Formatowanie cytatów */
.article-content blockquote {
  background: var(--bg-light);
  border-left: 5px solid var(--primary);
  padding: 32px 40px;
  margin: 48px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
}

/* Zdjęcie wplecione w tekst */
.article-mid-image {
  margin: 56px 0;
}

.article-mid-image img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.article-mid-image figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ========================================= */
/*       SEKCJA: WIĘCEJ NA BLOGU             */
/* ========================================= */

.related-articles-section {
  margin-top: 88px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.related-header {
  margin-bottom: 48px;
}

.related-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Karty wpisów blogowych */
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.blog-card h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 24px;
}

.blog-card-spacer {
  flex-grow: 1; /* Wypycha przycisk na sam dół karty, by równo leżały w rzędzie */
}

/* Pomarańczowy/Koralowy przycisk jak na makiecie */
.btn-blog {
  align-self: flex-start; /* Przycisk nie rozciąga się na całą szerokość */
  background: #fb923c; /* Odcień pomarańczowy wzorowany na załączniku */
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-blog:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

/* Responsywność dla podstrony */
@media (max-width: 768px) {
  .article-header { padding: 40px 0 32px; }
  .article-content blockquote { padding: 24px; font-size: 1.1rem; }
  .article-content .lead { font-size: 1.15rem; }
  .related-articles-section { padding-top: 56px; margin-top: 56px; }
}
/* ========================================= */
/*      PODSTRONA BAZY WIEDZY / FAQ          */
/* ========================================= */

.pt-md { padding-top: 48px; }
.py-lg { padding-top: 80px; padding-bottom: 80px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* 1. Proste karty artykułów i paginacja */
.article-card-simple {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.article-card-simple:hover { border-color: var(--border); }
.article-card-simple h3 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  line-height: 1.4;
}
.read-more-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.read-more-link:hover { color: var(--text-main); }

.pagination-wrapper {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.page-link:hover { background: #e2e8f0; color: var(--text-main); }
.page-link.active { background: var(--text-main); color: #fff; }

/* 2. Sekcja FAQ (Grid i Akordeon) */
.faq-section { padding-top: 80px; }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}
.faq-sidebar h2 { margin-bottom: 16px; }
.faq-sidebar p { color: var(--text-muted); margin-bottom: 32px; }
.faq-contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-item .icon { font-size: 1.2rem; }

.faq-accordion {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 24px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%);
}
.faq-content {
  padding-bottom: 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 3. Bloki funkcji (4 kolumny jasne) */
.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feature-box-light {
  background: #fdfdfd;
  padding: 28px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.04);
}
.feature-box-light h4 { margin-bottom: 12px; font-size: 1.05rem; }
.feature-box-light p { font-size: 0.9rem; color: var(--text-muted); }
.feature-box-light a { color: var(--primary); text-decoration: none; }

/* 4. Sekcja Powiązane */
.eyebrow-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}
.related-card-bordered {
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}
.related-card-bordered h4 { font-size: 1.15rem; margin-bottom: 12px; }
.related-card-bordered p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; flex-grow: 1; }

/* 5. Obszary Tematyczne (Karty białe na jasnym tle) */
.section-desc {
  max-width: 600px;
  color: var(--text-muted);
}
.topic-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.topic-card h4 { font-size: 1.15rem; margin-bottom: 12px; }
.topic-card p { font-size: 0.92rem; color: var(--text-muted); }

/* 6. Baner Niebieski */
.cta-banner-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: var(--radius-md);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}
.cta-banner-blue h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-banner-blue p { opacity: 0.9; font-size: 1.05rem; }

/* 7. Dolny blok (Kanały sprzedaży) */
.final-callout { padding: 96px 0; }
.h1-size { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.2; font-weight: 800; }
.text-blue { color: #2563eb; }
.final-desc { max-width: 700px; color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; }
.small-text-muted { font-size: 0.85rem; color: #94a3b8; }
.btn-light-blue { background: #dbeafe; color: #1e3a8a; font-weight: 700; }
.btn-light-blue:hover { background: #bfdbfe; }

/* Responsywność */
@media (max-width: 992px) {
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .features-grid-4 { grid-template-columns: 1fr; }
  .cta-banner-blue { padding: 48px 24px; }
}
/* Usunięcie zaokrągleń i dopasowanie wielkości obrazkowego logo */
.nav-logo-img {
  border-radius: 0 !important; /* Wymusza ostre kąty (brak zaokrągleń) */
  width: auto;
  object-fit: contain;
}