/* Kuromis 库洛米 — 浅色极简原生样式表（零外部依赖，秒开优化） */
:root {
  --bg: #f8f9fc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border: rgba(124, 58, 237, 0.14);
  --border-strong: rgba(124, 58, 237, 0.34);
  --text: #161426;
  --text-muted: #4b4e6d;
  --text-dim: #6b7094;
  --primary: #7c3aed;
  --primary-bright: #9333ea;
  --primary-dark: #5b21b6;
  --accent: #db2777;
  --accent-soft: rgba(124, 58, 237, 0.08);
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.1);
  --warning: #d97706;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 6px 22px rgba(22, 20, 38, 0.045);
  --shadow-glow: 0 18px 44px rgba(124, 58, 237, 0.12);
  --max-width: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 16% 6%, rgba(124, 58, 237, 0.09), transparent 36%),
    radial-gradient(circle at 86% 10%, rgba(219, 39, 119, 0.07), transparent 32%);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f3f1fb 0%, #f7f6fc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.gradient-text {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 48%, #db2777 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-align: center;
  white-space: nowrap;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 55%, var(--accent) 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.26);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.36);
}

.btn-secondary {
  background: #ffffff;
  border-color: rgba(124, 58, 237, 0.26);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(22, 20, 38, 0.04);
}

.btn-secondary:hover {
  background: #f5f3ff;
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.92rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

/* 顶部导航栏 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  color: var(--text);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.26);
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #f3e8ff;
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.16s ease, background 0.16s ease;
}

.main-nav a:hover {
  color: var(--primary-dark);
  background: var(--accent-soft);
}

.main-nav a.nav-consult {
  color: var(--primary-dark);
  font-weight: 600;
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* 主视觉区 Hero */
.hero {
  padding: 72px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-soft);
}

/* 右侧节点状态展示面板 */
.hero-panel {
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-glow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.panel-title {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.status-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: var(--success-soft);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

.node-list {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #f8f7fc;
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.node-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.node-tag {
  font-size: 0.76rem;
  color: var(--primary-dark);
  background: #ede9fe;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.node-ping {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--success);
}

.panel-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.metric-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* 通用卡片网格 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid rgba(124, 58, 237, 0.22);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.16rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 流媒体与 AI 支持专区 */
.support-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #f8f7fc;
  border: 1px solid var(--border);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.service-pill .pill-check {
  color: var(--success);
  font-weight: 800;
}

.region-strip {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-tag {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #f5f3ff;
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
}

/* 套餐卡片与价格对比表 */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
}

.plan-card.plan-featured {
  background: linear-gradient(175deg, #faf7ff 0%, #ffffff 65%);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text);
}

.plan-tagline {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.plan-price-box {
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  background: #f8f7fc;
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.plan-price-label {
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.25;
}

.plan-price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-price-note {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.pricing-footnote {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--text-dim);
  text-align: center;
}

.plan-features {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.check-icon {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

/* 对比表 */
.table-shell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: #faf9fe;
}

.table-head-bar h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}

.compare-table thead th {
  background: #f3f0ff;
  font-weight: 700;
  color: var(--primary-dark);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: #faf9fe;
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.compare-table td {
  color: var(--text-muted);
}

.table-cta-link {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.table-cta-link:hover {
  color: var(--accent);
}

/* 用户评价 */
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.review-stars {
  color: var(--warning);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-quote {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* FAQ 手风琴（纯 HTML details/summary，零 JS） */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  padding-top: 14px;
}

/* 库洛米主题美图展示画廊 */
.gallery-section {
  padding: 58px 0;
}

.gallery-section .section-header {
  margin-bottom: 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-glow);
}

.gallery-media {
  position: relative;
  background: #f5f3ff;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-caption-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gallery-caption h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.gallery-caption p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 底部 CTA 横幅 */
.cta-banner {
  background: linear-gradient(135deg, #f5f3ff 0%, #fdf2f8 100%);
  border: 1px solid rgba(124, 58, 237, 0.24);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta-banner h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 26px;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* 页脚（严格只保留四个标题，打开新页面展示） */
.site-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 40px 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.footer-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #f8f7fc;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.footer-link-item:hover {
  border-color: var(--primary);
  background: #f5f3ff;
  color: var(--primary-dark);
}

/* 独立子页面通用排版 */
.subpage-hero {
  padding: 56px 0 36px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.subpage-title {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.subpage-lead {
  color: var(--text-muted);
  max-width: 720px;
}

.doc-content {
  padding: 48px 0 76px;
}

.doc-grid {
  display: grid;
  gap: 24px;
}

.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.doc-card h2 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.doc-card p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.doc-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.sitemap-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #f8f7fc;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.sitemap-list a:hover {
  border-color: var(--primary);
  background: #f5f3ff;
  color: var(--primary-dark);
}

/* ========================
   高科技网格卡片（Grid Cards）与深度文章排版
   ======================== */
.tech-section {
  background-color: #f6f7fb;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tech-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: var(--radius-md);
  padding: 24px 22px 22px;
  box-shadow: 0 8px 26px rgba(22, 20, 38, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed 0%, #06b6d4 55%, #db2777 100%);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 18px 38px rgba(124, 58, 237, 0.14);
}

.tech-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.tech-index {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0284c7;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 3px 9px;
  border-radius: 6px;
}

.tech-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #f3e8ff;
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 3px 10px;
  border-radius: 999px;
}

.tech-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.42;
  color: var(--text);
  margin-bottom: 10px;
}

.tech-card h3 a:hover {
  color: var(--primary-dark);
}

.tech-card p {
  font-size: 0.91rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tech-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
  margin-top: auto;
}

.tech-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.tech-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.tech-read-btn:hover {
  opacity: 0.92;
  transform: translateX(2px);
}

/* 单篇文章页正文排版 */
.article-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-card);
}

.article-header {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.article-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1.32;
  color: var(--text);
  margin-bottom: 12px;
}

.article-summary {
  color: var(--text-muted);
  font-size: 1rem;
  background: #f8f7fc;
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
}

.article-prose h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 28px 0 12px;
}

.article-prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 10px;
}

.article-prose p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 1.01rem;
}

.article-prose a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a:hover {
  color: var(--accent);
}

.article-prose ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.article-prose li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  line-height: 1.75;
}

.article-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.article-back-bar {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* ========================
   响应式适配（媒体查询）
   ======================== */
@media (max-width: 1080px) {
  .pricing-cards,
  .tech-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 10px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav a {
    flex-shrink: 0;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border);
  }

  .hero {
    padding: 44px 0 56px;
  }

  /* 手机端强制完美单栏显示 */
  .grid-3,
  .grid-2,
  .pricing-cards,
  .tech-grid,
  .gallery-grid,
  .footer-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 手机端按钮全宽且适合手指点击 */
  .hero-actions,
  .cta-banner-actions,
  .article-back-bar {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn,
  .cta-banner-actions .btn,
  .table-head-bar .btn,
  .article-back-bar .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
  }

  .article-shell {
    padding: 24px 18px;
  }

  .tech-read-btn {
    min-height: 44px;
    padding: 10px 16px;
  }

  .panel-foot {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 对比表在手机端转换为单栏卡片式展示 */
  .compare-table thead {
    display: none;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-strong);
  }

  .compare-table tr:last-child {
    border-bottom: none;
  }

  .compare-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(124, 58, 237, 0.16);
    text-align: right;
  }

  .compare-table td:last-child {
    border-bottom: none;
  }

  .compare-table td:first-child {
    justify-content: flex-start;
    text-align: left;
    font-size: 1rem;
    color: var(--primary-dark);
    padding-bottom: 10px;
  }

  .compare-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-dim);
    text-align: left;
    flex-shrink: 0;
  }

  .compare-table td:first-child::before {
    display: none;
  }

  .cta-banner {
    padding: 32px 20px;
  }

  .doc-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .brand-sub {
    display: none;
  }

  .header-actions .btn-sm {
    min-height: 44px;
    padding: 10px 14px;
  }

  .node-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
