/* ============================================================
   千问千寻 Questory AI — 官网设计系统 v3 (浅蓝白企业 SaaS 风)
   所有页面共享。品牌色与组件契约勿随意更名。
   ============================================================ */

:root {
  --blue: #0B63F6;
  --blue-hi: #2563EB;
  --bg-light: #EAF3FF;
  --bg-lighter: #F6FAFF;
  --cyan: #13D8F6;
  --magenta: #F5008C;
  --yellow: #FFD000;
  --ink: #101828;
  --muted: #667085;
  --border: #D9E6F7;
  --card: #FFFFFF;
  --footer-a: #081A3A;
  --footer-b: #0B1F4D;

  --grad-hero: linear-gradient(135deg, #F6FAFF 0%, #EAF3FF 45%, #FFFFFF 100%);
  --grad-btn: linear-gradient(135deg, #0B63F6 0%, #2563EB 100%);
  --grad-tech: linear-gradient(135deg, #13D8F6 0%, #0B63F6 55%, #2563EB 100%);
  --grad-footer: linear-gradient(135deg, #081A3A 0%, #0B1F4D 100%);

  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 6px 24px rgba(11, 99, 246, 0.08), 0 2px 6px rgba(16, 24, 40, 0.04);
  --shadow-lift: 0 14px 36px rgba(11, 99, 246, 0.14), 0 4px 12px rgba(16, 24, 40, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
          "HarmonyOS Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 4px 14px rgba(11, 99, 246, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11, 99, 246, 0.42); }
.btn-ghost {
  background: #fff; color: var(--blue);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.btn-sm { padding: 9px 20px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-arrow::after { content: "→"; font-weight: 400; transition: transform .18s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(16, 24, 40, 0.07); border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .02em; }
.brand-en { font-size: 11px; color: var(--muted); letter-spacing: .08em; line-height: 1.2; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 14.5px; color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--bg-light); color: var(--blue); }
.main-nav a.active { color: var(--blue); font-weight: 600; background: var(--bg-light); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .2s ease; }
.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  padding: 12px 24px 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 8px; font-size: 15px; border-bottom: 1px solid #F2F6FD; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { width: 100%; margin-top: 12px; }

/* ---------- Section 骨架 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-lighter); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--blue);
  text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-tech); border-radius: 2px; }
.h2 { font-size: 36px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; }
.lead { font-size: 16.5px; color: var(--muted); margin-top: 16px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(11, 99, 246, 0.35); }
.card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

.icon-badge {
  width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); color: var(--blue); margin-bottom: 18px; font-size: 22px;
}
.icon-badge svg { width: 24px; height: 24px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- chip / tag ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  font-size: 13px; color: var(--ink); font-weight: 500; box-shadow: var(--shadow-sm);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad-tech); }

/* ---------- 定价卡 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px 30px; box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease; overflow: hidden;
}
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
}
.price-card.tier-cyan::before { background: linear-gradient(90deg, var(--cyan), #6fe6ff); }
.price-card.tier-magenta::before { background: linear-gradient(90deg, var(--magenta), #ff66bd); }
.price-card.tier-yellow::before { background: linear-gradient(90deg, var(--yellow), #ffe566); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.price-card .tier-tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.tier-cyan .tier-tag { background: rgba(19, 216, 246, 0.12); color: #0892B0; }
.tier-magenta .tier-tag { background: rgba(245, 0, 140, 0.08); color: var(--magenta); }
.tier-yellow .tier-tag { background: rgba(255, 208, 0, 0.16); color: #9A7B00; }
.price-card h3 { font-size: 19px; font-weight: 700; }
.price-card .price { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; margin: 14px 0 2px; }
.price-card .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card .fit { font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.price-card .value-line { font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.price-card ul { list-style: none; margin: 0 0 26px; flex: 1; }
.price-card li {
  font-size: 14px; color: var(--muted); padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px dashed #EDF3FC;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 2px; font-weight: 700; color: var(--blue);
}
.price-card .btn { width: 100%; }
.ribbon {
  position: absolute; top: 16px; right: -34px; transform: rotate(40deg);
  background: linear-gradient(90deg, var(--yellow), #ffdf4d); color: #5C4A00;
  font-size: 12px; font-weight: 700; padding: 5px 40px; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* ---------- 流程 ---------- */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.process-step { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 18px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.process-step .num {
  font-size: 13px; font-weight: 800; color: #fff; width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-btn); display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.process-step h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------- 数字/信任条 ---------- */
.value-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-item { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.value-item .v-title { font-size: 19px; font-weight: 800; background: var(--grad-tech); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px; }
.value-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 400; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* ---------- CTA 区 ---------- */
.cta-band {
  background: var(--grad-hero); border: 1px solid var(--border); border-radius: 24px;
  padding: 72px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none;
}
.cta-band::before { width: 320px; height: 320px; background: rgba(19, 216, 246, 0.35); top: -120px; left: -80px; }
.cta-band::after { width: 320px; height: 320px; background: rgba(11, 99, 246, 0.28); bottom: -140px; right: -60px; }
.cta-band .h2 { margin-bottom: 12px; }
.cta-brandline { margin-top: 34px; font-size: 14px; color: var(--muted); line-height: 2; }
.cta-brandline strong { color: var(--ink); font-size: 15px; }

/* ---------- 表单 ---------- */
.inquiry-form { max-width: 720px; margin: 40px auto 0; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inquiry-form .full { grid-column: 1 / -1; }
.inquiry-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.inquiry-form textarea { min-height: 110px; resize: vertical; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 99, 246, 0.12);
}
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none; grid-column: 1 / -1; padding: 14px 18px; border-radius: 11px;
  background: #ECFDF3; border: 1px solid #ABEFC6; color: #067647; font-size: 14.5px;
}
.form-error {
  display: none; grid-column: 1 / -1; padding: 14px 18px; border-radius: 11px;
  background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; font-size: 14.5px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--grad-footer); color: rgba(255, 255, 255, 0.78); margin-top: 96px; }
.footer-inner { padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { width: 44px; height: 44px; margin-bottom: 16px; }
.footer-brand .fb-name { color: #fff; font-size: 18px; font-weight: 700; }
.footer-brand .fb-slogan { font-size: 13.5px; margin: 10px 0 14px; line-height: 2; }
.footer-brand p { font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.55); }
.footer-col h4 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(255, 255, 255, 0.62); transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-col .contact-line { font-size: 13.5px; padding: 5px 0; color: rgba(255, 255, 255, 0.62); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 滚动浮现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 开屏动画 ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column;
  align-items: center; justify-content: center; background: var(--grad-hero);
  transition: opacity .6s ease, visibility .6s ease;
}
.splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo {
  width: 130px; height: 130px; opacity: 0; position: relative;
  animation: splashLogo .8s ease .1s forwards;
}
.splash-logo::before {
  content: ""; position: absolute; inset: -34px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 99, 246, 0.18), transparent 70%);
  z-index: -1;
}
.splash-name { margin-top: 26px; text-align: center; opacity: 0; animation: splashFade .7s ease .7s forwards; }
.splash-name .cn { font-size: 28px; font-weight: 800; letter-spacing: .08em; }
.splash-name .en { font-size: 13px; letter-spacing: .26em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.splash-slogan { margin-top: 20px; text-align: center; opacity: 0; animation: splashFade .7s ease 1.35s forwards; }
.splash-slogan .cn { font-size: 15.5px; color: var(--ink); letter-spacing: .12em; }
.splash-slogan .en { font-size: 12px; color: var(--muted); letter-spacing: .14em; margin-top: 6px; }
.splash-skip {
  position: absolute; top: 22px; right: 26px; font-size: 12.5px; color: var(--muted);
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 16px; cursor: pointer; transition: color .15s ease, border-color .15s ease;
}
.splash-skip:hover { color: var(--blue); border-color: var(--blue); }
@keyframes splashLogo { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: scale(1); } }
@keyframes splashFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .splash-logo, .splash-name, .splash-slogan { animation: splashSimple .4s ease forwards; }
  @keyframes splashSimple { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- Hero 视觉(AI 中枢插画,纯 CSS) ---------- */
.hero-visual { position: relative; height: 460px; }
.hv-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 168px; height: 168px; border-radius: 40px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(11, 99, 246, 0.22), 0 2px 8px rgba(16, 24, 40, 0.06);
  display: flex; align-items: center; justify-content: center;
}
.hv-core::after {
  content: ""; position: absolute; inset: -26px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(11, 99, 246, 0.14), transparent 70%);
}
.hv-core img { width: 110px; height: 110px; }
.hv-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(11, 99, 246, 0.25); border-radius: 50%;
}
.hv-ring.r1 { width: 270px; height: 270px; }
.hv-ring.r2 { width: 400px; height: 400px; border-color: rgba(19, 216, 246, 0.22); }
.hv-card {
  position: absolute; background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 13px; padding: 10px 16px;
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px; animation: hvFloat 5.5s ease-in-out infinite;
}
.hv-card .dot { width: 8px; height: 8px; border-radius: 50%; }
.hv-card:nth-child(odd) { animation-delay: -2.7s; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hv-card { animation: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .h2 { font-size: 27px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .inquiry-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 52px 24px; }
  .hero-visual { height: 380px; margin-top: 28px; }
  .splash-logo { width: 96px; height: 96px; }
  .splash-name .cn { font-size: 23px; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .value-bar { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; flex: 1; }
}
