/* =============================================
   文件: themes/default/style.css
   浅色主题 - 中文资讯网站
   全面重构版本
   ============================================= */

/* =============================================
   第一部分：CSS变量与设计系统
   ============================================= */
:root {
  /* 主色调 */
  --primary:        #0284c7;
  --primary-dark:   #075985;
  --primary-light:  #38bdf8;
  --primary-bg:     rgba(2,132,199,0.06);
  --primary-border: rgba(2,132,199,0.25);
  --accent:         #e11d48;
  --accent-bg:      rgba(225,29,72,0.06);

  /* 背景色 */
  --bg-body:        #f8fafc;
  --bg-card:        #ffffff;
  --bg-card-alt:    #f1f5f9;
  --bg-header:      rgba(255,255,255,0.97);
  --bg-footer:      #0f172a;
  --bg-footer-alt:  #1e293b;

  /* 边框 */
  --border:         #e2e8f0;
  --border-light:   #f1f5f9;
  --border-primary: rgba(2,132,199,0.28);

  /* 文字 */
  --text:           #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;
  --text-light:     #cbd5e1;
  --text-white:     #ffffff;

  /* 圆角 */
  --radius-sm:      4px;
  --radius:         8px;
  --radius-lg:      12px;
  --radius-xl:      16px;

  /* 阴影 */
  --shadow-sm:      0 1px 3px rgba(15,23,42,0.04);
  --shadow:         0 4px 16px rgba(15,23,42,0.06);
  --shadow-md:      0 8px 30px rgba(15,23,42,0.08);
  --shadow-lg:      0 16px 48px rgba(15,23,42,0.10);
  --shadow-primary: 0 8px 30px rgba(2,132,199,0.18);

  /* 过渡 */
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --duration:       0.3s;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* 字体 */
  --font:           'PingFang SC','Microsoft YaHei','Hiragino Sans GB',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-mono:      'SF Mono','Fira Code',monospace;

  /* 布
局 */
  --container:      1280px;
  --header-h:       72px;
  --gap:            24px;
  --section-py:     80px;
}

/* =============================================
   第二部分：重置与基础样式
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--primary); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
}

::selection {
  background: rgba(2,132,199,0.18);
  color: var(--text);
}

/* 滚动条 */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* =============================================
   第三部分：排版系统
   ============================================= */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}
h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
h5 {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}
p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.gold { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* 区块标题 */
.section-title {
  margin-bottom: 48px;
}
.section-title h2 {
  margin-bottom: 12px;
}
.section-title h2 span { color: var(--primary); }
.section-title p {
  color: var(--text-secondary);
  max-width: 640px;
  font-size: 1.02rem;
}
.section-title .divider {
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin-top: 16px;
  border-radius: 2px;
}

/* =============================================
   第四部分：布局系统
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  padding: var(--section-py) 0;
}
.section-dark  { background: var(--bg-body); }
.section-card  { background: var(--bg-card); }
.section-card2 { background: var(--bg-card-alt); }

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

.grid-main-sidebar {
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  gap: 40px;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 12px; }
.gap-4 { gap: 24px; }


/* =============================================
   第五部分：按钮系统
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--text-white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
}
.btn-accent {
  background: var(--accent);
  color: var(--text-white);
}
.btn-accent:hover {
  background: #be123c;
  color: var(--text-white);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* =============================================
   第六部分：卡片系统
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-body { padding: 20px; }
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a:hover { color: var(--primary); }
.card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 文章列表项 */
.post-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}
.post-item:last-child { border-bottom: none; }
.post-item-thumb {
  width: 110px;
  height: 74px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.post-item-body { flex: 1; min-width: 0; }
.post-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.post-item-title a:hover { color: var(--primary); }
.post-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 分类标签 */
.cat-label {
  display: inline-block;
  background: var(--primary);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.cat-label-accent { background: var(--accent); }

/* =============================================
   第七部分：页头
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;

}
.site-logo img { height: 40px; width: auto; }
.site-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.04em;
}

/* 主导航 */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-bg);
}
.main-nav .nav-cta {
  background: var(--primary);
  color: var(--text-white) !important;
  padding: 9px 20px;
  margin-left: 12px;
  border-radius: var(--radius);
}
.main-nav .nav-cta:hover {
  background: var(--primary-dark);
  color: var(--text-white) !important;
}

/* 搜索框 */
.header-search { position: relative; }
.header-search input {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 40px 9px 14px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  width: 200px;
  transition: all var(--transition);
}
.header-search input:focus {
  border-color: var(--primary);
  width: 260px;
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}
.header-search input::placeholder { color: var(--text-muted); }
.header-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.header-search button:hover { color: var(--primary); }

/* 汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all var(--transition);
}

/* 移动端导航 */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  padding: 12px 32px;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* =============================================
   第八部分：Hero区域
   ============================================= */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(240,249,255,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 20px;
}
.hero h1 span { color: var(--primary); }
.hero p,
.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top:
 1px solid var(--border);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2,132,199,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* =============================================
   第九部分：面包屑
   ============================================= */
.breadcrumb {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb-list a { color: var(--primary); }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list .sep { color: #cbd5e1; margin: 0 2px; }
.breadcrumb-list .current { color: var(--text); font-weight: 500; }

/* =============================================
   第十部分：精选文章
   ============================================= */
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.featured-main {
  grid-row: 1 / 3;
}
.featured-main .card-img { aspect-ratio: 4/3; }
.featured-main .card-title { font-size: 1.35rem; }
.featured-main .card-excerpt { -webkit-line-clamp: 4; }

/* =============================================
   第十一部分：滚动新闻
   ============================================= */
.ticker-bar {
  background: var(--accent);
  color: var(--text-white);
  padding: 10px 0;
  overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 20px; }
.ticker-label {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
  font-size: 0.85rem;
}
.ticker-track a { color: var(--text-white); }
.ticker-track a:hover { text-decoration: underline; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================
   第十二部分：APP下载卡片
   ============================================= */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.app-card:hover::before { opacity: 1; }
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
}
.app-card img,
.app-card-icon img,
.app-icon-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.app-card h4 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.app-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.app-card .app-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app-card .app-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.app-intro {
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 1rem
;
  line-height: 1.85;
}
.app-intro strong { color: var(--text); font-weight: 700; }

/* =============================================
   第十三部分：关于我们
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; }
.about-features {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feature-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--primary);
}
.about-feature-text h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 4px;
}
.about-feature-text p { font-size: 0.9rem; margin: 0; }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -12px;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.25rem;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  box-shadow: var(--shadow-primary);
}

/* 关于页面 - 统计卡片 */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-icon { font-size: 2.2rem; margin-bottom: 8px; }
.stat-icon-img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 8px; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label { font-size: 0.88rem; color: var(--text-muted); margin-top: 4px; }
.stat-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; opacity: 0.85; }

/* 里程碑时间线 */
.milestone-timeline {
  position: relative;
  max-width: 960px;
  margin: 36px auto 0;
  padding: 16px 0;
}
.milestone-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}
.milestone-item {
  position: relative;
  width: 50%;
  padding: 16px 36px;
}
.milestone-item.left { left: 0; text-align: right; }
.milestone-item.right { left: 50%; text-align: left; }
.milestone-year {
  position: absolute;
  top: 16px;
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-primary);
  z-index: 2;
}
.milestone-item.left .milestone-year { right: -32px; }
.milestone-item.right .milestone-year { left: -32px; }
.milestone-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
}
.milestone-content h3 {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 1.1rem;
}
.milestone-content p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}
.milestone-icon { margin-bottom: 8px; }
.milestone-icon-img { width: 28px; height: 28px; object-fit: contain; }

/* 页面横幅 */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.2rem;
  margin: 0 0 10px;
  color: var(--text-white);
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  color: var(--text-white);
  margin: 0;
}

/* =============================================
   第十四部分：FAQ
   ============================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover,
.faq-item.open {
  border-color: var(--border-primary);
  box-shadow: var(--shadow);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  user-select: none;
  transition: color var(--transition), background var(--transition);
}
.faq-question:hover {
  color: var(--primary);
  background: var(--primary-bg);
}
.faq-question .faq-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--text-white);
}
.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  border-top: 1px solid var(--border-light);
}
.faq-item.open .faq-answer { display: block; }

/* =============================================
   第十五部分：合作伙伴
   ============================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 44px;
}
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 18px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
}
.partner-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.partner-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.partners-intro {
  margin-bottom: 32px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
}
.partners-intro strong { color: var(--text); font-weight: 700; }

/* 信任徽章 */
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.trust-badge-icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* =============================================
   第十六部分：侧边栏
   ============================================= */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.widget-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10
px;
}
.widget-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
}
.widget-header::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: var(--primary);
  border-radius: 2px;
}
.widget-body { padding: 16px 20px; }

/* 侧边栏搜索 */
.widget-search { display: flex; gap: 8px; }
.widget-search input {
  flex: 1;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.widget-search input:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}
.widget-search button {
  background: var(--primary);
  color: var(--text-white);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
}

/* 分类列表 */
.cat-list { display: flex; flex-direction: column; }
.cat-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}
.cat-list-item:last-child { border-bottom: none; }
.cat-list-item a { color: var(--text-secondary); }
.cat-list-item a:hover { color: var(--primary); }
.cat-count {
  background: var(--bg-card-alt);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* 热门文章 */
.popular-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.popular-item:last-child { border-bottom: none; }
.popular-rank {
  font-size: 1.3rem;
  font-weight: 800;
  color: #cbd5e1;
  width: 24px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
.popular-item:nth-child(1) .popular-rank { color: var(--primary); }
.popular-item:nth-child(2) .popular-rank { color: var(--primary-light); }
.popular-item:nth-child(3) .popular-rank { color: #94a3b8; }
.popular-img {
  width: 68px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.popular-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.popular-title a:hover { color: var(--primary); }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.tag-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

/* =============================================
   第十七部分：单篇文章
   ============================================= */
.post-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0.15) 60%, transparent 100%);
}
.post-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 40px;
  color: var(--text-white);
}
.post-hero-content h1 { color: var(--text-white); }

.post-header { padding: 40px 0 0; }
.post-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  line-height: 1.2;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px
 solid var(--border);
}
.post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 文章内容 */
.post-content {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 2;
}
.post-content h2, .post-content h3, .post-content h4 {
  color: var(--text);
  margin: 28px 0 12px;
}
.post-content p { margin-bottom: 18px; }
.post-content img {
  border-radius: var(--radius);
  margin: 20px 0;
  border: 1px solid var(--border);
}
.post-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  background: var(--bg-card-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-secondary);
}
.post-content ul, .post-content ol {
  padding-left: 24px;
  margin: 18px 0;
  list-style: disc;
}
.post-content ol { list-style: decimal; }
.post-content li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
.post-content th {
  background: var(--bg-card-alt);
  color: var(--primary);
  padding: 10px 14px;
  text-align: left;
  border: 1px solid var(--border);
  font-weight: 600;
}
.post-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* 文章标签 */
.post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.post-tags-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* 分享栏 */
.share-bar {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.share-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-right: 4px;
}
.share-btn {
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-white);
  display: inline-block;
}
.share-wechat  { background: #07c160; }
.share-weibo   { background: #e6162d; }
.share-twitter { background: #1da1f2; }
.share-copy {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
}

/* 相关文章 */
.related-posts { margin-top: 48px; }
.related-posts h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
  border-left: 3px solid var(--primary);
  padding-left: 12px;
}

/* 作者信息 */
.post-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.author-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.post-author a {
  color: var(--primary);
  font-weight: 500;
}
.post-author a:hover { text-decoration: underline; }

/* 作者简介框 */
.author-box {
  display: flex;
  gap: 18px;
  padding: 22px;
  margin: 36px 0;
  background: var(--bg-card-alt);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-box-info { flex: 1; }
.author-box-name {
  margin: 0 0 6px;
  font-size
: 1.05rem;
}
.author-box-name a { color: var(--text); }
.author-box-name a:hover { color: var(--primary); }
.author-box-job {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
}
.author-box-bio {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 上一篇/下一篇 */
.post-nav { margin: 36px 0; }
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.post-nav-item:not(.post-nav-disabled):hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.post-nav-next { text-align: right; }
.post-nav-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.post-nav-title {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}
.post-nav-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* =============================================
   第十八部分：分页
   ============================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all var(--transition);
}
.page-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.page-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
}
.page-item.disabled { opacity: 0.4; pointer-events: none; }

/* =============================================
   第十九部分：搜索页
   ============================================= */
.search-header {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.search-form-large { display: flex; gap: 12px; max-width: 640px; }
.search-form-large input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 1rem;
}
.search-form-large input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}
.search-results-count {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.search-highlight { color: var(--primary); font-weight: 700; }

/* =============================================
   第二十部分：分类页
   ============================================= */
.category-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 24px;
  margin-bottom: 36px;
}
.category-header h1 {
  font-size: 2rem;
  line-height: 1.1;
}
.category-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
  max-width: 540px;
  line-height: 1.7;
}
.sort-bar {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.sort-bar-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.sort-btn {
  font-size: 0.78rem;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted
);
  background: var(--bg-card);
  transition: all var(--transition);
}
.sort-btn:hover, .sort-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
}

/* =============================================
   第二十一部分：页脚 ★
   ============================================= */
.site-footer {
  background: var(--bg-footer);
  color: var(--text-light);
  position: relative;
}
.site-footer::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 44px;
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* 品牌列 */
.footer-brand .site-logo {
  margin-bottom: 12px;
  display: inline-flex;
}
.footer-brand .site-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand .site-logo-text {
  color: var(--text-white);
  font-size: 1.3rem;
  font-weight: 800;
}
.footer-brand-text {
  color: #94a3b8;
  font-size: 0.88rem;
  margin: 14px 0 20px;
  line-height: 1.8;
}

/* 页脚联系信息 */
.footer-contact-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0;
  border: none;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #94a3b8;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-contact-item:hover,
.footer-contact-item a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}
.footer-contact-item a {
  color: #94a3b8;
  transition: color var(--transition);
}
.footer-contact-icon {
  font-size: 0.92rem;
  color: var(--primary-light);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.footer-contact-sep { display: none; }

/* 社交按钮 */
.footer-social {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #94a3b8;
  transition: all var(--transition);
}
.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(2,132,199,0.3);
}

/* 列标题 */
.footer-col h5 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* 链接列表 */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-links a {
  font-size: 0.86rem;
  color: #94a3b8;
  padding: 6px 0;
  display: flex;
  align-items: center;
  transition: color var(--transition), padding-left var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-links a:last-child { border-bottom: none; }
.footer-links a::before {
  content: '›';
  margin-right: 8px;
  color: rgba(255,255,255,0.12);
  font-weight: 700;
  transition: color var(--transition), margin-right var(--transition);
}
.footer-links a:hover {
  color: var(--text-white);
  padding-left: 4px;
}
.footer-links a:hover::before {
  color: var(--primary-light);
  margin-right: 10
px;
}

/* 底部栏 */
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copyright-info p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
}
.footer-beian {
  margin-top: 6px;
  font-size: 0.76rem;
}
.footer-beian a {
  color: #64748b;
  transition: color var(--transition);
}
.footer-beian a:hover { color: var(--primary-light); }

/* 法律链接 */
.footer-legal {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-legal a {
  font-size: 0.78rem;
  color: #64748b;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.footer-legal a:hover {
  color: var(--text-white);
  border-color: var(--primary);
  background: rgba(2,132,199,0.12);
}

/* 免责声明 */
.disclaimer-bar {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 12px 0;
  text-align: center;
  font-size: 0.72rem;
  color: #475569;
}

/* =============================================
   第二十二部分：404页面
   ============================================= */
.page-404 {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 0.9;
  opacity: 0.2;
}
.error-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.error-msg {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* =============================================
   第二十三部分：静态页面
   ============================================= */
.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.content-box h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 28px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}
.content-box h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.content-box p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.85; }
.content-box ul { padding-left: 20px; list-style: disc; }
.content-box li { color: var(--text-secondary); margin-bottom: 8px; }

/* 联系表单 */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-notice { font-size: 0.75rem; color: var(--text-muted); }

/* 联系信息 */
.contact-info { display: flex; flex-direction: column; gap: 12px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-item h5 {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* =============================================
   第二十四部分：通知/提示
   ============================================= */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  border-left: 3px solid;
  margin-bottom: 20px;
  line-height: 1.65;
}
.notice-warning {
  background: rgba(245,158,11,0.06);
  border-color: #f59e0b;
  color: #b45309;
}
.notice-info {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary-dark);
}

/* =============================================
   第二十五部分：返回顶部
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-primary);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--primary-dark);
  box-shadow: 0 12px 32px rgba(2,132,199,0.35);
}

/* =============================================
   第二十六部分：CTA横幅
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2,132,199,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > .container { position: relative; z-index: 2; }
.cta-badge { margin-bottom: 20px; }
.cta-title { margin-bottom: 14px; }
.cta-desc {
  color: var(--text-secondary);
  margin: 0 auto 28px;
  max-width: 580px;
  line-height: 1.85;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   第二十七部分：特性/体育/步骤卡片
   ============================================= */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.feature-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.feature-mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.feature-mini-card .feature-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.sport-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.sport-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.sport-icon { font-size: 2.2rem; color: var(--primary); }
.sport-icon-img { width: 72px; height: 72px; object-fit: contain; }
.sport-name { font-size: 1.1rem; font-weight: 700; margin: 12px 0 6px; }
.sport-desc
 { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }
.sport-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.sport-count { font-size: 0.82rem; color: var(--text-muted); }
.sport-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition);
}
.sport-link:hover { color: var(--primary-dark); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.step-card {
  position: relative;
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-number {
  position: absolute;
  top: -14px; right: 14px;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.2;
}
.step-icon { margin-bottom: 14px; }
.step-icon-img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto; }
.lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

/* 负责任内容 */
.responsible-content {
  max-width: 860px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.95;
}
.responsible-content strong { color: var(--text); font-weight: 700; }

/* 首页概览 */
.section-intro { background: var(--bg-card); }
.intro-wrap { display: flex; flex-direction: column; }
.intro-content {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.95;
}
.intro-content strong { color: var(--text); font-weight: 700; }

/* 图标通用 */
.feature-icon-img { width: 52px; height: 52px; object-fit: contain; }
.about-icon-img { width: 44px; height: 44px; object-fit: contain; }
.partner-icon-img { width: 60px; height: 60px; object-fit: contain; margin: 0 auto; display: block; }
.badge-icon-img { width: 22px; height: 22px; object-fit: contain; vertical-align: middle; }

/* =============================================
   第二十八部分：用户评价
   ============================================= */
.testimonials-intro {
  max-width: 860px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.8;
}
.rating-overview {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 36px;
  align-items: center;
  box-shadow: var(--shadow);
}
.rating-score {
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 28px;
}
.rating-num { font-size: 3.5rem; font-weight: 800; color: #f59e0b; line-height: 1; }
.rating-stars { font-size: 1.3rem; color: #f59e0b; margin: 6px 0; letter-spacing: 2px; }
.rating-total { font-size: 0.85rem; color: var(--text-muted); }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.rating-bar { height: 8px; background: var(--bg-card-alt); border-radius: 4px; overflow: hidden; }
.rating-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 4px;
  transition: width 0.8s ease;
}
.rating-percent { text-align: right; font-weight: 600; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,0.35);
  box-shadow: var(--shadow-md);
}
.testimonial-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--text-white);
  flex-shrink: 0;
}
.testimonial-user { flex: 1; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-region { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.testimonial-rating { color: #f59e0b; font-size: 0.95rem; letter-spacing: 1px; }
.testimonial-title { font-size: 1.02rem; color: var(--primary); margin: 0 0 8px; font-weight: 600; }
.testimonial-content { font-size: 0.92rem; line-height: 1.7; color: var(--text-secondary); margin: 0 0 14px; }
.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.testimonial-tag {
  background: rgba(245,158,11,0.1);
  color: #b45309;
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
}
.testimonial-date { font-size: 0.78rem; color: var(--text-muted); }

/* =============================================
   第二十九部分：作者页面
   ============================================= */
.author-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 52%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
.author-hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(2,132,199,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.author-hero::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(225,29,72,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.author-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 44px;
  align-items: center;
}

/* 头像 */
.author-avatar-wrap {
  position: relative;
  width: 200px;
  height: 200px;
}
.author-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-lg);
}
.author-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--text-white);
  font-size: 4.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  border: 3px solid var(--bg-card);
  box-shadow: var(--shadow-lg);
}
.author-verified-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  border: 3px solid var(--bg-card);
  box-shadow: 0 6px 16px rgba(22,163,74,0.3);
}

/* 作者信息 */
.author-tag-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.author-job-tag {
  display: inline-block;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}
.author-tag-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.28);
  color: #15803d;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}
.author-tag-verified::before {
  content: '✓';
  font-size: 0.85rem;
}
.author-name {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.author-bio {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 640px;
}

/* 作者统计 */
.author-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
  flex-wrap: wrap;
}
.author-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.author-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.author-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 作者社交 */
.author-social-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.author-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.author-social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.author-social-icon { font-size: 0.92rem; }
.author-social-email:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}
.author-articles { background: var(--bg-body); }

/* =============================================
   第三十部分：APP页面
   ============================================= */
.app-hero {
  position: relative;
  padding: 88px 0 64px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 52%, #f8fafc 100%);
  text-align: center;
}
.app-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(2,132,199,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.app-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.app-hero h1 { margin-bottom: 18px; }
.app-hero h1 span { color: var(--primary); }
.app-hero-sub {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* 下载按钮 */
.dl-btns {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition);
  cursor: pointer;
}
.dl-btn-android {
  background: var(--primary);
  color: var(--text-white);
  border: none;
}
.dl-btn-android:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-primary);
}
.dl-btn-ios {
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  color: var(--primary);
}
.dl-btn-ios:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.dl-btn-icon { font-size: 1.5rem; line-height: 1; }
.dl-btn-text-wrap { text-align: left; }
.dl-btn-sub { font-size: 0.65rem; font-weight: 500; opacity: 0.8; display: block; }
.dl-btn-main { font-size: 1rem; font-weight: 800; display: block; }

/* Hero统计 */
.app-hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-primary);
  flex-wrap: wrap;
}
.app-hero-stat { text-align: center; }
.app-hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}
.app-hero-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* 模型展示 */
.app-mockup-section {
  padding: 64px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.app-mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-mockup-text h2 { margin-bottom: 18px; }
.app-mockup-text h2 span { color: var(--primary); }
.app-mockup-text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}
.app-features-list { display: flex; flex-direction: column; gap: 14px; }
.app-feature-row { display: flex; align-items: flex-start; gap: 12px; }
.app-feature-check {
  width: 22px;
  height: 22px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.app-feature-row p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.7; }
.app-feature-row strong { color: var(--text); font-weight: 700; }

/* 手机预览 */
.phone-visual { display: flex; justify-content: center; gap: 24px; }
.phone-frame {
  width: 160px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-frame.large { width: 192px; }
.phone-notch {
  height: 24px;
  background: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-notch::after {
  content: '';
  width: 56px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 4px;
}
.phone-screen {
  background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 100%);
  padding: 12px;
  min-height: 280px;
}
.phone-screen-header {
  background: var(--primary);
  border-radius: var(--radius-sm);
  height: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.phone-screen-header span {
  font-size: 0.52rem;
  font-weight: 800;
  color: var(--text-white);
}
.phone-screen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 52px;
  margin-bottom: 8px;
  padding: 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.phone-screen-img {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.phone-screen-lines { flex: 1; }
.phone-screen-line { height: 4px; border-radius: 2px; margin-bottom: 5px; }
.phone-screen-line.gold { background: rgba(2,132,199,0.6); width: 70%; }
.phone-screen-line.gray { background: #cbd5e1; width: 50%; }
.phone-bottom {
  height: 20px;
  background: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-home-bar { width: 48px; height: 3px; background: #94a3b8; border-radius: 2px; }

/* 二维码 */
.qr-section { padding: 64px 0; background: var(--bg-body); }
.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.qr-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.qr-card:hover::before { opacity: 1; }
.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
}
.qr-icon { font-size: 2.4rem; margin-bottom: 12px; color: var(--primary); }
.qr-card h4 { color: var(--primary); font-size: 1.02rem; margin-bottom: 8px; }
.qr-card p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.7; }
.qr-box {
  width: 110px;
  height: 110px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.qr-btn {
  display: inline-block;
  padding: 8px 22px;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.qr-btn:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* 安装步骤 */
.install-section {
  padding: 64px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}
.install-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.install-tab {
  padding: 10px 26px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
}
.install-tab.active,
.install-tab:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
}
.install-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.install-step { text-align: center; position: relative; }
.install-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -12px;
  top: 26px;
  color: #cbd5e1;
  font-size: 1.2rem;
}
.step-num {
  width: 60px;
  height: 60px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 14px;
}
.install-step h4 { font-size: 0.95rem; margin-bottom: 6px; }
.install-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

.app-faq { padding: 72px 0 60px; background: var(--bg-body); }

/* =============================================
   第三十一部分：认证页面（登录/注册）
   ============================================= */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; }
.auth-main
 {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  min-height: calc(100vh - var(--header-h));
}

/* 左侧品牌 */
.auth-left {
  background: linear-gradient(160deg, #ffffff 0%, #f0f9ff 42%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 60px 80px;
}
.auth-left::before {
  content: '';
  position: absolute;
  left: -80px; top: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(2,132,199,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.auth-left::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(225,29,72,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.auth-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.auth-left-content { position: relative; z-index: 2; }
.auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; }
.auth-brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-white);
}
.auth-brand-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}
.auth-headline {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  max-width: 10ch;
}
.auth-headline span { color: var(--primary); }
.auth-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 48px;
  max-width: 460px;
}

/* 特性列表 */
.auth-features { display: flex; flex-direction: column; gap: 18px; }
.auth-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.auth-feature-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 3px 3px 0 rgba(225,29,72,0.15);
}

/* 权益列表 */
.auth-benefits { display: flex; flex-direction: column; gap: 16px; }
.auth-benefit { display: flex; align-items: flex-start; gap: 14px; }
.auth-benefit-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-bg);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: var(--primary);
}
.auth-benefit-text h5 {
  font-size: 0.88rem;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 700;
}
.auth-benefit-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.75;
}

/* 左面板底部装饰 */
.auth-left-deco { position: absolute; bottom: 32px; left: 60px; right: 60px; z-index: 2; }
.auth-deco-bar { height: 2px; background: linear-gradient(90deg, var(--primary), transparent); margin-bottom: 12px; }
.auth-deco-text { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.15em; }

/* 右侧表单 */
.auth-right {
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  overflow-y: auto;
}
.auth-form-wrap { width: 100%; max-width: 370px; }
.auth-form-wrap-wide { max-width: 410px; }
.auth-form-header { margin-bottom: 36px; }
.auth-form-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.auth-form-header p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 表单字段 */
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-field { display: flex; flex-direction: column; gap: 7px; }
.auth-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 44px 14px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  font-family: var(--font);
}
.auth-input:focus {
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}
.auth-input.valid  { border-color: #16a34a; }
.auth-input.invalid { border-color: #dc2626; }
.auth-input::placeholder { color: var(--text-muted); }
.auth-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}
.auth-input-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 0;
  transition: color var(--transition);
}
.auth-input-toggle:hover { color: var(--primary); }
.auth-field-hint  { font-size: 0.72rem; color: var(--text-muted); }
.auth-field-error { font-size: 0.72rem; color: #dc2626; display: none; }

/* 记住/忘记 */
.auth-row { display: flex; align-items: center; justify-content: space-between; }
.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}
.auth-forgot {
  font-size: 0.8rem;
  color: var(--primary);
  transition: opacity var(--transition);
}
.auth-forgot:hover { opacity: 0.8; }

/* 提交按钮 */
.auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.auth-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}
.auth-submit:active { transform: translateY(0); }

/* 分隔线 */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* 社交登录 */
.auth-social { display: flex; gap: 10px; }
.auth-social-btn {
  flex: 1;
  padding: 11px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.auth-social-btn:hover {
  border-color: var(--border-primary);
  color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-2px);
}

/* 切换链接 */
.auth-switch {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 700;
}
.auth-switch a:hover { text-decoration: underline; }

/* 通知 */
.auth-notice { padding: 10px 14px; border-radius: var(--radius); font-size: 0.82rem; display: none; line-height: 1.65; }
.auth-notice.error  { background: rgba(220,38,38,0.06); border: 1px solid rgba(220,38,38,0.2); color: #b91c1c; display: block; }
.auth-notice.success { background: rgba(22,163,74,0.06); border: 1px solid rgba(22,163,74,0.2); color: #15803d; display: block; }

/* =============================================
   第三十二部分：注册专属
   ============================================= */
.auth-main-signup { grid-template-columns: 1fr 540px; }

/* 进度步骤 */
.reg-steps { display: flex; align-items: center; margin-bottom: 30px; }
.reg-step { flex: 1; text-align: center; position: relative; }
.reg-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 13px; right: -50%;
  width: 100%; height: 1px;
  background: var(--border);
  z-index: 0;
}
.reg-step.done:not(:last-child)::after,
.reg-step.active:not(:last-child)::after { background: var(--primary); }
.reg-step-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  margin: 0 auto 6px;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.reg-step.active .reg-step-circle { background: var(--primary); border-color: var(--primary); color: var(--text-white); }
.reg-step.done .reg-step-circle { background: var(--primary-bg); border-color: var(--primary); color: var(--primary); }
.reg-step-label { font-size: 0.65rem; color: var(--text-muted); }
.reg-step.active .reg-step-label { color: var(--primary); font-weight: 700; }

/* 手机号 */
.phone-row { display: flex; gap: 8px; }
.phone-prefix {
  width: 84px;
  flex-shrink: 0;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 14px 10px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: var(--font);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.phone-prefix:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.1);
}
.phone-row .auth-input-wrap { flex: 1; }

/* 验证码 */
.verify-row { display: flex; gap: 10px; }
.verify-row .auth-input-wrap { flex: 1; }
.verify-btn {
  white-space: nowrap;
  padding: 0 16px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.verify-btn:hover:not(:disabled) {
  border-color: var(--primary);
  background: var(--primary-bg);
  transform: translateY(-2px);
}
.verify-btn:disabled { opacity: 0.4; cursor: not-allowed; color: var(--text-muted); }

/* 密码强度 */
.pwd-strength { margin-top: 6px; }
.pwd-strength-bar { display: flex; gap: 4px; margin-bottom: 4px; }
.pwd-strength-seg { flex: 1; height: 3px; background: var(--border); border-radius: 2px; transition: background var(--transition); }
.pwd-strength-label { font-size: 0.68rem; color: var(--text-muted); }

/* 协议 */
.auth-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.auth-agree input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;

  margin-top: 2px;
}
.auth-agree a { color: var(--primary); }
.auth-agree a:hover { text-decoration: underline; }

/* =============================================
   第三十三部分：动画
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s var(--ease) forwards; }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(2,132,199,0.28); }
  50%       { box-shadow: 0 0 0 10px rgba(2,132,199,0); }
}
.pulse { animation: pulse-gold 2s infinite; }

/* =============================================
   第三十四部分：全局响应式
   ============================================= */
@media (max-width: 1024px) {
  .grid-4          { grid-template-columns: repeat(2, 1fr); }
  .app-grid        { grid-template-columns: repeat(2, 1fr); }
  .partners-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand    { grid-column: 1 / -1; }
  .footer-contact-inline { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .grid-main-sidebar { grid-template-columns: 1fr; }
  .sidebar         { display: grid; grid-template-columns: 1fr 1fr; }
  .about-grid      { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap  { max-width: 520px; }
  .author-hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .author-avatar-wrap { margin: 0 auto; }
  .author-bio { margin-left: auto; margin-right: auto; }
  .author-stats { justify-content: center; gap: 32px; }
  .author-social-row { justify-content: center; }
  .author-tag-row { justify-content: center; }
}

@media (max-width: 900px) {
  .auth-main,
  .auth-main-signup { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { border-left: none; min-height: calc(100vh - 60px); }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --section-py: 52px;
    --gap: 18px;
  }
  .section { padding: var(--section-py) 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-main { grid-row: auto; grid-column: auto; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-search { display: none; }
  .hero { min-height: 460px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .post-hero { height: 240px; }
  .post-hero-content { padding: 20px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 0 28px; }
  .footer-brand { grid-column: auto; text-align: center; }
  .footer-brand .site-logo { justify-content: center; }
  .footer-brand-text { max-width: 380px; margin-left: auto; margin-right: auto; }
  .footer-contact-inline { justify-content: center; }
  .footer-social { justify-content: center; }
  .footer-col h5 { display: block; text-align: center; border-bottom: none; padding-bottom: 0; margin-bottom: 12px; }
  .footer-col h5::after { content: ''; display: block; width: 28px; height: 2px; background: var(--primary); margin: 6px auto 0; }
  .footer-links a { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .share-bar { flex-direction: column; align-items: flex-start; }
  .content-box { padding: 24px 18px; }
  .about-img-badge { width: 76px; height: 76px; font-size: 0.95rem; bottom: -12px; right: -12px; }
  .app-mockup-grid { grid-template-columns: 1fr; gap: 36px; }
  .qr-grid { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: repeat(2, 1fr); }
  .install-step:nth-child(2)::after { display: none; }
  .app-hero-stats { gap: 24px; }
  .phone-visual { gap: 14px; }
  .phone-frame { width: 132px; }
  .phone-frame.large { width: 156px; }
  .auth-right { padding: 32px 22px; }
  .post-nav-grid { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }
  .author-hero { padding: 44px 0 38px; }
  .author-avatar-wrap { width: 150px; height: 150px; }
  .author-avatar-placeholder { font-size: 3.2rem; }
  .author-verified-badge { width: 34px; height: 34px; font-size: 1rem; }
  .author-stats { gap: 20px; padding: 16px 0; }
  .author-stat-num { font-size: 1.4rem; }
  .author-stat-label { font-size: 0.68rem; }
  .author-social-link { padding: 6px 10px; font-size: 0.72rem; }
  .author-social-text { display: none; }
  .author-box { flex-direction: column; text-align: center; }
  .author-box-avatar { margin: 0 auto; }
  .rating-overview { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
  .rating-score { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .milestone-timeline::before { left: 28px; }
  .milestone-item,
  .milestone-item.right { width: 100%; left: 0; padding-left: 64px; padding-right: 18px; text-align: left; }
  .milestone-item.left .milestone-year,
  .milestone-item.right .milestone-year { left: 0; right: auto; width: 56px; height: 56px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.7rem; }
  .app-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app-card { padding: 18px 12px; }
  .error-code { font-size: 5rem; }
  .search-form-large { flex-direction: column; }
  .install-steps { grid-template-columns: 1fr; }
  .install-step::after { display: none !important; }
  .cta-banner { padding: 48px 0; }
  .cta-btns { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
  .partners-grid { grid-template-columns: 1fr; }
}