/* AI 创作中心 - 复用 home.css 的设计令牌 */
:root {
  --paper: #fffdfb;
  --paper-soft: #fbfaf8;
  --ink: #28231f;
  --muted: #615b55;
  --line: #d8d4cf;
  --soft-line: #e7e1d9;
  --accent: #a4642b;
  --accent-dark: #8b4f1c;
  --accent-soft: #f7eee4;
  --shadow: rgba(58, 42, 27, .08);

  --theme-1: #c66a3d;   /* 老照片修复 - 暖橙 */
  --theme-2: #e0944a;   /* 儿童成长 - 蜜糖 */
  --theme-3: #d97f50;   /* 宠物时光 - 焦糖 */
  --theme-4: #b85f6e;   /* 爱情纪念 - 玫粉 */
  --theme-5: #6b8e7f;   /* 旅行相册 - 松绿 */
  --theme-6: #8c6db5;   /* 创意写真 - 雾紫 */

  --tool-1: #a4642b;    /* 发型设计 - 主棕 */
  --tool-2: #4a7ba6;    /* 证件照 - 海蓝 */
  --tool-3: #c97e4a;    /* 换装 - 砖橙 */
  --tool-4: #5e8c6f;    /* 背景替换 - 苔绿 */
  --tool-5: #b87b5c;    /* 人像精修 - 浅棕 */
  --tool-6: #c45a85;    /* 妆容设计 - 莓红 */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background: #f5f3f0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.aihub-shell {
  width: min(1208px, calc(100% - 28px));
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid #c7c4bf;
  border-radius: 14px;
  background: var(--paper);
}

/* 复用首页头部样式 */
.site-header {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 78px;
  padding: 0 31px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 45px;
  height: 45px;
  color: var(--accent);
}

.brand-mark svg { width: 100%; height: 100%; }

.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 19px; line-height: 1.15; letter-spacing: .08em; }
.brand-copy small { font-size: 12px; line-height: 1.25; letter-spacing: .06em; color: var(--muted); }

.site-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.site-nav__link {
  position: relative;
  padding: 8px 4px;
  font-size: 15px;
  color: var(--ink);
  transition: color .15s ease;
}

.site-nav__link:hover { color: var(--accent); }

.site-nav__link.is-active {
  color: var(--accent);
}

.site-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 18px;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  border-radius: 1px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.membership-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-dark);
  border: 1px solid #ecd9bf;
  transition: all .15s ease;
}

.membership-button:hover {
  background: var(--accent);
  color: #fff;
}

.membership-button svg { width: 16px; height: 16px; }

.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease;
}

.icon-button:hover { background: var(--accent-soft); }

.icon-button svg { width: 20px; height: 20px; }

.avatar-button {
  width: 36px;
  height: 36px;
  background: var(--accent-soft);
  border: 1px solid #ecd9bf;
  border-radius: 50%;
  cursor: pointer;
}

/* 主区域 */
.aihub-main {
  padding: 36px 31px 60px;
}

/* Hero 介绍区 */
.aihub-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.aihub-hero__text {
  display: grid;
  gap: 0;
}

.aihub-hero__title {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .02em;
}

.aihub-hero__title .accent {
  color: var(--accent);
}

.aihub-hero__sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 720px;
}

/* 3 张统计卡（横排，标题下方整宽） */
.aihub-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--paper-soft);
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  transition: all .2s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.stat-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.stat-card__icon svg { width: 24px; height: 24px; }

.stat-card__body {
  display: grid;
  gap: 4px;
}

.stat-card__num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.stat-card__unit {
  font-size: 13px;
  color: var(--muted);
  margin-left: 4px;
  font-weight: 400;
}

.stat-card__label {
  font-size: 13px;
  color: var(--muted);
}

/* 通用章节 */
.section {
  margin-top: 36px;
  background: var(--paper-soft);
  border: 1px solid var(--soft-line);
  border-radius: 12px;
  padding: 24px 28px 28px;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.section__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.section__title .ai {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section__sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.section__count {
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* 快捷入口芯片 */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

.quick-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 4px;
  background: var(--paper);
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s ease;
  font-size: 12.5px;
  text-align: center;
  white-space: nowrap;
}

.quick-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow);
}

.quick-chip__icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.quick-chip__icon svg { width: 18px; height: 18px; }

/* 工具表格 */
.tool-table {
  display: grid;
  gap: 12px;
}

.tool-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 88px;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  transition: all .15s ease;
}

.tool-row:hover {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 4px 16px var(--shadow);
}

.tool-row__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.tool-row__icon svg { width: 22px; height: 22px; }

.tool-row__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.tool-row__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.tool-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tool-tag {
  font-size: 11px;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid #ecd9bf;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.4;
}

.tool-row__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #ecd9bf;
  transition: all .15s ease;
  white-space: nowrap;
}

.tool-row__cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tool-row__cta::after {
  content: "→";
  transition: transform .15s ease;
}

.tool-row__cta:hover::after { transform: translateX(2px); }

/* 表头 */
.table-head {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 88px;
  gap: 18px;
  padding: 0 20px 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* 反馈区 */
.feedback-bar {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fff7ed 100%);
  border: 1px solid #ecd9bf;
  border-radius: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

.feedback-bar__copy {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feedback-bar__icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feedback-bar__icon svg { width: 20px; height: 20px; }

.feedback-bar__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.feedback-bar__sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.feedback-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all .15s ease;
}

.feedback-bar__cta:hover {
  background: var(--accent-dark);
}

.feedback-bar__cta::after {
  content: "→";
  transition: transform .15s ease;
}

.feedback-bar__cta:hover::after { transform: translateX(2px); }

/* 响应式 */
@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }
  .site-nav { display: none; }
  .aihub-stats { grid-template-columns: 1fr; }
  .table-head { display: none; }
  .tool-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tool-row__cta { justify-self: start; }
  .aihub-hero__title { font-size: 28px; }
}
</content>
</invoke>
