/* ============================================
   DunCrew Landing Page - Explore Page Styles
   Specific to explore.html (一起看看)
   ============================================ */

/* ---- Article Hero ---- */
.article-hero{
  position:relative;padding:8rem 0 4rem;background:var(--bg-secondary);overflow:hidden;
}
.article-hero::before{content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 50% at 50% 0%,rgba(94,186,174,0.06) 0%,transparent 70%)}
.article-hero .container{position:relative;z-index:2}
.article-meta{display:flex;align-items:center;gap:1.5rem;font-size:.8rem;color:var(--text-muted);margin-top:1rem;flex-wrap:wrap}
.article-meta span{display:flex;align-items:center;gap:5px}
.article-meta-dot{width:4px;height:4px;border-radius:50%;background:var(--text-muted);opacity:.5}

/* ---- Article Layout ---- */
.article-layout{
  display:grid;grid-template-columns:200px 1fr;gap:3rem;
  padding:4rem 0;max-width:1120px;margin:0 auto;padding-left:1.5rem;padding-right:1.5rem;
}
.article-main{max-width:720px}

/* ---- Table of Contents (sidebar) ---- */
.article-toc{position:sticky;top:5rem;align-self:start}
.toc-title{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;
  letter-spacing:.08em;font-weight:600;margin-bottom:.75rem}
.toc-list{list-style:none;border-left:2px solid var(--border-subtle)}
.toc-list li{margin-bottom:.25rem}
.toc-list a{display:block;padding:.35rem 0 .35rem 1rem;font-size:.8rem;color:var(--text-muted);
  text-decoration:none;transition:all .2s var(--ease);border-left:2px solid transparent;margin-left:-2px}
.toc-list a:hover{color:var(--text-primary);border-left-color:var(--teal)}
.toc-list a.active{color:var(--teal);border-left-color:var(--teal);font-weight:600}

/* ---- Article Typography ---- */
.article-section{margin-bottom:3.5rem}
.article-section h2{
  font-size:1.5rem;font-weight:700;letter-spacing:-0.02em;margin-bottom:1rem;
  padding-bottom:.5rem;border-bottom:1px solid var(--border-subtle);
}
.article-section h3{font-size:1.125rem;font-weight:600;margin-bottom:.75rem;margin-top:1.5rem}
.article-section p{font-size:.95rem;color:var(--text-secondary);line-height:1.85;margin-bottom:1rem}
.article-section ul,.article-section ol{
  font-size:.95rem;color:var(--text-secondary);line-height:1.85;
  margin-bottom:1rem;padding-left:1.5rem;
}
.article-section li{margin-bottom:.35rem}

/* ---- Blockquote ---- */
.article-section blockquote{
  margin:1.5rem 0;padding:1rem 1.5rem;
  background:var(--teal-glow);border-left:3px solid var(--teal);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;
  font-size:.9rem;color:var(--text-secondary);line-height:1.75;
}

/* ---- Code blocks ---- */
.article-section code{
  font-family:'JetBrains Mono','Consolas',monospace;font-size:.825rem;
  background:var(--bg-elevated);padding:.15rem .4rem;border-radius:4px;color:var(--teal);
}
.article-section pre{
  margin:1.5rem 0;padding:1.25rem 1.5rem;background:#2a2a3e;color:#e0e0e0;
  border-radius:var(--radius-md);overflow-x:auto;font-size:.825rem;line-height:1.65;
}
.article-section pre code{background:none;padding:0;color:inherit;border-radius:0}

/* ---- Data cards ---- */
.data-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}
.data-card{
  background:var(--bg-panel);border:1px solid var(--border-subtle);
  border-radius:var(--radius-lg);padding:1.5rem;text-align:center;
  transition:all .3s var(--ease);
}
.data-card:hover{border-color:var(--border-accent);transform:translateY(-2px);
  box-shadow:var(--shadow-card-hover)}
.data-card .data-val{font-size:1.75rem;font-weight:800;margin-bottom:.25rem}
.data-card .data-val.teal{color:var(--teal)}
.data-card .data-val.green{color:var(--green)}
.data-card .data-val.amber{color:var(--amber)}
.data-card .data-val.purple{color:var(--purple)}
.data-card .data-lbl{font-size:.75rem;color:var(--text-muted)}

/* ---- Article image ---- */
.article-img{
  margin:2rem 0;border-radius:var(--radius-xl);overflow:hidden;
  border:1px solid var(--border-subtle);box-shadow:var(--shadow-card);
}
.article-img img{width:100%;display:block}
.article-img figcaption{
  padding:.75rem 1rem;background:var(--bg-secondary);font-size:.75rem;
  color:var(--text-muted);text-align:center;
}

/* ---- Mini CTA ---- */
.mini-cta{padding:4rem 0;text-align:center}
.mini-cta-card{padding:2.5rem;text-align:center;position:relative;overflow:hidden}
.mini-cta h3{font-size:1.5rem;font-weight:700;margin-bottom:.75rem}
.mini-cta p{font-size:.95rem;color:var(--text-secondary);margin-bottom:1.5rem}

/* ---- Tab Bar ---- */
.tab-bar-wrap{background:var(--bg-primary);border-bottom:1px solid var(--border-subtle);
  position:sticky;top:52px;z-index:50}
.tab-bar{display:flex;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;max-width:1120px;margin:0 auto;padding:0 1.5rem}
.tab-bar::-webkit-scrollbar{display:none}
.tab-btn{background:none;border:none;border-bottom:2px solid transparent;
  padding:.75rem 1.5rem;font-size:.875rem;font-weight:500;color:var(--text-muted);
  cursor:pointer;white-space:nowrap;transition:all .2s var(--ease);
  font-family:inherit}
.tab-btn:hover{color:var(--text-primary)}
.tab-btn.active{color:var(--teal);border-bottom-color:var(--teal);font-weight:600}
.tab-panel[hidden]{display:none}

/* ---- Tables (for reports) ---- */
.article-section table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.85rem}
.article-section th{background:var(--bg-secondary);padding:.6rem .8rem;text-align:left;
  font-weight:600;border-bottom:2px solid var(--border-medium);font-size:.8rem;color:var(--text-primary)}
.article-section td{padding:.5rem .8rem;border-bottom:1px solid var(--border-subtle);
  color:var(--text-secondary);font-size:.85rem}
.article-section tr:hover{background:var(--bg-secondary)}
.article-section table code{font-size:.75rem}

/* ---- Responsive (explore-specific) ---- */
@media(max-width:1024px){
  .article-layout{grid-template-columns:1fr;padding:2rem 1.5rem}
  .article-toc{display:none}
  .tab-bar-wrap{position:static}
}
@media(max-width:768px){
  .article-hero{padding:6rem 0 2.5rem}
  .data-grid{grid-template-columns:1fr}
}
