/* =========================================
   THEBRILL DIGITAL — ARTICLE CSS
   ========================================= */

/* Article Hero */
.article-hero {
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.security-bg-hero { background: linear-gradient(150deg, #1a0a0a, #3b0c0c, #1e3a5f); }
.ai-bg-hero { background: linear-gradient(150deg, #0a0a1a, #1a0a3b, #0d1f4a); }
.marketing-bg-hero { background: linear-gradient(150deg, #0a1a0a, #0c3b1a, #0d3b2a); }
.automation-bg-hero { background: linear-gradient(150deg, #1a1400, #3b2f00, #1e3a5f); }
.webdev-bg-hero { background: linear-gradient(150deg, #0a141e, #0c2a3b, #0d1f4a); }
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.article-hero-content { position: relative; z-index: 1; max-width: 820px; }
.article-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}
.article-breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.article-breadcrumb a:hover { color: white; }
.article-breadcrumb i { font-size: 0.65rem; }
.article-cat-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.article-cat-badge.security { background: rgba(239,68,68,0.2); color: #fca5a5; }
.article-cat-badge.ai { background: rgba(139,92,246,0.2); color: #c4b5fd; }
.article-cat-badge.marketing { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.article-cat-badge.automation { background: rgba(14,165,233,0.2); color: #7dd3fc; }
.article-cat-badge.webdev { background: rgba(0,194,212,0.2); color: #67e8f9; }
.article-cat-badge.automation { background: rgba(14,165,233,0.2); color: #7dd3fc; }
.article-hero h1 {
  color: white; font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem; line-height: 1.2;
}
.article-subtitle { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; }
.article-meta {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.article-author { display: flex; align-items: center; gap: 0.875rem; }
.author-avatar {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: white;
}
.author-name { display: block; font-weight: 600; color: white; font-size: 0.9rem; }
.author-role { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.article-details { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.article-details span { font-size: 0.82rem; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 0.4rem; }

/* Article Body */
.article-body-section { padding: 4rem 0 5rem; background: var(--gray-50); }
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
.article-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.article-intro-box {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--blue-50);
  border-left: 4px solid var(--blue-400);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.article-intro-box > i { font-size: 1.5rem; color: var(--blue-400); flex-shrink: 0; margin-top: 0.2rem; }
.article-intro-box p { margin: 0; color: var(--blue-800); font-size: 0.95rem; }
.article-content p { margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.8; color: var(--gray-700); }
.article-content h2 {
  font-size: 1.5rem; color: var(--gray-900);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
}
.article-content h3 { font-size: 1.15rem; margin: 1.75rem 0 0.75rem; }
.article-fix-box {
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.25rem 0 2rem;
}
.article-fix-box h4 {
  display: flex; align-items: center; gap: 0.6rem;
  color: #065f46; margin-bottom: 0.75rem; font-size: 0.95rem;
}
.article-fix-box h4 i { color: var(--green); }
.article-fix-box p { margin: 0; font-size: 0.9rem; color: #065f46; }
.article-cta-box {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
  color: white;
}
.article-cta-box h3 { color: white; margin-bottom: 0.75rem; }
.article-cta-box p { color: rgba(255,255,255,0.8); margin: 0; }
.article-share {
  display: flex; align-items: center; gap: 0.875rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.article-share > span { font-weight: 600; font-size: 0.9rem; color: var(--gray-700); }
.share-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem; font-weight: 600;
  color: white; transition: all var(--transition);
}
.share-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.twitter { background: #000; }
.share-btn.facebook { background: #1877f2; }

/* Sidebar */
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}
.sidebar-card h4 {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; margin-bottom: 0.875rem; color: var(--gray-900);
}
.sidebar-card h4 i { color: var(--blue-400); }
.sidebar-card p { font-size: 0.875rem; margin-bottom: 0; }
.newsletter-sidebar { background: linear-gradient(135deg, var(--blue-50), white); border-color: var(--blue-200); }
.sidebar-newsletter { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.sidebar-newsletter input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem; outline: none;
  transition: border-color var(--transition);
}
.sidebar-newsletter input:focus { border-color: var(--blue-400); }
.related-links { display: flex; flex-direction: column; gap: 0.75rem; }
.related-links a {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.875rem; color: var(--blue-600);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition);
}
.related-links a:hover { color: var(--blue-800); }
.related-links a i { color: var(--blue-400); width: 16px; }

/* Founder Desk Section */
.founder-desk { padding: 5rem 0; background: var(--gray-50); }
.founder-desk-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}
.founder-desk-profile {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  position: sticky;
  top: 100px;
}
.founder-desk-avatar {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--blue-400);
  margin: 0 auto 1rem;
}
.founder-desk-profile h3 { margin-bottom: 0.35rem; }
.founder-desk-profile p { font-size: 0.85rem; margin-bottom: 1.25rem; }
.founder-desk-social { display: flex; justify-content: center; gap: 0.75rem; }
.founder-desk-social a {
  width: 36px; height: 36px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); font-size: 0.9rem;
  transition: all var(--transition);
}
.founder-desk-social a:hover { background: var(--blue-500); color: white; }
.founder-posts { display: flex; flex-direction: column; gap: 1.5rem; }
.founder-post {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.founder-post:hover { box-shadow: var(--shadow); border-color: var(--blue-200); }
.founder-post-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.founder-post-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.founder-post-icon.security { background: rgba(239,68,68,0.1); color: var(--red); }
.founder-post-icon.ai { background: rgba(139,92,246,0.1); color: var(--purple); }
.founder-post-icon.marketing { background: rgba(16,185,129,0.1); color: var(--green); }
.founder-post-icon.business { background: rgba(14,165,233,0.1); color: var(--accent); }
.founder-post-meta { flex: 1; }
.founder-post-cat { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.founder-post-cat.security { color: var(--red); }
.founder-post-cat.ai { color: var(--purple); }
.founder-post-cat.marketing { color: var(--green); }
.founder-post-cat.business { color: var(--accent); }
.founder-post-date { font-size: 0.78rem; color: var(--gray-400); }
.founder-post h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.founder-post p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.founder-post-link { font-size: 0.875rem; font-weight: 600; color: var(--blue-500); display: flex; align-items: center; gap: 0.4rem; }

/* Resources Page */
.resources-hero { padding: 8rem 0 4rem; background: linear-gradient(150deg, var(--blue-900), var(--blue-700)); text-align: center; }
.resources-hero h1 { color: white; margin-bottom: 1rem; }
.resources-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }
.resources-main { padding: 5rem 0; }
.resources-intro { text-align: center; max-width: 660px; margin: 0 auto 3.5rem; }
.resources-intro h2 { margin-bottom: 1rem; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}
.download-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.download-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.download-card-header {
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.download-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.25rem;
}
.download-icon.security { background: rgba(239,68,68,0.1); color: var(--red); }
.download-icon.ai { background: rgba(139,92,246,0.1); color: var(--purple); }
.download-icon.marketing { background: rgba(16,185,129,0.1); color: var(--green); }
.download-icon.leads { background: rgba(14,165,233,0.1); color: var(--accent); }
.download-icon.vuln { background: rgba(249,115,22,0.1); color: var(--orange); }
.download-format {
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.2rem 0.625rem;
  background: var(--gray-100); color: var(--gray-500);
  border-radius: 999px; margin-bottom: 1rem;
}
.download-card-header h3 { font-size: 1.05rem; margin-bottom: 0.625rem; }
.download-card-header p { font-size: 0.85rem; }
.download-card-body {
  padding: 0 2rem 2rem;
  border-top: 1px solid var(--gray-100);
  padding-top: 1.5rem;
}
.download-includes { margin-bottom: 1.5rem; }
.download-includes h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin-bottom: 0.75rem; }
.download-includes li {
  font-size: 0.83rem; color: var(--gray-600);
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0;
}
.download-includes li i { color: var(--green); font-size: 0.72rem; }
.download-form { display: flex; flex-direction: column; gap: 0.75rem; }
.download-form input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.875rem; outline: none;
  transition: border-color var(--transition);
}
.download-form input:focus { border-color: var(--blue-400); }
.download-form button { width: 100%; justify-content: center; }

/* Responsive */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .founder-desk-grid { grid-template-columns: 1fr; }
  .founder-desk-profile { position: static; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .article-content { padding: 2rem 1.5rem; }
  .download-grid { grid-template-columns: 1fr; }
  .article-meta { flex-direction: column; align-items: flex-start; }
}
