/* ============================
   趣夜传媒 - 全局样式
   主题：深色影视娱乐风
   ============================ */

:root {
  --bg-primary: #0a0a14;
  --bg-secondary: #11111f;
  --bg-surface: #181830;
  --bg-elevated: #1f1f3a;
  --bg-glass: rgba(20, 20, 35, 0.72);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(167, 139, 250, 0.45);

  --text-primary: #f5f5fa;
  --text-secondary: #c7c7d9;
  --text-muted: #8a8aa3;
  --text-faint: #5c5c78;

  --primary: #7c3aed;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --cyan: #06b6d4;
  --gold: #fbbf24;

  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
  --gradient-card: linear-gradient(160deg, rgba(124, 58, 237, 0.15) 0%, rgba(236, 72, 153, 0.05) 100%);
  --gradient-text: linear-gradient(135deg, #a78bfa 0%, #f472b6 50%, #fbbf24 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1240px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

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

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

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

/* ============================
   按钮样式
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.55);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(124, 58, 237, 0.12);
  transform: translateY(-3px);
}

.btn-ghost {
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--primary-light);
}

/* ============================
   导航栏
   ============================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 20, 0.92);
  border-bottom-color: var(--border-color);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
}

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

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

.nav-menu a {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.15);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   Hero 主视觉区
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(124, 58, 237, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(236, 72, 153, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(6, 182, 212, 0.18) 0%, transparent 50%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

@keyframes heroGlow {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.15) translate(-3%, -2%); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--primary-light);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse 2s infinite;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.1s both;
}

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

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 36px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.4s both;
}

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

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

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-visual .play-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(124, 58, 237, 0.3);
  aspect-ratio: 16 / 10;
}

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

.hero-visual .play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 20, 0.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.hero-visual .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.8rem;
  animation: playPulse 2.5s infinite;
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 25px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-visual .floating-tag {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-visual .tag-1 {
  top: -18px;
  right: -18px;
  animation: float 4s ease-in-out infinite;
}

.hero-visual .tag-2 {
  bottom: 30%;
  left: -28px;
  animation: float 5s ease-in-out infinite 0.5s;
}

.hero-visual .floating-tag .ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

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

/* ============================
   核心特性区
   ============================ */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

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

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

/* ============================
   服务介绍区 / 影视分类
   ============================ */
.services {
  background: var(--bg-primary);
}

.category-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.category-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.category-tab.active,
.category-tab:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.video-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
}

.video-info {
  padding: 18px;
}

.video-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.video-meta .rating {
  color: var(--gold);
  font-weight: 600;
}

/* ============================
   详细内容区
   ============================ */
.content-section {
  background: var(--bg-secondary);
}

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

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.content-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.content-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.feature-list {
  margin: 24px 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.feature-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  margin-top: 3px;
}

/* ============================
   CTA 行动号召区
   ============================ */
.cta-section {
  background: var(--bg-primary);
}

.cta-box {
  position: relative;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 35%);
}

.cta-box h2 {
  position: relative;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.cta-box p {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.cta-box .btn {
  position: relative;
  background: #fff;
  color: var(--primary-dark);
}

.cta-box .btn:hover {
  background: #f5f5fa;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ============================
   FAQ 常见问题
   ============================ */
.faq-section {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question .arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px;
}

/* ============================
   页脚
   ============================ */
.site-footer {
  background: #06060e;
  border-top: 1px solid var(--border-color);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
  color: var(--text-secondary);
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

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

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-faint);
  font-size: 0.88rem;
}

/* ============================
   页面头 (内页通用)
   ============================ */
.page-hero {
  position: relative;
  padding: 160px 0 90px;
  background: var(--gradient-hero);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(124, 58, 237, 0.3) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(236, 72, 153, 0.22) 0%, transparent 45%);
}

.page-hero h1 {
  position: relative;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero p {
  position: relative;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.breadcrumb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.breadcrumb .sep {
  color: var(--text-faint);
}

/* ============================
   关于页面
   ============================ */
.about-mission {
  background: var(--bg-primary);
}

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

.mission-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
}

.mission-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: var(--gradient-primary);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.mission-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.timeline {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
  padding-right: 32px;
}

.timeline-item:nth-child(odd) .timeline-dot {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  padding-left: 32px;
}

.timeline-item:nth-child(even) .timeline-dot {
  grid-column: 2;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto;
  box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.15);
}

.timeline-content .year {
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.timeline-content h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================
   产品页面
   ============================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

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

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

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

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

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

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

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  align-self: flex-start;
}

.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex: 1;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-features span {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 6px;
  color: var(--text-secondary);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-light);
}

.price small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================
   新闻页面
   ============================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

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

.news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

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

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

.news-body {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
}

.news-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  align-self: flex-start;
  margin-bottom: 12px;
}

.news-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
  flex: 1;
}

.news-meta {
  display: flex;
  gap: 18px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-widget h4 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.hot-news li {
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  cursor: pointer;
}

.hot-news li:last-child {
  margin-bottom: 0;
}

.hot-news .rank {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.hot-news li:nth-child(1) .rank { background: var(--accent); color: #fff; }
.hot-news li:nth-child(2) .rank { background: var(--gold); color: #000; }
.hot-news li:nth-child(3) .rank { background: var(--cyan); color: #000; }

.hot-news .title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hot-news li:hover .title {
  color: var(--primary-light);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 6px 14px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.tag-cloud a:hover {
  background: var(--gradient-primary);
  color: #fff;
}

/* ============================
   新闻详情页
   ============================ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

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

.article-detail .news-cat {
  margin-bottom: 16px;
}

.article-detail h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

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

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-cover {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 16px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 12px;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--primary);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.article-body ul {
  margin: 16px 0;
  padding-left: 24px;
}

.article-body ul li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  list-style: disc;
}

.article-body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.article-tags a {
  padding: 6px 16px;
  background: var(--bg-elevated);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.article-tags a:hover {
  background: var(--gradient-primary);
  color: #fff;
}

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

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

.contact-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-item .ico {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

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

.contact-form .btn {
  width: 100%;
}

.map-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--border-color);
  min-height: 280px;
  background: var(--bg-surface);
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

/* ============================
   动画
   ============================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* ============================
   响应式
   ============================ */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .news-layout,
  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero-stats {
    gap: 24px;
  }

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

  .news-body {
    padding: 0 20px 20px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
    padding-left: 20px;
    padding-right: 0;
  }

  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .article-detail {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
