/* landing.css - Główne style dla Landing Page */
/* Dziedziczymy ogólne definicje, fonty i design system z base.css i _ui_polish.html */

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

html, body {
  overflow-x: clip;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

/* ── Nawigacja (Masthead) ────────────────────────────────────────────────── */
body {
  background: var(--card) !important;
}

#bg-canvas {
  display: none !important;
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ── Spinner i wskaźniki stanu (samodzielne definicje) ───────────────────── */
.spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid var(--brand-line);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 6px;
}

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

.ok {
  color: var(--ok);
}

/* ── Cykliczny efekt shine dla przycisku Free trial / głównych CTA ─────── */
@keyframes btn-auto-shine {
  0%, 18% { left: -70%; }
  42%, 100% { left: 130%; }
}

@keyframes btn-hover-shine {
  0% { left: -70%; }
  100% { left: 130%; }
}

.btn-shine::after,
.masthead-actions .btn:not(.secondary)::after,
.mo-btn-primary::after {
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: btn-auto-shine 3.8s ease-in-out infinite;
}

.btn-shine:hover:not(:disabled)::after,
.masthead-actions .btn:not(.secondary):hover:not(:disabled)::after,
.mo-btn-primary:hover:not(:disabled)::after {
  animation: btn-hover-shine 0.6s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .btn-shine::after,
  .masthead-actions .btn:not(.secondary)::after,
  .mo-btn-primary::after {
    animation: none !important;
  }
}

header.masthead { 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: color-mix(in srgb, var(--card) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); 
  overflow: visible;
}

header.masthead::before,
header.masthead::after {
  display: none;
}





.masthead-actions { 
  display: inline-flex; 
  align-items: center; 
  gap: 12px; 
  flex: 0 0 auto; 
}
/* ── Nawigacja (Masthead) ────────────────────────────────────────────────── */
.masthead-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Zmniejszenie logo (zgodnie z życzeniem mniejsze Media Agent AI) */
.masthead-inner .brand,
.brand {
  --brand-mark: 38px;
  font-size: 15px;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.brand:hover,
.brand:focus,
.brand * {
  text-decoration: none;
}

/* ── Główny kontener ─────────────────────────────────────────────────────── */
.landing-content {
  max-width: var(--content-w);
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 160px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 70px);
  gap: 160px; /* Przestronne, jednolite odstępy SaaS między sekcjami */
}

/* ── Hero Section ────────────────────────────────────────────────────────── */

.hero-section {
  max-width: var(--content-w);
  width: 100%;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, #9747ff 6%, var(--card));
  border: 1px solid color-mix(in srgb, #9747ff 18%, var(--line));
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px color-mix(in srgb, #9747ff 12%, transparent);
}

.badge-spark {
  width: 16px;
  height: 16px;
  color: #9747ff;
}

.hero-h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 20px 0;
}

.em-gradient {
  background: linear-gradient(90deg, #289be5, #9747ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 36px 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-large {
  padding: 12px 24px;
  font-size: 15px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 500;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.trust-dot {
  opacity: 0.5;
}

.check-icon {
  width: 14px;
  height: 14px;
  color: var(--ok);
  flex-shrink: 0;
}

.hero-form-consent {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}

.hero-form-consent a.consent-link {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.hero-form-consent a.consent-link:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* ── Hero Visual (Mockup) ────────────────────────────────────────────────── */
.hero-visual {
  position: relative;
  perspective: 1200px;
  padding: 20px;
  z-index: 1; /* Create stacking context for ::before */
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #289be5, #9747ff);
  filter: blur(100px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}

.mockup-window {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 
    -10px 25px 50px rgba(0,0,0,0.12), 
    0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(3deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotateY(-8deg) rotateX(3deg); }
  50% { transform: translateY(-12px) rotateY(-9deg) rotateX(4deg); }
  100% { transform: translateY(0px) rotateY(-8deg) rotateX(3deg); }
}

.mockup-header {
  height: 36px;
  background: var(--card-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.close { background: #ff5f56; }
.dot.min { background: #ffbd2e; }
.dot.max { background: #27c93f; }

.mockup-body {
  padding: 24px;
  background: var(--bg);
  min-height: 320px;
}

.mockup-body.dashboard {
  padding: 0;
  background: var(--bg);
}

.m-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.m-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}

.tab-icon { width: 16px; height: 16px; }

/* Blog active tab */
.m-tab.active.blog {
  color: #0ea5e9;
  background: color-mix(in srgb, #0ea5e9 10%, transparent);
}
.m-tab.active.blog .tab-icon { color: #0ea5e9; }
.m-tab.active.blog::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 3px; background: #0ea5e9;
}

/* Social Media tab */
.m-tab.social .tab-icon { color: #c026d3; } /* Fuchsia */

/* Video tab */
.m-tab.video .tab-icon { color: #e11d48; } /* Rose */

/* Badges */
.m-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}
.m-tab.blog .m-badge { background: color-mix(in srgb, #0ea5e9 20%, transparent); color: #0ea5e9; }
.m-tab.social .m-badge { background: color-mix(in srgb, #c026d3 20%, transparent); color: #c026d3; }
.m-tab.video .m-badge { background: color-mix(in srgb, #e11d48 20%, transparent); color: #e11d48; }

.m-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--brand-strong) 4%, var(--bg));
  font-size: 12px;
}

.m-view-toggle {
  display: flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.m-view-toggle span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  color: var(--muted);
}

.m-view-toggle span.active {
  background: color-mix(in srgb, var(--muted) 10%, transparent);
  color: var(--ink);
  font-weight: 600;
}

.m-date-box {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.m-filters { display: flex; gap: 8px; }

.m-filter {
  display: flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 16px; color: var(--muted);
}

.f-dot { width: 8px; height: 8px; border-radius: 50%; }
.f-dot.orange { background: #fd7e14; }
.f-dot.green { background: #28a745; }

.faq-section {
  width: 100%;
}

.faq-split-wrap {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
}

.faq-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: sticky;
  top: 110px;
}

.faq-title {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
  color: var(--ink);
}

.faq-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px 0;
  max-width: 340px;
}

.faq-support-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 340px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-support-box:hover {
  border-color: color-mix(in srgb, #9747ff 45%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(151, 71, 255, 0.08);
}

.faq-support-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-support-badge {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(151, 71, 255, 0.1);
  color: #9747ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

:root[data-theme="dark"] .faq-support-badge {
  background: rgba(151, 71, 255, 0.2);
}

.faq-support-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-support-p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.faq-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
  margin-top: 4px;
  background: rgba(151, 71, 255, 0.08);
  border: 1px solid rgba(151, 71, 255, 0.18);
  color: #8327ec;
  transition: all 0.25s ease;
}

.faq-support-btn svg {
  transition: transform 0.25s ease;
}

.faq-support-box:hover .faq-support-btn {
  background: #9747ff;
  border-color: #9747ff;
  color: #ffffff;
}

.faq-support-box:hover .faq-support-btn svg {
  transform: translate(2px, 2px);
}

:root[data-theme="dark"] .faq-support-btn {
  background: rgba(151, 71, 255, 0.15);
  border-color: rgba(151, 71, 255, 0.3);
  color: #c084fc;
}

:root[data-theme="dark"] .faq-support-box:hover .faq-support-btn {
  background: #9747ff;
  border-color: #9747ff;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(151, 71, 255, 0.4);
}

.faq-right-col {
  width: 100%;
  min-width: 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.faq-item.active {
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(151, 71, 255, 0.08), var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  gap: 16px;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.faq-q-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-q-icon svg {
  width: 22px;
  height: 22px;
}

.faq-item:hover .faq-q-icon {
  transform: scale(1.05);
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--brand);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease-out;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 14px 22px 20px 78px;
  border-top: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .faq-split-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .faq-left-col {
    position: static;
    align-items: center;
    text-align: center;
  }
  .faq-support-box {
    align-items: center;
    text-align: center;
  }
  .faq-support-header {
    justify-content: center;
  }
  .faq-support-btn {
    align-self: center;
  }
  .faq-desc {
    max-width: 540px;
  }
  .faq-br {
    display: none;
  }
}

@media (max-width: 640px) {
  .faq-question {
    padding: 14px 16px;
    font-size: 15px;
    gap: 12px;
  }
  .faq-q-left {
    gap: 12px;
  }
  .faq-q-icon {
    width: 36px;
    height: 36px;
  }
  .faq-answer p {
    padding: 12px 16px 16px 64px;
    font-size: 14px;
  }
}

.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
}

.m-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.m-img {
  position: relative;
  height: 120px;
  background-size: cover;
  background-position: center;
}

.m-img-1 { background: linear-gradient(135deg, #fed6e3 0%, #a8edea 100%); }
.m-img-2 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); }

.m-content { padding: 12px; text-align: left; }

.m-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 10px; font-weight: 700; }
.m-status.orange { color: #fd7e14; background: color-mix(in srgb, #fd7e14 15%, transparent); padding: 2px 6px; border-radius: 4px; }
.m-date-text { color: var(--muted-2); }

.m-title { font-size: 14px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--ink); }

.line {
  height: 8px;
  background: var(--line);
  border-radius: 4px;
  margin-bottom: 8px;
}
.w-100 { width: 100%; }
.w-90 { width: 90%; }
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }
.mt { margin-top: 16px; }

/* Links menu in the middle of navbar */
.nav-links {
  margin-left: 40px;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 0;
  transition: color 0.2s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #289be5, #9747ff);
  border-radius: 2px;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: linear-gradient(90deg, #289be5, #9747ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-links a.active::after {
  opacity: 1;
  transform: translateY(0);
}


/* ── Result Box (Contact Form & Sample) ────────────────────────────────── */
.sample-result-box {
  width: 100%;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  animation: fadeIn 0.3s ease;
}
.sample-result-box.is-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
}
.sample-result-box.is-loading {
  background: #ffffff;
  border-color: #9747ff;
  color: #6b21a8;
  box-shadow: 0 4px 16px rgba(151, 71, 255, 0.15);
}
.sample-result-box.is-loading .result-title,
.sample-result-box.is-loading .result-sub {
  color: #4c1d95 !important;
}
.sample-result-box.is-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.result-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.result-sub {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.4;
}

/* ── Hero CTA Box ────────────────────────────────────────────────────────── */
.hero-cta-box {
  width: 100%;
  max-width: 600px;
  margin: 30px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-cta-box h3 {
  font-size: 24px;
  color: var(--ink);
  margin: 0;
}

.hero-cta-box p {
  color: var(--muted-2);
  font-size: 14px;
  margin: 0;
}

.cta-form-pill {
  display: flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 6px 6px 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  width: 100%;
  margin-top: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-form-pill:focus-within {
  border-color: #9747ff;
  box-shadow: 0 8px 30px rgba(151, 71, 255, 0.1);
}

#hero-form:target .cta-form-pill,
.cta-form-pill.pulse-highlight {
  animation: target-pulse 2s ease-out;
}

.cta-form-pill input {
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  flex: 1;
  color: var(--ink);
  min-width: 0;
  font-family: inherit;
}

.cta-form-pill input::placeholder {
  color: var(--muted-2);
}

.cta-divider {
  width: 1px;
  height: 24px;
  background: var(--line);
  margin: 0 16px;
}

.cta-btn {
  background: linear-gradient(135deg, #289be5, #9747ff);
  border: none;
  border-radius: 50px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(151, 71, 255, 0.3);
}

/* ── Social Proof Section ──────────────────────────────────────────────────── */
.social-proof-section {
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-proof-title {
  font-size: 16px;
  color: var(--muted-2);
  margin-bottom: 24px;
  text-align: center;
}

.marquee-container {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  /* subtle mask to fade out the edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.marquee-item img {
  height: 32px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(60%);
  transition: filter 0.3s ease;
}

.marquee-item img:hover {
  filter: grayscale(0%) opacity(100%);
}

:root[data-theme="dark"] .marquee-item img {
  filter: grayscale(100%) opacity(60%) invert(1);
}
:root[data-theme="dark"] .marquee-item img:hover {
  filter: grayscale(0%) opacity(100%) invert(1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Hamburger button (hidden on desktop) ────────────────────────────────── */
.hamburger-btn {
  display: none;
  appearance: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 1001;
  transition: background 0.2s ease;
}
.hamburger-btn:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.hamburger-line {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile overlay (hidden on desktop) ──────────────────────────────────── */
.mobile-overlay {
  display: none;
}

/* Animowany Badge na karcie */
.m-auto-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--card);
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--green);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  opacity: 0;
  animation: badgePop 6s cubic-bezier(0.16, 1, 0.3, 1) 2s infinite;
  z-index: 10;
}
.m-auto-badge.delay-badge {
  animation-delay: 5s;
}
.m-auto-badge svg {
  width: 10px;
  height: 10px;
}
@keyframes badgePop {
  0%, 15% { opacity: 0; transform: scale(0.9); }
  25%, 85% { opacity: 1; transform: scale(1); }
  95%, 100% { opacity: 0; transform: scale(0.9); }
}

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .masthead .masthead-inner,
  header.masthead .masthead-inner { 
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; 
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important; 
    padding: 0 16px !important; 
    height: 72px !important;
    box-sizing: border-box !important;
  }
  .masthead .brand,
  header.masthead .brand {
    --brand-mark: 34px !important;
    font-size: 14px !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
  }
  .masthead .nav-links,
  header.masthead .nav-links {
    display: none !important;
  }
  .masthead .masthead-actions,
  header.masthead .masthead-actions { 
    display: flex !important;
    flex-direction: row !important;
    width: auto !important;
    flex-wrap: nowrap !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
  .masthead .masthead-actions .btn,
  header.masthead .masthead-actions .btn {
    display: none !important;
  }
  .masthead .hamburger-btn,
  header.masthead .hamburger-btn {
    display: flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  /* Fullscreen overlay panel */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--card);
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, visibility 1.2s;
    overflow-y: auto;
  }
  .mobile-overlay.is-open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  /* Kiedy menu jest otwarte, głowny pasek traci border i blur, łącząc się z menu */
  header.masthead.menu-open {
    background: var(--card) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }

  .mobile-overlay-inner {
    padding: 110px 24px 32px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  /* Description */
  .mo-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 28px;
  }

  /* Nav cards */
  .mo-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
  }
  .mo-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--ink) 3%, var(--card));
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .mo-nav-card:hover {
    background: color-mix(in srgb, var(--brand) 6%, var(--card));
    border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  }
  .mo-nav-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--brand) 10%, var(--card));
    border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--line));
  }
  .mo-nav-icon svg {
    width: 20px;
    height: 20px;
    color: var(--brand);
  }
  .mo-nav-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
  }
  .mo-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
  }
  .mo-nav-sub {
    font-size: 12.5px;
    color: var(--muted);
  }
  .mo-nav-chevron {
    width: 18px;
    height: 18px;
    color: var(--muted-2);
    flex-shrink: 0;
  }

  /* CTA buttons */
  .mo-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
  }
  .mo-btn-primary,
  .mo-btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 14px;
  }

  /* Trust line */
  .mo-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--muted);
  }
  .mo-trust svg {
    color: var(--ok);
  }

  .landing-content {
    gap: 70px;
    padding: 100px 20px 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 40px;
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-content {
    align-items: center;
    text-align: center;
    width: 100% !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 0 !important;
  }
  .hero-h1 {
    font-size: clamp(28px, 8vw, 38px);
  }
  .cta-form-pill {
    flex-direction: column;
    border-radius: 20px;
    padding: 16px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cta-form-pill input {
    width: 100%;
    text-align: center;
    padding: 8px;
  }
  .cta-divider {
    width: 100%;
    height: 1px;
    margin: 4px 0;
  }
  .cta-btn {
    width: 100%;
    border-radius: 12px;
    margin-top: 8px;
  }
  .hero-visual {
    display: none !important;
  }
  .hero-trust {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .hero-trust .trust-dot {
    display: none !important;
  }
  .hero-trust .trust-item {
    font-size: 13px;
    white-space: nowrap;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .hero-trust .trust-item {
    font-size: 12px;
  }
}

/* ── Features Bento Grid ─────────────────────────────────────────────────── */
.features-section {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  position: relative;
  width: 100%;
  scroll-margin-top: 90px;
}

.features-section::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 70%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 10%, transparent) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.features-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
}

.features-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.features-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 620px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--content-w);
  width: 100%;
}

.bento-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Base card backgrounds (pastel) */
.card-purple {
  background: linear-gradient(135deg, rgba(245, 240, 255, 0.8), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(151, 71, 255, 0.05);
}
.card-blue {
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.8), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(40, 155, 229, 0.05);
}
.card-green {
  background: linear-gradient(135deg, rgba(240, 255, 245, 0.8), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(40, 229, 155, 0.05);
}
.card-pink {
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.8), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(229, 40, 155, 0.05);
}
.card-amber {
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.8), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.05);
}
.card-cyan {
  background: linear-gradient(135deg, rgba(235, 253, 254, 0.8), rgba(255, 255, 255, 0.5));
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.05);
}

/* Dot patterns in corners */
.bento-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  background-size: 16px 16px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}
.card-purple::after {
  background-image: radial-gradient(circle, #9747ff 2px, transparent 2px);
  top: 0; right: 0;
  border-top-right-radius: 24px;
  -webkit-mask-image: radial-gradient(circle at top right, transparent 16px, black 22px, black 40px, transparent 72%);
  mask-image: radial-gradient(circle at top right, transparent 16px, black 22px, black 40px, transparent 72%);
}
.card-blue::after {
  background-image: radial-gradient(circle, #289be5 2px, transparent 2px);
  top: 0; right: 0;
  border-top-right-radius: 24px;
  -webkit-mask-image: radial-gradient(circle at top right, transparent 16px, black 22px, black 40px, transparent 72%);
  mask-image: radial-gradient(circle at top right, transparent 16px, black 22px, black 40px, transparent 72%);
}
.card-green::after {
  background-image: radial-gradient(circle, #28e59b 2px, transparent 2px);
  bottom: 0; left: 0;
  border-bottom-left-radius: 24px;
  -webkit-mask-image: radial-gradient(circle at bottom left, transparent 16px, black 22px, black 40px, transparent 72%);
  mask-image: radial-gradient(circle at bottom left, transparent 16px, black 22px, black 40px, transparent 72%);
}
.card-pink::after {
  background-image: radial-gradient(circle, #e5289b 2px, transparent 2px);
  bottom: 0; right: 0;
  border-bottom-right-radius: 24px;
  -webkit-mask-image: radial-gradient(circle at bottom right, transparent 16px, black 22px, black 40px, transparent 72%);
  mask-image: radial-gradient(circle at bottom right, transparent 16px, black 22px, black 40px, transparent 72%);
}
.card-amber::after {
  background-image: radial-gradient(circle, #f59e0b 2px, transparent 2px);
  top: 0; right: 0;
  border-top-right-radius: 24px;
  -webkit-mask-image: radial-gradient(circle at top right, transparent 16px, black 22px, black 40px, transparent 72%);
  mask-image: radial-gradient(circle at top right, transparent 16px, black 22px, black 40px, transparent 72%);
}
.card-cyan::after {
  background-image: radial-gradient(circle, #06b6d4 2px, transparent 2px);
  bottom: 0; left: 0;
  border-bottom-left-radius: 24px;
  -webkit-mask-image: radial-gradient(circle at bottom left, transparent 16px, black 22px, black 40px, transparent 72%);
  mask-image: radial-gradient(circle at bottom left, transparent 16px, black 22px, black 40px, transparent 72%);
}

.bento-card:hover {
  transform: translateY(-4px);
}
.card-purple:hover { box-shadow: 0 16px 50px rgba(151, 71, 255, 0.15); }
.card-blue:hover { box-shadow: 0 16px 50px rgba(40, 155, 229, 0.15); }
.card-green:hover { box-shadow: 0 16px 50px rgba(40, 229, 155, 0.15); }
.card-pink:hover { box-shadow: 0 16px 50px rgba(229, 40, 155, 0.15); }
.card-amber:hover { box-shadow: 0 16px 50px rgba(245, 158, 11, 0.15); }
.card-cyan:hover  { box-shadow: 0 16px 50px rgba(6, 182, 212, 0.15); }

/* The icon box */
.bento-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.bento-card:hover .bento-icon {
  transform: scale(1.05);
}

/* Icon box themes — tinted pastel backgrounds like the reference */
.icon-purple {
  background: linear-gradient(145deg, #ece3ff, #f5f0ff);
  color: #9747ff;
  box-shadow: 0 8px 28px rgba(151, 71, 255, 0.2);
}
.icon-blue {
  background: linear-gradient(145deg, #dceeff, #eef6ff);
  color: #289be5;
  box-shadow: 0 8px 28px rgba(40, 155, 229, 0.2);
}
.icon-green {
  background: linear-gradient(145deg, #d4f7e8, #eafff3);
  color: #28c98a;
  box-shadow: 0 8px 28px rgba(40, 201, 138, 0.2);
}
.icon-pink {
  background: linear-gradient(145deg, #fce0ed, #fff0f5);
  color: #e5289b;
  box-shadow: 0 8px 28px rgba(229, 40, 155, 0.2);
}
.icon-amber {
  background: linear-gradient(145deg, #fef3c7, #fffbeb);
  color: #d97706;
  box-shadow: 0 8px 28px rgba(217, 119, 6, 0.2);
}
.icon-cyan {
  background: linear-gradient(145deg, #cffafe, #ecfeff);
  color: #0891b2;
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.2);
}

.bento-icon svg {
  width: 38px;
  height: 38px;
}

.bento-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.bento-h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.bento-p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}

/* ── Masthead Tablet Adjustments (iPad Air, Pro) ── */
@media (min-width: 701px) and (max-width: 960px) {
  .masthead-inner {
    padding: 0 16px;
  }
  .masthead-inner .brand {
    --brand-mark: 34px;
    font-size: 14.5px;
    gap: 8px;
  }
  .nav-links {
    margin-left: 20px;
    gap: 14px;
  }
  .nav-links a {
    font-size: 13px;
    white-space: nowrap;
  }
  .masthead-actions {
    gap: 8px;
  }
  .masthead-actions .btn {
    padding: 7px 13px;
    font-size: 13px;
    white-space: nowrap;
  }
  .masthead-actions .icon-btn {
    width: 36px;
    height: 36px;
  }
}

/* ── Masthead Small Tablet Adjustments (iPad Mini ~744px-768px) ── */
@media (min-width: 701px) and (max-width: 800px) {
  .masthead-inner {
    padding: 0 12px;
  }
  .masthead-inner .brand {
    --brand-mark: 31px;
    font-size: 13.5px;
    gap: 7px;
  }
  .nav-links {
    margin-left: 12px;
    gap: 10px;
  }
  .nav-links a {
    font-size: 12px;
    white-space: nowrap;
  }
  .masthead-actions {
    gap: 6px;
  }
  .masthead-actions .btn {
    padding: 6.5px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .masthead-actions .icon-btn {
    width: 34px;
    height: 34px;
  }
}

@media (min-width: 701px) and (max-width: 960px) {
  .landing-content {
    gap: 90px;
    padding: 120px 16px 60px;
    width: 100%;
    box-sizing: border-box;
  }

  /* ── Hero Section Tablet Adjustments (Faded Peeking Mockup) ── */
  .hero-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: center;
    width: 100%;
  }
  .hero-content {
    max-width: 100%;
    padding-right: 0;
  }
  .hero-badge {
    font-size: 13px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }
  .hero-h1 {
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
  }
  .hero-sub {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-actions {
    margin-bottom: 18px;
  }
  .btn-large {
    padding: 11px 20px;
    font-size: 14px;
  }
  .hero-visual {
    position: relative;
    width: 100%;
    padding: 10px 0;
    overflow: visible;
  }
  .hero-visual::before {
    display: none !important;
  }
  .hero-visual::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -10px;
    bottom: -20px;
    width: 150px;
    background: linear-gradient(to right, color-mix(in srgb, var(--card) 0%, transparent), var(--card) 90%);
    pointer-events: none;
    z-index: 5;
  }
  .hero-visual .mockup-window {
    width: 480px;
    min-width: 480px;
    max-width: none;
    transform: rotateY(-6deg) rotateX(2deg);
    box-shadow: -8px 20px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
  }
  .features-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-margin-top: 100px;
  }
  .features-header {
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .features-title {
    font-size: clamp(22px, 3.2vw, 28px);
  }
  .features-subtitle {
    font-size: 14.5px;
    max-width: 520px;
  }
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .bento-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    text-align: center;
    padding: 22px 14px;
    align-items: center;
    gap: 12px;
    border-radius: 18px;
    overflow: hidden;
  }
  .bento-card::after {
    width: 90px;
    height: 90px;
    opacity: 0.45;
  }
  .bento-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }
  .bento-icon svg {
    width: 24px;
    height: 24px;
  }
  .bento-content {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    gap: 6px;
  }
  .bento-h3 {
    font-size: 15.5px;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .bento-p {
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
}

@media (max-width: 700px) {
  .bento-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 14px;
  }
  .bento-card {
    padding: 24px 16px;
    gap: 14px;
  }
  .bento-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  .bento-icon svg {
    width: 26px;
    height: 26px;
  }
  .bento-h3 {
    font-size: 16.5px;
  }
  .bento-p {
    font-size: 13.5px;
  }
}

/* ── Dark-mode overrides for Bento cards ─────────────────────────────────── */
:root[data-theme="dark"] .bento-card {
  border-color: var(--line);
}

:root[data-theme="dark"] .card-purple {
  background: linear-gradient(135deg, rgba(151, 71, 255, 0.12), rgba(151, 71, 255, 0.04));
  box-shadow: 0 10px 40px rgba(151, 71, 255, 0.08);
}
:root[data-theme="dark"] .card-blue {
  background: linear-gradient(135deg, rgba(40, 155, 229, 0.12), rgba(40, 155, 229, 0.04));
  box-shadow: 0 10px 40px rgba(40, 155, 229, 0.08);
}
:root[data-theme="dark"] .card-green {
  background: linear-gradient(135deg, rgba(40, 229, 155, 0.12), rgba(40, 229, 155, 0.04));
  box-shadow: 0 10px 40px rgba(40, 229, 155, 0.08);
}
:root[data-theme="dark"] .card-pink {
  background: linear-gradient(135deg, rgba(229, 40, 155, 0.12), rgba(229, 40, 155, 0.04));
  box-shadow: 0 10px 40px rgba(229, 40, 155, 0.08);
}
:root[data-theme="dark"] .card-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
  box-shadow: 0 10px 40px rgba(245, 158, 11, 0.08);
}
:root[data-theme="dark"] .card-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(6, 182, 212, 0.04));
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.08);
}

/* Hover states in dark mode */
:root[data-theme="dark"] .card-purple:hover { box-shadow: 0 16px 50px rgba(151, 71, 255, 0.2); }
:root[data-theme="dark"] .card-blue:hover   { box-shadow: 0 16px 50px rgba(40, 155, 229, 0.2); }
:root[data-theme="dark"] .card-green:hover  { box-shadow: 0 16px 50px rgba(40, 229, 155, 0.2); }
:root[data-theme="dark"] .card-pink:hover   { box-shadow: 0 16px 50px rgba(229, 40, 155, 0.2); }
:root[data-theme="dark"] .card-amber:hover  { box-shadow: 0 16px 50px rgba(245, 158, 11, 0.2); }
:root[data-theme="dark"] .card-cyan:hover   { box-shadow: 0 16px 50px rgba(6, 182, 212, 0.2); }

/* Icon boxes: darker backgrounds with more vibrancy */
:root[data-theme="dark"] .icon-purple {
  background: linear-gradient(145deg, rgba(151, 71, 255, 0.25), rgba(151, 71, 255, 0.12));
  box-shadow: 0 8px 28px rgba(151, 71, 255, 0.25);
}
:root[data-theme="dark"] .icon-blue {
  background: linear-gradient(145deg, rgba(40, 155, 229, 0.25), rgba(40, 155, 229, 0.12));
  box-shadow: 0 8px 28px rgba(40, 155, 229, 0.25);
}
:root[data-theme="dark"] .icon-green {
  background: linear-gradient(145deg, rgba(40, 201, 138, 0.25), rgba(40, 201, 138, 0.12));
  box-shadow: 0 8px 28px rgba(40, 201, 138, 0.25);
}
:root[data-theme="dark"] .icon-pink {
  background: linear-gradient(145deg, rgba(229, 40, 155, 0.25), rgba(229, 40, 155, 0.12));
  box-shadow: 0 8px 28px rgba(229, 40, 155, 0.25);
}
:root[data-theme="dark"] .icon-amber {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.12));
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.25);
  color: #fbbf24;
}
:root[data-theme="dark"] .icon-cyan {
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.25), rgba(6, 182, 212, 0.12));
  box-shadow: 0 8px 28px rgba(6, 182, 212, 0.25);
  color: #22d3ee;
}

/* ── How It Works — Steps Section ────────────────────────────────────────── */
.steps-section {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  position: relative;
  width: 100%;
  scroll-margin-top: 90px;
}



.steps-track {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--content-w);
  width: 100%;
}

.step-row {
  display: flex;
  gap: 32px;
  width: 100%;
  position: relative;
}

/* ── Timeline Column ────────────────────────────────────────── */
.timeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 32px;
  flex-shrink: 0;
  position: relative;
}

.timeline-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 14px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.num-blue { background: #289be5; box-shadow: 0 4px 12px rgba(40, 155, 229, 0.3); }
.num-purple { background: #9747ff; box-shadow: 0 4px 12px rgba(151, 71, 255, 0.3); }
.num-green { background: #28c98a; box-shadow: 0 4px 12px rgba(40, 201, 138, 0.3); }

.timeline-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 32px);
  z-index: 1;
  opacity: 0.3; /* Fades the gradient colors for a softer look */
}

/* Line from Step 1 (Blue) to Step 2 (Purple) */
.step-row:nth-child(1) .timeline-line {
  background: linear-gradient(180deg, #289be5, #9747ff);
}

/* Line from Step 2 (Purple) to Step 3 (Green) */
.step-row:nth-child(2) .timeline-line {
  background: linear-gradient(180deg, #9747ff, #28c98a);
}

/* ── Individual step card ─────────────────────────────────────── */
.step-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  border-radius: 20px;
  background: var(--card);
  position: relative;
  flex: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Colored left borders */
.card-border-blue { border-left: 4px solid #289be5; }
.card-border-purple { border-left: 4px solid #9747ff; }
.card-border-green { border-left: 4px solid #28c98a; }

/* ── Step body text ─────────────────────────────────────────── */
.step-body {
  flex: 1;
  min-width: 0;
  z-index: 2;
  padding-right: 200px;
}

.step-h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 6px 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.step-p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ── Step icon box (left side) ─────────────────────────────── */
.step-icon-box {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 2;
}

.step-card:hover .step-icon-box {
  transform: scale(1.08);
}

.step-icon-box svg {
  width: 28px;
  height: 28px;
}

.step-icon-blue {
  background: linear-gradient(145deg, #dceeff, #eef6ff);
  color: #289be5;
  box-shadow: 0 6px 20px rgba(40, 155, 229, 0.15);
}
.step-icon-purple {
  background: linear-gradient(145deg, #ece3ff, #f5f0ff);
  color: #9747ff;
  box-shadow: 0 6px 20px rgba(151, 71, 255, 0.15);
}
.step-icon-green {
  background: linear-gradient(145deg, #d4f7e8, #eafff3);
  color: #28c98a;
  box-shadow: 0 6px 20px rgba(40, 201, 138, 0.15);
}

/* ── Card Decorations (right side) ────────────────────────── */
/* ── Card Decorations (right side) ────────────────────────── */
.step-decor {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  pointer-events: none;
  z-index: 1;
}

.step-decor-blob {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.1;
}

.decor-1 .step-decor-blob { background: #9747ff; right: -100px; top: -50px; }
.decor-2 .step-decor-blob { background: #289be5; right: -80px; bottom: -100px; }
.decor-3 .step-decor-blob { background: #28c98a; right: -50px; bottom: -80px; }

/* Illustration SVG — fills the decoration area */
.decor-illustration {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 120px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.step-card:hover .decor-illustration {
  opacity: 1;
}

/* ── Decoration Animations ──────────────────────────────────── */
.anim-dash {
  animation: dashScroll 12s linear infinite;
}
@keyframes dashScroll {
  to { stroke-dashoffset: -60; }
}

.anim-pulse-ring {
  animation: pulseRing 3s ease-in-out infinite;
}
@keyframes pulseRing {
  0%, 100% { r: 14; opacity: 1; }
  50% { r: 18; opacity: 0.5; }
}

.anim-pulse-core {
  animation: pulseCore 3s ease-in-out infinite;
}
@keyframes pulseCore {
  0%, 100% { r: 7; }
  50% { r: 9; }
}

.anim-float {
  animation: floatSparkle 4s ease-in-out infinite;
}
@keyframes floatSparkle {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-6px); opacity: 0.8; }
}

.anim-slider-1 {
  animation: sliderBob1 2s ease-in-out infinite alternate;
}
@keyframes sliderBob1 {
  0% { transform: translateX(-5px); }
  100% { transform: translateX(5px); }
}

.anim-slider-2 {
  animation: sliderBob2 2.5s ease-in-out infinite alternate;
}
@keyframes sliderBob2 {
  0% { transform: translateX(-8px); }
  100% { transform: translateX(8px); }
}

.anim-draw-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: drawTrend 4s ease-out forwards;
}
@keyframes drawTrend {
  to { stroke-dashoffset: 0; }
}

/* ── Dark mode card background ──────────────────────────────── */
:root[data-theme="dark"] .step-card {
  background: color-mix(in srgb, var(--card) 90%, #289be5 10%);
  border-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] .step-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

:root[data-theme="dark"] .step-icon-blue {
  background: linear-gradient(145deg, rgba(40, 155, 229, 0.25), rgba(40, 155, 229, 0.12));
  box-shadow: 0 6px 20px rgba(40, 155, 229, 0.2);
}

:root[data-theme="dark"] .step-icon-purple {
  background: linear-gradient(145deg, rgba(151, 71, 255, 0.25), rgba(151, 71, 255, 0.12));
  box-shadow: 0 6px 20px rgba(151, 71, 255, 0.2);
}

:root[data-theme="dark"] .step-icon-green {
  background: linear-gradient(145deg, rgba(40, 201, 138, 0.25), rgba(40, 201, 138, 0.12));
  box-shadow: 0 6px 20px rgba(40, 201, 138, 0.2);
}

/* ── Mobile responsive ──────────────────────────────────────── */
@media (max-width: 700px) {
  .step-row {
    gap: 16px;
  }

  .step-card {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .step-icon-box {
    width: 48px;
    height: 48px;
  }

  .step-icon-box svg {
    width: 24px;
    height: 24px;
  }

  .step-decor {
    display: none;
  }

  .step-body {
    padding-right: 0;
  }
}

/* ── Testimonials Section ────────────────────────────────────────────────── */
.testimonials-section {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 36px;
  scroll-margin-top: 90px;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in srgb, #9747ff 8%, transparent) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.testimonials-marquee-container {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  /* mask to fade out the edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 12px 0;
}

.t-marquee-row {
  display: flex;
  width: max-content;
}

.t-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: scroll-testimonials 60s linear infinite;
  align-items: stretch;
}

.t-marquee-track.reverse {
  animation: scroll-testimonials-reverse 60s linear infinite;
}

.t-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-testimonials-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px 20px 20px 12px;
  padding: 28px;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.05;
  z-index: 0;
  pointer-events: none;
}
:root[data-theme="dark"] .testimonial-card::after {
  opacity: 0.05;
}

.testimonial-card:nth-child(3n+1) { border-left: 6px solid #289be5; }
.testimonial-card:nth-child(3n+1) .t-quote-icon { color: #289be5; }
.testimonial-card:nth-child(3n+1)::after { background: #289be5; }

.testimonial-card:nth-child(3n+2) { border-left: 6px solid #9747ff; }
.testimonial-card:nth-child(3n+2) .t-quote-icon { color: #9747ff; }
.testimonial-card:nth-child(3n+2)::after { background: #9747ff; }

.testimonial-card:nth-child(3n+3) { border-left: 6px solid #28c98a; }
.testimonial-card:nth-child(3n+3) .t-quote-icon { color: #28c98a; }
.testimonial-card:nth-child(3n+3)::after { background: #28c98a; }


.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 16px 40px rgba(151, 71, 255, 0.1);
}

.t-quote, .t-footer {
  position: relative;
  z-index: 1;
}

.t-quote-icon {
  float: left;
  margin-right: 12px;
  margin-top: -4px;
}

.t-quote {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
  white-space: normal;
}

.t-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.t-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.t-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.t-company {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.t-author {
  font-size: 13px;
  color: var(--muted);
}

.t-source {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  opacity: 0.5;
}

@media (max-width: 700px) {
  .testimonial-card {
    width: 320px;
    padding: 20px;
  }
}

/* ── The Old Way vs New Way Comparison Section ───────────────────────────── */
.comparison-section {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  position: relative;
  width: 100%;
  scroll-margin-top: 90px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: var(--content-w);
  width: 100%;
}

.comp-card {
  background: var(--card);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.comp-card:hover {
  transform: translateY(-4px);
}

/* Old Card styling: subdued, neutral/soft-red accents */
.comp-card--old {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: color-mix(in srgb, var(--card) 98%, #000);
}

:root[data-theme="dark"] .comp-card--old {
  background: color-mix(in srgb, var(--card) 85%, #0a101e);
  border-color: rgba(255, 255, 255, 0.06);
}

/* New Card styling: vibrant brand border and glow */
.comp-card--new {
  border: 1.5px solid color-mix(in srgb, var(--brand) 45%, var(--line));
  box-shadow: 0 12px 36px rgba(40, 155, 229, 0.08), var(--shadow);
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 4%, var(--card)) 0%, var(--card) 100%);
  position: relative;
}

:root[data-theme="dark"] .comp-card--new {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 12%, var(--card)) 0%, var(--card) 100%);
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  box-shadow: 0 16px 44px rgba(151, 71, 255, 0.15), var(--shadow);
}

.comp-card--new::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--brand-grad);
  border-radius: 99px;
  filter: blur(1px);
}

.comp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Badges */
.comp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  width: fit-content;
}

.comp-badge--old {
  background: color-mix(in srgb, #e5484d 10%, var(--card));
  color: #e5484d;
  border: 1px solid color-mix(in srgb, #e5484d 25%, transparent);
}

.comp-badge--new {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(151, 71, 255, 0.3);
}

/* Legend */
.comp-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.comp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.comp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-views { background: #289be5; }
.dot-clicks { background: #9747ff; }
.dot-social { background: #06b6d4; }
.dot-old-views { background: #95a0b8; }
.dot-old-clicks { background: #e5484d; }
.dot-old-social { background: #0891b2; }

/* Card titles and inline stat */
.comp-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comp-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.comp-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.comp-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.comp-stat-badge small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.comp-trend {
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  line-height: 1.2;
}

.comp-trend--up {
  background: rgba(18, 161, 80, 0.14);
  color: #12a150;
}

:root[data-theme="dark"] .comp-trend--up {
  background: rgba(62, 207, 122, 0.18);
  color: #3ecf7a;
}

.comp-card-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.comp-svg-wrap {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: visible;
  cursor: crosshair;
}

.comp-svg-chart {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ── Interactive Chart Tooltip ──────────────────────────── */
.comp-tooltip {
  position: absolute;
  top: -12px;
  background: color-mix(in srgb, var(--card) 95%, #000);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--line) 85%, var(--brand));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12), var(--shadow-sm);
  border-radius: 12px;
  padding: 8px 12px;
  pointer-events: none;
  z-index: 25;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 12px;
  min-width: 160px;
  width: max-content;
  white-space: nowrap;
}

:root[data-theme="dark"] .comp-tooltip {
  background: rgba(18, 24, 38, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.comp-tooltip.is-active {
  opacity: 1;
}

.comp-tooltip-header {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.comp-tooltip-row {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
  margin-top: 3px;
}

.comp-tooltip-label {
  font-size: 11.5px;
  color: var(--muted);
  flex: 1;
}

.comp-tooltip-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
}

.comp-guide-line {
  stroke: color-mix(in srgb, var(--line) 80%, var(--brand));
  stroke-width: 1.5;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.comp-guide-dot {
  pointer-events: none;
  transition: opacity 0.15s ease;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.comp-chart-footer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  font-size: 11.5px;
  color: var(--muted-2);
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}

.comp-chart-footer span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: color 0.15s ease, font-weight 0.15s ease;
  cursor: pointer;
  padding: 2px 0;
  border-radius: 4px;
}

.comp-chart-footer span:hover,
.comp-chart-footer span.active {
  color: var(--brand);
  font-weight: 700;
}

@keyframes comp-pulse {
  0% { r: 4px; opacity: 0.8; }
  50% { r: 8px; opacity: 0.2; }
  100% { r: 4px; opacity: 0.8; }
}

.pulse-ring {
  animation: comp-pulse 2s infinite ease-in-out;
}

@media (max-width: 900px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

@media (max-width: 700px) {
  .comp-card {
    padding: 22px 14px;
    border-radius: 18px;
    gap: 18px;
  }
  .comp-card-top {
    gap: 12px;
  }
  .comp-legend {
    gap: 8px 18px;
    font-size: 11px;
    flex-wrap: wrap;
  }
  .comp-legend-item {
    font-size: 11px;
    gap: 6px;
    white-space: nowrap;
  }
  .comp-dot {
    width: 7px;
    height: 7px;
  }
  .comp-badge {
    font-size: 11px;
    padding: 4px 10px;
  }
  .comp-card-title {
    font-size: 17px;
  }
  .comp-stat-badge {
    font-size: 15px;
  }
  .comp-card-desc {
    font-size: 13px;
  }
  .comp-chart-footer {
    font-size: 10.5px;
  }
}

@media (max-width: 420px) {
  .comp-card {
    padding: 18px 12px;
  }
  .comp-legend {
    gap: 6px 14px;
    font-size: 10px;
  }
  .comp-legend-item {
    font-size: 10px;
    gap: 5px;
  }
  .comp-dot {
    width: 6px;
    height: 6px;
  }
}

.comp-disclaimer {
  font-size: 12px;
  color: var(--muted-2);
  text-align: center;
  max-width: 720px;
  margin: -10px auto 0;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.85;
}

/* ── Pricing Section (100% self-contained, decoupled from review.css) ── */
.pricing-section {
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: var(--content-w);
  scroll-margin-top: 90px;
}

.pricing-section .shop-wrap {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Siatka planów cennika */
.pricing-section .tier-grid,
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 24px;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

/* Karta planu */
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 38px 20px 22px;
  overflow: hidden;
  isolation: isolate;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.22s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.22s, border-color 0.22s;
  animation: tier-in 0.5s cubic-bezier(0.22, 0.8, 0.3, 1) backwards;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@keyframes tier-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Górny pasek gradientowy i radialna poświata */
.tier-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 1;
  background: linear-gradient(90deg, var(--tier-a), var(--tier-b));
}

.tier-card::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  width: 200px;
  height: 140px;
  z-index: -1;
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0.14;
  filter: blur(26px);
  background: radial-gradient(circle, var(--tier-b), transparent 70%);
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--tier-a) 65%, transparent), var(--shadow);
  border-color: color-mix(in srgb, var(--tier-a) 40%, var(--line));
}

.tier-card.is-featured {
  border-color: color-mix(in srgb, var(--tier-a) 55%, var(--line));
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--tier-a) 45%, transparent), var(--shadow);
}

@media (min-width: 961px) {
  .tier-card.is-featured {
    transform: scale(1.04);
  }
  .tier-card.is-featured:hover {
    transform: translateY(-6px) scale(1.04);
  }
}

/* Wstążka / Badge planu */
.tier-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--tier-a), var(--tier-b));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px 5px;
  border-radius: 0 0 999px 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px -3px color-mix(in srgb, var(--tier-a) 70%, transparent);
}

.tier-badge:not(.tier-badge--free)::before {
  content: "★ ";
}

/* Free Trial Badge Override */
.tier-badge.tier-badge--free {
  background: linear-gradient(to bottom, #3ba6ea, #9747ff);
  box-shadow: 0 5px 12px -2px rgba(151, 71, 255, 0.4);
  color: white;
  z-index: 2;
}

.tier-badge.tier-badge--free::before {
  content: none;
}

/* Ikona planu */
.tier-ico {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--tier-a) 14%, transparent);
  color: var(--tier-a);
  align-self: flex-start;
  margin: 0 0 16px 0;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.tier-ico svg {
  width: 24px;
  height: 24px;
}

.tier-card:hover .tier-ico {
  transform: rotate(-6deg) scale(1.08);
}

/* Nazwa planu i ceny */
.tier-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tier-price {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--tier-a), var(--tier-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier-per {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 4px;
  -webkit-text-fill-color: var(--muted);
}

/* Wolumen publikacji */
.tier-volume {
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 13px;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--tier-a) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--tier-a) 22%, transparent);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tier-volume-n {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Lista korzyści */
.tier-perks {
  list-style: none;
  margin: 6px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.tier-perks li {
  position: relative;
  padding-left: 27px;
  font-size: 14px;
  line-height: 1.4;
}

.tier-perks li::before {
  position: absolute;
  left: 0;
  top: -1px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.tier-perks li.ok {
  color: var(--ink-2);
}

.tier-perks li.ok::before {
  content: "✓";
  color: var(--tier-a);
  background: color-mix(in srgb, var(--tier-a) 15%, transparent);
}

.tier-perks li.no {
  color: var(--muted-2);
}

.tier-perks li.no::before {
  content: "×";
  color: var(--muted-2);
  background: color-mix(in srgb, var(--muted) 14%, transparent);
}

/* Wiersze dodatków (Add-ons) */
.pricing-section .tier-perks li.addon-li {
  padding-left: 12px;
}

.pricing-section .addon-check-label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
  user-select: none;
}

.pricing-section .addon-check-label input.simple-addon {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.pricing-section .addon-check {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--tier-a) 40%, var(--line));
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: var(--tier-a);
  flex: 0 0 19px;
  transition: all 0.18s ease;
  box-sizing: border-box;
}

.pricing-section .addon-check-label:hover .addon-check {
  border-color: var(--tier-a);
}

.pricing-section .addon-check-label input:checked + .addon-check {
  background: color-mix(in srgb, var(--tier-a) 15%, transparent);
  border-color: transparent;
}

.pricing-section .addon-check-label input:checked + .addon-check::before {
  content: "✓";
}

/* ── Responsywność kart cennika ── */
@media (min-width: 701px) and (max-width: 960px) {
  .pricing-section .tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .pricing-section .tier-card {
    padding: 30px 12px 18px;
    gap: 10px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
  }
  .pricing-section .tier-card.is-featured {
    transform: none;
  }
  .pricing-section .tier-card.is-featured:hover {
    transform: translateY(-4px);
  }
  .pricing-section .tier-badge {
    font-size: 8.5px;
    padding: 4px 8px;
    letter-spacing: 0.02em;
  }
  .pricing-section .tier-ico {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    border-radius: 10px;
  }
  .pricing-section .tier-ico svg {
    width: 20px;
    height: 20px;
  }
  .pricing-section .tier-name {
    font-size: 16px;
  }
  .pricing-section .tier-card p {
    font-size: 12px;
    line-height: 1.35;
    margin: 4px 0 10px;
    min-height: 34px;
  }
  .pricing-section .tier-price {
    font-size: 22px;
  }
  .pricing-section .tier-per {
    font-size: 11px;
    margin-left: 2px;
  }
  .pricing-section .tier-volume {
    margin: 8px 0 14px;
  }
  .pricing-section .tier-volume-n {
    font-size: 11px;
    padding: 3px 8px;
    white-space: nowrap;
  }
  .pricing-section .tier-perks {
    gap: 8px;
    margin-bottom: 16px;
  }
  .pricing-section .tier-perks li {
    font-size: 11.5px;
    line-height: 1.35;
  }
  .pricing-section .addon-check-label {
    font-size: 11.5px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .pricing-section .addon-check {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
  .pricing-section .addon-check-label b {
    font-size: 10.5px;
    white-space: nowrap;
  }
  .pricing-section .tier-btn {
    padding: 9px 8px;
    font-size: 12px;
    gap: 4px;
    border-radius: 10px;
    white-space: nowrap;
  }
  .pricing-section .tier-btn svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 700px) {
  .pricing-section .tier-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
    gap: 20px;
  }
  .pricing-section .tier-card {
    padding: 36px 20px 22px;
    gap: 12px;
    border-radius: 18px;
  }
  .pricing-section .tier-ico {
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  .pricing-section .tier-ico svg {
    width: 22px;
    height: 22px;
  }
  .pricing-section .tier-name {
    font-size: 18px;
  }
  .pricing-section .tier-card p {
    font-size: 13.5px;
    line-height: 1.45;
    min-height: auto;
    margin: 6px 0 12px;
  }
  .pricing-section .tier-price {
    font-size: 28px;
  }
  .pricing-section .tier-volume-n {
    font-size: 12.5px;
    padding: 4px 10px;
  }
  .pricing-section .tier-perks {
    gap: 10px;
    margin-bottom: 20px;
  }
  .pricing-section .tier-perks li {
    font-size: 13.5px;
  }
  .pricing-section .addon-check-label {
    font-size: 13.5px;
  }
  .pricing-section .addon-check-label b {
    font-size: 12px;
  }
  .pricing-section .tier-btn {
    padding: 13px 20px;
    font-size: 14.5px;
    border-radius: 12px;
  }
  .pricing-section .tier-btn svg {
    width: 16px;
    height: 16px;
  }
}

.pricing-section .tier-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.pricing-section .tier-perks {
  flex: 1 1 auto;
  margin-bottom: 24px;
}
.pricing-section .tier-btn {
  width: 100%;
  margin-top: auto;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.16s ease;
}
.pricing-section .tier-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.pricing-section .tier-btn:hover svg {
  transform: translateX(4px);
}

/* Secondary outline style for Starter & Pro */
.pricing-section .tier-btn.secondary {
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid color-mix(in srgb, var(--tier-a) 40%, var(--line));
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.pricing-section .tier-btn.secondary:hover {
  background: linear-gradient(90deg, var(--tier-a), var(--tier-b));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--tier-a) 55%, transparent);
}

/* Featured vibrant gradient style for Growth */
.pricing-section .tier-btn--featured {
  background: linear-gradient(90deg, var(--tier-a), var(--tier-b));
  border: 1.5px solid transparent;
  color: #fff;
  box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--tier-a) 55%, transparent);
}
.pricing-section .tier-btn--featured:hover {
  background: linear-gradient(90deg, var(--tier-b), var(--tier-a));
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px color-mix(in srgb, var(--tier-a) 70%, transparent);
}

/* Trust note below cards */
.pricing-trust-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin: 22px auto 0;
  text-align: center;
}
.pricing-trust-note svg {
  color: #10b981;
}

/* ── Channels Section ───────────────────────────────────── */
.channels-section {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  scroll-margin-top: 90px;
}

.channels-agent-spotlight {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.channels-agent-icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 0 24px 6px rgba(46, 188, 252, 0.65), 0 0 12px 2px rgba(151, 71, 255, 0.3);
  display: block;
  object-fit: contain;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.channels-agent-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px 8px rgba(56, 189, 248, 0.85);
}

/* ── Channels Showcase & Boxes ───────────────────────────── */
.channels-showcase {
  margin: 10px auto 0;
  width: 100%;
  max-width: var(--content-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
  position: relative;
  isolation: isolate;
}

.channels-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.chan-path {
  fill: none;
  stroke: #2ebcfc;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s ease, stroke-width 0.25s ease, filter 0.25s ease;
}

:root[data-theme="dark"] .chan-path {
  stroke: #38bdf8;
}

/* Hover effects on connection lines */
.channels-showcase:has(.channel-box--blog:hover) .chan-path--blog,
.channels-showcase:has(.channel-box--facebook:hover) .chan-path--fb,
.channels-showcase:has(.channel-box--instagram:hover) .chan-path--insta,
.channels-showcase:has(.channel-box--tiktok:hover) .chan-path--tiktok,
.channels-showcase:has(.channel-box--youtube:hover) .chan-path--yt {
  stroke: #38bdf8;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

.channels-showcase:has(.channels-agent-spotlight:hover) .chan-path {
  stroke: #38bdf8;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

.channels-row {
  width: 100%;
  position: relative;
  z-index: 1;
}

.channels-row--blog {
  display: flex;
  justify-content: center;
  margin-bottom: -28px;
}

.channels-row--top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.channels-row--top .channel-box--facebook {
  justify-self: start;
}

.channels-row--top .channels-agent-spotlight {
  justify-self: center;
  z-index: 2;
}

.channels-row--top .channel-box--instagram {
  justify-self: end;
}

.channels-row--bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.channel-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  width: 290px;
  max-width: 100%;
  min-height: 80px;
  padding: 14px 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.channel-box:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, #2ebcfc 45%, var(--line));
  box-shadow: 0 10px 24px rgba(46, 188, 252, 0.14), var(--shadow);
}

.channel-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.channel-box-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.channel-box:hover .channel-box-icon {
  transform: scale(1.06);
}

.channel-box-icon--facebook {
  background: rgba(24, 119, 242, 0.08);
  border: 1px solid rgba(24, 119, 242, 0.2);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.1);
}

.channel-box:hover .channel-box-icon--facebook {
  border-color: rgba(24, 119, 242, 0.45);
  box-shadow: 0 4px 16px rgba(24, 119, 242, 0.25);
}

.channel-box-icon--instagram {
  background: rgba(228, 64, 95, 0.08);
  border: 1px solid rgba(228, 64, 95, 0.2);
  box-shadow: 0 2px 8px rgba(228, 64, 95, 0.1);
}

.channel-box:hover .channel-box-icon--instagram {
  border-color: rgba(228, 64, 95, 0.45);
  box-shadow: 0 4px 16px rgba(228, 64, 95, 0.25);
}

.channel-box-icon--tiktok {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

:root[data-theme="dark"] .channel-box-icon--tiktok {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.06);
}

.channel-box:hover .channel-box-icon--tiktok {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

:root[data-theme="dark"] .channel-box:hover .channel-box-icon--tiktok {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.18);
}

.channel-box-icon--youtube {
  background: rgba(255, 0, 0, 0.08);
  border: 1px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.1);
}

.channel-box:hover .channel-box-icon--youtube {
  border-color: rgba(255, 0, 0, 0.45);
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.25);
}

.channel-box-icon--blog {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.channel-box:hover .channel-box-icon--blog {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.channel-box-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.channel-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.channel-box-desc {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
  letter-spacing: -0.005em;
}

@media (max-width: 920px) {
  .channels-connections {
    display: none !important;
  }
  .channels-showcase {
    gap: 20px;
    max-width: 480px;
    position: relative;
  }
  /* Continuous glowing vertical connection line from agent to all channels */
  .channels-showcase::before {
    content: '';
    position: absolute;
    top: 40px;
    bottom: 35px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #2ebcfc 0%, #2ebcfc 90%, rgba(46, 188, 252, 0.2) 100%);
    box-shadow: 0 0 8px rgba(46, 188, 252, 0.7);
    z-index: 0;
    pointer-events: none;
  }
  :root[data-theme="dark"] .channels-showcase::before {
    background: linear-gradient(180deg, #38bdf8 0%, #38bdf8 90%, rgba(56, 189, 248, 0.2) 100%);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.85);
  }
  /* Flatten rows so every box shares one flex column and can be reordered */
  .channels-row--blog,
  .channels-row--top,
  .channels-row--bottom {
    display: contents;
  }
  .channels-row--top .channels-agent-spotlight {
    order: 0;
    margin-bottom: 8px;
    z-index: 2;
    position: relative;
  }
  .channel-box--blog { order: 1; }
  .channel-box--facebook { order: 2; }
  .channel-box--instagram { order: 3; }
  .channel-box--tiktok { order: 4; }
  .channel-box--youtube { order: 5; }
  .channel-box {
    width: 100%;
    min-height: 76px;
    z-index: 1;
  }
}

/* ── Landing Footer Specifics ────────────────────────────────────────────── */
.landing-footer {
  max-width: calc(var(--content-w) - 40px);
  width: calc(100% - 40px);
  margin: 0 auto 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.landing-footer .site-footer-inner {
  align-items: start;
}

.landing-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}

.footer-tw-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-tw-link:hover {
  color: var(--text-base);
}

@media (max-width: 700px) {
  .landing-footer {
    width: calc(100% - 48px);
    margin: 0 auto 32px;
    border-radius: 16px;
    padding: 28px 20px;
  }
  .landing-footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    text-align: center;
  }
}

/* Highlight email contact box on anchor jump */
#footer-contact:target {
  animation: target-pulse 2s ease-out;
  border-radius: 12px;
}

@keyframes target-pulse {
  0% { box-shadow: 0 0 0 0 rgba(151, 71, 255, 0.7); background: color-mix(in srgb, #9747ff 15%, transparent); }
  70% { box-shadow: 0 0 0 15px rgba(151, 71, 255, 0); background: transparent; }
  100% { box-shadow: 0 0 0 0 rgba(151, 71, 255, 0); background: transparent; }
}

/* CMS Icons Hover Effect */
.cms-icon {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.cms-icon:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Wymuszenie białego, jednolitego tła na banerze cookie */
.cookie-note,
#cc-main .cm,
#cc-main .pm {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  color: #1a202c !important;
  border: 1px solid #e2e8f0 !important;
  --cc-bg: #ffffff !important;
  --cc-primary-color: #1a202c !important;
  --cc-secondary-color: #4a5568 !important;
}

.cookie-note-title,
.cookie-note-text {
  color: #1a202c !important;
}

.cookie-note-link {
  color: #3182ce !important;
}
