/* 糖心vlog · 版本13（蓝紫玻璃拟态） */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    system-ui, sans-serif;
  color: #101828;
  background: radial-gradient(circle at 10% 10%, #e7f0ff 0, transparent 40%),
    radial-gradient(circle at 90% 15%, #f2e9ff 0, transparent 45%),
    radial-gradient(circle at 30% 90%, #e8fff7 0, transparent 45%),
    #f7f9ff;
  line-height: 1.6;
}

a {
  color: #3b5bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 顶部导航 */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, #3b5bff, #a855f7);
  box-shadow: 0 10px 24px rgba(59, 91, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.logo-text-main {
  font-weight: 800;
  font-size: 18px;
  color: #1d2bff;
}

.logo-text-sub {
  font-size: 12px;
  color: #667085;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 14px;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.nav-links a.active,
.nav-links a:hover {
  background: rgba(59, 91, 255, 0.1);
  border-color: rgba(59, 91, 255, 0.22);
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #3b5bff, #a855f7);
  border: 0;
}

.nav-cta:hover {
  text-decoration: none;
  filter: brightness(0.98);
}

/* Hero */
.hero {
  padding: 44px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.glass {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 22px;
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 22px 22px 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 91, 255, 0.08);
  border: 1px solid rgba(59, 91, 255, 0.18);
  font-size: 12px;
  color: #2a44ff;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.hero-title span {
  background: linear-gradient(135deg, #3b5bff, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: #344054;
  margin-bottom: 14px;
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(59, 91, 255, 0.28);
  color: #2a44ff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 10px;
}

.btn-primary {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b5bff, #a855f7);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 40, 0.12);
  color: #344054;
  font-weight: 700;
  font-size: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #667085;
  margin-top: 10px;
}

.hero-visual {
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(59, 91, 255, 0.14), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 26px 60px rgba(59, 91, 255, 0.18);
}

.hero-visual-inner {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
}

/* 分区 */
.section {
  padding: 28px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.section-subtitle {
  font-size: 13px;
  color: #667085;
  margin-top: 4px;
}

.link-more {
  font-size: 13px;
  color: #3b5bff;
  font-weight: 700;
}

/* 卡片：更像视频站 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.video-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card,
.case-card {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(59, 91, 255, 0.18);
}

.feature-card:hover,
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(59, 91, 255, 0.18);
}

.video-cover {
  position: relative;
  background: #eef2ff;
}

.video-cover img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.video-badge-left {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.72);
  color: #fff;
  font-size: 11px;
}

.video-badge-right {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.72);
  color: #fff;
  font-size: 11px;
}

.video-play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 12px 26px rgba(16, 24, 40, 0.22);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid #3b5bff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 2px;
}

.video-card:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-body {
  padding: 12px 12px 14px;
}

.card-title {
  font-size: 14px;
  font-weight: 900;
  color: #101828;
  margin-bottom: 6px;
}

.card-meta {
  font-size: 12px;
  color: #667085;
  margin-bottom: 10px;
}

.video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.video-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475467;
  font-size: 12px;
  min-width: 0;
}

.video-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b5bff, #a855f7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex: none;
}

.video-author span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-stats {
  font-size: 11px;
  color: #98a2b3;
  white-space: nowrap;
}

/* 列表/FAQ/文章 */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 18px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.list-item-title {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 4px;
}

.list-item-meta {
  font-size: 12px;
  color: #667085;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.faq-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.faq-q {
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}

.faq-a {
  font-size: 12px;
  color: #667085;
}

.breadcrumb {
  font-size: 12px;
  color: #667085;
  margin-bottom: 10px;
}

.article-layout {
  padding: 22px 0 30px;
}

.article-header h1 {
  font-size: 24px;
  font-weight: 950;
  margin-bottom: 8px;
}

.article-meta {
  font-size: 12px;
  color: #667085;
  margin-bottom: 16px;
}

.article-cover {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.08);
  margin-bottom: 16px;
}

.article-content p {
  margin-bottom: 12px;
  font-size: 14px;
  color: #344054;
}

.article-content h2 {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 950;
}

.article-tags {
  margin-top: 12px;
}

.article-tags span {
  display: inline-block;
  padding: 3px 8px;
  margin-right: 6px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: rgba(59, 91, 255, 0.1);
  border: 1px solid rgba(59, 91, 255, 0.18);
  color: #2a44ff;
  font-size: 11px;
  font-weight: 800;
}

.back-home {
  margin-top: 18px;
  font-size: 13px;
  color: #475467;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 26px 0 18px;
  background: rgba(16, 24, 40, 0.92);
  color: rgba(255, 255, 255, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-title {
  font-weight: 900;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* 响应式 */
@media (max-width: 960px) {
  .hero-grid,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  header {
    position: static;
  }

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

  .hero {
    padding-top: 24px;
  }

  .hero-title {
    font-size: 26px;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

