/* ============================================================
   糖心vlog - 全局样式表
   配色体系：深空蓝 + 渐变紫红 + 暖金点缀
   ============================================================ */

:root {
  --color-primary: #1a2b6d;
  --color-primary-light: #2d4bb8;
  --color-accent: #e94f8a;
  --color-accent-2: #ff7a59;
  --color-gold: #f5b942;
  --color-dark: #0f172a;
  --color-dark-2: #1e293b;
  --color-light: #f8fafc;
  --color-gray: #64748b;
  --color-border: #e2e8f0;
  --gradient-main: linear-gradient(135deg, #1a2b6d 0%, #2d4bb8 45%, #e94f8a 100%);
  --gradient-hero: linear-gradient(160deg, #0f172a 0%, #1a2b6d 55%, #5b2a86 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-dark-2);
  background-color: var(--color-light);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark);
}

h1 {
  font-size: 2.6rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

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

/* ---------- 动画工具类 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(233, 79, 138, 0.45);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(233, 79, 138, 0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
}

.anim-fade-up.delay-1 {
  animation-delay: 0.15s;
}

.anim-fade-up.delay-2 {
  animation-delay: 0.3s;
}

.anim-fade-up.delay-3 {
  animation-delay: 0.45s;
}

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

/* 滚动渐入 */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- 顶部导航栏 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  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;
  color: #fff;
  letter-spacing: 1px;
}

.brand .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}

.brand span {
  background: linear-gradient(90deg, #fff, var(--color-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-menu a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

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

.nav-cta {
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 22px !important;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: 120px 0 100px;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 79, 138, 0.5), transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.35), transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: #fff;
  font-size: 3.1rem;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 34px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  color: #fff;
  box-shadow: var(--shadow-md);
  animation: pulseGlow 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-3px);
}

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

.hero-stats .stat {
  text-align: left;
}

.hero-stats .stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold);
}

.hero-stats .stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-dark);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatY 4s ease-in-out infinite;
}

.hero-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
}

.hero-card.card-1 {
  top: 24px;
  left: -28px;
}

.hero-card.card-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: 1.5s;
}

/* ---------- Section 通用 ---------- */
.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-head .kicker {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  color: var(--color-gray);
  font-size: 1.05rem;
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(42, 75, 184, 0.12), rgba(233, 79, 138, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-gray);
  font-size: 0.98rem;
}

/* ---------- 服务介绍 ---------- */
.services {
  background: linear-gradient(180deg, #eef2ff 0%, #fdf2f8 100%);
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

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

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card .service-body {
  padding: 26px 24px 30px;
}

.service-card h3 {
  margin-bottom: 10px;
}

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

.service-card .service-tag {
  display: inline-block;
  background: rgba(233, 79, 138, 0.1);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- 详细内容区 / 关于 ---------- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.content-split.reverse .content-text {
  order: 2;
}

.content-text h2 {
  margin-bottom: 18px;
}

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

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--color-dark-2);
}

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ---------- CTA 行动号召 ---------- */
.cta {
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
  padding: 90px 0;
  text-align: center;
  border-radius: 0;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 2.2rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.08rem;
}

.cta .btn {
  animation: pulseGlow 3s infinite;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}

.footer-about {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

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

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  transition: all 0.3s ease;
}

.footer-col ul a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 页面内部（子页） ---------- */
.page-hero {
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: #fff;
  padding: 80px 0 56px;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.breadcrumb {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid rgba(233, 79, 138, 0.18);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--color-accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary-light), var(--color-accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--color-accent);
}

.timeline-item .year {
  color: var(--color-accent);
  font-weight: 800;
  font-size: 1.1rem;
}

.timeline-item h3 {
  margin: 6px 0 8px;
}

.timeline-item p {
  color: var(--color-gray);
  font-size: 0.95rem;
}

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

.news-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.35s ease;
}

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

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

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

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

.news-meta {
  display: flex;
  gap: 14px;
  color: var(--color-gray);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

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

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

.news-card p {
  color: var(--color-gray);
  font-size: 0.93rem;
  margin-bottom: 16px;
}

.news-link {
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.92rem;
}

.news-link:hover {
  color: var(--color-accent);
}

/* ---------- 新闻详情 ---------- */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.article-hero img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
  box-shadow: var(--shadow-md);
}

.article-head h1 {
  margin-bottom: 16px;
}

.article-head .news-meta {
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.article-content h2 {
  margin: 36px 0 16px;
  font-size: 1.5rem;
}

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

.article-content p {
  color: var(--color-gray);
  margin-bottom: 18px;
  line-height: 1.9;
}

.article-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
  color: var(--color-gray);
}

.article-content ul li {
  margin-bottom: 8px;
}

.article-quote {
  border-left: 4px solid var(--color-accent);
  background: #fff5f8;
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
  color: var(--color-dark-2);
}

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

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

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

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.product-body h3 {
  margin-bottom: 10px;
}

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

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.product-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-gray);
}

.product-btn {
  display: block;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

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

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(42, 75, 184, 0.12), rgba(233, 79, 138, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.contact-info-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

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

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-form h2 {
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 4px rgba(42, 75, 184, 0.12);
  background: #fff;
}

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

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--color-dark);
  list-style: none;
  position: relative;
  padding-right: 48px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 22px;
  color: var(--color-gray);
  font-size: 0.95rem;
}

/* ---------- 响应式适配 ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .features-grid,
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 80px 0 70px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.97);
    padding: 16px 24px 24px;
    gap: 6px;
    transform: translateY(-140%);
    opacity: 0;
    transition: all 0.35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .nav-menu a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .features-grid,
  .services-grid,
  .products-grid,
  .news-grid,
  .content-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .hero-card.card-1 {
    left: 8px;
  }

  .hero-card.card-2 {
    right: 8px;
  }

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

  .contact-form {
    padding: 24px;
  }
}

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

  .hero h1 {
    font-size: 1.9rem;
  }

  .btn {
    width: 100%;
  }

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

  .hero-stats .stat-num {
    font-size: 1.5rem;
  }
}

/* ---------- 无障碍与打印 ---------- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s ease;
  z-index: 999;
}

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

.back-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}
