/* =========================================================
   Quizzio 官网 — 静态实现样式
   视觉基准:Ardot 画布 (file 722830908485991)「明亮教育感」
   ========================================================= */

/* ---------- 设计 Token ---------- */
:root{
  /* 品牌与色板 */
  --blue:#2563EB;
  --blue-strong:#2E63EB;
  --blue-cyan:#1FA1F0;
  --grad-main:linear-gradient(90deg,#2E63EB,#1FA1F0);
  --grad-bar:linear-gradient(90deg,#0D1F4A,#1A45AD 55%,#0D8CD1);
  --ink:#0F172A;
  --ink-2:#334155;
  --ink-3:#475569;
  --ink-4:#55627A;
  --ink-5:#64748B;
  --ink-6:#8A97AD;

  /* 背景与边框 */
  --bg-soft:#F4F8FE;
  --bg-body:#EEF4FC;
  --bg-footer:#0D1A38;
  --line-ghost:#C2D4ED;
  --line-window:#DEE8F5;
  --line-chip:#E8F0FA;
  --line-card:#EDF2FA;
  --line-stat:#E3EDFF;
  --pill-bg:#EDF4FF;
  --pill-line:#CCDEFA;
  --pillblue-bg:#E3EDFF;
  --pillblue-line:#D6E6FC;

  /* 卡片/窗影 */
  --shadow-card:0 8px 20px rgba(26,51,115,.05);
  --shadow-quote:0 10px 22px rgba(26,51,115,.05);
  --shadow-chip:0 10px 20px rgba(26,41,77,.16);
  --shadow-btn:0 10px 22px rgba(38,102,235,.28);
  --shadow-window:0 34px 60px -10px rgba(23,51,115,.18),0 10px 24px rgba(26,51,107,.08);

  --font-cn:"Noto Sans SC","PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,-apple-system,sans-serif;
  --font-en:"Inter","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-cn);
  background:#FFFFFF;
  color:var(--ink);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;border:none;background:none;cursor:pointer;color:inherit}
img{display:block;max-width:100%}
svg{flex:none}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
::selection{background:rgba(37,99,235,.18)}

/* ---------- 通用 ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;border-radius:999px;font-weight:600;white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
.btn:active{transform:translateY(0) scale(.98)}
.btn-grad{background:var(--grad-main);color:#fff;box-shadow:var(--shadow-btn)}
.btn-grad:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(38,102,235,.34)}
.btn-ghost{background:#fff;color:var(--blue);border:1.5px solid var(--line-ghost)}
.btn-ghost:hover{border-color:var(--blue);transform:translateY(-1px)}
.btn-sm{height:44px;padding:0 22px;font-size:15px}
.btn-lg{height:58px;padding:0 34px;font-size:17px}
.ic{display:block}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 18px;border-radius:999px;
  background:var(--pill-bg);border:1px solid var(--pill-line);
  color:var(--blue);font-size:14px;font-weight:600;line-height:1.2;
}
.pill-blue{background:var(--pillblue-bg);border-color:var(--pillblue-line)}

/* =========================================================
   顶部导航
   ========================================================= */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .25s ease,box-shadow .25s ease;
}
.nav.is-scrolled{border-bottom-color:#EDF0F6;box-shadow:0 6px 24px rgba(15,23,42,.05)}
.nav-inner{
  max-width:1200px;margin:0 auto;height:84px;
  display:flex;align-items:center;justify-content:space-between;gap:40px;
  padding:0 20px;
}
.brand{display:inline-flex;align-items:center;gap:10px;flex:none}
.brand-logo{width:40px;height:40px}
.brand-name{font-family:var(--font-en);font-weight:800;font-size:22px;color:var(--ink);letter-spacing:-.2px}
.nav-links{display:flex;align-items:center;gap:40px}
.nav-links a{font-size:15px;font-weight:500;color:var(--ink-2);transition:color .15s ease}
.nav-links a:hover{color:var(--blue)}
.nav-actions{display:flex;align-items:center;gap:24px;flex:none}
.nav-downloads{display:flex;align-items:center;gap:10px;flex:none}
.ghost-btn{font-size:15px;font-weight:500;color:var(--blue);padding:6px 2px;transition:opacity .15s ease}
.ghost-btn:hover{opacity:.75}

/* =========================================================
   Hero 首屏
   ========================================================= */
.hero{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;
  padding-top:76px;
}
.hero-glow{position:absolute;border-radius:50%;pointer-events:none}
.glow-l{
  left:-140px;top:-90px;width:640px;height:640px;
  background:radial-gradient(circle,rgba(51,115,242,.16),rgba(51,115,242,0) 62%);
}
.glow-r{
  right:-100px;top:-60px;width:600px;height:600px;
  background:radial-gradient(circle,rgba(13,204,229,.14),rgba(13,204,229,0) 62%);
}
.hero-box{
  position:relative;width:100%;max-width:1200px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;gap:30px;
  padding:0 20px;
}
.hero-title{
  font-size:62px;font-weight:700;line-height:1.24;
  color:var(--ink);text-align:center;letter-spacing:.5px;
}
.hero-title .accent{color:var(--blue)}
.hero-sub{
  max-width:700px;text-align:center;
  font-size:19px;line-height:34px;color:var(--ink-3);
}
.hero-cta{display:flex;align-items:center;gap:16px}
.hero-trust{font-size:15px;color:var(--ink-5);text-align:center;letter-spacing:.2px}

/* --- 首屏轮播:理念海报为主角,产品界面截图作补充(两者可切换) ---
   容器从 1000px 放大到 1180px:海报是 8:5,原宽度放进去两侧会留 374px 空白,
   放大后左右仅剩约 60px,主张才能真正"打满"。 */
.shot-wrap{
  position:relative;width:1180px;height:820px;margin:0 auto;flex:none;
}
.window{
  position:absolute;left:0;top:0;width:1180px;height:762px;
  background:linear-gradient(180deg,#FFFFFF,#FCFDFF);
  border:1px solid var(--line-window);
  border-radius:20px;
  box-shadow:var(--shadow-window);
  overflow:hidden;
}
.win-bar{
  display:flex;align-items:center;gap:14px;
  height:56px;padding:0 22px;
}
.dot{width:10px;height:10px;border-radius:50%}
.d-r{background:#FF5F57}.d-y{background:#FEBC2E}.d-g{background:#28C840}
.win-url{font-family:var(--font-en);font-size:13px;font-weight:500;color:#9AA9C4;margin-left:2px}
.win-ver{font-size:12px;color:#B4C0D6}
.win-body{
  position:relative;height:706px;overflow:hidden;
  background:var(--bg-body);
}
/* 截图切换页签(标题栏内,点击切换;不依赖 JS 也能看到第一张) */
.shot-tabs{display:flex;align-items:center;gap:6px;margin-left:auto}
.shot-tab{
  padding:0 12px;height:28px;border-radius:999px;cursor:pointer;
  background:transparent;border:1px solid transparent;
  font-family:inherit;font-size:12.5px;font-weight:500;color:#8A97AD;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.shot-tab:hover{color:var(--blue);background:var(--pill-bg)}
.shot-tab.is-active{background:var(--pillblue-bg);border-color:var(--pillblue-line);color:var(--blue);font-weight:600}

/* 页签组整体可横向滚动:产品截图 3 个 + 理念海报 8 个,11 个在窄屏放不下。
   用 overflow-x 保留全部可点性,滚动条隐藏但鼠标滚轮/触摸仍可滑动。 */
.shot-tabs{
  display:flex;align-items:center;gap:6px;margin-left:auto;
  overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none;
  max-width:100%;padding-right:4px;
}
.shot-tabs::-webkit-scrollbar{display:none}
/* 分隔线:把「产品截图」与「理念主张」两组视觉上分开 */
.shot-tabs-sep{
  flex:0 0 auto;width:1px;height:16px;margin:0 4px;
  background:var(--line-ghost);
}
.shot-tab{flex:0 0 auto;white-space:nowrap}
.shot-tab-alt{color:#A2AEC2}
/* 海报是竖幅主张,给一点暖调以区别于产品截图的冷静感 */
.shot-tab-alt.is-active{background:#EDF3FF;border-color:#CFDEF7;color:var(--blue)}
/* 三张截图同尺寸叠放,切换只改透明度 —— 无跳位、无加载抖动。
   窄屏(860~1000px 窗口宽度)按比例放不下时从**右侧**裁切(object-position:top left):
   保住客户端左侧导航与正文起点,被裁掉的是右侧留白/滚动条,比居中裁切好看得多。 */
.shot-img{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;transition:opacity .5s ease;pointer-events:none}
.shot-img.is-active{opacity:1;pointer-events:auto}
.shot-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:top left}
/* 理念海报是 1440×900(8:5),窗口体约 1180×706 —— 直接 cover 会把两侧文字裁掉。
   改用 contain 居中完整显示,上下留出底色垫;宁可留边,不可残字。 */
.shot-img.is-poster img{object-fit:contain;object-position:center}

/* --- 翻页控件:左右大按钮 + 圆点 + 自动播放进度条 ---
   海报是主角,所以导航做成"看得见、按得到":按钮 44px 点击区,悬停放大,
   不做自动隐藏 —— 首屏是唯一展示位,控件常驻比炫技重要。 */
.shot-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:52px;height:52px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.92);backdrop-filter:blur(6px);
  border:1px solid var(--line-chip);
  box-shadow:0 6px 20px rgba(26,51,115,.16);
  cursor:pointer;z-index:6;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.shot-nav:hover{background:#fff;transform:translateY(-50%) scale(1.08);box-shadow:0 10px 26px rgba(26,51,115,.24)}
.shot-nav:active{transform:translateY(-50%) scale(.96)}
.shot-nav:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.shot-nav svg{width:20px;height:20px}
.shot-nav-prev{left:14px}
.shot-nav-next{right:14px}
.shot-nav[disabled]{opacity:.35;cursor:default}

/* 底部:圆点 + 自动播放进度 */
.shot-foot{
  position:absolute;left:0;right:0;bottom:18px;z-index:6;
  display:flex;flex-direction:column;align-items:center;gap:10px;
  pointer-events:none;
}
.shot-dots{display:flex;align-items:center;gap:7px;pointer-events:auto}
.shot-dot{
  width:8px;height:8px;padding:0;border-radius:50%;cursor:pointer;
  background:rgba(120,140,170,.34);border:none;
  transition:width .22s ease,background .22s ease;
}
.shot-dot:hover{background:rgba(37,99,235,.5)}
.shot-dot.is-on{width:24px;border-radius:4px;background:var(--blue)}
.shot-progress{
  width:220px;height:3px;border-radius:2px;
  background:rgba(120,140,170,.22);overflow:hidden;pointer-events:none;
}
.shot-progress i{
  display:block;width:0;height:100%;border-radius:2px;
  background:var(--blue);transition:width .12s linear;
}
/* 浮动状态卡 */
.float-chip{
  position:absolute;display:inline-flex;align-items:center;gap:8px;
  padding:0 16px;height:44px;border-radius:22px;white-space:nowrap;
  background:#fff;border:1px solid var(--line-chip);
  box-shadow:var(--shadow-chip);
  font-size:13px;font-weight:500;color:#1E293B;
}
.chip-ai{left:782px;top:76px}
.chip-tree{left:24px;top:612px}
.fc-dot{width:8px;height:8px;border-radius:50%;background:#22C55E}

/* =========================================================
   产品功能特性
   ========================================================= */
.features{background:var(--bg-soft)}
.features-box{
  max-width:1200px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;gap:64px;
  padding:104px 20px 112px;
}
.section-head{display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}
.section-title{font-size:42px;font-weight:700;line-height:1.3;color:var(--ink)}
.section-desc{max-width:620px;font-size:17px;line-height:30px;color:var(--ink-4)}
.feat-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;width:100%;
}
.feat-card{
  background:#fff;border-radius:24px;padding:28px;
  display:flex;flex-direction:column;gap:18px;
  box-shadow:var(--shadow-card);
  transition:transform .2s ease,box-shadow .2s ease;
}
.feat-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(26,51,115,.09)}
.feat-ic{width:56px;height:56px;border-radius:18px;display:flex;align-items:center;justify-content:center}
.tile-blue{background:#E8F0FF}
.tile-violet{background:#EFEBFF}
.tile-cyan{background:#E0F4FA}
.tile-green{background:#E4F7F0}
.tile-amber{background:#FDF1E3}
.tile-rose{background:#FDEBEE}
.feat-title{font-size:21px;font-weight:600;color:var(--ink)}
.feat-desc{font-size:15px;line-height:26px;color:var(--ink-4)}

/* =========================================================
   效果与口碑
   ========================================================= */
.proof{background:#fff}
.proof-box{
  max-width:1200px;margin:0 auto;
  display:flex;flex-direction:column;align-items:center;gap:88px;
  padding:104px 20px 120px;
}
/* 数据条 */
.stats-bar{
  width:100%;height:224px;border-radius:28px;
  background:var(--grad-bar);
  display:flex;align-items:center;justify-content:space-between;
  padding:0 72px;
  box-shadow:0 22px 40px rgba(15,46,128,.18);
}
.stat{position:relative;min-width:250px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.stat:not(:last-child)::after{
  content:"";position:absolute;top:50%;right:-18px;
  width:1px;height:100px;background:rgba(255,255,255,.16);
}
.stat-num{font-family:var(--font-en);font-weight:800;font-size:50px;line-height:1;color:#fff}
.stat-num.stat-lg{font-size:44px}
.stat-label{font-size:16px;font-weight:600;color:var(--line-stat)}

/* 证言 */
.quote-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;width:100%;
}
.quote-card{
  background:#fff;border:1px solid var(--line-card);border-radius:24px;padding:28px;
  display:flex;flex-direction:column;gap:18px;height:336px;
  box-shadow:var(--shadow-quote);
  transition:transform .2s ease,box-shadow .2s ease;
}
.quote-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(26,51,115,.08)}
.quote-text{flex:1;font-size:16px;line-height:28px;color:var(--ink-2)}
.quote-foot{display:flex;align-items:center;gap:12px}
.avatar{
  width:44px;height:44px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:600;
}
.av-blue{background:#E8F0FF;color:var(--blue)}
.av-green{background:#E4F7F0;color:#059669}
.av-amber{background:#FDF1E3;color:#B45309}
.who{display:flex;flex-direction:column;gap:2px}
.who b{font-size:15px;font-weight:600;color:var(--ink);font-weight:600}
.who em{font-style:normal;font-size:13px;color:var(--ink-6)}

/* =========================================================
   页脚
   ========================================================= */
.footer{
  position:relative;overflow:hidden;
  background:var(--bg-footer);
  padding:96px 0 44px;
}
.footer-watermark{
  position:absolute;left:300px;top:20px;z-index:0;
  font-family:var(--font-en);font-weight:800;font-size:250px;line-height:1;
  color:#fff;opacity:.035;white-space:nowrap;pointer-events:none;
  user-select:none;
}
.footer-box{
  position:relative;z-index:1;
  max-width:1200px;margin:0 auto;
  display:flex;flex-direction:column;gap:44px;
  padding:0 20px;
}
.footer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:60px}
.footer-brand{width:430px;flex:none;display:flex;flex-direction:column;gap:18px}
.brand-light .brand-name{color:#fff}
.footer-tag{font-size:15px;line-height:26px;color:#9FB0CF}
.footer-mail{display:flex;align-items:center;gap:10px;font-size:14px;color:#7DA2E8}
.footer-mail span{font-family:var(--font-en);font-weight:500}
.footer-cols{display:flex;gap:108px}
.fcol{display:flex;flex-direction:column;gap:14px}
.fcol:nth-child(1){width:120px}.fcol:nth-child(2){width:130px}.fcol:nth-child(3){width:120px}
.fcol h4{font-size:14px;font-weight:600;color:#E7EDF8}
.fcol a{font-size:14px;color:#93A6C8;transition:color .15s ease}
.fcol a:hover{color:#fff}
.footer-divider{height:1px;background:rgba(255,255,255,.12)}
.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;
  font-size:13px;color:#7E91B4;
}
.footer-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.footer-beian{white-space:nowrap}
.footer-beian a{color:inherit;text-decoration:none;transition:color .15s ease}
.footer-beian a:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}
.footer-gongan{white-space:nowrap}
.footer-gongan a{color:inherit;text-decoration:none;transition:color .15s ease;display:inline-flex;align-items:center;gap:5px}
.footer-gongan a:hover{color:#fff;text-decoration:underline;text-underline-offset:2px}
.footer-gongan-icon{width:16px;height:16px;display:block;flex:0 0 auto}

/* ---------- Toast ---------- */
.toast{
  position:fixed;left:50%;bottom:36px;transform:translate(-50%,24px);
  background:rgba(15,23,42,.92);color:#fff;font-size:14px;
  padding:12px 22px;border-radius:12px;
  opacity:0;pointer-events:none;
  box-shadow:0 12px 30px rgba(15,23,42,.3);
  transition:opacity .25s ease,transform .25s ease;
  z-index:200;max-width:min(88vw,480px);text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* ---------- 法务页(隐私政策等) ---------- */
.legal{padding:64px 0 80px}
.legal-box{max-width:860px;margin:0 auto;padding:0 20px}
.legal .section-head{text-align:left;margin-bottom:36px}
.legal-body{font-size:16px;line-height:1.95;color:var(--ink-2)}
.legal-body h2{margin:40px 0 14px;font-size:21px;font-weight:700;color:var(--ink);line-height:1.5}
.legal-body h3{margin:28px 0 10px;font-size:17.5px;font-weight:700;color:var(--ink)}
.legal-body p{margin:0 0 14px}
.legal-body ol{margin:0 0 16px;padding-left:24px}
.legal-body li{margin:0 0 8px}
.legal-body strong{color:var(--ink)}
.legal-body a{color:var(--blue);font-weight:600}
.legal-body a:hover{text-decoration:underline}
.legal-body blockquote{margin:0 0 16px;padding:12px 18px;border-left:3px solid var(--blue);background:rgba(37,99,235,.06);border-radius:0 10px 10px 0;color:var(--ink-2);font-size:15px}
.legal-table-wrap{overflow-x:auto;margin:0 0 18px}
.legal-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.7}
.legal-table th,.legal-table td{border:1px solid var(--line-ghost);padding:10px 14px;text-align:left;vertical-align:top}
.legal-table th{background:rgba(37,99,235,.06);color:var(--ink);font-weight:700;white-space:nowrap}
.legal-mail{white-space:nowrap}
.legal-foot-note{margin-top:44px;padding-top:18px;border-top:1px solid var(--line-ghost);font-size:13.5px;color:var(--ink-6)}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width:1240px){
  .nav-inner,.features-box,.proof-box,.footer-box{max-width:calc(100% - 40px)}
  .stats-bar{padding:0 40px}
  .footer-cols{gap:72px}
}
@media (max-width:1080px){
  .nav-actions .ghost-btn{display:none}
  .hero-title{font-size:50px}
  .shot-wrap{width:100%;max-width:1180px;transform-origin:top center}
  .window{width:100%;height:auto;aspect-ratio:1180 / 762}
  .win-body{height:auto;aspect-ratio:1180 / 706}
  .shot-nav{width:44px;height:44px}
  .shot-nav svg{width:18px;height:18px}
  .shot-progress{width:160px}
  .chip-ai{left:auto;right:6%}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .quote-card{height:auto;min-height:300px}
  .stats-bar{flex-wrap:wrap;height:auto;padding:44px 28px;row-gap:36px;column-gap:20px}
  .stat{min-width:40%}
  .stat:not(:last-child)::after{display:none}
}
@media (max-width:860px){
  .nav{position:sticky}
  .nav-inner{height:72px}
  .nav-links{display:none}
  .btn-sm{padding:0 18px}
  .brand-name{font-size:20px}
  .hero{padding-top:56px}
  .hero-title{font-size:38px;line-height:1.3}
  .hero-sub{font-size:17px;line-height:29px}
  .hero-cta{flex-direction:column;width:100%}
  .hero-cta .btn{width:100%}
  .feat-grid,.quote-row{grid-template-columns:1fr}
  .section-title{font-size:32px}
  .stats-bar{padding:36px 24px}
  .stat{min-width:100%}
  .shot-wrap{display:none}
  .footer-top{flex-direction:column;gap:44px}
  .footer-brand{width:100%}
  .footer-cols{gap:40px;flex-wrap:wrap}
  .footer-bottom{flex-direction:column;gap:10px;text-align:center}
}
@media (prefers-reduced-motion:reduce){
  *{transition:none !important;animation:none !important}
  html{scroll-behavior:auto}
}
