/* ================================================
   广州市迪士普信息科技有限公司 — 官网样式
   ================================================ */

/* ---------- 全局重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.75;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- CSS 变量 ---------- */
:root {
  --primary:   #0d47a1;
  --primary-l: #1565c0;
  --accent:    #00b0ff;
  --accent-d:  #0091ea;
  --dark:      #0a0e2a;
  --text:      #1a1a2e;
  --text-sub:  #5c6075;
  --bg-light:  #f4f7ff;
  --bg-dark:   #0a0e2a;
  --border:    #dce3f3;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 8px 32px rgba(13,71,161,.12);
  --shadow-lg: 0 16px 56px rgba(13,71,161,.18);
  --transition: .25s ease;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- section 共用 ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  background: rgba(0,176,255,.08);
  border: 1px solid rgba(0,176,255,.25);
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 800; color: var(--text);
  line-height: 1.25; margin-bottom: 14px;
}
.section-desc { font-size: 16px; color: var(--text-sub); max-width: 600px; margin: 0 auto; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 20px rgba(13,71,161,.3);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(13,71,161,.4); }
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-full { width: 100%; justify-content: center; }
.text-body { color: var(--text-sub); margin-bottom: 14px; font-size: 15px; }

/* ================================================
   顶部通知栏
   ================================================ */
#topbar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: 13px; padding: 8px 0;
}
#topbar .container {
  display: flex; align-items: center; gap: 8px;
}
#topbar i { margin-right: 6px; color: var(--accent); }

/* ================================================
   导航栏
   ================================================ */
#navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(13,71,161,.1); }

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

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg {
  width: 22px; height: 22px;
  stroke: #fff; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.logo-text { font-size: 17px; font-weight: 800; color: var(--primary); }
.logo-text span { color: var(--accent); }

/* 导航链接 */
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: #444;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--bg-light); color: var(--primary); }
.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 9px 20px;
}
.nav-links a.nav-cta:hover { opacity: .9; }

/* 汉堡菜单 */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--primary); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ================================================
   Hero
   ================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #060c26 0%, #0d47a1 55%, #0288d1 100%);
  display: flex; align-items: center;
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
/* 粒子容器（JS绘制） */
#particles {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,176,255,.12), transparent 70%);
}
.shape.s1 { width: 700px; height: 700px; top: -200px; right: -200px; }
.shape.s2 { width: 500px; height: 500px; bottom: -200px; left: -100px; }
.shape.s3 { width: 300px; height: 300px; top: 30%; left: 10%; animation: float 8s ease-in-out infinite; }

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

.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

/* Hero 文字 */
.hero-text { color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: 7px 16px; border-radius: 24px;
  font-size: 13px; color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #76ff03;
  box-shadow: 0 0 6px #76ff03;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 12px;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
  font-size: 19px; font-weight: 300;
  color: rgba(255,255,255,.65); margin-bottom: 16px;
}
.hero-desc {
  font-size: 15px; color: rgba(255,255,255,.55);
  line-height: 1.85; margin-bottom: 36px; max-width: 460px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex; align-items: center; gap: 28px;
}
.stat strong { display: block; font-size: 26px; font-weight: 800; color: #fff; }
.stat span { font-size: 12px; color: rgba(255,255,255,.55); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Hero 视觉卡片 */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-mockup {
  position: relative;
  width: 420px; height: 360px;
}
.mockup-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
  position: absolute;
  transition: transform .3s;
}
.mockup-card:hover { transform: translateY(-4px); }

.card-main {
  width: 280px; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.dot-row { display: flex; gap: 5px; }
.dot-row span {
  width: 8px; height: 8px; border-radius: 50%;
}
.dot-row span:nth-child(1) { background: #ff5f57; }
.dot-row span:nth-child(2) { background: #ffbd2e; }
.dot-row span:nth-child(3) { background: #28c840; }
.card-title { font-size: 13px; font-weight: 600; }

.waveform {
  display: flex; align-items: flex-end; gap: 4px;
  height: 64px; margin-bottom: 14px;
}
.bar {
  flex: 1; border-radius: 3px;
  background: linear-gradient(to top, var(--accent), rgba(0,176,255,.3));
  animation: wave 1.5s ease-in-out infinite;
}
.bar:nth-child(1){ animation-delay: 0s; }
.bar:nth-child(2){ animation-delay: .1s; }
.bar:nth-child(3){ animation-delay: .2s; }
.bar:nth-child(4){ animation-delay: .3s; }
.bar:nth-child(5){ animation-delay: .4s; }
.bar:nth-child(6){ animation-delay: .5s; }
.bar:nth-child(7){ animation-delay: .6s; }
.bar:nth-child(8){ animation-delay: .7s; }
.bar:nth-child(9){ animation-delay: .8s; }
.bar:nth-child(10){ animation-delay: .9s; }
.bar:nth-child(11){ animation-delay: 1s; }
.bar:nth-child(12){ animation-delay: 1.1s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.4); }
}

.card-row { display: flex; gap: 8px; }
.tag {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px;
}
.tag-green { background: rgba(118,255,3,.15); color: #76ff03; }
.tag-blue  { background: rgba(0,176,255,.15); color: var(--accent); }

.card-side {
  display: flex; align-items: center; gap: 12px;
  width: 165px;
}
.card-side strong { display: block; font-size: 13px; font-weight: 700; }
.card-side p { font-size: 11px; color: rgba(255,255,255,.55); margin: 0; }

.card-s1 { top: 8px;  left: -10px; }
.card-s2 { top: 8px;  right: -10px; }
.card-s3 { bottom: 20px; left: 50%; transform: translateX(-50%); }

/* 向下滚动箭头 */
.scroll-down {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.5);
  font-size: 20px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ================================================
   合作伙伴跑马灯
   ================================================ */
.partners-bar {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden;
}
.marquee-track { overflow: hidden; white-space: nowrap; }
.marquee-inner {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-inner span {
  display: inline-block; margin: 0 32px;
  font-size: 14px; font-weight: 600; color: #999;
  letter-spacing: .5px;
  transition: color var(--transition);
}
.marquee-inner span:hover { color: var(--primary); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================
   关于我们
   ================================================ */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}

.about-img-wrap {
  position: relative; height: 440px;
}
.about-img-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-light), #e8eeff);
  border-radius: 24px;
  border: 1px solid var(--border);
}
.about-img-inner {
  position: absolute; inset: 0;
  border-radius: 24px; overflow: hidden;
}
.about-badge {
  position: absolute;
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 10px 18px; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  white-space: nowrap;
}
.about-badge i { color: var(--accent); }
.ab1 { top: 40px;  left: -20px; }
.ab2 { top: 50%;   right: -20px; transform: translateY(-50%); }
.ab3 { bottom: 40px; left: 50%; transform: translateX(-50%); }

.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 24px;
}
.af-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.af-item i { color: var(--accent); }

/* ================================================
   产品服务
   ================================================ */
.products { background: var(--bg-light); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.product-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: opacity var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card:hover::before { opacity: 1; }
.product-card.featured {
  background: linear-gradient(145deg, #f0f4ff, #fff);
  border-color: rgba(13,71,161,.2);
  box-shadow: 0 4px 24px rgba(13,71,161,.08);
}
.pc-badge {
  position: absolute; top: 20px; right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 12px;
}
.pc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  margin-bottom: 20px;
}
.product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-bottom: 18px; }
.pc-features {
  margin-bottom: 22px;
}
.pc-features li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-sub); margin-bottom: 7px;
}
.pc-features li i { color: var(--accent); font-size: 11px; }
.pc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  transition: gap var(--transition);
}
.pc-link:hover { gap: 10px; }

/* ================================================
   核心优势
   ================================================ */
.advantages { background: #fff; }
.adv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.adv-item {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 48px; font-weight: 900;
  color: var(--bg-light); line-height: 1;
  pointer-events: none;
}
.adv-icon {
  font-size: 32px; color: var(--primary);
  margin-bottom: 18px; display: block;
}
.adv-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.adv-item p { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ================================================
   成功案例
   ================================================ */
.cases { background: var(--bg-light); }
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-img {
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
}
.case-body { padding: 24px; }
.case-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  background: var(--bg-light); color: var(--primary);
  border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 10px;
  margin-bottom: 10px;
}
.case-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.case-body p  { font-size: 14px; color: var(--text-sub); line-height: 1.7; }

/* ================================================
   数据统计
   ================================================ */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 80px 0;
}
.stats-row {
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px;
}
.stat-block { text-align: center; color: #fff; }
.stat-num {
  font-size: 52px; font-weight: 900; line-height: 1;
  display: inline; color: #fff;
}
.stat-suffix { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.stat-block p { font-size: 14px; color: rgba(255,255,255,.6); }

/* ================================================
   新闻动态
   ================================================ */
.news { background: #fff; }
.news-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.news-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); }
.news-img {
  height: 220px; position: relative;
  display: flex; align-items: flex-end; padding: 20px;
}
.news-date-overlay {
  background: rgba(0,0,0,.45);
  color: #fff; font-size: 18px; font-weight: 700;
  padding: 8px 14px; border-radius: 10px; line-height: 1.4;
  text-align: center;
}
.news-body { padding: 24px; }
.news-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px;
  background: var(--bg-light); color: var(--primary);
  border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 10px;
  margin-bottom: 10px;
}
.news-tag-sm { font-size: 10px; padding: 2px 8px; }
.news-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.news-body p  { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-bottom: 16px; }
.news-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  transition: gap var(--transition);
}
.news-link:hover { gap: 10px; }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-list-item {
  display: flex; gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.news-list-item:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.nli-date {
  text-align: center; min-width: 44px;
}
.nli-date strong { display: block; font-size: 26px; font-weight: 900; color: var(--primary); line-height: 1; }
.nli-date span { font-size: 11px; color: var(--text-sub); }
.nli-body h4 { font-size: 14px; font-weight: 700; margin: 6px 0 6px; line-height: 1.45; }
.nli-body p  { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* ================================================
   联系我们
   ================================================ */
.contact { background: var(--bg-light); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 48px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.ci-block {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow var(--transition);
}
.ci-block:hover { box-shadow: var(--shadow); }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
}
.ci-block strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ci-block p { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px; color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,71,161,.08);
}

/* ================================================
   页脚
   ================================================ */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h4 {
  font-size: 14px; font-weight: 700; color: #fff;
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
  font-size: 12px; color: rgba(255,255,255,.35);
}

/* ================================================
   回到顶部
   ================================================ */
#backToTop {
  position: fixed; right: 28px; bottom: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary);
  border: none; cursor: pointer;
  color: #fff; font-size: 16px;
  box-shadow: 0 4px 16px rgba(13,71,161,.35);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
#backToTop.visible { opacity: 1; pointer-events: auto; }
#backToTop:hover { transform: translateY(-3px); }

/* ================================================
   AOS 动画 (自制简版)
   ================================================ */
[data-aos] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
[data-aos="fade-up"]    { transform: translateY(40px); }
[data-aos="fade-right"] { transform: translateX(-40px); }
[data-aos="fade-left"]  { transform: translateX(40px); }
[data-aos].aos-animate  { opacity: 1 !important; transform: none !important; }

/* ================================================
   响应式
   ================================================ */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 34px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { height: 260px; }
  .products-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  #navbar { position: sticky; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 16px; }
  .stat strong { font-size: 22px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
