/**
 * Marketing layout components — hubs, alternatives, contact, downloads.
 * Pairs with marketing-shell.css + body.zen-dark (loaded from header.php).
 */
.slay-mark-page {
  background: var(--zen-bg, #0a0a0a);
  color: var(--zen-text, #ffffff);
}

.slay-mark-hero {
  position: relative;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
  background: linear-gradient(165deg, #19191a 0%, #0a0a0a 50%, #050505 100%);
  border-bottom: 1px solid var(--zen-border, #605e5e);
  overflow: hidden;
}
.slay-mark-hero::before,
.slay-mark-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}
.slay-mark-hero::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  top: -120px;
  right: -80px;
}
.slay-mark-hero::after {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(96, 94, 94, 0.12), transparent 70%);
  bottom: -100px;
  left: -60px;
}

.slay-mark-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zen-text-muted, #605e5e);
  margin-bottom: 1rem;
}

.slay-mark-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--zen-text);
}

.slay-mark-title span.zen-gradient-text {
  display: inline;
}

.slay-mark-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--zen-text-muted, #605e5e);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.slay-mark-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.slay-mark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.slay-mark-btn:hover {
  transform: translateY(-1px);
}
.slay-mark-btn--primary {
  background: var(--zen-gradient-primary, linear-gradient(135deg, #363636, #2a2a2a));
  color: #fff;
  border: 1px solid var(--zen-border, #605e5e);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.slay-mark-btn--ghost {
  background: var(--zen-surface, #19191a);
  color: var(--zen-text, #ffffff);
  border: 1px solid var(--zen-border, #605e5e);
}
.slay-mark-btn--ghost:hover {
  border-color: var(--zen-text-muted, #605e5e);
  color: var(--zen-text, #ffffff);
}

.slay-mark-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-bottom: 1px solid var(--zen-border, #605e5e);
}
.slay-mark-section--soft {
  background: var(--zen-surface-soft, #19191a);
}

.slay-mark-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--zen-border, #605e5e);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--zen-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.35));
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.slay-mark-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--zen-shadow-md, 0 8px 20px rgba(0, 0, 0, 0.45));
  transform: translateY(-2px);
}

.slay-mark-quote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--zen-text);
  border-left: 4px solid var(--zen-primary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.slay-mark-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .slay-mark-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .slay-mark-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .slay-mark-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.slay-mark-stat {
  text-align: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--zen-surface);
  border: 1px solid var(--zen-border);
}
.slay-mark-stat b {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--zen-text, #ffffff);
  letter-spacing: -0.02em;
}
.slay-mark-stat span {
  font-size: 0.8rem;
  color: var(--zen-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Contact form */
.slay-mark-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--zen-text-muted);
  margin-bottom: 0.35rem;
}
.slay-mark-input,
.slay-mark-select,
.slay-mark-textarea {
  width: 100%;
  border: 1px solid var(--zen-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  background: var(--zen-surface);
  color: var(--zen-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.slay-mark-input:focus,
.slay-mark-select:focus,
.slay-mark-textarea:focus {
  outline: none;
  border-color: var(--zen-primary);
  box-shadow: 0 0 0 3px var(--zen-primary-glow, rgba(99, 102, 241, 0.15));
}

/* Blog hub (light) */
.slay-blog-hub {
  background: var(--zen-bg);
  min-height: 100vh;
}
.slay-blog-hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0 3rem;
  background: linear-gradient(180deg, #fff 0%, var(--zen-bg) 100%);
  border-bottom: 1px solid var(--zen-border);
  overflow: hidden;
}
.slay-blog-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}
.slay-blog-search-wrap {
  max-width: 32rem;
  margin: 2rem auto 0;
  position: relative;
}
.slay-blog-search {
  width: 100%;
  padding: 0.9rem 1.1rem 0.9rem 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--zen-border);
  background: var(--zen-surface);
  font-size: 0.95rem;
  box-shadow: var(--zen-shadow-sm);
}
.slay-blog-search:focus {
  outline: none;
  border-color: var(--zen-primary);
  box-shadow: 0 0 0 3px var(--zen-primary-glow);
}
.slay-blog-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--zen-text-dim);
  pointer-events: none;
}

.slay-blog-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.slay-blog-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--zen-text-muted);
  background: var(--zen-surface);
  border: 1px solid var(--zen-border);
  cursor: pointer;
  transition: all 0.2s ease;
}
.slay-blog-tab:hover,
.slay-blog-tab.is-active {
  color: var(--zen-primary);
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.06);
}

.slay-blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--zen-border);
  background: var(--zen-surface);
  box-shadow: var(--zen-shadow-md);
  margin-bottom: 2.5rem;
}
.slay-blog-featured__body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slay-blog-featured__visual {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slay-blog-featured__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--zen-surface) 0%, transparent 55%);
}
@media (max-width: 900px) {
  .slay-blog-featured {
    grid-template-columns: 1fr;
  }
  .slay-blog-featured__visual {
    min-height: 220px;
    order: -1;
  }
  .slay-blog-featured__visual::after {
    background: linear-gradient(180deg, var(--zen-surface) 0%, transparent 50%);
  }
}

.slay-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) {
  .slay-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .slay-blog-grid {
    grid-template-columns: 1fr;
  }
}

.slay-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--zen-surface);
  border: 1px solid var(--zen-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.slay-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--zen-shadow-lg);
  border-color: rgba(99, 102, 241, 0.35);
}
.slay-blog-card__img {
  aspect-ratio: 16 / 10;
  background: var(--zen-surface-soft);
  overflow: hidden;
}
.slay-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.slay-blog-card:hover .slay-blog-card__img img {
  transform: scale(1.04);
}
.slay-blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.slay-blog-card__tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.slay-blog-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.75rem;
  color: var(--zen-text);
}
.slay-blog-card__meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--zen-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--zen-text-muted);
}

.max-w-mark {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Programmatic SEO + marketing pages (zen-dark shell) */
body.zen-dark .slay-mark-page {
  background: var(--zen-bg, #0a0a0a);
  color: var(--zen-text, #ffffff);
  min-height: 100vh;
}
body.zen-dark .slay-mark-hero {
  background: linear-gradient(165deg, #19191a 0%, #0a0a0a 45%, #050505 100%);
  border-bottom-color: var(--zen-border, #605e5e);
}
body.zen-dark .slay-mark-section--soft {
  background: var(--zen-surface-soft, #19191a);
}
body.zen-dark .slay-mark-btn--ghost {
  background: #19191a;
  color: var(--zen-text, #ffffff);
  border-color: var(--zen-border, #605e5e);
}
body.zen-dark .slay-mark-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--zen-border, #605e5e);
}

/* Blog hub (v2 — still uses body.dark without shell) */
body.dark .slay-mark-page {
  background: var(--zen-bg, #020617);
  color: var(--zen-text, #f8fafc);
  min-height: 100vh;
}
body.dark .slay-mark-hero {
  background: linear-gradient(165deg, #0f172a 0%, #020617 45%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom-color: var(--zen-border, rgba(255, 255, 255, 0.1));
}
body.dark .slay-mark-section--soft {
  background: var(--zen-surface-soft, rgba(255, 255, 255, 0.05));
}
body.dark .slay-mark-btn--ghost {
  background: rgba(15, 23, 42, 0.6);
  color: var(--zen-text, #f8fafc);
  border-color: var(--zen-border, rgba(255, 255, 255, 0.1));
}
body.dark .slay-mark-card {
  background: rgba(15, 23, 42, 0.45);
  border-color: var(--zen-border, rgba(255, 255, 255, 0.1));
}

/* ── Product hub E-E-A-T (screenshots + showcases) ── */
.slay-mark-hero--eeat {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.hub-hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hub-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
  }
}

.hub-hero-copy {
  min-width: 0;
}

.hub-hero-sub {
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.hub-hero-visual {
  min-width: 0;
}

.hub-browser-frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #0a0a0c;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 25px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(112, 0, 255, 0.08);
  margin: 0;
}

.hub-browser-frame__chrome {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, #141418 0%, #0f0f12 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-browser-frame__dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.hub-browser-frame__dot--red { background: #ff5f57; }
.hub-browser-frame__dot--amber { background: #febc2e; }
.hub-browser-frame__dot--green { background: #28c840; }

.hub-browser-frame__url {
  margin-left: 0.5rem;
  flex: 1;
  text-align: left;
  font-size: 0.72rem;
  color: #64748b;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0.35rem;
  padding: 0.35rem 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-browser-frame__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.hub-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.hub-video-embed iframe,
.hub-video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.hub-product-shot__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.hub-product-shot__pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.hub-showcase-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hub-showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
  }
  .hub-showcase-grid--reverse .hub-showcase-copy {
    order: 2;
  }
  .hub-showcase-grid--reverse .hub-showcase-visual {
    order: 1;
  }
}

.hub-showcase-title {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.hub-showcase-lead,
.hub-section-lead,
.hub-suite-lead,
.hub-closing-lead {
  max-width: 44rem;
}

.hub-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hub-showcase-bullets {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.hub-showcase-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--zen-text-muted, #605e5e);
}

.hub-showcase-bullets i {
  color: #34d399;
  margin-top: 0.2rem;
}

.hub-trust-eeat {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid var(--zen-border, #605e5e);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--zen-text-muted, #605e5e);
}

.hub-trust-eeat strong {
  color: var(--zen-text, #fff);
  display: block;
  margin-bottom: 0.35rem;
}

.hub-trust-eeat__date {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
}

.hub-trust-title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.hub-suite-title {
  margin-bottom: 0.5rem;
}

.hub-suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hub-suite-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--zen-border, #605e5e);
  border-radius: 1rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hub-suite-card:hover {
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
}

.hub-suite-card--current {
  border-color: rgba(99, 102, 241, 0.55);
  background: rgba(99, 102, 241, 0.08);
}

.hub-suite-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.hub-suite-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
}

.hub-suite-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--zen-text-muted, #605e5e);
}

.hub-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-top: 1.5rem;
}

.hub-feature-card {
  border: 1px solid var(--zen-border, #605e5e);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.45);
}

.hub-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hub-feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--zen-text, #fff);
}

.hub-feature-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--zen-text-muted, #605e5e);
}

.hub-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hub-why-card {
  border-left: 3px solid #6366f1;
  padding: 0.5rem 0 0.5rem 1rem;
}

.hub-why-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--zen-text, #fff);
}

.hub-why-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--zen-text-muted, #605e5e);
  line-height: 1.55;
}

.hub-alt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.hub-alt-links a {
  color: #a5b4fc;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--zen-border, #605e5e);
  border-radius: 999px;
}

.hub-alt-links a:hover {
  background: rgba(99, 102, 241, 0.12);
}

.hub-faq-wrap {
  text-align: center;
}

.hub-faq {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  text-align: left;
}

.hub-faq details {
  border: 1px solid var(--zen-border, #605e5e);
  border-radius: 0.85rem;
  background: rgba(15, 23, 42, 0.4);
  margin-bottom: 0.75rem;
}

.hub-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.15rem;
  color: var(--zen-text, #fff);
  list-style: none;
}

.hub-faq summary::-webkit-details-marker {
  display: none;
}

.hub-faq details p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--zen-text-muted, #605e5e);
  line-height: 1.65;
  font-size: 0.92rem;
}

.hub-breadcrumb {
  font-size: 0.8rem;
  color: var(--zen-text-muted, #605e5e);
  margin-bottom: 0.75rem;
}

.hub-breadcrumb a {
  color: #a5b4fc;
  text-decoration: none;
}

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

.hub-closing-actions,
.hub-closing-links {
  justify-content: center;
}

.hub-closing-lead {
  margin-left: auto;
  margin-right: auto;
}
