/* ============================================================
   吃瓜群主题 多页面静态网站 全局样式
   设计语言：热情橙红渐变 + 深色夜幕底 + 清新瓜绿点缀
   说明：全站外联样式，完全响应式
   ============================================================ */

:root {
  --melon: #ff7a18;
  --melon-deep: #e85d04;
  --grape: #9b5de5;
  --grape-deep: #6a2c9e;
  --night: #171326;
  --night-2: #221b3a;
  --night-3: #2e2450;
  --cream: #fff7ed;
  --text-main: #f8f5ff;
  --text-sub: #b9b0d8;
  --green: #7ae582;
  --gold: #ffd166;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --grad: linear-gradient(135deg, var(--melon), var(--grape));
  --grad-soft: linear-gradient(135deg, rgba(255, 122, 24, 0.18), rgba(155, 93, 229, 0.18));
  --maxw: 1180px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--night);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 通用标题 ---------- */
h1, h2, h3, h4 {
  line-height: 1.3;
  letter-spacing: 0.5px;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 700; }

.section-title { margin-bottom: 14px; }
.section-sub { color: var(--text-sub); max-width: 720px; margin: 0 auto 40px; text-align: center; }

.text-center { text-align: center; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 122, 24, 0.35);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 32px rgba(155, 93, 229, 0.45); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-sm { padding: 9px 20px; font-size: 0.9rem; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 19, 38, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  white-space: nowrap;
}
.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 6px 18px rgba(255, 122, 24, 0.4);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-sub);
  font-weight: 500;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-links a.active { color: #fff; background: var(--grad); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 100px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(155, 93, 229, 0.35), transparent 60%),
    radial-gradient(800px 420px at 8% 15%, rgba(255, 122, 24, 0.28), transparent 60%),
    var(--night);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 46px 46px, 74px 74px;
  background-position: 0 0, 24px 28px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 90%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffe1c2;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.12rem; color: var(--text-sub); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
  max-width: 560px;
}
.hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}
.hero-stat b { display: block; font-size: 1.6rem; color: var(--gold); }
.hero-stat span { font-size: 0.84rem; color: var(--text-sub); }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(10px);
}
.hero-card-img { border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.hero-card-title { font-weight: 700; margin-bottom: 6px; }
.hero-card-desc { font-size: 0.9rem; color: var(--text-sub); }
.hero-card .tag-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.tag {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ddd4ff;
}
.tag-hot { background: rgba(255, 122, 24, 0.25); color: #ffc39a; }

/* 浮动装饰 */
.float-chip {
  position: absolute;
  border-radius: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  box-shadow: var(--shadow);
  animation: floatY 5s ease-in-out infinite;
}
.float-chip.fc1 { top: -18px; right: -12px; }
.float-chip.fc2 { bottom: -14px; left: -16px; animation-delay: 2.2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 区块通用 ---------- */
.section { padding: 92px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--melon);
  margin-bottom: 10px;
}

/* ---------- 特性 Feature ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: linear-gradient(180deg, var(--night-2), var(--night));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--grad-soft);
  filter: blur(30px);
  right: -40px;
  top: -40px;
  opacity: 0.6;
  transition: opacity 0.35s ease;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(255, 122, 24, 0.5); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(255, 122, 24, 0.3);
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--text-sub); }

/* ---------- 服务 Services ---------- */
.services { background: var(--night-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--night-3);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--melon);
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-sub); font-size: 0.94rem; margin-bottom: 18px; }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 内容详情区 ---------- */
.detail-zone { background: linear-gradient(180deg, var(--night-2), var(--night)); }
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 46px;
  align-items: center;
}
.detail-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.detail-list { margin-top: 20px; display: grid; gap: 14px; }
.detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.detail-list .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 3px;
}

/* ---------- 热点资讯 News 卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  background: var(--night-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card-img { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--text-sub); margin-bottom: 10px; }
.news-card-body h3 { margin-bottom: 10px; }
.news-card-body p { color: var(--text-sub); font-size: 0.92rem; flex: 1; }
.news-link {
  margin-top: 16px;
  color: var(--melon);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-link:hover { color: var(--gold); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: 28px;
  background: var(--grad);
  padding: 66px 40px;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255, 255, 255, 0.92); max-width: 620px; margin: 0 auto 30px; }
.cta .btn { background: #fff; color: var(--melon-deep); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--night-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item.open { border-color: rgba(255, 122, 24, 0.5); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  text-align: left;
  color: var(--text-main);
}
.faq-q .icon { transition: transform 0.3s ease; color: var(--melon); }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--text-sub); font-size: 0.95rem; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #120e1f;
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--text-sub); font-size: 0.92rem; margin-top: 14px; max-width: 340px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-sub); padding: 5px 0; font-size: 0.92rem; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--melon); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 22px;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* ---------- 子页面 Hero ---------- */
.page-hero { padding: 84px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero .eyebrow { color: var(--grape); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-sub); max-width: 680px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 18px; font-size: 0.88rem; color: var(--text-sub); }
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--melon); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ---------- 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; margin-bottom: 70px; }
.about-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: var(--night-2); border-radius: var(--radius); padding: 30px 26px; border: 1px solid rgba(255,255,255,0.07); }
.value-card h3 { margin: 16px 0 8px; }
.value-card p { color: var(--text-sub); font-size: 0.92rem; }

/* ---------- 新闻列表页 ---------- */
.news-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 50px; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.page-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--night-2);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-sub);
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}
.page-btn:hover { color: #fff; background: var(--night-3); }
.page-btn.active { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- 新闻详情页 ---------- */
.article-wrap { max-width: 820px; margin: 0 auto; }
.article-head { margin-bottom: 30px; }
.article-head .news-meta { justify-content: flex-start; margin-bottom: 14px; }
.article-cover { border-radius: 22px; overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.article-body p { margin-bottom: 20px; color: #ddd7f2; font-size: 1.02rem; }
.article-body h3 { margin: 30px 0 14px; }
.article-body blockquote {
  border-left: 4px solid var(--melon);
  background: rgba(255, 122, 24, 0.08);
  padding: 16px 20px;
  border-radius: 0 14px 14px 0;
  margin: 24px 0;
  color: #ffe1c2;
  font-style: normal;
}
.article-body ul { margin: 16px 0 20px; display: grid; gap: 10px; }
.article-body li { padding-left: 24px; position: relative; color: #ddd7f2; }
.article-body li::before { content: "🍉"; position: absolute; left: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- 产品/群页 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 50px; }
.product-card {
  background: var(--night-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { aspect-ratio: 16 / 10; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-flag {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.product-flag.flag-free { background: rgba(122, 229, 130, 0.9); color: #06210b; }
.product-body { padding: 24px; }
.product-body h3 { margin-bottom: 8px; }
.product-body p { color: var(--text-sub); font-size: 0.92rem; margin-bottom: 16px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.product-price { color: var(--gold); font-weight: 800; font-size: 1.1rem; }
.product-price small { font-size: 0.78rem; color: var(--text-sub); font-weight: 400; }
.join-btn { padding: 8px 18px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.88rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.join-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 122, 24, 0.35); }
.join-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.step-card {
  background: var(--night-2);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.step-num {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}
.step-card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step-card p { color: var(--text-sub); font-size: 0.88rem; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.contact-info { display: grid; gap: 20px; }
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--night-2);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.07);
}
.info-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(255,122,24,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.info-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.info-card p { color: var(--text-sub); font-size: 0.92rem; }
.contact-form {
  background: var(--night-2);
  border-radius: 22px;
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: #ddd7f2; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--melon);
  background: rgba(255,255,255,0.09);
}
.form-group select { appearance: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-tip { font-size: 0.8rem; color: var(--text-sub); margin-top: 6px; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(122, 229, 130, 0.14);
  border: 1px solid rgba(122, 229, 130, 0.4);
  color: #c9f5cd;
  font-size: 0.92rem;
}

/* ---------- 侧边栏 / 布局辅助 ---------- */
.layout-with-side { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.side-card {
  background: var(--night-2);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}
.side-card h3 { font-size: 1.02rem; margin-bottom: 14px; }
.side-card ul { display: grid; gap: 10px; }
.side-card li a { color: var(--text-sub); font-size: 0.9rem; transition: color 0.25s ease; }
.side-card li a:hover { color: var(--melon); }

/* ---------- 滚动渐入动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .news-page-grid, .products-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .join-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .detail-grid { grid-template-columns: 1fr; }
  .layout-with-side { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .brand { font-size: 0.9rem; gap: 8px; }
  .brand-badge { width: 30px; height: 30px; font-size: 0.9rem; }
  .nav-wrap { gap: 10px; }
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(23, 19, 38, 0.97);
    padding: 16px 20px 26px;
    gap: 4px;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 16px; border-radius: 12px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 80px 0 70px; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 68px 0; }
  .features-grid, .services-grid, .news-grid, .news-page-grid,
  .products-grid, .related-grid, .value-grid, .join-steps { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stat { padding: 12px; }
  .cta { padding: 48px 24px; }
  .float-chip { display: none; }
}

@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .brand { font-size: 0.98rem; }
}
