/* ═══════════════════════════════════════════════
   seo-page.css — Common SEO landing page styles
   Used by: templates/marketing/*.html (26 pages)
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.seo-hero {
  padding-top: 8rem;
  padding-bottom: 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.seo-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background: radial-gradient(ellipse at 50% 20%, #f8f9fc, transparent 65%);
  opacity: .45;
  pointer-events: none;
}
.seo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 84, 166, 0.08), transparent 26%),
    radial-gradient(circle at 20% 8%, rgba(15, 23, 42, 0.05), transparent 24%);
  pointer-events: none;
}
.seo-hero > * { position: relative; z-index: 1; }
.seo-hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  letter-spacing: -0.038em;
  line-height: 1.06;
  color: var(--at-slate);
  margin: 0 0 1.25rem;
}
.seo-hero-title em {
  font-style: normal;
  color: var(--at-navy);
  font-weight: 600;
}
.seo-hero-sub {
  font-size: 1.125rem;
  color: var(--at-muted);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.seo-hero-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Shared SEO components ── */
.problem-visual {
  display: grid;
  gap: 1rem;
}
.problem-card,
.inbox-sim,
.reply-sim {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 44px rgba(15, 23, 42, 0.08);
}
.problem-card {
  border-radius: 24px;
  padding: 1.1rem;
}
.problem-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  margin-bottom: .4rem;
}
.problem-card-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.problem-card-label.before {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}
.problem-card-label.after {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}
.problem-card-body {
  display: flex;
  flex-direction: column;
}
.problem-card-row {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  padding: .95rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.problem-card-row:first-child {
  border-top: none;
}
.problem-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.problem-card-icon svg {
  width: 18px;
  height: 18px;
}
.problem-card-icon.as {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}
.problem-card-icon.gp {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}
.problem-card-icon.at {
  background: rgba(0, 84, 166, 0.1);
  color: var(--at-navy);
}
.problem-card-text {
  min-width: 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--at-slate);
  letter-spacing: -0.01em;
}
.problem-card-text small {
  display: block;
  margin-top: .2rem;
  font-size: .75rem;
  font-weight: 400;
  color: var(--at-muted);
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.inbox-sim {
  border-radius: 24px;
  padding: 1rem;
}
.inbox-sim-header,
.inbox-sim-item-head,
.reply-sim-header,
.reply-sim-meta,
.reply-sim-footer {
  display: flex;
  align-items: center;
}
.inbox-sim-header,
.inbox-sim-item-head,
.reply-sim-header,
.reply-sim-footer {
  justify-content: space-between;
}
.inbox-sim-title,
.reply-sim-title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--at-slate);
  letter-spacing: -0.02em;
}
.inbox-sim-title svg {
  width: 16px;
  height: 16px;
  color: var(--at-navy);
}
.inbox-sim-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(0, 84, 166, 0.1);
  color: var(--at-navy);
}
.inbox-sim-badge.mixed {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.12), rgba(22, 163, 74, 0.12));
  color: var(--at-slate);
}
.inbox-sim-item,
.reply-sim-review,
.reply-sim-compose {
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.inbox-sim-item {
  padding: .95rem 1rem;
  margin-top: .7rem;
}
.inbox-sim-app {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--at-slate);
  letter-spacing: -0.01em;
}
.inbox-sim-platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .2rem .45rem;
  border-radius: 999px;
  font-size: .625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.platform-as {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
}
.platform-gp {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}
.inbox-sim-stars {
  flex-shrink: 0;
  font-size: .75rem;
  letter-spacing: .03em;
}
.inbox-sim-stars .on {
  color: #d97706;
}
.inbox-sim-stars .off {
  color: #cbd5e1;
}
.inbox-sim-text {
  margin: .45rem 0 0;
  font-size: .875rem;
  line-height: 1.65;
  color: var(--at-slate);
  letter-spacing: -0.005em;
}
.inbox-sim-time,
.reply-sim-chars {
  display: inline-flex;
  margin-top: .45rem;
  font-size: .75rem;
  color: var(--at-muted);
  letter-spacing: -0.01em;
}
.cp-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cp-feature-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .5rem 0;
  color: var(--at-slate);
  font-size: .9375rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.cp-feature-list li svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: .15rem;
}
.reply-sim {
  border-radius: 24px;
  padding: 1rem;
}
.reply-sim-review,
.reply-sim-compose {
  padding: 1rem;
}
.reply-sim-review {
  margin-top: .8rem;
}
.reply-sim-compose {
  margin-top: .75rem;
}
.reply-sim-meta {
  gap: .5rem;
  flex-wrap: wrap;
}
.reply-sim-reviewer {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--at-slate);
  letter-spacing: -0.01em;
}
.reply-sim-review-text,
.reply-sim-textarea {
  margin: .6rem 0 0;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--at-slate);
  letter-spacing: -0.005em;
}
.reply-sim-compose-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--at-muted);
}
.reply-sim-textarea {
  min-height: 96px;
  padding: .95rem 1rem;
  border-radius: 14px;
  background: rgba(248,250,252,0.95);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.reply-sim-footer {
  gap: .75rem;
  margin-top: .8rem;
}
.reply-sim-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: var(--at-slate);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.reply-sim-btn svg {
  flex-shrink: 0;
}

/* ── Comparison table ── */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--at-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  margin-top: 2rem;
}
.compare-table th,
.compare-table td {
  padding: .875rem 1.25rem;
  font-size: .9375rem;
  letter-spacing: -0.005em;
  text-align: left;
  border-bottom: 1px solid var(--at-border);
}
.compare-table thead th {
  background: var(--at-surface);
  font-weight: 600;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--at-muted);
}
.compare-table thead th:first-child {
  color: var(--at-slate);
}
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table tbody td:first-child {
  font-weight: 500;
  color: var(--at-slate);
}
.compare-table tbody td:nth-child(2) {
  color: var(--at-navy);
  font-weight: 500;
}
.compare-table tbody td:nth-child(3) {
  color: var(--at-muted);
}
.compare-table .check-yes {
  color: #16a34a;
}
.compare-table .check-no {
  color: var(--at-muted);
  opacity: .5;
}

/* ── Feature list (green checks) ── */
.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.feature-check-list li {
  padding: .4rem 0 .4rem 26px;
  position: relative;
  color: var(--at-slate);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.6;
}
.feature-check-list li svg {
  color: #16a34a;
  position: absolute;
  left: 0;
  top: .6rem;
  width: 18px;
  height: 18px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .seo-hero { padding-top: 6.5rem; }
  .problem-card,
  .inbox-sim,
  .reply-sim {
    border-radius: 20px;
  }
  .problem-card,
  .inbox-sim,
  .reply-sim,
  .reply-sim-review,
  .reply-sim-compose {
    padding-left: .9rem;
    padding-right: .9rem;
  }
  .problem-card-header,
  .inbox-sim-item-head,
  .reply-sim-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .compare-table th,
  .compare-table td { padding: .625rem .75rem; font-size: .8125rem; }
}
