/* 主题配色：参考紫色配色板及色号 */
:root {
  --purple-1: #F9F0FF;
  --purple-2: #EFD8FF;
  --purple-3: #D3ADF7;
  --purple-4: #B37FEB;
  --purple-5: #9254DE;
  --purple-6: #722ED1; /* 暗夜紫 */
  --purple-7: #551DB0;
  --purple-8: #3C108F;
  --purple-9: #27066E;
  --purple-10: #16034D;

  --cyan-4: #5FE3FF;
  --cyan-6: #18B9E7;
  --blue-5: #4C6FFF;
  --blue-7: #1D3EE5;

  --bg: #f7f7fb;
  --text: #1f2233;
  --muted: #666b85;
  --card: #ffffff;
  --card2: #f3f1fa;
  --border: rgba(0,0,0,0.08);
  
  --gradient-primary: linear-gradient(135deg, var(--blue-5), var(--purple-6), var(--cyan-6));
  --gradient-secondary: linear-gradient(135deg, var(--purple-5), var(--blue-7));
  --shadow-soft: 0 18px 40px rgba(24, 39, 75, 0.16);
  --shadow-medium: 0 22px 55px rgba(15, 23, 42, 0.25);
  --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.38);
  --animation-speed: 0.5s;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; padding: 0;
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: radial-gradient(160% 160% at 0% 0%, #f1f3ff 0, #f7f7fb 32%, #edf5ff 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

.container { width: 92%; max-width: 1160px; margin: 0 auto; }

::selection { background: rgba(114, 46, 209, 0.22); }

a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(114, 46, 209, 0.35);
  outline-offset: 3px;
}

/* 顶部导航 */
.site-header { position: sticky; top: 0; backdrop-filter: saturate(200%) blur(18px); background: rgba(11, 15, 32, 0.3); border-bottom: 1px solid rgba(255,255,255,0.06); z-index: 1000; transition: all var(--animation-speed) cubic-bezier(0.165, 0.84, 0.44, 1); }
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(92, 51, 207, 0.65), rgba(16, 185, 214, 0.4));
  opacity: 0.38;
  mix-blend-mode: screen;
  pointer-events: none;
}
.site-header.scrolled { box-shadow: var(--shadow-medium); background: rgba(11, 15, 32, 0.9); }
.header-inner { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f9fafb; position: relative; overflow: hidden; z-index: 1; }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; box-shadow: none; background: transparent; }
.brand-text { display: flex; align-items: center; font-size: 24px; line-height: 1; opacity: 0.98; }
.brand-name { font-weight: 600; letter-spacing: 0.5px; color: #f9fafb; }
.site-nav { margin-left: auto; display: flex; gap: 18px; z-index: 1; }
.site-nav a { color: #e5e7ff; text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: all 0.25s ease; position: relative; }
.site-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: right; transition: transform 0.3s ease; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:hover { background: rgba(15, 23, 42, 0.65); box-shadow: 0 14px 30px rgba(15, 23, 42, 0.55); }
.site-nav a.active { background: rgba(15, 23, 42, 0.9); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.7); }
.site-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display:none; margin-left:auto; font-size:20px; background:transparent; color:var(--text); border:1px solid var(--border); border-radius:8px; padding:6px 10px; cursor: pointer; }
.nav-toggle.active { background: rgba(114, 46, 209, 0.12); border-color: rgba(114, 46, 209, 0.25); }

/* 首屏区 */
.gradient-bg {
  background: radial-gradient(1200px 400px at 20% -10%, rgba(114,46,209,0.25), transparent 60%),
              radial-gradient(900px 300px at 90% 0%, rgba(60,16,143,0.22), transparent 60%),
              linear-gradient(180deg, #050816, #070b1f 55%, #0b1024 100%);
  animation: gradientAnimation 15s ease infinite;
  color: #e5e7ff;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero { padding: 110px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(56,189,248,0.22), transparent 70%);
  left: -160px;
  top: -120px;
  filter: blur(2px);
  opacity: 0.9;
}
.hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124,58,237,0.28), transparent 70%);
  right: -200px;
  bottom: -220px;
  filter: blur(4px);
  opacity: 0.9;
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 28px; }
.hero-content { animation: fadeInUp 1s ease-out; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content h1 { font-size: 38px; margin: 0 0 14px; letter-spacing: 0.6px; position: relative; line-height: 1.15; }
.hero-content h1::after { content: ''; position: absolute; bottom: -12px; left: 0; width: 96px; height: 3px; background: var(--gradient-primary); border-radius: 999px; box-shadow: 0 0 24px rgba(56,189,248,0.7); }
.hero-content p { color: rgba(226,232,240,0.9); margin: 18px 0 22px; line-height: 1.7; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; animation: fadeIn 1.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: all 0.25s ease; font-size: 14px; letter-spacing: 0.4px; }
.btn-primary { background: var(--gradient-primary); color: #f9fafb; box-shadow: 0 20px 45px rgba(30, 64, 175, 0.75); border: 1px solid rgba(191, 219, 254, 0.4); }
.btn-primary:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 26px 70px rgba(30, 64, 175, 0.9); }
.btn-ghost { color: #e5e7ff; border: 1px solid rgba(148, 163, 184, 0.6); background: radial-gradient(circle at 0% 0%, rgba(148,163,184,0.18), transparent 65%); backdrop-filter: blur(14px); }
.btn-ghost:hover { background: radial-gradient(circle at 0% 0%, rgba(148,163,184,0.32), transparent 70%); transform: translateY(-2px); }
.hero-visual .image-placeholder { position: relative; border-radius: 26px; height: 260px; overflow: hidden; animation: fadeIn 1.5s ease-out 0.3s backwards; border: 1px solid rgba(148, 163, 184, 0.4); background: radial-gradient(circle at 0% 0%, rgba(148,163,184,0.4), transparent 55%), radial-gradient(circle at 100% 100%, rgba(59,130,246,0.5), transparent 60%); box-shadow: var(--shadow-strong); }
.hero-visual .image-placeholder::before { content: ""; position: absolute; left: 18px; right: 18px; top: 16px; height: 18px; border-radius: 999px; background: linear-gradient(90deg, rgba(15,23,42,0.9), rgba(15,23,42,0.6)); box-shadow: 0 10px 30px rgba(15, 23, 42, 0.85); z-index: 2; }
.hero-visual .image-placeholder img { border-radius: 22px; margin-top: 18px; position: relative; z-index: 1; }
.scroll-indicator { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(148,163,184,0.9); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; animation: float 2s ease-in-out infinite; opacity: 0.85; transition: all 0.3s ease; }
.scroll-indicator:hover { opacity: 1; transform: translate(-50%, -5px); }
@keyframes float { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }

/* 版块通用 */
.section { padding: 70px 0; position: relative; }
.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148,163,184,0.4), transparent);
}
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(249,250,255,0.94)); }
.section > .container { position: relative; border-radius: 28px; padding: 32px 26px 30px; background: radial-gradient(140% 160% at 0% 0%, #ffffff 0, #f5f3ff 42%, #f9fbff 100%); box-shadow: var(--shadow-soft); overflow: hidden; }
.section-title { font-size: 26px; margin: 0 0 12px; letter-spacing: 0.4px; position: relative; color: #020617; }
.section-desc { color: var(--muted); margin: 0 0 18px; }

/* 卡片与网格 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: radial-gradient(120% 160% at 0% 0%, rgba(255,255,255,0.96) 0, rgba(237,242,255,0.98) 36%, rgba(255,255,255,0.98) 100%); border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 22px; padding: 26px; box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10); transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); position: relative; overflow: hidden; backdrop-filter: blur(10px); }
.card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid transparent; background: linear-gradient(135deg, rgba(129,140,248,0.35), rgba(45,212,191,0.18), rgba(129,140,248,0.35)); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; padding: 1px; pointer-events: none; }
.card::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 999px; background: radial-gradient(circle, rgba(56,189,248,0.18), transparent 70%); right: -60px; top: -60px; opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease; transform: translate3d(0,0,0); }
.card:hover { transform: translateY(-10px) translateZ(0); box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25); }
.card:hover::after { opacity: 1; transform: translate3d(-8px, 8px, 0); }
.card h3 { margin: 0 0 8px; font-size: 18px; position: relative; display: inline-block; }
.card h3::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 40px; height: 3px; background: var(--gradient-primary); border-radius: 2px; transition: width 0.3s ease; }
.card:hover h3::after { width: 100%; }
.card p { color: var(--muted); margin: 0 0 14px; line-height: 1.7; }

/* 图片占位 */
.image-placeholder { 
  position: relative; 
  border: 1px dashed rgba(114,46,209,0.3); 
  background: linear-gradient(135deg, rgba(114,46,209,0.08), rgba(60,16,143,0.08)); 
  border-radius: 16px; 
  height: 240px; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(114,46,209,0.1);
  transition: all 0.4s ease;
}

.image-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(114,46,209,0.2);
  border-color: rgba(114,46,209,0.5);
}

.shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2.8s ease-in-out infinite;
}
.image-placeholder.small { height: 120px; }
.image-placeholder::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; letter-spacing: 0.3px; }
.image-placeholder::before { content: ""; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); transform: translateX(-100%); animation: shimmer 2.8s ease-in-out infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* 当占位内放入图片时，移除占位的装饰层，并让图片自适应 */
.image-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-placeholder.with-image::before,
.image-placeholder.with-image::after { display: none; }
/* 政策网格 */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.policy-item { background: radial-gradient(120% 160% at 0% 0%, rgba(239,246,255,0.98) 0, rgba(239,246,255,0.9) 45%, rgba(249,250,255,0.98) 100%); border: 1px solid rgba(148, 163, 184, 0.4); border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08); }
.policy-item h3 { margin: 0 0 8px; font-size: 16px; }
.policy-item ul { margin: 0; padding-left: 18px; color: var(--muted); }

/* 方案步骤 */
.solution-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.step { display: flex; gap: 12px; align-items: flex-start; background: radial-gradient(120% 160% at 0% 0%, rgba(255,255,255,0.97) 0, rgba(239,246,255,0.96) 40%, rgba(255,255,255,0.98) 100%); border: 1px solid rgba(148,163,184,0.4); border-radius: 18px; padding: 18px; box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12); }
.step-index { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-5), var(--cyan-6)); color: #fff; font-weight: 700; box-shadow: 0 12px 32px rgba(37,99,235,0.7); }
.step-content h3 { margin: 0 0 6px; font-size: 16px; }
.step-content p { margin: 0; color: var(--muted); }

/* 特色网格 */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: radial-gradient(130% 160% at 0% 0%, rgba(255,255,255,0.96) 0, rgba(239,246,255,0.96) 40%, rgba(255,255,255,0.98) 100%); border: 1px solid rgba(148,163,184,0.4); border-radius: 20px; padding: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 80px rgba(15,23,42,.25); border-color: rgba(56,189,248,0.7); }

/* 关于我们 */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.about-text p { color: var(--muted); }

/* 页脚 */
.site-footer { border-top: 1px solid rgba(15,23,42,0.4); padding: 28px 0 32px; background: radial-gradient(140% 140% at 0% 0%, #020617 0, #020617 50%, #020617 100%); }
.footer-beian { display: grid; gap: 6px; justify-items: center; }
.footer_font { color: rgba(148,163,184,0.9); font-size: 13px; text-align: center; }
.footer_font a { color: inherit; text-decoration: none; }
.footer_font a:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(114, 46, 209, 0.45); }
.footer_font span { cursor: default; }
.footer_license {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}
.footer_license:hover { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgba(114, 46, 209, 0.45); }
.footer_beian_row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.footer_beian_icon { width: 15px; height: 15px; border: 0; display: block; }

/* 弹窗 */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.modal.is-open { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(15, 18, 30, 0.55); backdrop-filter: blur(6px); }
.modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 860px);
  max-height: min(86vh, 780px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.modal-body { padding: 16px; display: grid; place-items: center; }
.modal-img { width: 100%; height: auto; max-height: calc(86vh - 60px); object-fit: contain; display: block; }
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.modal-close:hover { background: rgba(114, 46, 209, 0.1); border-color: rgba(114, 46, 209, 0.22); }

/* 返回顶部 */
.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 999px; background: radial-gradient(circle at 30% 0%, #e5e7ff, #4c6fff); color: #020617; display:flex; align-items:center; justify-content:center; text-decoration:none; box-shadow: 0 26px 60px rgba(15,23,42,0.8); transition: .25s ease; opacity: 0; transform: translateY(12px); pointer-events: none; border: 1px solid rgba(226,232,240,0.7); font-weight: 700; }
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top.clicked { transform: translateY(0) scale(0.96); }
.back-to-top:hover { background: radial-gradient(circle at 30% 0%, #f9fafb, #6366f1); transform: translateY(-3px) scale(1.03); }

/* 进场动效 */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 响应式处理 */
@media (max-width: 960px) {
  .hero { padding: 88px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .cards, .policy-grid, .solution-steps, .features-grid, .about-grid, .footer-inner { grid-template-columns: 1fr; }
  .site-nav { display:none; }
  .site-nav.active {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    margin: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
  }
  .site-nav.active a { padding: 10px 12px; }
  .nav-toggle { display:block; }
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 28px; }
  .hero-content h1 { font-size: 26px; }
  .section { padding: 48px 0; }
  .section > .container { padding: 22px 18px 22px; border-radius: 20px; }
}
/* 系统演示图容器与图片样式 */
.media-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--card); box-shadow: 0 12px 32px rgba(60,16,143,0.12); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gradient-bg { animation: none; }
  .btn, .card, .image-placeholder, .feature-card { transition: none; }
}
