/* 9.1成长蓝莓蘑菇 - 清新成长风影视站样式 */
:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --accent: #4f46e5;
  --accent-soft: #e0e7ff;
  --accent-alt: #22c55e;
  --text-main: #0f172a;
  --text-sub: #64748b;
  --border: #e2e8f0;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: radial-gradient(circle at top left, #eef2ff 0, #f5f7fb 35%, #f9fafb 100%);
  color: var(--text-main);
  line-height: 1.7;
}

/* 头部与导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(245,247,251,0.88);
  border-bottom: 1px solid rgba(226,232,240,0.9);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, #4f46e5, #22c55e, #06b6d4, #4f46e5);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: #eef2ff;
}
.logo-text-main {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}
.logo-text-sub {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.9rem;
}
.nav a {
  text-decoration: none;
  color: var(--text-sub);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a.active,
.nav a:hover {
  color: var(--accent);
  background: rgba(79,70,229,0.08);
}

/* 主布局 */
.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 2.5rem;
}

/* 首屏：成长仪表盘式布局 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.hero-left {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226,232,240,0.9);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}
.hero-title {
  font-size: clamp(1.6rem, 3vw, 1.95rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero-title span {
  color: var(--accent);
}
.hero-sub {
  font-size: 0.96rem;
  color: var(--text-sub);
  max-width: 34rem;
  margin-bottom: 1.2rem;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-sub);
}
.hero-meta-pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #f9fafb;
}

.hero-right {
  display: grid;
  gap: 0.9rem;
}
.hero-card-main {
  background: linear-gradient(135deg, #4f46e5, #22c55e);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  color: #f9fafb;
  position: relative;
  overflow: hidden;
}
.hero-card-main::after {
  content: "";
  position: absolute;
  inset: 18px -40px auto auto;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
}
.hero-metric-label {
  font-size: 0.78rem;
  opacity: .9;
}
.hero-metric-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.3rem 0 0.1rem;
}
.hero-metric-desc {
  font-size: 0.8rem;
  opacity: .9;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}
.hero-badge {
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(15,23,42,0.22);
  font-size: 0.78rem;
}

.hero-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.7rem;
}
.hero-pill-card {
  border-radius: var(--radius-md);
  padding: 0.7rem 0.75rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(226,232,240,0.9);
  font-size: 0.8rem;
  color: var(--text-sub);
}
.hero-pill-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

/* 分区标题与标签 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.section-title {
  font-size: 1.1rem;
  font-weight: 600;
}
.section-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.78rem;
}
.tag-pill {
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: var(--text-sub);
}

/* 成长线路卡片网格 */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
}
.track-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1rem 1rem 0.9rem;
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}
.track-label {
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.track-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.track-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
}
.track-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* 列表页卡片（课程/短视频） */
.list-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1rem;
  padding: 0.9rem;
  margin-bottom: 1rem;
}
.list-thumb {
  border-radius: 12px;
  overflow: hidden;
}
.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.list-body-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.list-body-title a {
  color: var(--text-main);
  text-decoration: none;
}
.list-body-title a:hover { color: var(--accent); }
.list-body-desc {
  font-size: 0.86rem;
  color: var(--text-sub);
  margin-bottom: 0.4rem;
}
.list-body-meta {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* 内容页文章 */
.article {
  max-width: 800px;
  margin: 0 auto;
}
.article-header { margin-bottom: 1.6rem; }
.article-title {
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 650;
  margin-bottom: 0.5rem;
}
.article-meta {
  font-size: 0.82rem;
  color: var(--text-sub);
}
.article-content p { margin-bottom: 1.1rem; font-size: 0.95rem; }
.article-content h2 {
  font-size: 1.08rem;
  margin: 1.8rem 0 0.8rem;
}
.article-content h3 {
  font-size: 0.98rem;
  margin: 1.4rem 0 0.6rem;
}
.article-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 1.2rem 0 1.5rem;
  border: 1px solid var(--border);
}
.article-nav {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.86rem;
}
.article-nav a {
  color: var(--accent);
  text-decoration: none;
}
.article-nav a:hover { text-decoration: underline; }

/* 页脚 */
.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.6rem 1.25rem 2rem;
  font-size: 0.82rem;
  color: var(--text-sub);
  text-align: center;
}
.site-footer a {
  color: var(--text-sub);
  text-decoration: none;
}
.site-footer a:hover { color: var(--accent); }

/* 响应式 */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width: 720px) {
  .main { padding: 1.4rem 1rem 2.2rem; }
  .header-inner { padding-inline: 1rem; }
  .list-card {
    grid-template-columns: minmax(0,1fr);
  }
}
