/* ---------- Research Page Specific ---------- */

.research-hero {
  padding: 160px 0 60px;
  position: relative;
  z-index: 10;
}
.research-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -1px;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-muted); max-width: 650px;
  margin: 0 auto; line-height: 1.6;
}

/* Background Radar Effect */
.research-bg-radar {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1; pointer-events: none; overflow: hidden;
  background: 
    linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.radar-sweep {
  position: absolute; top: 50%; left: 50%;
  width: 1200px; height: 1200px; margin: -600px 0 0 -600px;
  background: conic-gradient(from 0deg, transparent 70%, rgba(0,229,255,0.08) 100%);
  border-radius: 50%; transform-origin: center;
  animation: radarSpin 10s linear infinite;
}

@keyframes radarSpin { 100% { transform: rotate(360deg); } }

/* Toolbar */
.intel-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding: 12px 24px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--stroke);
  border-radius: 12px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.intel-status { display: flex; align-items: center; gap: 8px; font-family: monospace; font-size: 0.9rem; color: var(--accent3); }
.intel-filters { font-size: 0.9rem; color: var(--text-muted); cursor: pointer; }
.pulse { animation: pulseOpacity 2s infinite; }
@keyframes pulseOpacity { 0%, 100% { opacity: 0.4; box-shadow: 0 0 0 var(--accent3); } 50% { opacity: 1; box-shadow: 0 0 10px var(--accent3); } }

/* Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; margin-bottom: 60px;
}

/* Intel Card */
.article-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--bg-card); border: 1px solid var(--stroke); border-radius: 16px;
  overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,229,255,0.1);
}
.article-card--premium { border-color: rgba(255, 165, 2, 0.2); background: linear-gradient(180deg, rgba(8, 12, 20, 0.5), rgba(8, 12, 20, 0.8)), rgba(255, 165, 2, 0.03); }
.article-card--premium:hover {
  border-color: rgba(255, 165, 2, 0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,165,2,0.15);
}

.article-card-inner { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.article-card-title { font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.4; color: #fff; }
.article-card-summary { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 24px; flex: 1; }

.article-card-footer { border-top: 1px dashed rgba(255,255,255,0.1); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.article-card-meta { display: flex; gap: 12px; font-family: monospace; font-size: 0.8rem; color: var(--text-muted); }

/* Tags & Badges */
.premium-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; background: rgba(255,165,2,0.15); border: 1px solid rgba(255,165,2,0.3); color: var(--warning);
}
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tag {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; font-family: monospace;
  background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.25); color: var(--accent2);
}

/* Full Article */
.back-btn { margin-bottom: 24px; }
.article-full { padding: 48px; border-radius: 20px; border-top-width: 4px; border-top-color: var(--accent1); }
.article-full h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; margin: 0 0 20px; line-height: 1.2; letter-spacing: -0.5px; }

.article-meta {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
  padding: 16px; background: rgba(0,0,0,0.2); border-radius: 8px; border: 1px dashed rgba(255,255,255,0.1);
  color: var(--text-muted); font-family: monospace; font-size: 0.9rem;
}
.meta-item { display: flex; align-items: center; gap: 8px; }
.meta-item strong { color: #fff; }

.article-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.article-content h2 { font-size: 1.6rem; font-weight: 800; margin: 40px 0 16px; color: #fff; }
.article-content h3 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 12px; }
.article-content p { margin: 0 0 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content a { color: var(--accent2); text-decoration: none; border-bottom: 1px dotted var(--accent2); transition: all 0.2s; }
.article-content a:hover { border-bottom-style: solid; color: #fff; }

.article-content pre {
  background: rgba(0,0,0,0.3); border: 1px solid var(--stroke); border-radius: 12px;
  padding: 20px; overflow-x: auto; margin: 0 0 24px; font-family: monospace; font-size: 0.9rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.article-content code { background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; font-family: monospace; color: var(--accent3); }
.article-content pre code { background: none; padding: 0; color: inherit; }

.article-content blockquote {
  border-left: 4px solid var(--accent1); margin: 0 0 24px; padding: 16px 24px;
  background: rgba(124,108,255,0.05); border-radius: 0 12px 12px 0; color: var(--text-muted); font-style: italic;
}
.article-content img { max-width: 100%; border-radius: 12px; border: 1px solid var(--stroke); margin-bottom: 24px; }

/* Empty / CTA */
.empty-icon { font-size: 40px; color: var(--stroke); margin-bottom: 16px; }
.premium-cta { margin-bottom: 40px; }
.premium-cta-inner { text-align: center; border-color: rgba(124,108,255,0.3); background: linear-gradient(180deg, rgba(8,12,20,0.5), rgba(8,12,20,0.8)), rgba(124,108,255,0.05); }
.premium-cta-inner .card-icon { margin-left: auto; margin-right: auto; }
.premium-cta-inner h2 { font-size: 1.8rem; margin-bottom: 16px; color: #fff; }
.premium-cta-inner p { margin-bottom: 32px; font-size: 1.1rem; }

@media (max-width: 768px) {
  .article-full { padding: 24px; }
  .article-card-inner { padding: 20px; }
}
