/* 首页图片舱 */
.home-gallery-panel {
  margin: 0 0 28px;
  border: 1px solid rgba(118, 153, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(93, 225, 196, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(130, 140, 255, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 255, 0.88));
  box-shadow: 0 20px 45px rgba(121, 148, 255, 0.12);
  overflow: hidden;
}

.home-gallery-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  cursor: pointer;
  list-style: none;
}

.home-gallery-summary::-webkit-details-marker {
  display: none;
}

.home-gallery-summary__copy {
  display: grid;
  gap: 10px;
}

.home-gallery-summary__eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #34767e;
  background: rgba(93, 225, 196, 0.14);
}

.home-gallery-summary__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  color: #15233d;
}

.home-gallery-summary__desc {
  margin: 0;
  color: #61728a;
  line-height: 1.8;
}

.home-gallery-summary__action {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex-shrink: 0;
}

.home-gallery-summary__hint {
  font-size: 13px;
  color: #7487a2;
}

.home-gallery-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #59ddc0, #6a7fff);
  box-shadow: 0 14px 26px rgba(106, 127, 255, 0.2);
  transition: transform 0.25s ease;
}

.home-gallery-panel[open] .home-gallery-summary__icon {
  transform: rotate(45deg);
}

.home-gallery-body {
  padding: 0 28px 28px;
}

.home-gallery-wall {
  column-count: 4;
  column-gap: 14px;
}

.home-gallery-card {
  position: relative;
  display: block;
  margin: 0 0 14px;
  min-height: 180px;
  break-inside: avoid;
  border-radius: 24px;
  overflow: hidden;
  background: #edf3ff;
  box-shadow: 0 16px 36px rgba(115, 140, 255, 0.12);
}

.home-gallery-card--hero {
  min-height: 340px;
}

.home-gallery-card--tall {
  min-height: 300px;
}

.home-gallery-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 31, 52, 0.72) 100%);
}

.home-gallery-card__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-gallery-card:hover img {
  transform: scale(1.05);
}

#catalog_magnet,
.magnet_link_more {
  display: none !important;
}

@media (max-width: 900px) {
  .home-gallery-summary {
    padding: 22px 20px;
    align-items: start;
    flex-direction: column;
  }

  .home-gallery-summary__action {
    justify-items: start;
  }

  .home-gallery-body {
    padding: 0 20px 20px;
  }

  .home-gallery-wall {
    column-count: 2;
  }

  .home-gallery-card,
  .home-gallery-card--hero,
  .home-gallery-card--tall {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .home-gallery-wall {
    column-count: 1;
  }
}

/* 首页龙猫森林足迹 */
.recent-post-item--totoro {
  width: 100% !important;
  margin: 0 0 20px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  overflow: visible !important;
}

.home-totoro-panel {
  margin: 0 0 28px;
  width: 100%;
}

.totoro-board-host {
  width: 100%;
}

.totoro-board {
  --totoro-forest: #065f46;
  --totoro-soot: #1e293b;
  --totoro-acorn: #78350f;
  --totoro-rain: #bfdbfe;
  position: relative;
  width: 100%;
  min-height: 338px;
  margin: 0;
  padding: 16px 18px 20px;
  border: 1px solid rgba(228, 236, 243, 0.94);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 22px 58px rgba(149, 171, 192, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.totoro-board__header,
.totoro-board__field,
.totoro-board__footer {
  position: relative;
  z-index: 1;
}

.totoro-board__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.totoro-board__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16c784, #0ea5a6);
  box-shadow: 0 10px 20px rgba(22, 199, 132, 0.18);
}

.totoro-board__brand-mark {
  position: relative;
  width: 20px;
  height: 20px;
  transform: rotate(-28deg);
}

.totoro-board__brand-mark::before,
.totoro-board__brand-mark::after {
  content: "";
  position: absolute;
  background: #fff;
}

.totoro-board__brand-mark::before {
  inset: 2px 1px 2px 6px;
  border-radius: 70% 30% 65% 35% / 68% 40% 60% 32%;
}

.totoro-board__brand-mark::after {
  left: 0;
  bottom: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.totoro-board__title-group {
  flex: 1;
  min-width: 0;
}

.totoro-board__title {
  margin: 0;
  color: #0b7a52;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.totoro-board__subtitle {
  margin: 2px 0 0;
  color: rgba(9, 139, 124, 0.88);
  line-height: 1.2;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.totoro-board__meta {
  margin: 8px 0 0;
  color: #6a8190;
  font-size: 13px;
  line-height: 1.7;
}

.totoro-board__spirit-pack {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding-right: 4px;
}

.totoro-board__spirit-dot {
  position: relative;
  width: 26px;
  height: 26px;
  margin-left: -4px;
  border-radius: 50%;
  background: #263245;
}

.totoro-board__spirit-dot::before,
.totoro-board__spirit-dot::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 5px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.totoro-board__spirit-dot::before {
  left: 6px;
}

.totoro-board__spirit-dot::after {
  right: 6px;
}

.totoro-board__field {
  position: relative;
  min-height: 272px;
  padding: 26px 22px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 0 50%, rgba(248, 250, 252, 0.96), transparent 8px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(251, 252, 253, 0.95));
  border: 1px solid rgba(241, 245, 249, 0.98);
  overflow: hidden;
}

.totoro-board__trail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: repeat(7, minmax(18px, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: minmax(20px, 1fr);
  gap: 10px 8px;
  align-items: center;
  justify-items: center;
  min-height: 220px;
}

.totoro-board__tooltip {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 50%;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.84);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
  transform: translate(-50%, -8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.totoro-board__tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -14px);
}

.totoro-board__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 0 4px;
}

.totoro-board__legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(219, 250, 239, 0.96));
  border: 1px solid rgba(167, 243, 208, 0.72);
  color: #0f8a79;
}

.totoro-board__legend-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.totoro-board__legend-icon::before,
.totoro-board__legend-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #8ad2c2;
}

.totoro-board__legend-icon::before {
  top: 2px;
  width: 2px;
  height: 8px;
  border-radius: 999px;
}

.totoro-board__legend-icon::after {
  bottom: 1px;
  width: 12px;
  height: 8px;
  border-radius: 999px 999px 6px 6px;
  border: 1.5px solid #8ad2c2;
  background: transparent;
}

.totoro-board__legend-text {
  font-size: 12px;
}

.totoro-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
}

.totoro-dot--rain {
  opacity: 0.9;
  border-radius: 70% 30% 72% 28% / 65% 50% 50% 35%;
  background: rgba(191, 219, 254, 0.95);
}

.totoro-dot--leaf {
  width: 12px;
  border-radius: 100% 0 100% 0;
  transform: rotate(-18deg);
  background: linear-gradient(135deg, #a7f3d0, #34d399);
}

.totoro-dot--soot {
  border-radius: 50%;
  background: #1e293b;
}

.totoro-dot--acorn {
  width: 10px;
  height: 12px;
  border-radius: 44% 44% 54% 54%;
  background: linear-gradient(180deg, #92400e 0 30%, #78350f 30% 100%);
}

.totoro-board__quote {
  margin: 0;
  color: #94a3c5;
  font-size: 12px;
  font-style: italic;
  text-align: right;
}

.totoro-footprint {
  --totoro-delay: 0s;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 26px;
  height: 100%;
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.totoro-footprint--placeholder {
  cursor: default;
  pointer-events: none;
}

.totoro-footprint:focus-visible {
  outline: 2px solid rgba(6, 95, 70, 0.35);
  outline-offset: 4px;
}

.totoro-footprint:hover {
  z-index: 3;
  filter: drop-shadow(0 10px 20px rgba(15, 23, 42, 0.12));
}

.totoro-footprint:hover,
.totoro-footprint:focus-visible {
  transform: scale(1.18);
}

.totoro-footprint__inner {
  position: relative;
  display: block;
  transition: transform 0.25s ease;
}

.totoro-footprint.is-active .totoro-footprint__inner {
  animation: totoro-sway 3.8s ease-in-out infinite;
  animation-delay: var(--totoro-delay);
}

.totoro-footprint--rain .totoro-footprint__inner {
  width: 12px;
  height: 20px;
  border-radius: 999px;
  background: rgba(235, 240, 247, 0.9);
}

.totoro-footprint--leaf .totoro-footprint__inner {
  width: 24px;
  height: 11px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #bbf7d0, #16a34a);
}

.totoro-leaf__vein {
  position: absolute;
  left: 10px;
  top: 1px;
  width: 1px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(43deg);
  transform-origin: center;
}

.totoro-leaf__vein::before,
.totoro-leaf__vein::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.48);
}

.totoro-leaf__vein::before {
  left: -4px;
  top: 3px;
  transform: rotate(-20deg);
}

.totoro-leaf__vein::after {
  left: 0;
  top: 6px;
  transform: rotate(18deg);
}

.totoro-footprint--soot .totoro-footprint__inner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #334155, #1e293b 62%);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.totoro-soot__eye {
  position: absolute;
  top: 7px;
  width: 6px;
  height: 7px;
  border-radius: 50%;
  background: #f8fafc;
  transform-origin: center;
  animation: totoro-blink 4.8s infinite;
}

.totoro-soot__eye::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 2px;
  height: 3px;
  border-radius: 50%;
  background: #020617;
}

.totoro-soot__eye--left {
  left: 6px;
}

.totoro-soot__eye--right {
  right: 6px;
}

.totoro-footprint--acorn .totoro-footprint__inner {
  width: 19px;
  height: 24px;
  border-radius: 48% 48% 44% 44%;
  background: linear-gradient(180deg, #bf6c1d 0 30%, #a95107 30% 100%);
}

.totoro-acorn__cap {
  position: absolute;
  left: 1px;
  right: 1px;
  top: 0;
  height: 8px;
  border-radius: 10px 10px 6px 6px;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.14) 0 12%, transparent 13%),
    radial-gradient(circle at 52% 55%, rgba(255, 255, 255, 0.12) 0 10%, transparent 11%),
    linear-gradient(180deg, #8b4512, #6f2f08);
}

.totoro-acorn__cap::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 4px;
  height: 5px;
  border-radius: 999px;
  background: #365314;
  transform: translateX(-50%);
}

.totoro-acorn__shine {
  position: absolute;
  right: 4px;
  top: 9px;
  width: 4px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(18deg);
}

@keyframes totoro-sway {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(4deg) translateY(-2px);
  }
}

@keyframes totoro-blink {
  0%,
  89%,
  100% {
    transform: scaleY(1);
  }
  92%,
  95% {
    transform: scaleY(0.18);
  }
}

@media (max-width: 900px) {
  .totoro-board {
    min-height: 0;
    padding: 16px 14px 18px;
    border-radius: 26px;
  }

  .totoro-board__header {
    gap: 10px;
  }

  .totoro-board__spirit-pack {
    padding-right: 0;
  }

  .totoro-board__field {
    padding: 18px 12px;
    min-height: 232px;
  }

  .totoro-board__trail {
    grid-auto-columns: minmax(16px, 1fr);
    gap: 8px 6px;
    min-height: 188px;
  }

  .totoro-board__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .totoro-board {
    border-radius: 22px;
  }

  .totoro-board__title {
    font-size: 22px;
  }

  .totoro-board__subtitle {
    font-size: 12px;
  }

  .totoro-board__field {
    min-height: 182px;
    padding: 14px 8px;
  }

  .totoro-board__trail {
    grid-auto-columns: minmax(12px, 1fr);
    gap: 7px 4px;
    min-height: 150px;
  }

  .totoro-footprint {
    max-width: 18px;
    min-height: 18px;
  }

  .totoro-board__tooltip {
    max-width: calc(100% - 18px);
    padding: 9px 12px;
    white-space: normal;
    line-height: 1.45;
    text-align: center;
  }

  .totoro-board__legend {
    flex-wrap: wrap;
  }

  .totoro-board__quote {
    width: 100%;
    text-align: left;
  }
}

/* AI资源页面现代化样式 */

/* 现代化基础样式 */
.ai-resources-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--card-bg);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* 现代化顶部 */
.ai-modern-hero {
  position: relative;
  padding: 80px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 50%, #00d1ff 100%);
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--meta-color);
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--theme-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--meta-color);
  font-weight: 500;
}

/* 导航标签 */
.ai-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: var(--card-bg);
  border-bottom: 1px solid var(--text-bg-hover);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.nav-tab {
  padding: 12px 24px;
  border: none;
  background: var(--text-bg-hover);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--font-color);
  transition: all 0.3s ease;
}

.nav-tab:hover {
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 209, 255, 0.3);
}

.nav-tab.active {
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 209, 255, 0.3);
}

/* 内容区域 */
.ai-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.ai-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.ai-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--font-color);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  color: var(--meta-color);
}

/* 模型分类 */
.model-category {
  margin-bottom: 60px;
}

.category-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text-bg-hover);
}

.category-icon {
  font-size: 24px;
}

/* 模型卡片网格 */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.model-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid var(--text-bg-hover);
}

.model-card.featured {
  border: 2px solid var(--theme-color);
}

.model-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 209, 255, 0.15);
  border-color: var(--theme-color);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid var(--text-bg-hover);
}

.model-logo {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.model-info h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 4px;
}

.company {
  font-size: 13px;
  color: var(--meta-color);
}

.card-body {
  padding: 24px;
}

.card-body p {
  font-size: 15px;
  color: var(--meta-color);
  line-height: 1.7;
  margin-bottom: 16px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  background: var(--text-bg-hover);
  border-radius: 20px;
  font-size: 12px;
  color: var(--font-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--text-bg-hover);
  background: var(--text-bg-hover);
}

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  font-size: 14px;
}

.score {
  font-size: 18px;
  font-weight: bold;
  color: var(--theme-color);
}

.card-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  border-radius: 24px;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 209, 255, 0.3);
}

.card-btn:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 209, 255, 0.4);
}

/* 工具网格 */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.tool-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--text-bg-hover);
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 209, 255, 0.15);
  border-color: var(--theme-color);
}

.tool-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tool-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 12px;
}

.tool-card p {
  font-size: 15px;
  color: var(--meta-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.tool-list span {
  padding: 8px 16px;
  background: var(--text-bg-hover);
  border-radius: 20px;
  font-size: 13px;
  color: var(--font-color);
  font-weight: 500;
}

.tool-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  border-radius: 24px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 209, 255, 0.3);
}

.tool-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 209, 255, 0.4);
}

/* 学习路径 */
.learning-path {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.path-level {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.level-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 100px;
}

.level-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 8px 24px rgba(0, 209, 255, 0.3);
}

.level-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--font-color);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.level-content {
  flex: 1;
  padding: 32px;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--text-bg-hover);
  transition: all 0.4s ease;
}

.level-content:hover {
  border-color: var(--theme-color);
  box-shadow: 0 8px 32px rgba(0, 209, 255, 0.12);
}

.level-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 12px;
}

.level-content p {
  font-size: 15px;
  color: var(--meta-color);
  margin-bottom: 24px;
  line-height: 1.6;
}

.level-topics {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--text-bg-hover);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.topic-item:hover {
  transform: translateX(8px);
  background: linear-gradient(135deg, var(--text-bg-hover) 0%, rgba(0, 209, 255, 0.08) 100%);
}

.topic-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.topic-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 4px;
}

.topic-info p {
  font-size: 14px;
  color: var(--meta-color);
  margin: 0;
}

.level-duration {
  font-size: 14px;
  color: var(--theme-color);
  font-weight: 600;
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, rgba(0, 209, 255, 0.08) 0%, rgba(0, 188, 212, 0.08) 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 209, 255, 0.2);
}

/* 新闻网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--text-bg-hover);
  border-top: 4px solid var(--theme-color);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 209, 255, 0.15);
}

.news-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--theme-color) 0%, #00bcd4 100%);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.news-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--font-color);
  flex: 1;
  line-height: 1.4;
}

.news-date {
  font-size: 13px;
  color: var(--meta-color);
  white-space: nowrap;
  font-weight: 500;
}

.news-card p {
  font-size: 15px;
  color: var(--meta-color);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.news-tags span {
  padding: 6px 14px;
  background: var(--text-bg-hover);
  border-radius: 20px;
  font-size: 12px;
  color: var(--font-color);
  font-weight: 500;
}

.news-link {
  color: var(--theme-color);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.news-link:hover {
  gap: 12px;
}

/* 应用场景 */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.app-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--text-bg-hover);
}

.app-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 209, 255, 0.15);
  border-color: var(--theme-color);
}

.app-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.app-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--font-color);
  margin-bottom: 12px;
}

.app-card p {
  font-size: 15px;
  color: var(--meta-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.app-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.app-examples span {
  padding: 8px 16px;
  background: var(--text-bg-hover);
  border-radius: 20px;
  font-size: 13px;
  color: var(--font-color);
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .ai-modern-hero {
    padding: 60px 16px 40px;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 28px;
  }

  .ai-nav-tabs {
    gap: 8px;
    padding: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tab {
    min-width: 100px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .ai-content-wrapper {
    padding: 24px 16px;
  }

  .model-grid,
  .tools-grid,
  .news-grid,
  .applications-grid {
    grid-template-columns: 1fr;
  }

  .path-level {
    flex-direction: column;
    gap: 20px;
  }

  .level-badge {
    flex-direction: row;
    min-width: auto;
    justify-content: center;
    gap: 16px;
  }

  .level-title {
    writing-mode: horizontal-tb;
  }

  .section-title {
    font-size: 24px;
  }

  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .topic-item {
    flex-direction: column;
    text-align: center;
  }
}
