/* The PDF Editor's marketing pages (/pdf-editor/, /pdf-editor/pricing/, /pdf-editor/download/), loaded via
   ViewData["ExtraCss"] = "editor". Only spdf-ed-* classes live here; the hero, blocks, kickers, display headings,
   buttons and FAQ are the shared ones from the core layers. Product screenshots instead of code panels. */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.spdf-ed-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.spdf-ed-hero-note { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--spdf-text-dim); max-width: 720px; }
.spdf-ed-offer {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding: 8px 14px; border-radius: 999px;
  background: var(--spdf-chip); color: var(--spdf-chip-text); font-size: 14px; line-height: 1.4;
}
.spdf-ed-offer strong { font-weight: 600; }
.spdf-ed-hero-visual { position: relative; margin: 48px auto 0; max-width: 1180px; padding-right: 12%; }
.spdf-ed-hero-desktop { display: block; width: 100%; height: auto; }
.spdf-ed-hero-phone {
  position: absolute; right: 0; bottom: -24px; width: 21%; height: auto;
  border-radius: 9% / 4.2%; border: 6px solid #1B1B1D; background: #1B1B1D;
  box-shadow: 0 24px 48px rgba(31, 20, 10, 0.28);
}
@media (max-width: 720px) {
  .spdf-ed-hero-visual { padding-right: 0; margin-top: 32px; }
  .spdf-ed-hero-phone { width: 28%; bottom: -16px; border-width: 4px; }
  .spdf-ed-hero-actions .spdf-btn { flex: 1 1 100%; justify-content: center; }
}

/* ── Checklist (the free version) ──────────────────────────────────────── */
.spdf-ed-lead { margin: 0 0 32px; max-width: 760px; font-size: 18px; line-height: 1.6; color: var(--spdf-text-dim); }
.spdf-ed-checks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px;
}
.spdf-ed-checks li {
  position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--spdf-line);
  font-size: 16px; line-height: 1.5; color: var(--spdf-text);
}
.spdf-ed-checks li::before { content: "✓"; position: absolute; left: 4px; top: 14px; color: var(--spdf-accent); font-weight: 700; }
@media (max-width: 860px) { .spdf-ed-checks { grid-template-columns: 1fr; } }

/* ── Feature rows: text beside a screenshot, alternating sides ─────────── */
.spdf-ed-feature {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center;
  padding: 40px 0; border-top: 1px solid var(--spdf-line);
}
.spdf-ed-feature:first-of-type { border-top: 0; padding-top: 8px; }
.spdf-ed-feature.is-flip > .spdf-ed-feature-text { order: 2; }
.spdf-ed-feature .spdf-feat-title { font-size: 30px; margin: 10px 0 0; }
.spdf-ed-feature-text p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; color: var(--spdf-text-dim); }
.spdf-ed-feature-shot { margin: 0; }
.spdf-ed-feature-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 980px) {
  .spdf-ed-feature { grid-template-columns: 1fr; gap: 24px; }
  .spdf-ed-feature.is-flip > .spdf-ed-feature-text { order: 0; }
}

/* More Pro tools: plain text cells, no card background (the section is tinted) */
.spdf-ed-more {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 24px;
}
.spdf-ed-more-item { padding: 24px 0; border-top: 1px solid var(--spdf-line); }
.spdf-ed-more-item h3 { margin: 0; font-size: 20px; }
.spdf-ed-more-item p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--spdf-text-dim); }
@media (max-width: 860px) { .spdf-ed-more { grid-template-columns: 1fr; } }
.spdf-ed-link-line { margin: 32px 0 0; font-size: 16px; }

/* ── Cards: platforms, plans, downloads ────────────────────────────────── */
.spdf-ed-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.spdf-ed-cards.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.spdf-ed-card {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 28px 26px; border: 1px solid var(--spdf-line); border-radius: 14px; background: var(--spdf-panel);
}
.spdf-ed-card.is-featured { border-color: var(--spdf-accent); box-shadow: 0 0 0 1px var(--spdf-accent); }
.spdf-ed-card-tag { font-family: var(--spdf-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spdf-accent); }
.spdf-ed-card h3 { margin: 0; }
.spdf-ed-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 4px 0 0; }
.spdf-ed-price-n {
  font-family: var(--spdf-font-display); font-weight: var(--spdf-display-weight); letter-spacing: var(--spdf-display-letter);
  font-size: 44px; line-height: 1; color: var(--spdf-text);
}
.spdf-ed-price-u { font-size: 14px; color: var(--spdf-text-dim); }
.spdf-ed-price-was { font-size: 15px; color: var(--spdf-text-mute); text-decoration: line-through; }
.spdf-ed-card-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--spdf-text-dim); }
.spdf-ed-card-list { list-style: none; margin: 4px 0 0; padding: 0; font-size: 14.5px; line-height: 1.5; color: var(--spdf-text); }
.spdf-ed-card-list li { position: relative; padding: 6px 0 6px 22px; }
.spdf-ed-card-list li::before { content: "✓"; position: absolute; left: 0; color: var(--spdf-accent); font-weight: 700; }
.spdf-ed-card-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.spdf-ed-card-foot .spdf-btn { justify-content: center; }
.spdf-ed-card-file { font-family: var(--spdf-font-mono); font-size: 12px; color: var(--spdf-text-mute); overflow-wrap: anywhere; }
.spdf-ed-soon { font-size: 14px; color: var(--spdf-text-mute); text-align: center; padding: 12px 0; border: 1px dashed var(--spdf-line-strong); border-radius: 10px; }
.spdf-ed-note { margin: 24px 0 0; font-size: 15px; line-height: 1.6; color: var(--spdf-text-dim); max-width: 880px; }
@media (max-width: 1200px) { .spdf-ed-cards.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .spdf-ed-cards, .spdf-ed-cards.cols-4 { grid-template-columns: 1fr; } }

/* ── Comparison table (Free and Pro) and requirements table ────────────── */
.spdf-ed-table-wrap { overflow-x: auto; border: 1px solid var(--spdf-line); border-radius: 14px; background: var(--spdf-panel); }
.spdf-ed-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.spdf-ed-table th, .spdf-ed-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--spdf-line); vertical-align: top; }
.spdf-ed-table tr:last-child td { border-bottom: 0; }
.spdf-ed-table thead th {
  font-family: var(--spdf-font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--spdf-text-dim); font-weight: 600; background: var(--spdf-surface);
}
.spdf-ed-table .is-c { text-align: center; width: 110px; }
.spdf-ed-table .is-yes { color: var(--spdf-accent); font-weight: 700; }
.spdf-ed-table .is-no { color: var(--spdf-text-mute); }
.spdf-ed-table tbody th { font-weight: 600; color: var(--spdf-text); width: 200px; }
/* requirements: three equal platform columns after the row labels */
.spdf-ed-table.is-grid { table-layout: fixed; min-width: 640px; }
.spdf-ed-table.is-grid thead th:first-child { width: 160px; }
@media (max-width: 560px) {
  .spdf-ed-table th, .spdf-ed-table td { padding: 10px 12px; font-size: 14px; }
  .spdf-ed-table .is-c { width: 64px; }
  .spdf-ed-table tbody th { width: auto; }
}

/* ── Steps (after installing) ──────────────────────────────────────────── */
.spdf-ed-steps { list-style: none; margin: 0; padding: 0; counter-reset: ed-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.spdf-ed-steps li { counter-increment: ed-step; padding: 24px; border: 1px solid var(--spdf-line); border-radius: 14px; background: var(--spdf-panel); }
.spdf-ed-steps li::before {
  content: counter(ed-step); display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--spdf-accent); color: var(--spdf-accent-ink);
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.spdf-ed-steps h3 { margin: 0; font-size: 20px; }
.spdf-ed-steps p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--spdf-text-dim); }
@media (max-width: 980px) { .spdf-ed-steps { grid-template-columns: 1fr; } }
