/* Article 1: ClickFunnels vs GoHighLevel 2026 — CSS prefix: cf- */
/* Mobile-first design */

.cf-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a2e;
  line-height: 1.75;
  font-size: 17px;
}

.cf-article h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 20px 0;
  font-weight: 800;
}

.cf-article h2 {
  font-size: 1.4rem;
  color: #0f172a;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
  font-weight: 700;
}

.cf-article h3 {
  font-size: 1.15rem;
  color: #1e293b;
  margin: 28px 0 12px 0;
  font-weight: 700;
}

.cf-article p {
  margin: 0 0 16px 0;
}

.cf-article a {
  color: #2563eb;
  text-decoration: underline;
}

.cf-article a:hover {
  color: #1d4ed8;
}

/* Verdict Box */
.cf-verdict {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.cf-verdict h2 {
  color: #fff;
  border: none;
  margin: 0 0 12px 0;
  font-size: 1.25rem;
}

.cf-verdict p {
  color: #cbd5e1;
  margin: 0 0 10px 0;
}

.cf-verdict strong {
  color: #38bdf8;
}

/* Quick Picks Table */
.cf-picks {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.cf-pick-card {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.cf-pick-card:hover {
  border-color: #2563eb;
}

.cf-pick-card.cf-recommended {
  border-color: #22c55e;
  position: relative;
}

.cf-badge {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cf-pick-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin: 8px 0 4px 0;
}

.cf-pick-best {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 8px;
}

.cf-pick-price {
  font-size: 1rem;
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 12px;
}

.cf-pick-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.cf-pick-score span {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 400;
}

.cf-btn {
  display: inline-block;
  background: #2563eb;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 12px;
  transition: background 0.2s;
}

.cf-btn:hover {
  background: #1d4ed8;
}

.cf-btn-green {
  background: #22c55e;
}

.cf-btn-green:hover {
  background: #16a34a;
}

/* Comparison Table */
.cf-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.cf-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
  font-size: 0.9rem;
}

.cf-table thead {
  background: #0f172a;
  color: #fff;
}

.cf-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.cf-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.cf-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.cf-table tbody tr:hover {
  background: #eff6ff;
}

/* Pros/Cons */
.cf-proscons {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.cf-pros, .cf-cons {
  border-radius: 10px;
  padding: 20px;
}

.cf-pros {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.cf-cons {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.cf-pros strong, .cf-cons strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.cf-pros ul, .cf-cons ul {
  margin: 0;
  padding-left: 20px;
}

.cf-pros li, .cf-cons li {
  margin-bottom: 6px;
}

/* Callout Boxes */
.cf-callout {
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}

.cf-callout.cf-tip {
  background: #eff6ff;
  border-left: 4px solid #2563eb;
}

.cf-callout.cf-warn {
  background: #fefce8;
  border-left: 4px solid #eab308;
}

.cf-callout.cf-info {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
}

.cf-callout strong {
  display: block;
  margin-bottom: 6px;
}

/* Score Bars */
.cf-score-section {
  margin: 24px 0;
}

.cf-score-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.cf-score-label {
  flex: 0 0 120px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #334155;
}

.cf-score-bar {
  flex: 1;
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
}

.cf-score-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.5s ease;
}

.cf-score-fill.cf-blue {
  background: #2563eb;
}

.cf-score-fill.cf-green {
  background: #22c55e;
}

.cf-score-value {
  flex: 0 0 40px;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: right;
  color: #0f172a;
}

/* FAQ Section */
.cf-faq {
  margin: 32px 0;
}

.cf-faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 0;
}

.cf-faq-q {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.cf-faq-a {
  color: #475569;
  line-height: 1.7;
}

/* CTA Final */
.cf-cta-final {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
}

.cf-cta-final h2 {
  color: #fff;
  border: none;
  margin: 0 0 12px 0;
}

.cf-cta-final p {
  color: #cbd5e1;
  margin: 0 0 20px 0;
}

.cf-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Methodology */
.cf-methodology {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  margin: 32px 0;
}

.cf-methodology h2 {
  border: none;
  margin-top: 0;
}

/* Disclosure */
.cf-disclosure {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #64748b;
  margin: 16px 0 24px 0;
}

/* Desktop */
@media (min-width: 768px) {
  .cf-article {
    padding: 0 24px;
  }

  .cf-article h1 {
    font-size: 2.25rem;
  }

  .cf-article h2 {
    font-size: 1.6rem;
  }

  .cf-picks {
    grid-template-columns: 1fr 1fr;
  }

  .cf-proscons {
    grid-template-columns: 1fr 1fr;
  }

  .cf-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .cf-score-label {
    flex: 0 0 160px;
  }
}
