/* InQuesting 因学思汀 — 官网样式
   深邃蓝 #132238 / 探索绿 #C9F36A / 浅雾绿 #E6F2D4 / 暖白 #F7F4EE */

:root {
  --ink: #132238;
  --green: #C9F36A;
  --green-soft: #E6F2D4;
  --green-deep: #5C7A46;
  --cream: #F7F4EE;
  --muted: #55697E;
  --faint: #8A98A8;
  --line: #E7E2D9;
  --line-soft: #EDEAE3;
  --on-dark: #A8B4C2;
  --on-dark-dim: #6C7C8E;
  --font-cn: "PingFang SC", "Source Han Sans CN", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-en: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-cn);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 64px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 64px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__cn { font-size: 18px; font-weight: 500; letter-spacing: .02em; }
.brand__en { font-family: var(--font-en); font-size: 14px; color: var(--faint); }
.brand-logo { height: 30px; width: 30px; display: block; border-radius: 6px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .18s ease; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 500; }

.header-right { display: flex; align-items: center; gap: 10px; }

/* ---------- 声音开关 ---------- */
.sound-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color .18s ease, background .18s ease;
}
.sound-toggle:hover { border-color: #D6CFC2; }
.sound-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sound-toggle svg { display: block; }
.sound-toggle .eq { opacity: .45; transition: opacity .2s ease; }
.sound-toggle.is-on .eq { opacity: 1; }
.sound-toggle .dot {
  position: absolute;
  top: -2px;
  right: -2px;
  line-height: 0;
  opacity: 0;
  transition: opacity .2s ease;
}
.sound-toggle.is-on .dot { opacity: 1; }
.sound-toggle .bar { transform-origin: center; transform-box: fill-box; }
.sound-toggle.is-on .bar { animation: eqBounce 1.15s ease-in-out infinite; }
.sound-toggle.is-on .bar:nth-of-type(2) { animation-delay: .18s; }
.sound-toggle.is-on .bar:nth-of-type(3) { animation-delay: .36s; }

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

.lang { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.lang__zh { font-weight: 500; }
.lang__en { font-family: var(--font-en); color: var(--faint); }

.menu-btn { display: none; }

/* ---------- 背景视频 ---------- */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--cream); /* 视频加载前的兜底底色 */
}
.bg-video video {
  --bgs: 1;
  --bgy: 0%;
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%; /* 上下留出滚动视差余量 */
  object-fit: cover;
  transform: translateY(var(--bgy)) scale(var(--bgs));
  will-change: transform;
}
/* 暖白雾化遮罩：保证前景文字可读，同时保留插画的水彩氛围 */
.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(247, 244, 238, .66) 0%,
    rgba(247, 244, 238, .42) 22%,
    rgba(247, 244, 238, .38) 55%,
    rgba(247, 244, 238, .55) 100%);
}
/* 桌面端竖屏素材放大裁切较多：轻度模糊柔化，避免画面"顶"在文字后面 */
@media (min-width: 721px) {
  .bg-video video { --bgs: 1.06; filter: blur(5px) saturate(1.05); }
}
@media (max-width: 720px) {
  .bg-video video { filter: blur(1.5px); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-video video { will-change: auto; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 116px 0; }
.section--tight { padding: 92px 0; }
.section--white { background: rgba(255, 255, 255, .84); }
.section--cream { background: rgba(247, 244, 238, .78); }
.section--green { background: rgba(230, 242, 212, .82); }
.section--dark  { background: rgba(19, 34, 56, .93); }

.kicker {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--faint);
  margin-bottom: 14px;
}
.section--dark .kicker { color: var(--on-dark-dim); }
.section--green .kicker { color: #4C5F51; }

.h-section {
  font-size: 44px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -.01em;
}
.h-page { font-size: 48px; line-height: 1.3; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.9; color: var(--muted); margin-top: 18px; }
.lead--narrow { max-width: 800px; }
.section--dark .lead { color: var(--on-dark); }
.section--green .lead { color: #41524A; }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 100px 64px 112px;
}
.hero__copy { width: 620px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.hero__title { font-size: 62px; line-height: 1.26; font-weight: 700; letter-spacing: -.02em; }
.hero__title-en { font-family: var(--font-en); font-size: 17px; color: var(--faint); }
.hero__desc { font-size: 18px; line-height: 1.9; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 16px 32px;
  border-radius: 26px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: transform .18s ease, opacity .18s ease;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }


/* ---------- Quest Path ---------- */
.path-row { display: flex; align-items: flex-start; margin-top: 48px; }
.step { width: 298px; display: flex; flex-direction: column; gap: 16px; }
.step__icon {
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--cream);
  display: grid; place-items: center;
}
.step__num { font-family: var(--font-en); font-size: 13px; font-weight: 500; color: var(--faint); }
.step__title { font-size: 21px; font-weight: 500; }
.step__desc { font-size: 16px; line-height: 1.75; color: var(--muted); }
.connector { flex: 0 0 40px; height: 56px; display: grid; place-items: center; }

/* ---------- 模块卡 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.mod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shot {
  height: 186px;
  border-radius: 16px;
  background: var(--line-soft);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 13px;
  letter-spacing: .04em;
}
.mod-card h3 { font-size: 18px; font-weight: 500; }
.mod-card p { font-size: 15px; line-height: 1.8; color: var(--muted); }

/* ---------- 深色观点屏 ---------- */
.keywords { display: flex; gap: 96px; margin-top: 40px; }
.kw__en { font-family: var(--font-en); font-size: 30px; font-weight: 500; color: var(--cream); }
.kw__cn { font-size: 16px; font-weight: 500; color: var(--green); }

/* ---------- 时间线 ---------- */
.timeline { display: flex; flex-direction: column; gap: 22px; flex: 1; }
.tl-row { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.tl-row--done { color: var(--ink); }
.tl-row--current { color: var(--ink); font-weight: 500; }
.tl-row--future { color: var(--faint); }

.split { display: flex; gap: 64px; align-items: flex-start; }
.split__head { width: 460px; flex: 0 0 460px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- 公司信息 ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 36px; }
.info__label { font-size: 13px; color: #4C5F51; }
.info__value { font-size: 17px; font-weight: 500; line-height: 1.6; margin-top: 8px; }

/* 公众号二维码卡片 */
.qr-card {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 22px 32px 22px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px -10px rgba(18, 34, 56, .14);
}
.qr-card__img { width: 132px; height: 132px; border-radius: 12px; display: block; }
.qr-card__text { display: flex; flex-direction: column; gap: 10px; }
.qr-card__name { font-size: 20px; font-weight: 700; line-height: 1.4; }
.qr-card__hint { font-size: 14px; color: var(--muted); }

/* ---------- 关于页 ---------- */
.belief-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.belief {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.belief__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.belief p { font-size: 20px; font-weight: 500; line-height: 1.6; }
.big-question { font-size: 42px; line-height: 1.44; font-weight: 700; max-width: 900px; }

/* ---------- 法律页（隐私/协议） ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 21px; font-weight: 700; margin: 34px 0 14px; line-height: 1.5; }
.legal h2:first-child { margin-top: 4px; }
.legal p { font-size: 16px; line-height: 1.95; color: var(--muted); }
.legal p strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 14px 0; padding-left: 22px; }
.legal li { font-size: 16px; line-height: 1.95; color: var(--muted); margin: 8px 0; }
.legal a { color: var(--green-deep); border-bottom: 1px solid transparent; }
.legal a:hover { border-bottom-color: var(--green-deep); }

/* ---------- 支持页 ---------- */
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px 40px;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}
.contact-row + .divider + .contact-row { }
.divider { height: 1px; background: var(--line-soft); }
.contact-row__label { font-size: 15px; color: var(--muted); }
.contact-row__value { font-size: 17px; font-weight: 500; }
.contact-row__value a { border-bottom: 1px solid transparent; transition: border-color .18s ease; }
.contact-row__value a:hover { border-bottom-color: var(--ink); }

.future-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.future {
  background: #fff;
  border: 1px solid #DCE7CE;
  border-radius: 20px;
  padding: 24px;
  font-size: 17px;
  font-weight: 500;
}

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); padding: 92px 64px; display: flex; flex-direction: column; gap: 14px; }
.cta-band h2 { font-size: 36px; font-weight: 700; color: var(--cream); }
.cta-band p { font-family: var(--font-en); font-size: 16px; font-weight: 500; color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: 72px 64px 44px; display: flex; flex-direction: column; gap: 44px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand__logo { display: flex; align-items: center; gap: 10px; }
.footer-brand__cn { font-size: 18px; font-weight: 500; color: var(--cream); }
.footer-brand__en { font-family: var(--font-en); font-size: 14px; color: #7C8A99; }
.footer-brand__tag { font-size: 15px; color: var(--on-dark); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 15px; color: var(--on-dark); transition: color .18s ease; }
.footer-links a:hover { color: var(--cream); }
.footer-divider { height: 1px; background: #2A3A4E; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-legal { display: flex; flex-direction: column; gap: 6px; }
.footer-legal span { font-size: 14px; color: var(--on-dark); }
.footer-legal .small { font-size: 13px; color: var(--on-dark-dim); }
.footer-icp { font-size: 13px; color: var(--on-dark-dim); text-decoration: none; }
.footer-icp:hover { color: var(--on-dark); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .wrap, .header-inner, .hero, .cta-band, .site-footer { padding-left: 40px; padding-right: 40px; }
  .hero { flex-direction: column; align-items: flex-start; gap: 48px; }
  .hero__copy { width: 100%; }
  .card-grid, .future-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .keywords { gap: 56px; flex-wrap: wrap; }
  .split { flex-direction: column; }
  .split__head { width: 100%; flex: none; }
  .path-row { flex-wrap: wrap; gap: 32px 0; }
  .connector { display: none; }
  .step { width: 50%; padding-right: 24px; }
}

@media (max-width: 720px) {
  .wrap, .header-inner, .hero, .cta-band, .site-footer { padding-left: 24px; padding-right: 24px; }
  .nav { display: none; }
  .menu-btn {
    display: grid; place-items: center;
    width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer;
  }
  .section { padding: 68px 0; }
  .section--tight { padding: 56px 0; }
  .hero { padding-top: 36px; padding-bottom: 56px; gap: 36px; }
  .hero__title { font-size: 38px; line-height: 1.37; }
  .h-page { font-size: 34px; }
  .h-section { font-size: 29px; }
  .big-question { font-size: 28px; }
  .card-grid, .future-grid, .belief-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; gap: 18px; }
  .qr-card { display: flex; width: 100%; align-items: center; gap: 20px; margin-top: 36px; padding: 18px; }
  .qr-card__img { width: 110px; height: 110px; }
  .step { width: 100%; padding-right: 0; }
  .path-row { gap: 20px 0; }
  .keywords { gap: 20px; flex-direction: column; }
  .cta-band { padding-top: 56px; padding-bottom: 56px; }
  .cta-band h2 { font-size: 28px; }
  .contact-card { padding: 8px 24px; border-radius: 24px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 5px; padding: 18px 0; }
  .site-footer { padding-top: 48px; padding-bottom: 32px; gap: 28px; }
  .footer-links { gap: 20px 20px; }
  .shot { height: 150px; }
}
