/* ============================================================
   免费吃瓜 - 娱乐八卦资讯网站样式表
   主题：深色神秘感 + 霓虹点缀（时尚娱乐杂志风）
   作者：免费吃瓜技术组
   版本：1.0.0
   ============================================================ */

/* ---------- 变量与基础 ---------- */
:root {
  --bg-dark: #0a0a14;
  --bg-deep: #10101e;
  --bg-card: #171729;
  --bg-card-hover: #1e1e36;
  --neon-pink: #ff2e88;
  --neon-purple: #a855f7;
  --neon-cyan: #22d3ee;
  --neon-gold: #fbbf24;
  --text-main: #f4f4fa;
  --text-sub: #b6b6cc;
  --text-mute: #7f7f98;
  --line: rgba(255, 255, 255, 0.08);
  --gradient-main: linear-gradient(135deg, #ff2e88 0%, #a855f7 100%);
  --gradient-cyber: linear-gradient(90deg, #ff2e88, #a855f7, #22d3ee);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 34px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 26px rgba(168, 85, 247, 0.35);
  --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 1px;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

p {
  color: var(--text-sub);
}

/* ---------- 布局容器 ---------- */
.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-pad {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .kicker {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon-pink);
  background: rgba(255, 46, 136, 0.12);
  border: 1px solid rgba(255, 46, 136, 0.35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-weight: 700;
}

.section-title p {
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 1.02rem;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  position: relative;
}

.brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gradient-cyber);
  border-radius: 2px;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.98rem;
  color: var(--text-sub);
  position: relative;
  padding: 6px 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-cyber);
  transition: width 0.35s ease;
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(168, 85, 247, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 46, 136, 0.2), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  margin-bottom: 26px;
  letter-spacing: 1px;
}

.hero .hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-pink);
  box-shadow: 0 0 12px var(--neon-pink);
  animation: pulse 1.6s infinite;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 22px;
  background: linear-gradient(120deg, #fff 0%, #ff9ecb 45%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .hero-sub {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1.12rem;
  color: var(--text-sub);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-img-wrap {
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.hero-img-wrap img {
  width: min(960px, 100%);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 46, 136, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(255, 46, 136, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.6);
}

.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(168, 85, 247, 0.15);
  box-shadow: var(--shadow-glow);
}

/* ---------- 核心特性 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-cyber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.94rem;
  color: var(--text-mute);
}

/* ---------- 服务介绍 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: linear-gradient(160deg, var(--bg-card-hover), var(--bg-card));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--shadow-card);
}

.service-card .service-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  color: var(--neon-gold);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.service-card .service-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.96rem;
  color: var(--text-mute);
  margin-bottom: 18px;
}

.service-card .service-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--neon-cyan);
}

/* ---------- 通用卡片（资讯卡片等） ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 46, 136, 0.4);
}

.news-card .thumb {
  position: relative;
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.news-card .thumb .cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 46, 136, 0.4);
}

.news-card .body {
  padding: 20px 22px 24px;
}

.news-card h3 {
  font-size: 1.06rem;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.news-card:hover h3 {
  color: var(--neon-pink);
}

.news-card .body p {
  font-size: 0.92rem;
  color: var(--text-mute);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-mute);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.news-card .meta .read-more {
  color: var(--neon-cyan);
  font-weight: 700;
}

/* ---------- 热榜 ---------- */
.hot-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 30px;
  align-items: start;
}

.hot-list {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 0;
}

.hot-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

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

.hot-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hot-rank {
  font-size: 1.2rem;
  font-weight: 900;
  font-style: italic;
  color: var(--text-mute);
  min-width: 40px;
}

.hot-item:nth-child(1) .hot-rank,
.hot-item:nth-child(2) .hot-rank,
.hot-item:nth-child(3) .hot-rank {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hot-item .hot-title {
  flex: 1;
  font-weight: 500;
}

.hot-item .hot-heat {
  font-size: 0.85rem;
  color: var(--neon-pink);
  font-weight: 700;
}

/* ---------- 资讯列表 + 分页 ---------- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.article-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.article-row:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(34, 211, 238, 0.4);
}

.article-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

.article-row .content {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-row h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.article-row h3 a:hover {
  color: var(--neon-cyan);
}

.article-row p {
  font-size: 0.95rem;
  color: var(--text-mute);
  margin-bottom: 16px;
}

.article-row .meta-line {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-mute);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--text-sub);
  transition: all 0.3s ease;
}

.pagination a:hover {
  border-color: var(--neon-purple);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.pagination .active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 46, 136, 0.4);
}

/* ---------- 文章正文 ---------- */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 34px;
  align-items: start;
}

.detail-main {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
}

.detail-main .breadcrumb {
  font-size: 0.88rem;
  color: var(--text-mute);
  margin-bottom: 22px;
}

.detail-main .breadcrumb a:hover {
  color: var(--neon-cyan);
}

.detail-main h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-mute);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}

.detail-main .lead {
  font-size: 1.1rem;
  color: var(--text-main);
  background: rgba(168, 85, 247, 0.1);
  border-left: 4px solid var(--neon-purple);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 26px;
  line-height: 1.9;
}

.detail-main img.full-img {
  border-radius: var(--radius-md);
  margin: 26px 0;
  box-shadow: var(--shadow-card);
}

.detail-main h3 {
  font-size: 1.35rem;
  margin: 34px 0 16px;
  color: #fff;
  position: relative;
  padding-left: 16px;
}

.detail-main h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: var(--gradient-cyber);
}

.detail-main p {
  margin-bottom: 18px;
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text-sub);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.detail-tags span {
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-sub);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: sticky;
  top: 100px;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}

.side-card h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.side-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

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

.side-list a:hover {
  color: var(--neon-cyan);
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card.featured {
  border-color: rgba(255, 46, 136, 0.5);
  box-shadow: 0 0 30px rgba(255, 46, 136, 0.18);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.product-card .badge-hot {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 46, 136, 0.45);
}

.product-card .price {
  font-size: 2.6rem;
  font-weight: 900;
  margin: 16px 0 6px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.product-card .price small {
  font-size: 1rem;
  -webkit-text-fill-color: var(--text-mute);
  font-weight: 400;
}

.product-card .feature-list {
  text-align: left;
  margin: 22px 0 26px;
}

.product-card .feature-list li {
  padding: 8px 0;
  font-size: 0.94rem;
  color: var(--text-sub);
  position: relative;
  padding-left: 26px;
}

.product-card .feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-weight: 700;
}

/* ---------- 关于/团队 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-text h3 {
  font-size: 1.3rem;
  margin: 26px 0 12px;
}

.about-text h3:first-child {
  margin-top: 0;
}

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

.team-card {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  transition: transform 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card .avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 2px solid var(--gradient-main);
  box-shadow: var(--shadow-glow);
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

/* ---------- 联系表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

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

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.18);
}

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

.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.contact-info-list .icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.contact-info-list .label {
  font-size: 0.84rem;
  color: var(--text-mute);
  margin-bottom: 2px;
}

.contact-info-list .value {
  font-weight: 700;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: rgba(168, 85, 247, 0.5);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  user-select: none;
}

.faq-question .arrow {
  font-size: 1.2rem;
  color: var(--neon-cyan);
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.faq-item.active .arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 22px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-mute);
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  padding: 90px 0;
  background:
    radial-gradient(ellipse at center, rgba(255, 46, 136, 0.16), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.cta::before {
  background: rgba(168, 85, 247, 0.4);
  top: -120px;
  left: -80px;
}

.cta::after {
  background: rgba(255, 46, 136, 0.35);
  bottom: -120px;
  right: -80px;
}

.cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}

.cta p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-col h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-mute);
}

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

.copyright {
  text-align: center;
  padding-top: 24px;
  font-size: 0.9rem;
  color: var(--text-mute);
}

/* ---------- 回到顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 46, 136, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 999;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
}

/* ---------- 动画 ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.float-anim {
  animation: floatY 4s ease-in-out infinite;
}

.hero-enter {
  animation: fadeInUp 0.9s ease both;
}

.hero-enter.delay-1 { animation-delay: 0.15s; }
.hero-enter.delay-2 { animation-delay: 0.3s; }
.hero-enter.delay-3 { animation-delay: 0.45s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid,
  .news-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-section {
    grid-template-columns: 1fr;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-pad {
    padding: 60px 0;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 20, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 10px 6%;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open {
    max-height: 420px;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .hero {
    padding: 70px 0 60px;
  }
  .features-grid,
  .services-grid,
  .news-grid,
  .product-grid,
  .about-grid,
  .contact-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .article-row {
    grid-template-columns: 1fr;
  }
  .article-row .thumb img {
    min-height: 200px;
    max-height: 260px;
  }
  .detail-main {
    padding: 28px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
