/* ==========================================================================
   花瓣网站 - 共享样式表
   主色：柔粉 #ff5e8a + 紫色渐变 #a855f7
   风格：圆润柔和的瀑布流风格
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --pink: #ff5e8a;
  --pink-soft: #ffd0de;
  --purple: #a855f7;
  --purple-soft: #e9d5ff;
  --gradient-main: linear-gradient(135deg, #ff5e8a 0%, #a855f7 100%);
  --gradient-soft: linear-gradient(135deg, #ffd0de 0%, #e9d5ff 100%);
  --gradient-warm: linear-gradient(135deg, #ff8a5e 0%, #ff5e8a 100%);
  --gradient-cool: linear-gradient(135deg, #a855f7 0%, #6ec6ff 100%);
  --bg: #fff7fa;
  --bg-card: #ffffff;
  --text: #2d2233;
  --text-soft: #6b5d72;
  --text-muted: #a89cae;
  --border: #f3e6ee;
  --shadow-sm: 0 4px 12px rgba(255, 94, 138, 0.08);
  --shadow-md: 0 8px 24px rgba(168, 85, 247, 0.12);
  --shadow-lg: 0 16px 40px rgba(255, 94, 138, 0.16);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --sidebar-w: 240px;
}

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

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

/* ==========================================================================
   整体布局：侧边栏 + 主内容区
   ========================================================================== */
.app {
  display: flex;
  min-height: 100vh;
}

/* ---------- 左侧固定侧边栏 ---------- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  z-index: 100;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 24px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-size: 19px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

/* 侧边栏导航 */
.nav-section {
  margin-bottom: 20px;
}

.nav-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 12px 8px;
  font-weight: 600;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--gradient-soft);
  color: var(--pink);
}

.nav-link.active {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.nav-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* 侧边栏底部用户卡片 */
.sidebar-user {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-warm);
  flex-shrink: 0;
}

.sidebar-user-info {
  font-size: 13px;
  overflow: hidden;
}

.sidebar-user-name {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.sidebar-user-sub {
  color: var(--text-soft);
  font-size: 11.5px;
}

/* 移动端汉堡按钮 */
.menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: var(--shadow-sm);
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  color: var(--pink);
}

/* 遮罩层 */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45, 34, 51, 0.4);
  z-index: 99;
  backdrop-filter: blur(2px);
}

.overlay.show {
  display: block;
}

/* ---------- 主内容区 ---------- */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  padding: 32px 36px;
  max-width: 1400px;
  width: 100%;
}

/* ==========================================================================
   通用区块组件
   ========================================================================== */

/* 页面标题 */
.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.page-subtitle {
  color: var(--text-soft);
  font-size: 15px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
}

.section {
  margin-bottom: 40px;
}

/* 顶部搜索栏 */
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.search-bar:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--pink-soft);
}

.search-bar svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: var(--text);
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.search-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.search-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--gradient-soft);
  color: var(--pink);
  white-space: nowrap;
}

/* 圆形分类标签 */
.category-circles {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  margin-bottom: 24px;
  scrollbar-width: thin;
}

.category-circle {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.category-circle:hover {
  transform: translateY(-3px);
}

.circle-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.circle-icon svg {
  width: 28px;
  height: 28px;
}

.circle-label {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

/* ==========================================================================
   瀑布流卡片网格
   ========================================================================== */
.masonry {
  column-count: 4;
  column-gap: 20px;
}

@media (max-width: 1200px) {
  .masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

.card {
  break-inside: avoid;
  margin-bottom: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* 用渐变色块模拟图片缩略图 */
.card-thumb {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  overflow: hidden;
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.card-thumb svg {
  width: 36px;
  height: 36px;
  opacity: 0.7;
  z-index: 1;
}

/* 不同高度的卡片缩略图，形成瀑布流错落感 */
.h-tall { height: 320px; }
.h-medium { height: 240px; }
.h-short { height: 180px; }
.h-x-tall { height: 380px; }
.h-square { height: 260px; }

/* 渐变配色集合 */
.g1 { background: linear-gradient(135deg, #ff5e8a, #a855f7); }
.g2 { background: linear-gradient(135deg, #ff8a5e, #ff5e8a); }
.g3 { background: linear-gradient(135deg, #a855f7, #6ec6ff); }
.g4 { background: linear-gradient(135deg, #5effa0, #a855f7); }
.g5 { background: linear-gradient(135deg, #ffd95e, #ff5e8a); }
.g6 { background: linear-gradient(135deg, #5ec6ff, #5e8aff); }
.g7 { background: linear-gradient(135deg, #ff5e8a, #ffd95e); }
.g8 { background: linear-gradient(135deg, #a855f7, #ff5e8a); }
.g9 { background: linear-gradient(135deg, #5e8aff, #a855f7); }
.g10 { background: linear-gradient(135deg, #ff8a5e, #ffd95e); }
.g11 { background: linear-gradient(135deg, #6ec6ff, #a855f7); }
.g12 { background: linear-gradient(135deg, #ff5e8a, #5effa0); }

/* 卡片信息区 */
.card-body {
  padding: 14px 16px 16px;
}

.card-title {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--gradient-warm);
}

.card-stats {
  display: flex;
  gap: 12px;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 3px;
}

.card-stat svg {
  width: 14px;
  height: 14px;
}

/* 卡片操作浮层 */
.card-action {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.card:hover .card-action {
  opacity: 1;
}

.card-action svg {
  width: 18px;
  height: 18px;
  color: var(--pink);
}

/* ==========================================================================
   今日精选大卡
   ========================================================================== */
.featured-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--border);
}

.featured-thumb {
  min-height: 320px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
}

.featured-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  z-index: 1;
}

.featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  width: fit-content;
  background: var(--gradient-soft);
  color: var(--pink);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  font-weight: 600;
}

.featured-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.featured-desc {
  color: var(--text-soft);
  margin-bottom: 20px;
  font-size: 14.5px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.featured-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--gradient-cool);
}

.featured-author-name {
  font-weight: 600;
  font-size: 14px;
}

.featured-author-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: var(--gradient-soft);
  color: var(--pink);
}

.btn-ghost:hover {
  background: var(--pink-soft);
}

.btn-outline {
  background: #fff;
  color: var(--pink);
  border: 1.5px solid var(--pink-soft);
}

.btn-outline:hover {
  background: var(--gradient-soft);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   分类大卡网格
   ========================================================================== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.cat-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 60%);
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cat-card-body {
  position: relative;
  z-index: 1;
}

.cat-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cat-card-count {
  font-size: 13px;
  opacity: 0.9;
}

.cat-card-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.cat-card-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

/* ==========================================================================
   设计师卡片
   ========================================================================== */
.designer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.designer-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.designer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.designer-avatar {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-full);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.designer-avatar svg {
  width: 38px;
  height: 38px;
}

.designer-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.designer-badge svg {
  width: 12px;
  height: 12px;
  color: #fff;
}

.designer-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.designer-bio {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 14px;
  min-height: 38px;
}

.designer-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.designer-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.designer-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 头像渐变变体 */
.av-1 { background: linear-gradient(135deg, #ff5e8a, #a855f7); }
.av-2 { background: linear-gradient(135deg, #ff8a5e, #ffd95e); }
.av-3 { background: linear-gradient(135deg, #5ec6ff, #a855f7); }
.av-4 { background: linear-gradient(135deg, #5effa0, #5ec6ff); }
.av-5 { background: linear-gradient(135deg, #ffd95e, #ff5e8a); }
.av-6 { background: linear-gradient(135deg, #a855f7, #ff5e8a); }
.av-7 { background: linear-gradient(135deg, #5e8aff, #5effa0); }
.av-8 { background: linear-gradient(135deg, #ff5e8a, #ffd95e); }

/* ==========================================================================
   筛选标签栏
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.filter-chip {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.filter-chip:hover {
  background: var(--gradient-soft);
  color: var(--pink);
}

.filter-chip.active {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   关于页 / 帮助页 / 联系页 通用
   ========================================================================== */
.hero {
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  background: var(--gradient-main);
  color: #fff;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 16px;
  opacity: 0.92;
  line-height: 1.7;
}

/* 两栏内容 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* 信息卡片 */
.info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.info-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card-title svg {
  width: 22px;
  height: 22px;
  color: var(--pink);
}

.info-card p {
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.75;
}

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

/* 发展历程时间线 */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--gradient-main);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  padding-bottom: 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 3px solid var(--pink);
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* 团队成员 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.team-member {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.team-member:hover {
  transform: translateY(-3px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.team-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.team-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* FAQ 折叠 */
.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.faq-q {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-q::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-a {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  padding-left: 32px;
}

/* 教程步骤 */
.step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* 联系表单 */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--pink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 94, 138, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* 联系信息条目 */
.contact-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--pink);
}

.contact-label {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

/* 统计数字 */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-num {
  font-size: 30px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-soft);
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 40px 36px 24px;
  margin-left: var(--sidebar-w);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--gradient-main);
  color: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-link {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--pink);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--pink);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-thumb {
    min-height: 200px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: flex;
  }
  .main {
    margin-left: 0;
  }
  .content {
    padding: 70px 18px 32px;
  }
  .footer {
    margin-left: 0;
    padding: 32px 20px 20px;
  }
  .hero {
    padding: 36px 24px;
  }
  .hero-title {
    font-size: 26px;
  }
  .page-title {
    font-size: 23px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .content {
    padding: 70px 14px 28px;
  }
}
