/* ============================================================
   甘肃新一代网络科技有限公司 · AI 时代官网
   清爽白底 · 深蓝/橙点缀 · 轻科技感 · 响应式
   ============================================================ */
:root {
  --bg: #f7f9fd;            /* 页面浅底 */
  --white: #ffffff;
  --bg-2: #f0f4fa;          /* 交替区块浅灰蓝 */
  --bg-3: #eef3fb;
  --card: #ffffff;
  --card-border: #e4eaf4;
  --ink: #0e1c33;           /* 主文字 深蓝黑 */
  --text: #22334e;
  --text-dim: #64748f;
  --navy: #0a2540;          /* 品牌深蓝 */
  --accent: #ff6a00;        /* 品牌橙 */
  --accent-2: #ff8f3d;
  --cyan: #0284d0;          /* 科技蓝点缀 */
  --cyan-soft: #e3f2fd;
  --orange-soft: #fff3e8;
  --grad: linear-gradient(135deg, #ff6a00, #ff9a4d);
  --grad-blue: linear-gradient(135deg, #0a2540, #14508a);
  --shadow: 0 6px 24px rgba(20, 50, 100, .08);
  --shadow-lg: 0 16px 44px rgba(20, 50, 100, .13);
  --radius: 16px;
  --maxw: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.35; color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 12px;
  font-size: 15.5px; font-weight: 600; cursor: pointer;
  border: none; transition: all .25s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(255, 106, 0, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 106, 0, .42); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid #d5deec; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 16px 42px; font-size: 17px; }
.arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .3s;
  padding: 14px 0;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  padding: 8px 0;
  box-shadow: 0 4px 18px rgba(20, 50, 100, .06);
}
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 106, 0, .35);
}
.logo-text b { display: block; font-size: 16px; letter-spacing: 1px; color: var(--ink); }
.logo-text i { display: block; font-style: normal; font-size: 10px; color: var(--text-dim); letter-spacing: 2.5px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14.5px; color: var(--text-dim); transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--accent); transition: width .25s; border-radius: 2px;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero（白底 + 轻科技光晕 + 网格） ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; background: var(--white); }
.hero-bg { position: absolute; inset: 0; }
.grid-layer {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(30, 90, 170, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 90, 170, .06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-1 { width: 460px; height: 460px; background: rgba(255, 106, 0, .13); top: -130px; right: -60px; animation: drift 9s ease-in-out infinite alternate; }
.glow-2 { width: 420px; height: 420px; background: rgba(2, 132, 208, .12); bottom: -120px; left: -110px; animation: drift 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.orb {
  position: absolute; right: 9%; top: 23%; width: 210px; height: 210px; border-radius: 30%;
  background: linear-gradient(135deg, #fff, #fff4ec);
  border: 1px solid rgba(255, 106, 0, .25);
  box-shadow: 0 24px 60px rgba(255, 106, 0, .16), inset 0 0 0 6px rgba(255, 255, 255, .6);
  transform: rotate(18deg);
  animation: float 7s ease-in-out infinite;
}
.orb::after {
  content: "AI"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 62px; font-weight: 800; letter-spacing: 2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: rotate(-18deg);
}
@keyframes float { 0%,100% { transform: rotate(18deg) translateY(0); } 50% { transform: rotate(14deg) translateY(-24px); } }
.hero-inner { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; padding: 7px 18px; border-radius: 999px;
  background: var(--orange-soft); border: 1px solid rgba(255, 106, 0, .3);
  color: var(--accent); font-size: 13.5px; font-weight: 600; margin-bottom: 26px;
}
.hero-title { font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: 1px; }
.accent-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 24px 0 36px; max-width: 720px; color: var(--text-dim); font-size: clamp(15px, 1.6vw, 18px); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-ticker { margin-top: 52px; display: flex; gap: 12px; flex-wrap: wrap; }
.ticker-item {
  padding: 7px 16px; border-radius: 9px; font-size: 13.5px; font-weight: 500;
  background: #fff; border: 1px solid var(--card-border); color: var(--text-dim);
  box-shadow: var(--shadow);
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(transparent, var(--bg));
}

/* ---------- 数据条 ---------- */
.stats-bar { border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); background: var(--white); position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 34px 10px; border-right: 1px solid var(--bg-3); }
.stat:last-child { border-right: none; }
.stat-num { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--text-dim); font-size: 14px; margin-top: 4px; }

/* ---------- 通用 Section ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--cyan);
  background: var(--cyan-soft); border: 1px solid rgba(2, 132, 208, .2);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}
.section-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.section-sub { color: var(--text-dim); margin-top: 14px; font-size: 15.5px; }

/* ---------- 痛点 ---------- */
.pain { background: var(--bg-2); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pain-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px 24px; transition: .3s; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pain-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, #ff5252, var(--accent)); opacity: 0; transition: .3s;
}
.pain-card:hover::before { opacity: 1; }
.pain-no { font-size: 34px; font-weight: 800; color: rgba(255, 106, 0, .18); margin-bottom: 8px; }
.pain-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.pain-card p { color: var(--text-dim); font-size: 14px; }
.pain-conclusion {
  margin-top: 42px; text-align: center; padding: 20px; border-radius: var(--radius);
  background: var(--white); border: 1px dashed rgba(255, 106, 0, .45); font-size: 16.5px;
  color: var(--ink); box-shadow: var(--shadow);
}
.pulse-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); margin-right: 10px; animation: pulse 1.6s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,106,0,.5); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- 服务 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 32px 28px; transition: .3s; position: relative;
  box-shadow: var(--shadow);
}
.service-card:hover {
  transform: translateY(-6px); border-color: rgba(255, 106, 0, .45);
  box-shadow: 0 18px 44px rgba(255, 106, 0, .14);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; font-size: 26px;
  background: var(--orange-soft); border: 1px solid rgba(255, 106, 0, .25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 18px;
}
.service-tag {
  position: absolute; top: 26px; right: 24px; font-size: 11.5px; font-weight: 600;
  color: var(--cyan); background: var(--cyan-soft); padding: 3px 10px; border-radius: 999px;
}
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card > p { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.service-points { list-style: none; border-top: 1px dashed var(--card-border); padding-top: 16px; }
.service-points li {
  font-size: 13.5px; color: var(--text-dim); padding: 4px 0 4px 20px; position: relative;
}
.service-points li::before {
  content: "▸"; position: absolute; left: 2px; color: var(--accent);
}

/* ---------- AI 演示（浅底 + 深色对话窗，形成科技感对比） ---------- */
.demo { background: var(--white); }
.demo-box {
  display: grid; grid-template-columns: 380px 1fr; gap: 22px;
  background: var(--bg-2); border: 1px solid var(--card-border); border-radius: 20px; padding: 26px;
}
.demo-questions { display: flex; flex-direction: column; gap: 12px; }
.demo-q {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: #fff; border: 1px solid var(--card-border); border-radius: 12px;
  padding: 15px 18px; color: var(--text); font-size: 14.5px; cursor: pointer; transition: .25s;
  font-family: inherit; box-shadow: var(--shadow);
}
.demo-q:hover { border-color: var(--accent); transform: translateX(4px); }
.demo-q.active { border-color: var(--accent); background: var(--orange-soft); }
.q-icon {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.demo-answer { background: var(--navy); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-height: 300px; box-shadow: 0 18px 44px rgba(10, 37, 64, .3); }
.demo-answer-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #dfe8f4;
}
.ai-avatar {
  width: 30px; height: 30px; border-radius: 8px; background: var(--grad);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.ai-name { font-weight: 600; }
.ai-status { margin-left: auto; color: #7dd3fc; font-size: 12.5px; }
.ai-status.typing::after { content: "…"; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.demo-answer-body { padding: 22px 24px; flex: 1; font-size: 14.8px; color: #d5deec; }
.demo-hint { color: #93a4bd; }
.demo-body-text { white-space: pre-wrap; }
.demo-answer-body .hl {
  color: #ffb27d; font-weight: 600; background: rgba(255, 106, 0, .16); padding: 0 4px; border-radius: 4px;
}
.demo-note { text-align: center; color: var(--text-dim); font-size: 13.5px; margin-top: 22px; }

/* ---------- 案例 ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; transition: .3s; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(2, 132, 208, .4); box-shadow: var(--shadow-lg); }
.case-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.case-avatar {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: var(--cyan-soft); border: 1px solid rgba(2, 132, 208, .22);
  color: var(--cyan); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
}
.case-head h3 { font-size: 16.5px; }
.case-meta { font-size: 12.5px; color: var(--text-dim); }
.case-result {
  padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 700; font-size: 14.5px;
  background: var(--orange-soft); border: 1px solid rgba(255, 106, 0, .3); color: var(--accent);
}
.case-desc { color: var(--text-dim); font-size: 14px; }

/* ---------- 新闻 ---------- */
.news { background: var(--bg-2); }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 24px; transition: .3s; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.news-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.news-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 12.5px; color: var(--text-dim); }
.news-cat { color: var(--cyan); background: var(--cyan-soft); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.news-card h3 { font-size: 15.5px; margin-bottom: 10px; line-height: 1.55; }
.news-card p { color: var(--text-dim); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 0 24px; transition: .3s; box-shadow: var(--shadow);
}
.faq-item[open] { border-color: rgba(255, 106, 0, .45); background: #fffaf5; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 15.5px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-arrow { color: var(--accent); font-size: 20px; transition: transform .3s; flex-shrink: 0; }
.faq-item[open] .faq-arrow { transform: rotate(45deg); }
.faq-a { padding: 0 0 22px; color: var(--text-dim); font-size: 14.5px; }

/* ---------- 关于 ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.about-text .section-title { text-align: left; margin-bottom: 24px; }
.about-text .section-tag { margin-bottom: 12px; }
.about-text p { color: var(--text-dim); margin-bottom: 16px; font-size: 15px; }
.honors-card {
  background: var(--navy); border-radius: var(--radius);
  padding: 30px; position: sticky; top: 100px;
  box-shadow: 0 18px 44px rgba(10, 37, 64, .28);
}
.honors-title { font-weight: 800; font-size: 17px; margin-bottom: 18px; color: #ffb27d; }
.honors-card ul { list-style: none; }
.honors-card li { padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 14px; color: #c9d5e6; display: flex; gap: 10px; align-items: center; }
.honors-card li:last-child { border-bottom: none; }
.check { color: var(--accent-2); font-weight: 800; }

/* ---------- 联系 ---------- */
.contact { padding: 110px 0; background: var(--white); }
.contact-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 75% at 50% 50%, rgba(255, 106, 0, .07), transparent 70%),
              radial-gradient(ellipse 40% 55% at 15% 80%, rgba(2, 132, 208, .06), transparent 70%);
}
.contact-card {
  position: relative; text-align: center; max-width: 860px; margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(255, 106, 0, .3); border-radius: 24px; padding: 56px 40px;
  box-shadow: 0 20px 60px rgba(255, 106, 0, .12);
}
.contact-title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; }
.contact-sub { color: var(--text-dim); margin: 14px 0 34px; }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin-bottom: 38px; }
.info-item a:hover { color: var(--accent); }
.info-label { display: block; font-size: 12px; color: var(--cyan); margin-bottom: 4px; letter-spacing: 2px; font-weight: 700; }
.info-item b { font-size: 13.5px; color: var(--ink); word-break: break-all; }

/* ---------- 页脚（深蓝收尾，品牌锚点） ---------- */
.footer { border-top: 1px solid var(--card-border); padding: 44px 0 30px; background: var(--navy); color: #c9d5e6; }
.footer .logo-text b { color: #fff; }
.footer .logo-text i { color: #8fa5c2; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { font-size: 13px; color: #93a9c6; }
.footer-links { color: #93a9c6; font-size: 13px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px;
  color: #8fa5c2; font-size: 12.5px;
}

/* ---------- 回顶 ---------- */
.backtop {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px; border: none;
  background: var(--navy); color: #fff; font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: .3s;
  box-shadow: 0 8px 22px rgba(10, 37, 64, .3);
}
.backtop.show { opacity: 1; pointer-events: auto; }
.backtop:hover { background: var(--accent); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-box { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .honors-card { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(78vw, 320px);
    flex-direction: column; justify-content: flex-start; padding: 90px 32px 32px; gap: 22px;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(20px);
    border-left: 1px solid var(--card-border); transition: right .35s ease;
    box-shadow: -10px 0 40px rgba(20, 50, 100, .1);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 16px; }
  .orb { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--bg-3); }
  .pain-grid, .services-grid, .cases-grid, .news-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .contact-card { padding: 40px 22px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) {
  .hero-ticker { gap: 8px; }
}
