/* ═══════════════════════════════════════════════════════
   seo-sections.css
   Tambahkan @import atau <link> ini di header.php,
   SETELAH style.css utama.
   ═══════════════════════════════════════════════════════ */

/* ── Shared Container ───────────────────────────────── */
.seo-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.seo-container--narrow {
  max-width: 820px;
}

/* ── Labels & Headings ──────────────────────────────── */
.seo-section-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}
.seo-h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.seo-h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  margin-bottom: 10px;
}
.seo-section-sub {
  text-align: center;
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}
.seo-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid var(--accent-border);
  margin-bottom: 20px;
}

/* ── Intro Section ──────────────────────────────────── */
.seo-intro {
  background: var(--paper-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.seo-intro .seo-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.seo-intro-text p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.seo-cta-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 2px solid var(--accent-border);
  padding-bottom: 2px;
  transition: border-color 0.15s, color 0.15s;
}
.seo-cta-link:hover { border-color: var(--accent); }

.seo-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s;
}
.stat-card:hover { box-shadow: var(--shadow-sm); }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* ── Features Grid ──────────────────────────────────── */
.seo-features {
  padding: 80px 0;
  background: var(--paper);
}
.seo-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.seo-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.seo-feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.seo-feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
  line-height: 1;
}
.seo-feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.seo-feature-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.7;
}
.seo-feature-card code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--paper-2);
  padding: 1px 5px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── How To Steps ───────────────────────────────────── */
.seo-howto {
  background: var(--paper-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.seo-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: 0 auto;
}
.seo-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.seo-step:last-child { border-bottom: none; }
.seo-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.seo-step-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.seo-step-body p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ── Use Cases ──────────────────────────────────────── */
.seo-usecases {
  padding: 80px 0;
  background: var(--paper);
}
.seo-usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.seo-usecase {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.seo-usecase:hover { box-shadow: var(--shadow); }
.seo-usecase h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}
.seo-usecase p {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* ── FAQ ────────────────────────────────────────────── */
.seo-faq {
  background: var(--paper-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.faq-list { margin-top: 8px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.faq-item p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.75;
}

/* ── Comparison Table ───────────────────────────────── */
.seo-compare {
  padding: 80px 0;
  background: var(--paper);
}
.seo-compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.seo-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: var(--white);
  min-width: 560px;
}
.seo-compare-table thead tr {
  background: var(--paper-2);
  border-bottom: 1px solid var(--border-med);
}
.seo-compare-table th {
  padding: 14px 18px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.seo-compare-table th:first-child { text-align: left; }
.seo-compare-table th.highlight { color: var(--accent); background: var(--accent-light); }
.seo-compare-table td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}
.seo-compare-table td:first-child { text-align: left; font-weight: 500; color: var(--ink); }
.seo-compare-table td.highlight { background: rgba(192,92,40,0.04); font-weight: 600; color: var(--ink); }
.seo-compare-table tbody tr:last-child td { border-bottom: none; }
.seo-compare-table tbody tr:hover td { background: var(--paper-2); }
.seo-compare-table tbody tr:hover td.highlight { background: var(--accent-light); }

/* ── CTA Section ────────────────────────────────────── */
.seo-cta-section {
  background: var(--ink);
  padding: 72px 24px;
}
.seo-cta-inner {
  text-align: center;
}
.seo-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--paper);
  margin-bottom: 14px;
}
.seo-cta-inner p {
  color: rgba(250,248,245,0.65);
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.seo-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 4px 16px rgba(192,92,40,0.35);
}
.seo-cta-btn:hover  { background: var(--accent-dark); }
.seo-cta-btn:active { transform: scale(0.97); }
.seo-cta-note {
  margin-top: 16px !important;
  font-size: 13px !important;
  color: rgba(250,248,245,0.4) !important;
  margin-bottom: 0 !important;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .seo-intro .seo-container { grid-template-columns: 1fr; gap: 40px; }
  .seo-intro-stats          { grid-template-columns: repeat(4, 1fr); }
  .seo-features-grid        { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .seo-intro,
  .seo-features,
  .seo-howto,
  .seo-usecases,
  .seo-faq,
  .seo-compare    { padding: 52px 0; }
  .seo-intro-stats{ grid-template-columns: repeat(2, 1fr); }
  .seo-features-grid { grid-template-columns: 1fr; }
  .seo-usecases-grid { grid-template-columns: 1fr; }
  .seo-step       { gap: 18px; }
  .seo-step-num   { width: 38px; height: 38px; font-size: 16px; }
  .seo-h2         { font-size: 22px; }
  .seo-section-sub{ font-size: 15px; margin-bottom: 32px; }
}

@media (max-width: 480px) {
  .seo-intro-stats { grid-template-columns: 1fr 1fr; }
  .seo-cta-btn     { padding: 13px 28px; font-size: 15px; }
}
