/* =========================================================
   糖心vlog · 样式表（糖心2 批次 · 第 81 套 · 主题：版画）
   主色 #10b981 · 浅色背景 · 大圆角 · 微阴影 · 渐变 · 粒子
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #10b981;
  --primary-deep: #059669;
  --primary-dark: #0d9488;
  --primary-light: #34d399;
  --primary-soft: #d1fae5;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --ink-3: #9ca3af;
  --bg: #f4faf7;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- 1 顶部导航 ---------- */
.navbar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); border-bottom: 1px solid #e3efe9; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--primary-deep); white-space: nowrap; }
.logo .logo-icon { font-size: 26px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--primary); }
.nav-btns { display: flex; gap: 10px; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; border-radius: 999px; font-size: 14px; transition: all .2s; padding: 8px 22px; }
.btn-login { background: transparent; color: var(--primary-deep); border: 1.5px solid var(--primary); }
.btn-login:hover { background: var(--primary-soft); }
.btn-register { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.45); }

/* ---------- 2 Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #10b981 0%, #0d9488 55%, #0f766e 100%); color: #fff; padding: 92px 0 100px; text-align: center; }
.hero .particles { position: absolute; inset: 0; pointer-events: none; }
.hero .particles span { position: absolute; bottom: -30px; background: rgba(255, 255, 255, 0.4); border-radius: 50%; animation: floatUp linear infinite; }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateY(-640px); opacity: 0; } }
.hero h1 { position: relative; font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: 1px; margin-bottom: 16px; }
.hero .sub { position: relative; font-size: clamp(15px, 2vw, 18px); color: rgba(255, 255, 255, 0.92); max-width: 660px; margin: 0 auto 36px; }
.search-box { position: relative; display: flex; align-items: center; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 6px 6px 6px 26px; box-shadow: 0 14px 36px rgba(6, 78, 59, 0.25); }
.search-box input { flex: 1; min-width: 0; border: none; outline: none; font-size: 15px; color: var(--ink); background: transparent; }
.search-box button { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border: none; border-radius: 999px; padding: 11px 28px; font-size: 15px; cursor: pointer; transition: opacity .2s; }
.search-box button:hover { opacity: .92; }
.hero-stats { position: relative; display: flex; justify-content: center; gap: 56px; margin-top: 48px; flex-wrap: wrap; }
.hero-stat .num { font-size: 30px; font-weight: 800; }
.hero-stat .label { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section-alt { background: #ffffff; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 30px; font-weight: 800; color: var(--ink); }
.section-head h2::after { content: ""; display: block; width: 46px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); margin: 14px auto 0; }
.section-head p { color: var(--ink-3); margin-top: 10px; font-size: 15px; }

/* ---------- 3 视频卡片 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.video-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.video-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(16, 185, 129, 0.16); }
.video-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.video-card:hover .video-cover img { transform: scale(1.06); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.93); display: flex; align-items: center; justify-content: center; font-size: 17px; color: var(--primary-deep); padding-left: 3px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.duration { position: absolute; right: 10px; bottom: 10px; background: rgba(17, 24, 39, 0.8); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.video-body { padding: 14px 16px 16px; }
.video-title { font-size: 15px; font-weight: 700; line-height: 1.45; min-height: 43px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-desc { font-size: 13px; color: var(--ink-3); margin: 6px 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-row { display: flex; align-items: center; gap: 8px; }
.creator-row .avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.creator-row .name { font-size: 13px; color: var(--ink-2); }
.creator-row .meta { margin-left: auto; font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; }

/* ---------- 4 明星创作者 ---------- */
.creator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }
.creator-card { position: relative; background: var(--card); border-radius: var(--radius); padding: 32px 20px 26px; text-align: center; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.creator-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(16, 185, 129, 0.16); }
.creator-card .star-badge { position: absolute; top: 14px; right: 14px; background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.creator-card .avatar { width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 14px; border: 3px solid var(--primary-soft); }
.creator-card .nick { font-size: 17px; font-weight: 800; }
.creator-card .bio { font-size: 13px; color: var(--ink-3); margin: 6px 0 14px; }
.creator-card .fans { display: inline-block; font-size: 13px; font-weight: 600; color: var(--primary-deep); background: var(--primary-soft); padding: 4px 16px; border-radius: 999px; }

/* ---------- 5 平台特色 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { background: var(--card); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); transition: transform .25s; border: 1px solid #eaf6f0; }
.feature-card:hover { transform: translateY(-5px); }
.f-icon { width: 52px; height: 52px; border-radius: 16px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--ink-3); }

/* ---------- 6 数据统计 ---------- */
.stats-band { background: linear-gradient(135deg, #065f46 0%, #059669 50%, #0d9488 100%); color: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.stat-num { font-size: 44px; font-weight: 900; }
.stat-label { font-size: 15px; color: rgba(255, 255, 255, 0.85); margin-top: 4px; }

/* ---------- 7 用户评价 ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.testimonial-card { background: var(--card); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); border: 1px solid #eaf6f0; }
.stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.comment { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.person { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #eef5f1; }
.person .avatar { width: 42px; height: 42px; border-radius: 50%; }
.person h4 { font-size: 14px; }
.person span { font-size: 12px; color: var(--ink-3); }

/* ---------- 8 成功故事 ---------- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.story-card { background: linear-gradient(135deg, #ecfdf5, #ffffff); border: 1px solid var(--primary-soft); border-radius: var(--radius); padding: 28px 26px; transition: transform .25s, box-shadow .25s; }
.story-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(16, 185, 129, 0.14); }
.story-card h3 { font-size: 18px; font-weight: 800; color: var(--primary-deep); margin-bottom: 10px; }
.story-card p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }

/* ---------- 9 APP 展示 ---------- */
.app-wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.app-text { flex: 1; max-width: 560px; }
.app-text h2 { font-size: 30px; font-weight: 800; }
.app-lead { color: var(--ink-2); margin: 12px 0 30px; font-size: 16px; }
.app-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 26px; }
.app-feature { display: flex; gap: 14px; align-items: flex-start; }
.app-feature .f-icon { flex-shrink: 0; margin-bottom: 0; width: 48px; height: 48px; border-radius: 14px; font-size: 22px; }
.app-feature h4 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.app-feature p { font-size: 13px; color: var(--ink-3); }
.phone { position: relative; width: 272px; height: 560px; border-radius: 46px; background: #0f172a; padding: 10px; box-shadow: 0 26px 64px rgba(16, 185, 129, 0.28); flex-shrink: 0; }
.phone .notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 112px; height: 24px; background: #0f172a; border-radius: 999px; z-index: 2; }
.phone .screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 10 页脚 ---------- */
.footer { background: #0f172a; color: #cbd5e1; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-logo { color: #fff; margin-bottom: 14px; }
.footer-intro { font-size: 14px; color: #94a3b8; line-height: 1.8; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-grid a { display: block; color: #94a3b8; font-size: 14px; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--primary-light); }
.copyright { text-align: center; color: #64748b; font-size: 13px; margin-top: 24px; }

/* ---------- 内页 ---------- */
.page-hero { background: linear-gradient(135deg, #10b981, #0d9488); color: #fff; text-align: center; padding: 66px 0 72px; }
.page-hero h1 { font-size: 34px; font-weight: 900; }
.page-hero p { color: rgba(255, 255, 255, 0.9); margin-top: 10px; font-size: 16px; }

/* 精选页筛选 */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { background: #fff; border: 1.5px solid #d5e9e0; color: var(--ink-2); border-radius: 999px; padding: 8px 24px; cursor: pointer; font-size: 14px; transition: all .2s; }
.filter-btn:hover { border-color: var(--primary); color: var(--primary-deep); }
.filter-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-color: transparent; }

/* 关于页 */
.about-intro { max-width: 780px; margin: 0 auto; text-align: center; }
.about-intro h2 { font-size: 28px; font-weight: 800; margin-bottom: 18px; }
.about-intro p { color: var(--ink-2); line-height: 2; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.value-card { background: var(--card); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); border: 1px solid #eaf6f0; }
.value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-3); line-height: 1.75; }
.timeline { max-width: 660px; margin: 0 auto; position: relative; padding-left: 30px; border-left: 3px solid var(--primary-soft); }
.tl-item { position: relative; margin-bottom: 28px; padding-left: 16px; }
.tl-item::before { content: ""; position: absolute; left: -36.5px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tl-year { font-weight: 800; color: var(--primary-deep); font-size: 18px; margin-right: 12px; }
.tl-item p { display: inline; color: var(--ink-2); font-size: 14px; }
.about-cta { text-align: center; }
.about-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.about-cta p { color: var(--ink-3); margin-bottom: 26px; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .app-wrap { flex-direction: column; text-align: center; }
  .app-features { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 66px 0 72px; }
  .hero-stats { gap: 26px; }
  .hero-stat .num { font-size: 24px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 25px; }
  .video-grid { gap: 14px; }
  .phone { width: 230px; height: 474px; border-radius: 40px; padding: 8px; }
  .phone .screen { border-radius: 32px; }
  .app-features { grid-template-columns: 1fr; }
}
