/* ==============================================
   BLOG ARTICLE — Econnect
   ============================================== */

/* ── Article Page Layout ──────────────────────── */
.article-page {
  padding-top: 80px;
}

/* ── Article Header ───────────────────────────── */
.article-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.back-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.back-link:hover { color: var(--purple); }

.article-category {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  background: rgba(93, 63, 255, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 840px;
  margin-bottom: 24px;
}

.article-byline {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot-sep {
  opacity: 0.4;
}

/* ── Article Body Layout ──────────────────────── */
.article-body {
  padding: 72px 0 80px;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Typography ───────────────────────────────── */
.article-content p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 24px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 12px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 28px 0;
  padding-left: 24px;
}

.article-content ul { list-style: none; padding-left: 0; }
.article-content ul li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  padding: 6px 0 6px 28px;
  position: relative;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

.article-content ol li {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  padding: 4px 0;
}

.article-content strong {
  font-weight: 700;
  color: var(--ink);
}

.article-content em {
  font-style: italic;
}

/* ── Blockquote ───────────────────────────────── */
.article-content blockquote {
  margin: 48px 0;
  padding: 32px 40px;
  background: var(--ink);
  border-radius: 16px;
  position: relative;
}

.article-content blockquote p,
.article-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0;
}

.article-content blockquote::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 32px;
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.6;
}

/* ── CTA Box ──────────────────────────────────── */
.article-cta-box {
  margin-top: 72px;
  padding: 48px;
  background: linear-gradient(135deg, rgba(93,63,255,0.06) 0%, rgba(93,63,255,0.02) 100%);
  border: 1px solid rgba(93, 63, 255, 0.15);
  border-radius: 20px;
}

.article-cta-box h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}

.article-cta-box p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray);
  margin: 0 0 28px;
  line-height: 1.6;
}

.article-cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--purple);
  color: var(--paper);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-whatsapp:hover { opacity: 0.88; transform: translateY(-1px); }

/* ── Floating WhatsApp ────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 14px 20px 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  z-index: 900;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}
.wa-float-text { white-space: nowrap; }

/* ── Mobile ───────────────────────────────────── */
@media (max-width: 640px) {
  .article-header { padding: 48px 0 40px; }
  .article-body { padding: 48px 0 60px; }
  .article-content p { font-size: 16px; }
  .article-content ul li,
  .article-content ol li { font-size: 16px; }
  .article-content blockquote { padding: 24px 24px 24px 28px; }
  .article-cta-box { padding: 32px 24px; }
  .article-cta-btns { flex-direction: column; }
  .wa-float-text { display: none; }
  .wa-float { padding: 16px; border-radius: 50%; }
}
