/* ==========================================================================
   SEOHOST AFILIACYJNO-PORADNIKOWY ARKUSZ STYLÓW (css/style.css)
   Nowoczesny Light Mode, Pełne RWD, Zoptymalizowane Fonty i Kontrast
   ========================================================================== */

:root {
  --primary: #0284c7;         /* Brand Blue */
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #0f172a;       /* Deep Slate Navy */
  --secondary-light: #1e293b;
  --accent: #10b981;          /* Emerald Green for Savings / CTA */
  --accent-hover: #059669;
  --accent-light: #d1fae5;
  --text-main: #1e293b;       /* Crisp Dark Text */
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  --badge-bg: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Podstawowe */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-alt);
  color: var(--text-main);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Typografia */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; letter-spacing: -0.025em; }
h2 { font-size: 1.875rem; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.25rem; }
}

p {
  margin-bottom: 1rem;
}

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

/* Kontenery */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

.section-header .badge {
  display: inline-block;
  margin-bottom: 0.75rem;
}

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

/* Badges & Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border-color: rgba(16, 185, 129, 0.2);
}

.badge-dark {
  background-color: var(--secondary);
  color: #ffffff;
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(2, 132, 199, 0.45);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.45);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--secondary);
}

.btn-outline:hover {
  background-color: var(--bg-alt);
  border-color: var(--text-muted);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Header & Nawigacja */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-logo .logo-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
  letter-spacing: 0.5px;
  line-height: 1;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

.footer-logo-wrap {
  background: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
}

.footer-logo-wrap .logo-img {
  height: 28px;
}

.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 1rem;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content .promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.hero-content .promo-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin-bottom: 1.25rem;
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Kod Rabatowy Box w Hero */
.coupon-hero-box {
  background: #ffffff;
  border: 2px dashed var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.75rem;
}

.coupon-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.coupon-code-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.code-display {
  flex: 1;
  min-width: 180px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Karta Promocji w Hero */
.hero-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.hero-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #f1f5f9;
}

.hero-features-list li:last-child {
  border-bottom: none;
}

.hero-features-list i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Sekcja: 60 Sekund (Siatka Faktów) */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.fact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.fact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.fact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Boks Decyzyjny "Czy warto?" */
.decision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .decision-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.decision-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.decision-box.pro {
  border-top: 4px solid var(--accent);
}

.decision-box.con {
  border-top: 4px solid #f97316;
}

.decision-box h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.decision-list {
  list-style: none;
}

.decision-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.decision-list li i {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.decision-box.pro li i { color: var(--accent); }
.decision-box.con li i { color: #f97316; }

/* ==========================================================================
   NOWY INTELIGENTNY ANALIZATOR POTRZEB UŻYTKOWNIKA
   ========================================================================== */
.analyzer-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.analyzer-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.analyzer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .analyzer-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.analyzer-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.analyzer-pills-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.analyzer-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.85rem 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  user-select: none;
}

.analyzer-pill i {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.analyzer-pill:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.analyzer-pill.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.analyzer-pill.active i {
  color: #ffffff;
}

/* Wynik Analizatora */
.analyzer-result-card {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
}

.analyzer-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.analyzer-plan-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.analyzer-plan-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.analyzer-specs-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.analyzer-specs-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.analyzer-specs-list li i {
  color: var(--accent);
  font-size: 1.05rem;
}

.analyzer-pricing-box {
  background: #ffffff;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.analyzer-pricing-box .old-price {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.95rem;
}

.analyzer-pricing-box .final-price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.15rem 0;
}

.analyzer-pricing-box .savings-tag {
  font-size: 0.825rem;
  color: var(--accent-hover);
  font-weight: 700;
}

/* Quiz & Kalkulator */
.interactive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .interactive-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.interactive-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.interactive-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.interactive-card .card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Quiz Style */
.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
  background: var(--bg-alt);
}

.quiz-option:hover, .quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-hover);
}

.quiz-result {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.quiz-result.active {
  display: block;
}

/* Kalkulator Style */
.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.calc-select, .calc-range {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
}

.calc-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.calc-summary {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.calc-row.final {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
}

/* Tabela Porównawcza */
.table-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.table-custom th, .table-custom td {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.table-custom th {
  background: var(--bg-alt);
  color: var(--secondary);
  font-weight: 700;
  white-space: nowrap;
}

.table-custom tbody tr:hover {
  background-color: rgba(2, 132, 199, 0.03);
}

.table-custom .highlight-col {
  background-color: rgba(2, 132, 199, 0.05);
  font-weight: 600;
}

.table-custom .included-tag {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.table-custom .paid-tag {
  color: #ef4444;
  font-weight: 600;
}

/* Wyszukiwarka / Sprawdzarka */
.checker-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.checker-input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
  .checker-input-wrap {
    flex-direction: row;
  }
}

.checker-input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
}

.checker-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.checker-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.suggest-tag {
  background: var(--bg-alt);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.suggest-tag:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.checker-result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  display: none;
}

/* Baza Wiedzy (Blog Klastry) */
.blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.blog-tab-btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.blog-tab-btn:hover, .blog-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.article-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-card-title a {
  color: var(--secondary);
}

.article-card-title a:hover {
  color: var(--primary);
}

.article-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* FAQ Akordeon */
.faq-wrap {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}

.faq-question i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 1.25rem;
  transition: max-height 0.3s ease-in-out;
}

/* Pływający Sticky Bar */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.85rem 0;
  z-index: 99;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-bar.show {
  transform: translateY(0);
}

.sticky-bar-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-bar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sticky-badge {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.sticky-code-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-code {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

/* Artykuł Szczegółowy (article.php) */
.article-page {
  padding: 3rem 0 5rem 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr 340px;
  }
}

.article-main {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .article-main {
    padding: 3rem;
  }
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.article-body h2 {
  font-size: 1.65rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.4rem;
}

.article-body h3 {
  font-size: 1.3rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body code {
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.9em;
  color: #0f172a;
}

.article-body pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.article-body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.callout-box {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.callout-box h4 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sticky-sidebar-box {
  position: sticky;
  top: 90px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

/* Stopka */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.825rem;
}

/* Toast Notyfikacja Schowka */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
  pointer-events: none;
}

.toast {
  background: #0f172a;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 4px solid var(--accent);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   POPUP PROMOCYJNY Z KODEM RABATOWYM (7 SEKUND)
   ========================================================================== */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.promo-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.promo-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  border: 2px solid var(--primary-light);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.promo-modal-backdrop.show .promo-modal-card {
  transform: scale(1) translateY(0);
}

.promo-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.promo-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

.promo-modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2);
}

.promo-modal-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.promo-modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.promo-modal-code-box {
  background: var(--bg-alt);
  border: 2px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.promo-modal-code-text {
  font-family: monospace;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--secondary);
}

.promo-modal-footer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
}
