/**
 * Flu Argentina - Master Stylesheet for SEO & Growth Pages
 * Covers: /anuncios-de-producto, /comparar/<slug>, /para/<slug>, /para-tu-rubro, /herramientas/generador-publicaciones, /casos-de-exito
 * Complies with Docs/DESIGN_SYSTEM.md and The SEO Blueprint.
 */

:root {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   1. Shared Layout, Containers & Typography
   ========================================================================== */

.seo-page-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

.seo-page-shell--narrow {
  max-width: 920px;
}

.seo-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.seo-hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.15rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-dark, #ffffff);
  margin-bottom: 1rem;
  text-wrap: balance;
}

html.light-mode .seo-hero-title {
  color: var(--text-light, #212529);
}

.seo-hero-sub {
  font-family: 'Nunito', sans-serif;
  font-size: 1.15rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 660px;
  margin: 0 auto;
}

html.light-mode .seo-hero-sub {
  color: rgba(33, 37, 41, 0.75);
}

/* Breadcrumb */
.seo-breadcrumb {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seo-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.seo-breadcrumb a:hover {
  color: var(--brand-color-dark, #bb86fc);
}

html.light-mode .seo-breadcrumb {
  color: rgba(33, 37, 41, 0.7);
}

html.light-mode .seo-breadcrumb a:hover {
  color: var(--brand-color-light, #E1306C);
}

/* Badges */
.seo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  background: rgba(187, 134, 252, 0.12);
  color: var(--brand-color-dark, #bb86fc);
  border: 1px solid rgba(187, 134, 252, 0.25);
  box-shadow: 0 2px 8px rgba(187, 134, 252, 0.15);
}

html.light-mode .seo-badge {
  background: rgba(225, 48, 108, 0.08);
  color: var(--brand-color-light, #E1306C);
  border-color: rgba(225, 48, 108, 0.2);
  box-shadow: 0 2px 8px rgba(225, 48, 108, 0.1);
}

.seo-badge--success {
  background: rgba(34, 197, 94, 0.12);
  color: #2ebd59;
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

/* Master SEO Card */
.seo-card {
  border-radius: 24px;
  background: var(--card-bg-dark, #2a2a2a);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  box-shadow: var(--card-shadow-dark, 0 8px 24px rgba(0, 0, 0, 0.4));
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

html.light-mode .seo-card {
  background: var(--card-bg-light, #ffffff);
  border-color: var(--card-border, rgba(0, 0, 0, 0.09));
  box-shadow: var(--card-shadow-light, 0 8px 24px rgba(0, 0, 0, 0.06));
}

/* Primary Spring Button */
.seo-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.25rem;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.025rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--primary-gradient-dark, linear-gradient(135deg, #8a4af3 0%, #7c4dff 100%));
  color: #ffffff !important;
  border: none;
  text-decoration: none;
  min-height: 50px;
  box-shadow: 0 4px 16px rgba(124, 77, 255, 0.35);
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.15s ease;
  cursor: pointer;
}

html.light-mode .seo-btn-cta {
  background: var(--primary-gradient-light, linear-gradient(135deg, #c2185b 0%, #c2410c 100%));
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.35);
}

.seo-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.45);
}

html.light-mode .seo-btn-cta:hover {
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.45);
}

.seo-btn-cta:active {
  transform: scale(0.96);
}

/* ==========================================================================
   2. Comparison Page Specifics (/comparar/<slug>)
   ========================================================================== */

.comp-matrix-card {
  padding: 2.75rem 2.25rem;
  margin-bottom: 3.5rem;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
}

.comp-table th {
  padding-bottom: 2rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
}

html.light-mode .comp-table th {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.comp-table th.comp-th--feature {
  width: 48%;
  text-align: left;
}

.comp-table th.comp-th--brand {
  width: 26%;
}

.comp-table td {
  padding: 1.35rem 0.75rem;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

html.light-mode .comp-table td {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

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

.comp-feature-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--text-dark, #ffffff);
  line-height: 1.45;
  text-align: left;
}

html.light-mode .comp-feature-title {
  color: var(--text-light, #212529);
}

.comp-feature-note {
  font-size: 0.825rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.65));
  margin-top: 0.25rem;
  text-align: left;
  line-height: 1.4;
}

html.light-mode .comp-feature-note {
  color: rgba(33, 37, 41, 0.65);
}

.comp-brand-header {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.comp-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.comp-brand-pill--flu {
  background: var(--primary-gradient-dark, linear-gradient(135deg, #8a4af3 0%, #7c4dff 100%));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 77, 255, 0.35);
}

html.light-mode .comp-brand-pill--flu {
  background: var(--primary-gradient-light, linear-gradient(135deg, #c2185b 0%, #c2410c 100%));
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3);
}

.comp-brand-pill--competitor {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dark, #ffffff);
  border-color: rgba(255, 255, 255, 0.15);
}

html.light-mode .comp-brand-pill--competitor {
  background: #f1f3f5;
  color: var(--text-light, #212529);
  border-color: rgba(0, 0, 0, 0.1);
}

.comp-status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
}

.comp-status-icon--check {
  background: #2ebd59;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(46, 189, 89, 0.35);
}

.comp-status-icon--cross {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
}

html.light-mode .comp-status-icon--cross {
  background: rgba(0, 0, 0, 0.07);
  color: rgba(33, 37, 41, 0.4);
}

/* Price Bento Card */
.comp-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.comp-price-box {
  padding: 2.25rem 1.75rem;
  text-align: center;
}

.comp-price-box--flu {
  border-color: rgba(187, 134, 252, 0.35);
  box-shadow: 0 8px 32px rgba(187, 134, 252, 0.15);
}

html.light-mode .comp-price-box--flu {
  border-color: rgba(225, 48, 108, 0.3);
  box-shadow: 0 8px 32px rgba(225, 48, 108, 0.08);
}

.comp-price-amount {
  font-family: 'Nunito', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.75rem 0 0.5rem;
  font-variant-numeric: tabular-nums;
}

.comp-price-amount--flu {
  color: var(--brand-color-dark, #bb86fc);
}

html.light-mode .comp-price-amount--flu {
  color: var(--brand-color-light, #E1306C);
}

/* ==========================================================================
   3. Niche Directory & Leaf Pages (/para-tu-rubro, /para/<slug>)
   ========================================================================== */

.niche-search-wrapper {
  max-width: 520px;
  margin: 2rem auto 3rem;
  position: relative;
}

.niche-search-input {
  width: 100%;
  padding: 0.95rem 1.25rem 0.95rem 3rem;
  border-radius: 16px;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  background: var(--card-bg-dark, #2a2a2a);
  color: inherit;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  min-height: 52px;
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light-mode .niche-search-input {
  background: var(--card-bg-light, #ffffff);
  border-color: var(--card-border, rgba(0, 0, 0, 0.12));
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.niche-search-input:focus {
  outline: none;
  border-color: var(--brand-color-dark, #bb86fc);
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

html.light-mode .niche-search-input:focus {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.2);
}

.niche-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  pointer-events: none;
}

/* Niche Bento Card */
.niche-bento-card {
  padding: 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.niche-bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-color-dark, #bb86fc);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(187, 134, 252, 0.3);
  color: inherit;
}

html.light-mode .niche-bento-card:hover {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 12px 28px -4px rgba(225, 48, 108, 0.15), 0 0 0 1px rgba(225, 48, 108, 0.2);
}

.niche-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  background: rgba(187, 134, 252, 0.12);
  color: var(--brand-color-dark, #bb86fc);
}

html.light-mode .niche-icon-wrap {
  background: rgba(225, 48, 108, 0.08);
  color: var(--brand-color-light, #E1306C);
}

.niche-bento-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.niche-bento-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  flex-grow: 1;
  margin-bottom: 1.25rem;
  text-wrap: pretty;
}

html.light-mode .niche-bento-desc {
  color: rgba(33, 37, 41, 0.75);
}

.niche-bento-action {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-color-dark, #bb86fc);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.15s ease;
}

html.light-mode .niche-bento-action {
  color: var(--brand-color-light, #E1306C);
}

.niche-bento-card:hover .niche-bento-action {
  gap: 0.65rem;
}

/* Post Idea Template Card */
.seo-post-card {
  padding: 1.65rem;
  margin-bottom: 1.5rem;
}

.seo-post-card:hover {
  border-color: var(--brand-color-dark, #bb86fc);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html.light-mode .seo-post-card:hover {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.12);
}

.seo-post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.seo-post-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.seo-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.15));
  background: rgba(255, 255, 255, 0.05);
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

html.light-mode .seo-copy-btn {
  border-color: rgba(0, 0, 0, 0.12);
  background: #f8fafc;
}

.seo-copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

html.light-mode .seo-copy-btn:hover {
  background: #f1f3f5;
}

.seo-copy-btn:active {
  transform: scale(0.96);
}

.seo-copy-btn.copied {
  background: #2ebd59 !important;
  border-color: #2ebd59 !important;
  color: #ffffff !important;
}

.seo-post-hook {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0.65rem;
  color: var(--text-dark, #ffffff);
}

html.light-mode .seo-post-hook {
  color: var(--text-light, #212529);
}

.seo-post-caption {
  font-family: 'Nunito', sans-serif;
  font-size: 0.925rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  line-height: 1.6;
  margin-bottom: 0.85rem;
  text-wrap: pretty;
}

html.light-mode .seo-post-caption {
  color: rgba(33, 37, 41, 0.75);
}

.seo-post-hashtags {
  font-size: 0.825rem;
  color: var(--brand-color-dark, #bb86fc);
  margin-bottom: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html.light-mode .seo-post-hashtags {
  color: var(--brand-color-light, #E1306C);
}

/* Pain and Benefit Cards */
.seo-pain-card {
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
  font-size: 0.925rem;
}

.seo-benefit-card {
  border-radius: 16px;
  padding: 1.25rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
  font-size: 0.925rem;
}

/* Sticky Sidebar CTA */
.seo-sticky-cta {
  position: sticky;
  top: 2rem;
  padding: 2.25rem 1.75rem;
  text-align: center;
  border-color: rgba(187, 134, 252, 0.3);
}

html.light-mode .seo-sticky-cta {
  border-color: rgba(225, 48, 108, 0.25);
}

/* ==========================================================================
   4. Free Tool Specifics (/herramientas/generador-publicaciones)
   ========================================================================== */

.tool-interactive-card {
  padding: 2.25rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.tool-interactive-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 0%, rgba(187, 134, 252, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

html.light-mode .tool-interactive-card::before {
  background: radial-gradient(circle at 50% 0%, rgba(225, 48, 108, 0.05) 0%, transparent 60%);
}

.tool-form-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark, #ffffff);
}

html.light-mode .tool-form-label {
  color: var(--text-light, #212529);
}

.tool-form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-dark, #ffffff);
  font-size: 0.95rem;
  min-height: 48px;
  transition: border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light-mode .tool-form-control {
  background: #ffffff;
  color: var(--text-light, #212529);
  border-color: rgba(0, 0, 0, 0.12);
}

.tool-form-control:focus {
  outline: none;
  border-color: var(--brand-color-dark, #bb86fc);
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

html.light-mode .tool-form-control:focus {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.2);
}

.tool-step-box {
  padding: 1.75rem 1.5rem;
  height: 100%;
  text-align: center;
}

.tool-step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(187, 134, 252, 0.15);
  color: var(--brand-color-dark, #bb86fc);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}

html.light-mode .tool-step-num {
  background: rgba(225, 48, 108, 0.1);
  color: var(--brand-color-light, #E1306C);
}

/* ==========================================================================
   5. Success Stories Specifics (/casos-de-exito)
   ========================================================================== */

.metric-bento-box {
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
}

.metric-big-number {
  font-family: 'Nunito', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--brand-color-dark, #bb86fc);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

html.light-mode .metric-big-number {
  color: var(--brand-color-light, #E1306C);
}

.story-testimonial-card {
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.story-testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-color-dark, #bb86fc);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

html.light-mode .story-testimonial-card:hover {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 12px 32px rgba(225, 48, 108, 0.12);
}

.story-quote-body {
  font-style: italic;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  line-height: 1.65;
  margin: 1.25rem 0 1.75rem;
  flex-grow: 1;
  font-size: 0.975rem;
  text-wrap: pretty;
}

html.light-mode .story-quote-body {
  color: rgba(33, 37, 41, 0.75);
}

.story-author-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  padding-top: 1.25rem;
}

html.light-mode .story-author-row {
  border-top-color: rgba(0, 0, 0, 0.06);
}

.story-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(187, 134, 252, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-color-dark, #bb86fc);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html.light-mode .story-author-avatar {
  background: rgba(225, 48, 108, 0.1);
  color: var(--brand-color-light, #E1306C);
  border-color: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   6. Product Ads Landing Showcase (/anuncios-de-producto)
   ========================================================================== */

.ads-showcase-stage {
  padding: 2.75rem 2.25rem;
  margin-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.ads-pills-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.ads-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted, rgba(255, 255, 255, 0.75));
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html.light-mode .ads-pill-btn {
  background: #f1f3f5;
  color: #495057;
  border-color: rgba(0, 0, 0, 0.08);
}

.ads-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: translateY(-1px);
}

html.light-mode .ads-pill-btn:hover {
  background: #e9ecef;
  color: #212529;
}

.ads-pill-btn:focus-visible {
  outline: 2px solid var(--brand-color-dark, #bb86fc);
  outline-offset: 2px;
}

html.light-mode .ads-pill-btn:focus-visible {
  outline-color: var(--brand-color-light, #E1306C);
}

.ads-pill-btn.active {
  background: var(--primary-gradient-dark, linear-gradient(135deg, #8a4af3 0%, #7c4dff 100%));
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(124, 77, 255, 0.35);
  transform: translateY(-2px);
}

html.light-mode .ads-pill-btn.active {
  background: var(--primary-gradient-light, linear-gradient(135deg, #c2185b 0%, #c2410c 100%));
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.35);
}

.ads-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .ads-demo-grid {
    grid-template-columns: 1fr;
  }
}

.ads-preview-card {
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  padding: 1.5rem;
  position: relative;
}

html.light-mode .ads-preview-card {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}

.ads-preview-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-family: 'Nunito', sans-serif;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
}

.ads-preview-tag--before {
  background: rgba(0, 0, 0, 0.75);
  color: #adb5bd;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ads-preview-tag--after {
  background: #2ebd59;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(46, 189, 89, 0.4);
}

.ads-visual-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e1e24;
}

html.light-mode .ads-visual-frame {
  background: #edf2f7;
}

.ads-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.ads-mockup-body {
  margin-top: 1.25rem;
}

.ads-mockup-hook {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark, #ffffff);
  margin-bottom: 0.5rem;
}

html.light-mode .ads-mockup-hook {
  color: var(--text-light, #212529);
}

.ads-mockup-copy {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  margin-bottom: 0.85rem;
  text-wrap: pretty;
}

html.light-mode .ads-mockup-copy {
  color: rgba(33, 37, 41, 0.75);
}

.ads-mockup-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  background: #2ebd59;
  color: #ffffff;
  text-decoration: none;
}

/* Mood Switcher Pills */
.ads-mood-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.ads-mood-btn {
  font-size: 0.775rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  background: transparent;
  color: var(--text-muted, rgba(255, 255, 255, 0.6));
  cursor: pointer;
  transition: all 0.15s ease;
}

html.light-mode .ads-mood-btn {
  border-color: rgba(0, 0, 0, 0.1);
  color: #6c757d;
}

.ads-mood-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

html.light-mode .ads-mood-btn:hover {
  color: #212529;
  border-color: rgba(0, 0, 0, 0.25);
}

.ads-mood-btn.active {
  background: rgba(187, 134, 252, 0.15);
  color: var(--brand-color-dark, #bb86fc);
  border-color: rgba(187, 134, 252, 0.35);
}

html.light-mode .ads-mood-btn.active {
  background: rgba(225, 48, 108, 0.1);
  color: var(--brand-color-light, #E1306C);
  border-color: rgba(225, 48, 108, 0.3);
}

.ads-mood-btn:focus-visible {
  outline: 2px solid var(--brand-color-dark, #bb86fc);
  outline-offset: 2px;
}

html.light-mode .ads-mood-btn:focus-visible {
  outline-color: var(--brand-color-light, #E1306C);
}

/* Feature Bento 4-Grid */
.ads-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin: 3.5rem 0;
}

.ads-feature-card {
  padding: 2rem 1.75rem;
  height: 100%;
}

.ads-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  background: rgba(187, 134, 252, 0.12);
  color: var(--brand-color-dark, #bb86fc);
}

html.light-mode .ads-feature-icon {
  background: rgba(225, 48, 108, 0.08);
  color: var(--brand-color-light, #E1306C);
}

/* ==========================================================================
   7. Shared FAQ Accordion & Bottom Banner
   ========================================================================== */

.seo-faq-accordion .accordion-item {
  background: var(--card-bg-dark, #2a2a2a);
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  border-radius: 16px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

html.light-mode .seo-faq-accordion .accordion-item {
  background: var(--card-bg-light, #ffffff);
  border-color: var(--card-border, rgba(0, 0, 0, 0.09));
}

.seo-faq-accordion .accordion-button {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  color: var(--text-dark, #ffffff);
  box-shadow: none;
}

html.light-mode .seo-faq-accordion .accordion-button {
  color: var(--text-light, #212529);
}

.seo-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-color-dark, #bb86fc);
}

html.light-mode .seo-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--brand-color-light, #E1306C);
}

.seo-faq-accordion .accordion-body {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  padding: 0 1.35rem 1.25rem;
}

html.light-mode .seo-faq-accordion .accordion-body {
  color: rgba(33, 37, 41, 0.75);
}

/* Shared Big Bottom CTA Banner */
.seo-cta-banner {
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 4.5rem 0 2rem;
  border-color: rgba(187, 134, 252, 0.3);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

html.light-mode .seo-cta-banner {
  border-color: rgba(225, 48, 108, 0.25);
  box-shadow: 0 12px 36px rgba(225, 48, 108, 0.08);
}

/* ==========================================================================
   8. Platform Use Cases & Bento Grid Showcase
   ========================================================================== */

/* Bento Grid Showcase for Generated Ads */
.uc-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

@media (min-width: 640px) {
  .uc-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .uc-bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
  }
}

.uc-bento-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.08));
  background: var(--card-bg-dark, #2a2a2a);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

html.light-mode .uc-bento-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.uc-bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-color-dark, #bb86fc);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

html.light-mode .uc-bento-card:hover {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 16px 36px rgba(225, 48, 108, 0.12);
}

/* Bento Column Spans */
@media (min-width: 992px) {
  .uc-bento-span-12 {
    grid-column: span 12;
  }
  .uc-bento-span-8 {
    grid-column: span 8;
  }
  .uc-bento-span-7 {
    grid-column: span 7;
  }
  .uc-bento-span-6 {
    grid-column: span 6;
  }
  .uc-bento-span-5 {
    grid-column: span 5;
  }
  .uc-bento-span-4 {
    grid-column: span 4;
  }
}

.uc-bento-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
  background: #151515;
  display: flex;
}

@media (min-width: 992px) {
  .uc-bento-span-7 .uc-bento-media {
    min-height: 420px;
    aspect-ratio: 16 / 10;
  }
  .uc-bento-span-5 .uc-bento-media {
    min-height: 420px;
    aspect-ratio: 1 / 1;
  }
  .uc-bento-span-4 .uc-bento-media {
    min-height: 340px;
    aspect-ratio: 1 / 1;
  }
  .uc-bento-span-6 .uc-bento-media {
    min-height: 380px;
    aspect-ratio: 16 / 10;
  }
  .uc-bento-span-12 .uc-bento-media {
    min-height: 440px;
    aspect-ratio: 21 / 9;
  }
}

.uc-bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.uc-bento-card:hover .uc-bento-media img {
  transform: scale(1.04);
}

/* 3-Step How It Works Grid */
.uc-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.uc-step-card {
  padding: 2.25rem 1.75rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  background: var(--card-bg-dark, #2a2a2a);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

html.light-mode .uc-step-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.uc-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(187, 134, 252, 0.4);
}

html.light-mode .uc-step-card:hover {
  border-color: rgba(225, 48, 108, 0.3);
}

.uc-step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(187, 134, 252, 0.12);
  color: var(--brand-color-dark, #bb86fc);
}

html.light-mode .uc-step-icon {
  background: rgba(225, 48, 108, 0.1);
  color: var(--brand-color-light, #E1306C);
}

/* Platform Navigator Scroll Track */
.uc-platforms-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.uc-platform-pill-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
  background: var(--card-bg-dark, #2a2a2a);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

html.light-mode .uc-platform-pill-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.uc-platform-pill-card:hover,
.uc-platform-pill-card.is-current {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--brand-color-dark, #bb86fc);
  box-shadow: 0 8px 24px rgba(187, 134, 252, 0.15);
}

html.light-mode .uc-platform-pill-card:hover,
html.light-mode .uc-platform-pill-card.is-current {
  border-color: var(--brand-color-light, #E1306C);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.12);
}

.uc-platform-icon-bubble {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
}

html.light-mode .uc-platform-icon-bubble {
  background: #f1f5f9;
}

/* ==========================================================================
   9. Accessibility & Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .comp-matrix-card {
    padding: 1.5rem 1rem;
  }
  .comp-feature-title {
    font-size: 0.875rem;
  }
  .comp-table td, .comp-table th {
    padding: 0.95rem 0.35rem;
  }
  .comp-status-icon {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
  .ads-showcase-stage {
    padding: 1.75rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-card,
  .seo-btn-cta,
  .niche-bento-card,
  .seo-post-card,
  .seo-copy-btn,
  .story-testimonial-card,
  .ads-pill-btn,
  .ads-visual-img,
  .uc-bento-card,
  .uc-bento-media img,
  .uc-step-card,
  .uc-platform-pill-card {
    transition: opacity 0.15s ease !important;
    transform: none !important;
    animation: none !important;
  }
}
