/* ==========================================================================
   7MM — design system
   Tokeny i komponenty wspólne dla całego serwisu.
   ========================================================================== */

:root {
  color-scheme: light dark;

  /* Kolory marki */
  --primary: light-dark(#059669, #10b981);
  --primary-dark: light-dark(#047857, #34d399);
  --primary-tint: light-dark(#e8f7f0, #0d2b20);
  --primary-tint-soft: light-dark(#f4fbf8, #0b211a);
  --primary-contrast: light-dark(#ffffff, #06231b);

  /* Neutralne */
  --text: light-dark(#1a1a1a, #dde1e6);
  --text-strong: light-dark(#000000, #ffffff);
  --text-muted: light-dark(#6b7280, #a2abb5);
  --text-soft: light-dark(#9ca3af, #77808a);
  --border: light-dark(#e5e7eb, #2c343d);
  --border-soft: light-dark(#ebebeb, #262d35);
  --bg: light-dark(#ffffff, #171d24);
  --bg-soft: light-dark(#f7f7f7, #10151a);
  --bg-softer: light-dark(#fafafa, #121820);

  /* Akcenty */
  --green: light-dark(#16a34a, #4ade80);
  --green-bright: #10b981;
  --green-soft: light-dark(#f0fdf4, #0e2517);
  --red: light-dark(#ef4444, #f87171);
  --amber: light-dark(#f59e0b, #fbbf24);
  --teal: #14b8a6;

  /* Statusy i komunikaty */
  --danger-bg: light-dark(#fef2f2, #2b171a);
  --danger-border: light-dark(#fecaca, #64303a);
  --danger-border-strong: light-dark(#fca5a5, #7f3341);
  --danger-text: light-dark(#b91c1c, #fca5a5);
  --warn-bg: light-dark(#fffbeb, #2a2312);
  --warn-text: light-dark(#b45309, #fbbf24);
  --warn-border: light-dark(#f59e0b, #b45309);
  --orange-bg: light-dark(#fff7ed, #2b1d10);
  --orange-text: light-dark(#c2410c, #fdba74);
  --info-bg: light-dark(#eff6ff, #14243c);
  --info-text: light-dark(#2563eb, #93c5fd);
  --info-strong: light-dark(#1d4ed8, #93c5fd);
  --info-border: light-dark(#bfdbfe, #27437a);
  --violet-bg: light-dark(#f5f3ff, #251d3c);
  --violet-text: light-dark(#7c3aed, #c4b5fd);
  --success-border: light-dark(#bbf7d0, #1d5b38);
  --success-text: light-dark(#166534, #86efac);
  --serp-link: light-dark(#1a0dab, #8ab4f8);

  /* Powierzchnie specjalne */
  --navbar-bg: light-dark(rgba(255, 255, 255, 0.85), rgba(23, 29, 36, 0.85));
  --overlay: light-dark(rgba(255, 255, 255, 0.94), rgba(18, 24, 32, 0.94));
  --backdrop: light-dark(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  --chart-fill: light-dark(rgba(5, 150, 105, 0.08), rgba(16, 185, 129, 0.1));

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

  /* Kształt */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Cienie */
  --shadow-sm: 0 1px 2px light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
  --shadow: 0 4px 16px light-dark(rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.45));
  --shadow-lg: 0 12px 40px light-dark(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.55));

  --container: 1140px;
}

/* Przełącznik motywu: brak atrybutu = za ustawieniem systemu */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

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

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--soft {
  background: var(--bg-softer);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-strong);
}

.section-head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Poradniki SEO (publiczne, /poradniki/seo/)
   -------------------------------------------------------------------------- */

.guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.guide__intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 14px 0 8px;
  max-width: 640px;
}

.guide__section {
  margin: 40px 0 6px;
  font-size: 1.5rem;
}

.guide__topic {
  padding: 22px 0;
  border-bottom: 1px solid var(--border-soft, #eef1f4);
  scroll-margin-top: 90px;
}

.guide__topic h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.guide__topic > p {
  color: var(--text-muted);
  line-height: 1.65;
}

.guide__fix {
  margin-top: 12px;
  background: var(--primary-tint);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  line-height: 1.6;
}

.guide__fix p {
  margin-top: 4px;
}

.guide__cta {
  margin-top: 40px;
  background: var(--primary-tint);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.guide__cta p {
  color: var(--text-muted);
  margin: 8px 0 16px;
}

.guide__nav {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.guide__nav-box {
  border: 1px solid var(--border, #e3e8ee);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--bg);
}

.guide__nav-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft, #94a3b8);
  margin-bottom: 8px;
}

.guide__nav-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
}

.guide__nav-platform {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border: 1px solid var(--border, #e3e8ee);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.guide__nav-platform.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-contrast);
}

.guide__nav-section {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-soft, #94a3b8);
  margin: 10px 0 4px;
}

.guide__nav-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 3px 0 3px 10px;
  border-left: 2px solid transparent;
}

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

.guide__nav-link.is-active {
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

@media (max-width: 900px) {
  .guide {
    grid-template-columns: 1fr;
  }
  .guide__nav {
    position: static;
    max-height: none;
    order: -1;
  }
  .guide__nav-box .guide__nav-link,
  .guide__nav-box .guide__nav-section {
    display: none;   /* na mobile tylko przełącznik technologii */
  }
}

.site-alert {
  background: var(--primary-tint);
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Przyciski
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-contrast);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
}

.btn--secondary {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--text);
}

.btn--ghost {
  color: var(--text);
  padding: 10px 18px;
}

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

.btn--lg {
  padding: 17px 36px;
  font-size: 1.08rem;
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Nagłówek / nawigacja
   -------------------------------------------------------------------------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  /* Gradient marki celowo stały w obu motywach (biały tekst na nim) */
  background: linear-gradient(135deg, #059669, #14b8a6);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-strong);
  background: var(--bg-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  line-height: 1;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.theme-toggle:hover {
  background: var(--bg-soft);
  border-color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 88px 0 72px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(5, 150, 105, 0.1), transparent),
    var(--bg);
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--text-strong);
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero__sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.hero__cta {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__domain {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero__domain input {
  width: min(360px, 100%);
  padding: 15px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 1.02rem;
  background: var(--bg);
}

.hero__domain input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

.hero__note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.rating-badge .stars {
  color: #00b67a;
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   Karty analityczne (case studies)
   -------------------------------------------------------------------------- */

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

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.case-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  margin-bottom: 18px;
}

.stat {
  min-width: 0;
}

.stat__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.stat__value {
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}

.stat__value--clicks {
  color: var(--primary);
}

.stat__value--impressions {
  color: var(--teal);
}

.case-card__chart {
  height: 120px;
  position: relative;
}

.case-card__chart svg {
  width: 100%;
  height: 100%;
}

.case-card__legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.case-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Kroki
   -------------------------------------------------------------------------- */

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

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
}

.step-card__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 10px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.steps-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Funkcje
   -------------------------------------------------------------------------- */

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

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-tint);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   Wyniki wyszukiwania (SERP)
   -------------------------------------------------------------------------- */

.serp-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.serp-tabs span {
  padding: 10px 2px;
}

.serp-tabs span.is-active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  font-weight: 600;
}

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

.serp-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  position: relative;
}

.serp-card__site {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.serp-card__favicon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}

.serp-card__name {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
}

.serp-card__url {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.serp-card__title {
  color: var(--serp-link);
  font-size: 1.08rem;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.35;
}

.serp-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.serp-card__pos {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Integracje i języki
   -------------------------------------------------------------------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.chip:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.chip--lang {
  font-weight: 500;
  font-size: 0.88rem;
  padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   Tabela porównawcza
   -------------------------------------------------------------------------- */

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  min-width: 560px;
}

.compare th,
.compare td {
  padding: 18px 22px;
  text-align: center;
  font-size: 0.97rem;
  border-bottom: 1px solid var(--border-soft);
}

.compare th {
  font-weight: 700;
  color: var(--text-strong);
  font-size: 1.02rem;
}

.compare td:first-child,
.compare th:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.compare tr:last-child td {
  border-bottom: none;
}

.compare .col-sora {
  background: var(--primary-tint-soft);
  color: var(--primary);
  font-weight: 700;
}

.compare .check {
  color: var(--green);
  font-weight: 700;
}

.compare .cross {
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   Zespół
   -------------------------------------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

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

.team-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #059669, #14b8a6);
}

.team-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong);
}

.team-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.founders-story {
  max-width: 680px;
  margin: 48px auto 0;
  font-size: 1.1rem;
  color: var(--text);
  display: grid;
  gap: 20px;
}

.founders-story p strong {
  color: var(--text-strong);
}

/* --------------------------------------------------------------------------
   Opinie
   -------------------------------------------------------------------------- */

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

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified {
  color: var(--primary);
  font-size: 0.8rem;
}

.testimonial__date {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.testimonial p {
  color: var(--text);
  font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-strong);
  text-align: left;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--primary-tint);
  color: var(--primary);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item__a > div {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   CTA końcowe
   -------------------------------------------------------------------------- */

.cta-final {
  background: linear-gradient(135deg, #059669, #10b981);
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  text-align: center;
  color: #fff;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cta-final p {
  margin: 16px auto 32px;
  max-width: 560px;
  opacity: 0.9;
  font-size: 1.1rem;
}

.cta-final .btn {
  background: #fff;
  color: #059669;
}

.cta-final .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* --------------------------------------------------------------------------
   Cennik
   -------------------------------------------------------------------------- */

.sale-banner {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sale-banner .countdown {
  display: inline-flex;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.sale-banner .countdown span {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 2px 8px;
}

.price-hero {
  text-align: center;
  padding: 72px 0 40px;
}

.price-hero .price {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.price-hero .price .accent {
  color: var(--primary);
}

.price-hero .price-note {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 8px;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-soft);
  font-size: 0.55em;
  font-weight: 600;
  vertical-align: middle;
  margin-right: 12px;
}

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

.included-card {
  display: flex;
  gap: 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.included-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--primary-tint);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

.included-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.included-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

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

.trust-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.trust-card blockquote {
  font-style: italic;
  color: var(--text);
  margin: 14px 0 6px;
  font-size: 0.95rem;
}

.trust-card cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.trust-card > p {
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Blog i narzędzia
   -------------------------------------------------------------------------- */

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

.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.post-card__img {
  height: 170px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  background: linear-gradient(135deg, var(--primary-tint), var(--primary-tint-soft));
}

.post-card__body {
  padding: 22px;
}

.post-card__meta {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 8px;
}

.post-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.35;
  margin-bottom: 8px;
}

.post-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.tool-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

.tool-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--primary-tint);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.tool-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
}

.tool-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.tool-card .link {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   O nas — oś czasu
   -------------------------------------------------------------------------- */

.timeline {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 40px 1fr;
  align-items: start;
}

.timeline-item__year {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary);
  padding-top: 2px;
}

.timeline-item__line {
  position: relative;
  align-self: stretch;
}

.timeline-item__line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item:last-child .timeline-item__line::before {
  bottom: auto;
  height: 8px;
}

.timeline-item__line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item__body {
  padding-bottom: 40px;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.timeline-item__body strong {
  color: var(--text-strong);
}

/* --------------------------------------------------------------------------
   Strony tekstowe (prawne)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.prose h1 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  margin-bottom: 12px;
}

.prose .updated {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 36px 0 12px;
}

.prose p,
.prose li {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.prose ul {
  list-style: disc;
  padding-left: 24px;
}

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-softer);
  padding: 64px 0 32px;
  margin-top: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 260px;
}

.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-strong);
  margin-bottom: 16px;
}

.footer ul {
  display: grid;
  gap: 10px;
}

.footer ul a {
  font-size: 0.93rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer__bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.footer__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer__rating .stars {
  color: #00b67a;
  letter-spacing: 2px;
}

/* --------------------------------------------------------------------------
   Responsywność
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .cases-grid,
  .features-grid,
  .steps-grid,
  .testimonials,
  .cards-grid,
  .trust-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .nav-links,
  .nav-actions .btn--ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 6px;
  }

  .cases-grid,
  .features-grid,
  .steps-grid,
  .testimonials,
  .serp-grid,
  .cards-grid,
  .included-grid,
  .trust-cards {
    grid-template-columns: 1fr;
  }

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

  .timeline-item {
    grid-template-columns: 64px 28px 1fr;
  }
}

/* --------------------------------------------------------------------------
   Loader analizy domeny (onboarding)
   -------------------------------------------------------------------------- */

.analyze-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--overlay);
  display: grid;
  place-items: center;
  animation: analyze-fade 0.25s ease;
}

@keyframes analyze-fade {
  from { opacity: 0; }
}

.analyze-overlay__box {
  text-align: center;
  max-width: 420px;
  padding: 24px;
}

.analyze-overlay__box h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.analyze-overlay__spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 5px solid var(--primary-tint);
  border-top-color: var(--primary);
  animation: analyze-spin 0.9s linear infinite;
}

@keyframes analyze-spin {
  to { transform: rotate(360deg); }
}

.analyze-overlay__step {
  color: var(--text-muted);
  font-size: 0.95rem;
  min-height: 1.5em;
}

/* ============ Strony błędów (404/500) ============ */

.error-hero {
  text-align: center;
  padding: 56px 0 40px;
}

.error-hero__code {
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--primary);
}

.error-hero h1 {
  margin: 16px 0 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.error-hero p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 12px auto 28px;
}

.error-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .error-hero__code {
    font-size: 4.5rem;
  }
}
