/* 基础重置与排版 */
html { box-sizing: border-box; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; color: #222; background: #fff; line-height: 1.6; }
/* 让主体位于 header 下方，避免视觉覆盖 */
img { max-width: 100%; display: block; border: 0; }
a { color: #0d6efd; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #000; color: #fff; padding: 8px 12px; z-index: 10000; }

/* 头部 */
.site-header { position: fixed;width: 100%; top: 0; z-index: 1000; background: rgba(255,255,255,.7); border-bottom: 1px solid rgba(238,238,238,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.brand-text { font-size: 18px; font-weight: 700; color: #222; letter-spacing: 1px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.site-nav a { display: inline-block; padding: 8px 10px; color: #222; border-radius: 4px; }
.site-nav a:hover, .site-nav a:focus, .site-nav a.active { background: #f0f2f5; text-decoration: none; }

/* 顶部 CTA 按钮 */
.header-cta { display: flex; align-items: center; }
.cta-btn { position: relative; display: inline-block; padding: 10px 22px; color: #fff; font-weight: 600; font-family: 'SimSun','NSimSun','宋体',serif; font-size: 14px; border-radius: 9999px; letter-spacing: .2px; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: linear-gradient(135deg, #5ebd8b 0%, #43a77a 100%); border: 2px solid rgba(255,255,255,0); box-shadow: 0 4px 14px rgba(94,189,139,.28); transition: box-shadow .2s ease, transform .06s ease; overflow: hidden; --angle: 0deg; --ring: 2px; }
.cta-btn::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; padding: 4px; background: conic-gradient(from var(--angle), rgba(94,189,139,0) 0deg, rgba(94,189,139,0) 340deg, rgba(94,189,139,.85) 342deg, #ffffff 348deg, rgba(94,189,139,.85) 354deg, rgba(94,189,139,0) 358deg, rgba(94,189,139,0) 360deg); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; filter: blur(10px); pointer-events: none; animation: rotate-border 1.5s linear infinite; }
.cta-btn::after { content: none; }
.cta-btn:hover { text-decoration: none; box-shadow: 0 6px 20px rgba(94,189,139,.38); }
.cta-btn:active { transform: translateY(1px); box-shadow: 0 3px 12px rgba(94,189,139,.28); }
.cta-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(94,189,139,.28), 0 6px 20px rgba(94,189,139,.38); }
.header-cta .cta-btn { border-color: rgba(255,255,255,.18); }

@keyframes rotate-border { to { --angle: 360deg; } }
@keyframes border-breathe { 0%,100% { opacity: .35; } 50% { opacity: .85; } }
@keyframes glow-breathe { 0%,100% { opacity: .2; } 50% { opacity: .5; } }
.cta-btn:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(59,130,246,.35); }
.cta-btn:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(59,130,246,.25); }
.cta-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,.25), 0 6px 18px rgba(59,130,246,.35); }
.header-cta .cta-btn { border-color: rgba(255,255,255,.15); }

/* 轮播 */
.banner { background: #000; }
.banner .container { max-width: 100%; padding: 0; width: 100%; margin: 0; }
.slider { position: relative; overflow: hidden; border-radius: 0; width: 100%; margin: 0 auto; }
.slides { list-style: none; margin: 0; padding: 0; position: relative; }
.slide { display: none; position: relative; }
.slide.is-active { display: block; }
.slide img { width: 100%; height: auto; object-position: center; transform-origin: center; }

/* 蒙层与文案 */
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.55) 100%); pointer-events: none; z-index: 2; }
.banner-caption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #fff; z-index: 3; padding: 0 24px; pointer-events: none; }
.caption-title { margin: 0 0 10px; font-size: clamp(24px, 4.2vw, 48px); font-weight: 800; letter-spacing: .5px; }
.caption-sub { margin: 0; font-size: clamp(14px, 1.6vw, 18px); color: #e2e8f0; }

/* 横幅快速入口：点击查看 */
.banner-quick { position: absolute; bottom: 20%; left: 20%; transform: none; z-index: 6; }
.quick-link { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; padding: 0; border-radius: 0; color: #fff; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.quick-link:hover { text-decoration: none; }
.quick-icon { width: 140px; height: 140px; border-radius: 16px; object-fit: cover; box-shadow: 0 6px 22px rgba(0,0,0,.28); animation: logo-shadow-pulse 2.4s ease-in-out infinite; }
.quick-text { width: 140px;text-align: center;padding: 8px 14px;display: inline-block; margin-top: 2px; padding: 8px 14px; font-size: 14px; line-height: 1; color: #fff; background: #5ebd8b; border: 1px solid rgba(255,255,255,.22); border-radius: 9999px; box-shadow: 0 4px 14px rgba(94,189,139,.28); }
.quick-text:hover { background: #51ad7e; }

@keyframes logo-shadow-pulse {
  0%, 100% {
    box-shadow: 0 6px 22px rgba(0,0,0,.28), 0 0 0 rgba(94,189,139,0);
  }
  50% {
    box-shadow: 0 12px 30px rgba(0,0,0,.38), 0 0 20px rgba(94,189,139,.35);
  }
}

.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15,23,42,.55); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25); font-size: 22px; z-index: 4; }
.slider-btn:hover { background: rgba(15,23,42,.75); }
.prev { left: 16px; }
.next { right: 16px; }

.dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.dots button[aria-selected="true"] { background: #fff; transform: scale(1.1); }

/* Ken Burns 轻微镜头移动 */
.slide.is-active img { animation: kenburns 3000ms ease both; }
@keyframes kenburns {
  0% { transform: scale(1.06); }
  100% { transform: scale(1.0); }
}

/* 分区 */
.features { background: #fff; padding: 28px 0 40px; }
.feature { padding: 12px 0; }
.feature h2 { margin: 8px 0; font-size: 22px; }
.feature p { margin: 0; color: #555; }

/* 底部 */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 24px 0 36px; font-size: 14px; }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: #e2e8f0; }
.footer-links .sep { margin: 0 8px; color: #64748b; }
.notice { color: #94a3b8; }

/* 响应式 */
@media (max-width: 768px) {
  .header-inner { padding: 8px 0; }
  .brand-text { font-size: 16px; }
  .banner .container { width: 100%; }
}

/* 无动画偏好，禁用过渡以提升可及性 */
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide.is-active img { animation: none; transform: none; }
}


