/* ===== 糖心vlog 首页专用样式 ===== */

/* 英雄区 */
.hero {
  padding: 28px var(--gutter) 16px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--petal);
  border: 1px solid rgba(255,150,180,.3);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .78rem;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: .3px;
}

.hero-eyebrow span { animation: pulse 2s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.hero h1 {
  font-family: var(--font-disp);
  font-size: clamp(1.45rem, 5.5vw, 2.2rem);
  line-height: 1.25;
  background: linear-gradient(135deg, var(--rose) 0%, var(--coral) 60%, #ffb347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 平台介绍区块 */
.platform-blocks {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px var(--gutter) 20px;
  position: relative;
  z-index: 1;
}

.platform-block {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,160,190,.2);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px;
  margin-bottom: 14px;
}

.platform-block:last-child { margin-bottom: 0; }

.platform-block h2 {
  font-family: var(--font-disp);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--plum);
  margin-bottom: 12px;
}

.platform-block p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 10px;
  text-align: justify;
}

.platform-block p:last-child { margin-bottom: 0; }

.platform-block a {
  color: var(--coral);
  font-weight: 600;
  text-decoration: none;
}

.platform-block a:hover { text-decoration: underline; }

.platform-block .features-grid {
  margin-top: 16px;
  padding: 0;
}

/* 统计数据 */
.stat-chip {
  flex-shrink: 0;
  background: white;
  border: 1px solid rgba(255,150,185,.25);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.stat-num {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--coral);
}

.stat-lbl {
  font-size: .85rem;
  color: var(--muted);
}

/* 创作者卡片 */
.creator-chip {
  flex-shrink: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,150,185,.25);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.creator-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cr-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blush);
  flex-shrink: 0;
}

.cr-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.cr-desc {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

/* 特色功能卡片 */
.feat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px 14px;
  text-align: center;
  border: 1px solid rgba(255,160,190,.2);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feat-icon {
  font-size: 2.4rem;
  margin-bottom: 10px;
  display: block;
}

.feat-card h3 {
  font-size: .98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--plum);
}

.feat-card p {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.5;
}

/* 用户评价 */
.review-card {
  flex-shrink: 0;
  min-width: 272px;
  background: white;
  border-radius: var(--radius-md);
  padding: 22px 20px;
  border: 1px solid rgba(255,150,185,.2);
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #ffb347;
  font-size: .9rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-text {
  font-size: .875rem;
  color: var(--plum);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--blush);
  border: 2px solid var(--blush);
}

.review-name {
  font-weight: 700;
  font-size: .9rem;
}

.review-since {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* 成功故事 */
.story-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,150,185,.2);
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.story-img {
  width: 130px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--blush);
}

.story-body { padding: 18px 16px; }

.story-label {
  display: inline-block;
  background: var(--petal);
  color: var(--rose);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: .3px;
}

.story-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--plum);
}

.story-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* APP 下载区 */
.app-section {
  margin: 32px var(--gutter);
  background: linear-gradient(135deg, #fce4ef, #ffe9f2, #fdf0f7);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(255,150,185,.2);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '🍭';
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 8rem;
  opacity: .07;
  pointer-events: none;
}

.app-section h2 {
  font-family: var(--font-disp);
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.app-section p {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.dl-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-btn {
  background: linear-gradient(135deg, var(--coral), var(--rose));
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(255,90,126,.4);
  transition: var(--transition);
}

.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,90,126,.45);
}

.dl-btn.ghost {
  background: white;
  color: var(--rose);
  border: 1.5px solid rgba(255,100,140,.4);
  box-shadow: var(--shadow-sm);
}

.dl-btn.ghost:hover { background: var(--petal); }

/* 内容精选模块 */
.content-hub {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 4px var(--gutter) 20px;
}

.content-hub-inner {
  display: grid;
  gap: 14px;
}

.hub-panel {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 160, 190, .2);
  box-shadow: var(--shadow-sm);
  padding: 18px 16px;
}

.hub-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
}

.hub-panel-head h2 {
  font-family: var(--font-disp);
  font-size: 1.2rem;
  color: var(--plum);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-panel-head h2 i {
  color: var(--coral);
  font-size: 1rem;
}

.hub-panel .sec-more {
  flex-shrink: 0;
  font-size: .8rem;
}

/* 最新文章 */
.hub-article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hub-article-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  border-radius: 10px;
  padding: 4px;
  margin: -4px;
}

.hub-article-item:hover {
  background: var(--petal);
}

.hub-article-thumb {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.hub-article-info h3 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hub-article-info time {
  font-size: .72rem;
  color: var(--muted);
}

/* 最新资讯 */
.hub-news-list {
  list-style: none;
}

.hub-news-list li {
  border-bottom: 1px solid rgba(255, 160, 190, .15);
}

.hub-news-list li:last-child { border-bottom: none; }

.hub-news-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.hub-news-list a:hover .hub-news-title { color: var(--coral); }

.hub-news-title {
  font-size: .86rem;
  font-weight: 600;
  color: var(--plum);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition);
}

.hub-news-list time {
  flex-shrink: 0;
  font-size: .72rem;
  color: var(--muted);
  background: var(--petal);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

/* 热门教程 */
.hub-tutorial-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hub-tutorial-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--petal), #fff8fb);
  border: 1px solid rgba(255, 160, 190, .2);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.hub-tutorial-item:hover {
  transform: translateX(4px);
  border-color: rgba(255, 120, 160, .35);
  box-shadow: var(--shadow-sm);
}

.hub-tutorial-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}

.hub-tutorial-item h3 {
  font-size: .86rem;
  font-weight: 700;
  color: var(--plum);
  line-height: 1.4;
  margin-bottom: 3px;
}

.hub-tutorial-item p {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.4;
}

.hub-tutorial-arrow {
  flex-shrink: 0;
  font-size: .7rem;
  color: var(--coral);
  opacity: .6;
}

.hub-tutorial-item:hover .hub-tutorial-arrow { opacity: 1; }

/* 热门问答 */
.hub-faq-list {
  list-style: none;
  counter-reset: hub-faq;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hub-faq-list li {
  counter-increment: hub-faq;
}

.hub-faq-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--plum);
  font-size: .86rem;
  font-weight: 600;
  transition: var(--transition);
  line-height: 1.45;
}

.hub-faq-list a::before {
  content: counter(hub-faq);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--coral), var(--rose));
  color: white;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 6px;
}

.hub-faq-list a:hover {
  background: var(--petal);
  color: var(--coral);
}
