/* ===========================================================================
   browser.ipcloak.ai - 页面专属样式（Cyber Shield 子集）
   全局视觉走 cdn.ipcloak.ai/brand/cyber-shield.css
   这里只放本站特有的 Hero 装饰 / 站内 nav
   =========================================================================== */

/* ----- 站内 Nav（不同于 cdn 顶部 Bar）----- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0;
  background: rgba(6, 8, 13, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ipcloak-border);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ipcloak-text);
  font-family: var(--ipcloak-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.site-nav-icon {
  width: 32px; height: 32px;
  border-radius: var(--ipcloak-radius-sm);
  background: linear-gradient(135deg, #8b5cf6 0%, #ef4444 100%);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.site-nav ul a {
  color: var(--ipcloak-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav ul a:hover { color: var(--ipcloak-cyan); }
.site-nav ul a.cta {
  padding: 0.5rem 1.1rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  border-radius: var(--ipcloak-radius);
  font-weight: 600;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}
.site-nav ul a.cta:hover { color: #fff; transform: translateY(-1px); }
@media (max-width: 768px) {
  .site-nav ul li:not(.always-show) { display: none; }
}

/* ----- Hero 视觉：Profile 矩阵浮动 ----- */
.profile-stack-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--ipcloak-radius-xl);
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 30% 30%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(34, 211, 238, 0.10), transparent 60%),
    rgba(15, 23, 42, 0.4);
  border: 1px solid var(--ipcloak-border);
  box-shadow: 0 20px 60px -20px rgba(139, 92, 246, 0.4);
  overflow: hidden;
}
.profile-stack {
  position: absolute;
  inset: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0.75rem;
}
.profile {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border-radius: var(--ipcloak-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  font-family: var(--ipcloak-font-mono);
  font-size: 9px;
  color: var(--ipcloak-text-muted);
}
.profile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c, #22d3ee), transparent);
  opacity: 0.6;
}
.profile-id {
  font-weight: 600;
  color: var(--c, #22d3ee);
  letter-spacing: 0.05em;
  font-size: 9px;
}
.profile-row {
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}
.profile-row.short { width: 60%; }
.profile-row.fill {
  background: linear-gradient(90deg, var(--c, #22d3ee), transparent);
}
.profile-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ipcloak-success);
  box-shadow: 0 0 6px var(--ipcloak-success);
  display: inline-block;
  margin-right: 0.25rem;
}

/* ----- Compare table：自家列星标 ----- */
.ipcloak-compare th.col-us::before {
  content: '★ ';
  color: rgba(255,255,255,0.8);
}

/* ----- Article hero（compare/solutions 子页用）----- */
.article-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  position: relative;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 92, 246, 0.12), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.article-hero .breadcrumb {
  font-size: 0.9rem;
  color: var(--ipcloak-text-muted);
  margin-bottom: 1rem;
}
.article-hero .breadcrumb a {
  color: var(--ipcloak-text-muted);
  text-decoration: none;
}
.article-hero .breadcrumb a:hover { color: var(--ipcloak-cyan); }
.article-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 820px;
  margin: 0 auto 1rem;
}
.article-hero p.lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ipcloak-text-muted);
  font-size: 1.05rem;
}

/* ----- Article body ----- */
.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.article h2 {
  font-size: 1.65rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--ipcloak-border);
}
.article h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}
.article p { margin: 1rem 0; line-height: 1.75; }
.article ul, .article ol { margin: 1rem 0 1rem 1.5rem; }
.article li { margin: 0.4rem 0; }
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(15,23,42,0.4);
  border-radius: var(--ipcloak-radius);
  overflow: hidden;
  border: 1px solid var(--ipcloak-border);
}
.article table th, .article table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ipcloak-border);
}
.article table th {
  background: rgba(255,255,255,0.03);
  font-weight: 600;
}
.article pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--ipcloak-border);
  border-radius: var(--ipcloak-radius);
  padding: 1.25rem;
  overflow-x: auto;
  font-family: var(--ipcloak-font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e2e8f0;
}
.article code {
  font-family: var(--ipcloak-font-mono);
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: var(--ipcloak-radius-sm);
  font-size: 0.9em;
}
.article pre code {
  background: none;
  padding: 0;
}

.verdict {
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(34,211,238,0.05));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--ipcloak-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}
.verdict h3 {
  color: var(--ipcloak-cyan);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(34,211,238,0.05));
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: var(--ipcloak-radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}
@media (max-width: 600px) { .stat-strip { grid-template-columns: 1fr; } }
.stat-strip .stat-num {
  font-family: var(--ipcloak-font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ipcloak-cyan);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-strip .stat-label {
  color: var(--ipcloak-text-muted);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}
