/* ==========================================================================
   福利视频 - 全站样式表
   主题：深色高级感 + 紫红渐变
   ========================================================================== */

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0b0a14;
  --color-bg-soft: #13111f;
  --color-bg-card: #1a1730;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #f2f0fb;
  --color-text-soft: #b6b1cf;
  --color-text-mute: #7a7599;
  --color-primary: #a855f7;
  --color-primary-2: #ec4899;
  --color-accent: #f472b6;
  --color-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 55%, #f59e0b 100%);
  --color-gradient-soft: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
  --shadow-lg: 0 25px 60px -15px rgba(168, 85, 247, 0.35);
  --shadow-card: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --header-h: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(168, 85, 247, 0.18), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(236, 72, 153, 0.15), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.08), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

.section-sub {
  text-align: center;
  color: var(--color-text-soft);
  max-width: 680px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gradient);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(236, 72, 153, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(236, 72, 153, 0.75);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 10, 20, 0.72);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(11, 10, 20, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--color-gradient);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px -6px rgba(168, 85, 247, 0.7);
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--color-text-soft);
  font-weight: 500;
  transition: all var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.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 ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--color-gradient-soft);
  border: 1px solid rgba(168, 85, 247, 0.4);
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

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

.hero p.lead {
  font-size: 1.12rem;
  color: var(--color-text-soft);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--color-text-mute);
}

.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
}

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

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 10, 20, 0.85) 100%);
}

.hero-float {
  position: absolute;
  background: rgba(26, 23, 48, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-float .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-gradient);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.hero-float .t { font-weight: 700; font-size: 0.95rem; }
.hero-float .s { font-size: 0.78rem; color: var(--color-text-mute); }

.hero-float.f1 { top: 8%; left: -8%; }
.hero-float.f2 { bottom: 12%; right: -6%; }

/* ---------- 特性区 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-gradient-soft);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* ---------- 服务/内容区 ---------- */
.services-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

.service-item {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.service-item:hover {
  border-color: rgba(236, 72, 153, 0.4);
  transform: translateX(6px);
}

.service-ico {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-gradient);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.service-item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.service-item p { color: var(--color-text-soft); font-size: 0.9rem; }

.services-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
}

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

/* ---------- 内容/作品展示 ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
}

.showcase-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-card:hover .showcase-thumb img { transform: scale(1.08); }

.showcase-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  color: var(--color-accent);
}

.showcase-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  background: rgba(11, 10, 20, 0.4);
  transition: opacity var(--transition);
}

.showcase-card:hover .showcase-play { opacity: 1; }

.showcase-play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gradient);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: #fff;
}

.showcase-body { padding: 20px; }

.showcase-body h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.showcase-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-mute);
  font-size: 0.82rem;
}

/* ---------- CTA ---------- */
.cta-box {
  background: var(--color-gradient);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.18), transparent 40%);
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-box .btn {
  background: #fff;
  color: #7c2d92;
}

.cta-box .btn:hover { background: #fff7fb; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--color-gradient-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-q .ico { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--color-text-soft);
}

.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 24px 22px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: rgba(11, 10, 20, 0.6);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--color-text-soft);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-text-mute);
  font-size: 0.85rem;
}

/* ---------- 页面头部（内页） ---------- */
.page-hero {
  padding: 70px 0 50px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
}

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

.page-hero p {
  color: var(--color-text-soft);
  max-width: 620px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-mute);
  margin-bottom: 18px;
}

.breadcrumb a:hover { color: var(--color-accent); }

/* ---------- 新闻列表 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.4);
}

.news-card .thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .thumb img { transform: scale(1.08); }

.news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.news-cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--color-gradient-soft);
  color: var(--color-accent);
  font-size: 0.75rem;
  margin-bottom: 12px;
  align-self: flex-start;
}

.news-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.news-body p {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  color: var(--color-text-mute);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* ---------- 新闻详情 ---------- */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.article-main {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
}

.article-main h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 18px;
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--color-text-mute);
  font-size: 0.85rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.article-cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  aspect-ratio: 16/9;
}

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

.article-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 14px;
  color: #fff;
}

.article-content h3 {
  font-size: 1.15rem;
  margin: 24px 0 10px;
}

.article-content p {
  color: var(--color-text-soft);
  margin-bottom: 18px;
  font-size: 1rem;
}

.article-content ul {
  margin: 14px 0;
  padding-left: 22px;
}

.article-content ul li {
  list-style: disc;
  color: var(--color-text-soft);
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: var(--color-gradient-soft);
  padding: 16px 22px;
  border-radius: 0 12px 12px 0;
  color: var(--color-text);
  margin: 22px 0;
}

.aside-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.aside-card h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.aside-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

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

.aside-list a { color: var(--color-text-soft); }
.aside-list a:hover { color: var(--color-accent); }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.contact-item .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-gradient);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h5 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { color: var(--color-text-soft); font-size: 0.9rem; }

.contact-form {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--color-text-soft);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea { resize: vertical; min-height: 140px; }

/* ---------- 关于页 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.about-text h2 { font-size: 2rem; margin-bottom: 20px; }
.about-text p { color: var(--color-text-soft); margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 72, 153, 0.4);
}

.value-ico {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--color-gradient);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin: 0 auto 16px;
}

.value-card h4 { margin-bottom: 8px; }
.value-card p { color: var(--color-text-soft); font-size: 0.9rem; }

/* ---------- 产品页 ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-card);
}

.product-thumb { aspect-ratio: 4/3; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.product-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.product-body p { color: var(--color-text-soft); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.product-price .now {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-price .old {
  color: var(--color-text-mute);
  text-decoration: line-through;
  font-size: 0.9rem;
}

/* ---------- 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.hero-float.f1 { animation: float 4s ease-in-out infinite; }
.hero-float.f2 { animation: float 5s ease-in-out infinite 0.5s; }

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

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.8s ease-in-out infinite;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid,
  .showcase-grid,
  .news-grid,
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 10, 20, 0.98);
    backdrop-filter: blur(16px);
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { width: 100%; text-align: center; padding: 12px; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }

  .hero-grid,
  .services-wrap,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-float.f1 { left: 0; }
  .hero-float.f2 { right: 0; }
  .features-grid,
  .showcase-grid,
  .news-grid,
  .products-grid,
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 44px 24px; }
  .article-main { padding: 24px; }
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-gradient);
  border-radius: 5px;
}
