/* 糖心vlog 17 - 深色 · 极简 · 全宽架构（与16视觉/结构区分） */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  color: #e4e6eb;
  background: #0d0f14;
  line-height: 1.6;
}

a {
  color: #00d4aa;
  text-decoration: none;
}

a:hover {
  color: #33ddb8;
}

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

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

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Header：顶栏 + 居中导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 15, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.logo-link {
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo-link:hover {
  color: #00d4aa;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.875rem;
}

.site-nav a {
  color: #9ca3af;
  position: relative;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #00d4aa;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #374151;
  color: #9ca3af;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

/* ========== Hero：全宽背景图 + 居中文案 ========== */
.hero-full {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 120px 24px 80px;
  background: #0d0f14;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 170, 0.03) 50%, #0d0f14 100%);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-full h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-full h1 .accent {
  color: #00d4aa;
}

.hero-full .hero-desc {
  font-size: 1rem;
  color: #9ca3af;
  margin-bottom: 28px;
  line-height: 1.7;
}

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

.hero-cta .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: opacity 0.2s, transform 0.2s;
}

.hero-cta .btn-main {
  background: #00d4aa;
  color: #0d0f14;
  border: none;
}

.hero-cta .btn-main:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.hero-cta .btn-outline {
  background: transparent;
  color: #00d4aa;
  border: 2px solid #00d4aa;
}

.hero-cta .btn-outline:hover {
  background: rgba(0, 212, 170, 0.1);
}

/* ========== 区块：全宽带 + 左右分栏/单栏 ========== */
.strip {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.strip:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.strip-head {
  margin-bottom: 32px;
}

.strip-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.strip-head p {
  font-size: 0.9375rem;
  color: #9ca3af;
}

.strip-head a {
  font-size: 0.875rem;
  margin-top: 8px;
  display: inline-block;
}

/* 横向卡片：图左文右 */
.row-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.row-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.row-card:hover {
  background: rgba(255, 255, 255, 0.03);
}

.row-card:last-child {
  border-bottom: none;
}

.row-card-img {
  aspect-ratio: 16/10;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1d26;
}

.row-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-card-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.row-card-body .meta {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.row-card-body .desc {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* 特性列表：数字 + 标题 + 说明 */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.feature-num {
  font-size: 2rem;
  font-weight: 800;
  color: #00d4aa;
  margin-bottom: 12px;
  line-height: 1;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.55;
}

/* 大网格：2列 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.tile:hover {
  border-color: rgba(0, 212, 170, 0.3);
}

.tile a {
  display: block;
  color: inherit;
}

.tile-img {
  aspect-ratio: 16/10;
  background: #1a1d26;
}

.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-body {
  padding: 20px;
}

.tile-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.tile-body .meta {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 8px;
}

.tile-body .desc {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* FAQ：紧凑列表 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
}

/* ========== Footer：单行 + 链接 ========== */
.site-footer {
  margin-top: auto;
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
}

.site-footer p {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 0.8125rem;
}

.site-footer-links a {
  color: #9ca3af;
}

.site-footer-links a:hover {
  color: #00d4aa;
}

/* ========== 内页：面包屑 + 文章 ========== */
.inner-main {
  padding: 100px 0 64px;
}

.bread {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 24px;
}

.bread a {
  color: #9ca3af;
}

.inner-head {
  margin-bottom: 32px;
}

.inner-head h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.inner-head .inner-meta {
  font-size: 0.875rem;
  color: #9ca3af;
}

.inner-cover {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 32px;
  background: #1a1d26;
}

.inner-cover img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

.article-body {
  max-width: 680px;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 28px 0 12px;
}

.article-body h2:first-of-type {
  margin-top: 0;
}

.article-body p {
  font-size: 0.9375rem;
  color: #d1d5db;
  line-height: 1.75;
  margin-bottom: 14px;
}

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

.article-tags span {
  display: inline-block;
  padding: 4px 12px;
  margin-right: 8px;
  margin-bottom: 8px;
  background: rgba(0, 212, 170, 0.12);
  color: #00d4aa;
  font-size: 0.8125rem;
  border-radius: 4px;
}

.back-link {
  display: inline-block;
  margin-top: 32px;
  font-size: 0.875rem;
  color: #00d4aa;
}

/* 列表页：标题 + 行卡片 */
.list-intro {
  margin-bottom: 32px;
}

.list-intro h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.list-intro p {
  font-size: 0.9375rem;
  color: #9ca3af;
}

/* 简单链接列表 */
.plain-list {
  list-style: none;
}

.plain-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plain-list a {
  display: block;
  padding: 18px 0;
  color: #e4e6eb;
  font-weight: 500;
}

.plain-list a:hover {
  color: #00d4aa;
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .row-card {
    grid-template-columns: 1fr;
  }

  .row-card-img {
    max-height: 200px;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 640px) {
  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #15181f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px;
  }

  .site-nav.is-open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-toggle {
    display: block;
  }

  .hero-full {
    min-height: 60vh;
    padding: 100px 16px 60px;
  }

  .strip {
    padding: 40px 0;
  }

  .inner-main {
    padding: 88px 0 48px;
  }
}
