/* =========================================================
   Color system — clean, light corporate palette
   Primary blue = navigation / links / "百度" tag
   Accent orange = download / CTA / "搜狗" tag (matches the
   warm call-to-action orange used on Aizhan's download page)
   ========================================================= */
:root{
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --panel: #ffffff;
  --panel-soft: #f4f7fb;
  --line: #e4eaf1;

  --text: #1c2b3a;
  --text-dim: #5b6b7d;
  --text-faint: #93a1b0;

  --blue: #1a6fe0;
  --blue-dark: #0f56b8;
  --blue-soft: #eaf2fe;

  --orange: #ff8a1e;
  --orange-dark: #e56f00;
  --orange-soft: #fff2e3;

  --ok: #1fae6b;
  --ok-soft: #e7f8f0;
  --pending: #d98a00;
  --pending-soft: #fff4e0;

  --radius: 14px;
  --shadow: 0 12px 32px -18px rgba(20, 40, 70, 0.18);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Noto Sans SC', 'Space Grotesk', sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit; text-decoration:none;}
.mono{font-family:'JetBrains Mono', monospace;}
.wrap{max-width:1120px; margin:0 auto; padding:0 28px;}
img{max-width:100%; display:block;}

/* ===== Header ===== */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  height:68px; position:relative;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand .mark{
  width:24px; height:24px; border-radius:7px; flex:none;
  display:block;
}
.brand .name-slot{
  font-family:'Space Grotesk', sans-serif; font-weight:600; font-size:15px;
  color:var(--text-faint);
  border:1px dashed var(--line);
  border-radius:6px;
  padding:3px 10px;
}
.navlinks{display:flex; gap:38px; font-size:14.5px; color:var(--text-dim); font-weight:500;}
.navlinks a{transition:color .15s ease;}
.navlinks a:hover{color:var(--blue);}
.nav-cta{
  font-size:13.5px; padding:10px 20px; border-radius:8px;
  background:var(--orange); color:#fff; font-weight:600;
  box-shadow:0 8px 18px -8px rgba(255,138,30,0.55);
  transition:background .15s ease;
}
.nav-cta:hover{background:var(--orange-dark);}
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:34px; height:34px; border:none; background:none; cursor:pointer;
}
.nav-toggle span{width:100%; height:2px; background:var(--text); border-radius:2px;}

/* ===== Hero ===== */
.hero{
  padding:88px 0 76px;
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'JetBrains Mono', monospace;
  font-size:12px; color:var(--ok);
  border:1px solid #c7ecdb;
  background:var(--ok-soft);
  padding:6px 12px; border-radius:20px;
  margin-bottom:24px;
}
.eyebrow .dot{width:6px; height:6px; border-radius:50%; background:var(--ok);}
h1{
  font-family:'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-weight:700; font-size:44px; line-height:1.22; letter-spacing:-0.5px;
  margin-bottom:20px; color:var(--text);
}
h1 span{color:var(--blue);}
.hero-desc{color:var(--text-dim); font-size:16px; max-width:480px; margin-bottom:32px;}
.hero-actions{display:flex; gap:14px; margin-bottom:40px;}
.btn-primary{
  background:var(--orange); color:#fff; font-weight:600; font-size:14.5px;
  padding:14px 26px; border-radius:9px; display:inline-flex; align-items:center; gap:8px;
  box-shadow:0 10px 22px -10px rgba(255,138,30,0.6);
  transition:background .15s ease, transform .15s ease;
}
.btn-primary:hover{background:var(--orange-dark); transform:translateY(-1px);}
.btn-ghost{
  border:1px solid var(--line); color:var(--text); font-size:14.5px; font-weight:500;
  padding:14px 24px; border-radius:9px; transition:border-color .15s ease, color .15s ease;
}
.btn-ghost:hover{border-color:var(--blue); color:var(--blue);}
.hero-stats{display:flex; gap:38px;}
.hero-stats .stat b{
  display:block; font-family:'Space Grotesk',sans-serif; font-size:23px; font-weight:700; color:var(--blue-dark);
}
.hero-stats .stat b.text-only{font-size:19px;}
.hero-stats .stat span{font-size:12.5px; color:var(--text-faint);}

/* Signature element: push log card */
.log-panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.log-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid var(--line);
  background:var(--panel-soft);
}
.log-head .dots{display:flex; gap:6px;}
.log-head .dots i{width:9px; height:9px; border-radius:50%; background:var(--line); display:inline-block;}
.log-head .title{font-family:'JetBrains Mono',monospace; font-size:12px; color:var(--text-faint);}
.log-body{padding:14px 18px;}
.log-row{
  display:grid; grid-template-columns:70px 1fr 70px 56px; gap:10px;
  padding:10px 0; border-bottom:1px solid var(--line);
  color:var(--text-dim); align-items:center; font-size:12.5px;
  opacity:0; transform:translateY(6px);
  animation:rowIn .5s ease forwards;
}
.log-row:last-child{border-bottom:none;}
.log-row .eng{font-weight:700; font-size:12px;}
.log-row .eng.baidu{color:var(--blue);}
.log-row .eng.sogou{color:var(--orange-dark);}
.log-row .url{color:var(--text-faint); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:'JetBrains Mono',monospace;}
.log-row .status{font-size:11px; padding:3px 9px; border-radius:20px; text-align:center; font-weight:600;}
.log-row .status.ok{color:var(--ok); background:var(--ok-soft);}
.log-row .status.pending{color:var(--pending); background:var(--pending-soft);}
@keyframes rowIn{to{opacity:1; transform:translateY(0);}}
.log-foot{
  display:flex; justify-content:space-between; align-items:center;
  padding:12px 18px; border-top:1px solid var(--line);
  background:var(--panel-soft); font-size:11.5px; color:var(--text-faint);
}
.cursor{display:inline-block; width:6px; height:12px; background:var(--ok); vertical-align:middle; margin-left:4px; animation:blink 1.1s steps(1) infinite;}
@keyframes blink{50%{opacity:0;}}

/* ===== Section shared ===== */
section{padding:84px 0;}
.section-head{max-width:600px; margin-bottom:52px;}
.section-head.center{max-width:640px; margin-left:auto; margin-right:auto; text-align:center;}
.section-tag{
  font-family:'JetBrains Mono',monospace; font-size:12px; letter-spacing:1px;
  text-transform:uppercase; margin-bottom:14px; display:inline-block;
  padding:4px 10px; border-radius:6px;
}
.section-tag.baidu{color:var(--blue-dark); background:var(--blue-soft);}
.section-tag.sogou{color:var(--orange-dark); background:var(--orange-soft);}
.section-tag.plan{color:var(--orange-dark); background:var(--orange-soft);}
h2{font-family:'Space Grotesk','Noto Sans SC',sans-serif; font-size:29px; font-weight:700; margin-bottom:14px; letter-spacing:-0.3px;}
.section-head p{color:var(--text-dim); font-size:15px;}

/* ===== Push sections ===== */
.push-section{border-top:1px solid var(--line);}
.push-section.alt{background:var(--bg-soft);}
.push-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:start;}
.push-features{display:grid; gap:24px;}
.push-feature{display:flex; gap:16px;}
.push-feature .icon{
  flex:none; width:36px; height:36px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-size:13px; font-weight:700;
}
.push-feature .icon.baidu{color:var(--blue); background:var(--blue-soft);}
.push-feature .icon.sogou{color:var(--orange-dark); background:var(--orange-soft);}
.push-feature h4{font-size:15.5px; font-weight:700; margin-bottom:6px;}
.push-feature p{font-size:13.5px; color:var(--text-dim);}

.quota-card{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px;
  box-shadow:var(--shadow);
}
.quota-card .qhead{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:18px;}
.quota-card .qhead h4{font-size:14px; color:var(--text-dim); font-weight:500;}
.quota-card .qhead .num{font-family:'JetBrains Mono',monospace; font-size:13px; color:var(--text-faint);}
.bar-track{height:8px; background:var(--panel-soft); border-radius:20px; overflow:hidden; margin-bottom:22px;}
.bar-fill{height:100%; border-radius:20px; width:0%; transition:width 1.1s cubic-bezier(.3,.8,.3,1);}
.bar-fill.baidu{background:linear-gradient(90deg, var(--blue), #5a9dfd);}
.bar-fill.sogou{background:linear-gradient(90deg, var(--orange), #ffb35c);}
.quota-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px; text-align:center;}
.quota-grid div{padding:16px 8px; border:1px solid var(--line); border-radius:10px; background:var(--panel-soft);}
.quota-grid b{display:block; font-family:'JetBrains Mono',monospace; font-size:18px; margin-bottom:4px; color:var(--text);}
.quota-grid span{font-size:11px; color:var(--text-faint);}

/* ===== 套餐 Plans ===== */
.plans{border-top:1px solid var(--line);}
.plan-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;}
.plan-card{
  background:var(--panel); border:1px solid var(--line); border-radius:16px;
  padding:32px 28px; display:flex; flex-direction:column;
  position:relative; box-shadow:var(--shadow);
}
.plan-card.featured{
  border-color:var(--orange);
  box-shadow:0 18px 40px -18px rgba(255,138,30,0.35);
}
.plan-badge{
  position:absolute; top:-13px; right:28px;
  background:var(--orange); color:#fff;
  font-size:11px; font-weight:700; padding:5px 12px; border-radius:20px;
}
.plan-name{font-size:15px; color:var(--text-dim); margin-bottom:10px; font-weight:500;}
.plan-price{font-family:'Space Grotesk',sans-serif; font-size:34px; font-weight:700; margin-bottom:4px; color:var(--text);}
.plan-price sub{font-size:13px; color:var(--text-faint); font-weight:400;}
.plan-note{font-size:12.5px; color:var(--text-faint); margin-bottom:26px;}
.plan-list{list-style:none; display:grid; gap:13px; margin-bottom:28px; flex:1;}
.plan-list li{display:flex; gap:10px; font-size:13.5px; color:var(--text-dim); align-items:flex-start;}
.plan-list li .chk{flex:none; width:16px; height:16px; margin-top:2px; color:var(--ok); font-weight:700;}
.plan-btn{
  text-align:center; padding:13px; border-radius:9px; font-size:14px; font-weight:600;
  border:1px solid var(--line); color:var(--text); transition:all .15s ease;
}
.plan-btn:hover{border-color:var(--blue); color:var(--blue);}
.plan-card.featured .plan-btn{background:var(--orange); color:#fff; border-color:transparent;}
.plan-card.featured .plan-btn:hover{background:var(--orange-dark); color:#fff;}

/* ===== Footer ===== */
footer{border-top:1px solid var(--line); padding:52px 0 36px; background:var(--bg-soft);}
.foot-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px; margin-bottom:36px;}
.foot-brand{max-width:320px;}
.foot-brand .brand{margin-bottom:14px;}
.foot-brand p{color:var(--text-faint); font-size:13px;}
.foot-cols{display:flex; gap:64px;}
.foot-col h5{font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:1px; margin-bottom:16px;}
.foot-col a{display:block; font-size:13.5px; color:var(--text-dim); margin-bottom:11px;}
.foot-col a:hover{color:var(--blue);}
.foot-bottom{
  border-top:1px solid var(--line); padding-top:22px;
  display:flex; justify-content:space-between; font-size:12px; color:var(--text-faint); flex-wrap:wrap; gap:10px;
}

/* ===== Responsive ===== */
@media (max-width: 860px){
  .hero{grid-template-columns:1fr; padding-top:48px;}
  h1{font-size:32px;}
  .navlinks{
    display:none; position:absolute; top:68px; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    flex-direction:column; gap:0; padding:8px 28px 16px;
    box-shadow:var(--shadow);
  }
  .navlinks.open{display:flex;}
  .navlinks a{padding:12px 0; border-bottom:1px solid var(--line);}
  .navlinks a:last-child{border-bottom:none;}
  .nav-cta{display:none;}
  .nav-toggle{display:flex;}
  .push-grid{grid-template-columns:1fr;}
  .plan-grid{grid-template-columns:1fr;}
  .download-grid.versions{grid-template-columns:1fr;}
  .foot-grid{flex-direction:column;}
  .foot-cols{gap:40px;}
}

/* ===== 软件下载 section ===== */
.download-section{border-top:1px solid var(--line);}
.download-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:48px;}
.download-card{
  display:flex; align-items:center; gap:18px;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 24px; box-shadow:var(--shadow);
}
.dl-icon{
  flex:none; width:46px; height:46px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:700;
  text-transform:uppercase; color:var(--blue); background:var(--blue-soft);
}
.dl-info{flex:1; min-width:0;}
.dl-info h4{font-size:14.5px; font-weight:700; margin-bottom:6px;}
.dl-meta{display:flex; flex-wrap:wrap; gap:10px; font-size:11.5px; color:var(--text-faint);}
.dl-btn{flex:none; white-space:nowrap; padding:11px 18px; font-size:13px;}

/* three version-specific download cards (测试版本 / 专业版 / 旗舰版) */
.download-grid.versions{grid-template-columns:repeat(3, 1fr); margin-bottom:20px;}
.download-grid.doc-grid{grid-template-columns:1fr; margin-bottom:48px;}
.version-card{
  flex-direction:column; align-items:stretch; text-align:left; gap:10px;
}
.version-card.featured{border-color:var(--orange); box-shadow:0 18px 40px -18px rgba(255,138,30,0.3);}
.version-tag{
  align-self:flex-start; font-size:11.5px; font-weight:700; color:var(--blue-dark);
  background:var(--blue-soft); padding:3px 10px; border-radius:20px;
}
.version-card.featured .version-tag{color:var(--orange-dark); background:var(--orange-soft);}
.version-card h4{font-size:15px; font-weight:700; margin-top:2px;}
.version-note{font-size:12.5px; color:var(--text-dim); flex:1;}
.dl-btn.full{width:100%; text-align:center;}

.usage-steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
  padding:32px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  margin-bottom:48px;
}
.usage-step{display:flex; gap:14px;}
.step-num{
  flex:none; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:13px;
  color:var(--blue); background:var(--blue-soft);
  width:30px; height:30px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.usage-step h4{font-size:14.5px; font-weight:700; margin-bottom:5px;}
.usage-step p{font-size:13px; color:var(--text-dim);}

.tag-doc h3{font-family:'Space Grotesk','Noto Sans SC',sans-serif; font-size:20px; font-weight:700; margin-bottom:10px;}
.tag-doc-desc{color:var(--text-dim); font-size:14px; margin-bottom:24px; max-width:640px;}

.tag-table-wrap{
  overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius);
  margin-bottom:28px; box-shadow:var(--shadow);
}
.tag-table{width:100%; border-collapse:collapse; font-size:13.5px; min-width:520px;}
.tag-table thead th{
  text-align:left; background:var(--panel-soft); color:var(--text-dim);
  font-weight:600; font-size:12.5px; padding:12px 16px; border-bottom:1px solid var(--line);
}
.tag-table td{padding:11px 16px; border-bottom:1px solid var(--line); color:var(--text-dim);}
.tag-table tr:last-child td{border-bottom:none;}
.tag-table td:first-child{color:var(--text); font-weight:600; background:var(--panel-soft);}
.tag-table td.mono{color:var(--blue-dark); font-weight:600;}

.tag-examples{display:grid; gap:12px; margin-bottom:24px;}
.tag-example{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  background:var(--panel-soft); border:1px solid var(--line); border-radius:10px;
  padding:14px 18px; font-size:13px;
}
.tag-example-label{flex:none; color:var(--text-dim); font-weight:500; min-width:140px;}
.tag-example code{background:var(--bg); border:1px solid var(--line); border-radius:6px; padding:4px 9px; color:var(--text);}
.tag-example code.result{color:var(--ok); border-color:#c7ecdb; background:var(--ok-soft);}
.tag-arrow{color:var(--text-faint);}

.tag-note{
  font-size:13px; color:var(--text-dim); background:var(--orange-soft);
  border:1px solid #ffe1bc; border-radius:10px; padding:14px 18px;
}
.tag-note strong{color:var(--orange-dark);}
.tag-note a{color:var(--blue); font-weight:600;}
.tag-note a:hover{text-decoration:underline;}

/* ===== Beta / disabled states (搜狗推送) ===== */
.beta-badge{
  display:inline-block; margin-left:10px; margin-bottom:14px;
  font-size:11.5px; font-weight:700; color:var(--pending);
  background:var(--pending-soft); border:1px solid #ffe1a8;
  padding:4px 10px; border-radius:20px; vertical-align:middle;
}
.push-feature.disabled{opacity:0.55;}
.push-feature.disabled .icon{background:var(--panel-soft); color:var(--text-faint);}
.soon-card{
  display:flex; flex-direction:column; align-items:flex-start; gap:10px;
  padding:32px 26px;
}
.soon-icon{font-size:26px;}
.soon-card h4{font-size:15.5px; font-weight:700;}
.soon-card p{font-size:13.5px; color:var(--text-dim); margin-bottom:8px;}

/* ===== 免费试用 Banner ===== */
.promo-banner{
  background:linear-gradient(90deg, var(--orange), #ff9f45);
}
.promo-inner{
  display:flex; align-items:center; justify-content:center; gap:14px;
  flex-wrap:wrap; padding:11px 28px; text-align:center;
}
.promo-badge{
  flex:none; background:rgba(255,255,255,0.25); color:#fff;
  font-size:11.5px; font-weight:700; padding:4px 11px; border-radius:20px;
  letter-spacing:0.5px;
}
.promo-text{color:#fff; font-size:13.5px; font-weight:500;}
.promo-text strong{font-weight:800;}
.promo-cta{
  flex:none; color:#fff; font-size:13px; font-weight:700;
  border-bottom:1.5px solid rgba(255,255,255,0.7);
  padding-bottom:1px; transition:opacity .15s ease;
}
.promo-cta:hover{opacity:0.8;}

/* ===== Brand name (极光推送 — aurora-inspired gradient wordmark) ===== */
.brand-name{
  font-family:'Space Grotesk', 'Noto Sans SC', sans-serif;
  font-weight:800; font-size:18px; letter-spacing:0.2px;
  background:linear-gradient(90deg, var(--blue) 0%, #4fb8c9 45%, var(--orange) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
footer .brand-name{font-size:17px;}

/* ===== Accordion (百度推送原理说明) ===== */
.accordion{margin-top:56px; padding-top:40px; border-top:1px solid var(--line);}
.accordion-title{font-family:'Space Grotesk','Noto Sans SC',sans-serif; font-size:19px; font-weight:700; margin-bottom:18px;}
.acc-item{
  border:1px solid var(--line); border-radius:12px; padding:0 20px;
  margin-bottom:12px; background:var(--panel);
}
.acc-item + .acc-item{margin-top:12px;}
.acc-item summary{
  cursor:pointer; list-style:none; padding:16px 0;
  font-size:14.5px; font-weight:600; color:var(--text);
  display:flex; align-items:center; justify-content:space-between;
}
.acc-item summary::-webkit-details-marker{display:none;}
.acc-item summary::after{
  content:'+'; font-size:20px; font-weight:400; color:var(--blue); flex:none; margin-left:12px;
}
.acc-item[open] summary::after{content:'–';}
.acc-item p, .acc-item .acc-list{
  padding-bottom:18px; font-size:13.5px; color:var(--text-dim);
}
.acc-list{padding-left:18px; display:grid; gap:8px;}

/* ===== 联系客服 section ===== */
.contact-section{border-top:1px solid var(--line); background:var(--bg-soft);}
.contact-card{
  max-width:640px; margin:0 auto;
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 28px; box-shadow:var(--shadow);
}
.contact-icon{
  flex:none; width:52px; height:52px; border-radius:50%;
  background:#e7f4fb; color:#229ED9;
  display:flex; align-items:center; justify-content:center;
}
.contact-info{flex:1; min-width:200px;}
.contact-info h4{font-size:15px; font-weight:700; margin-bottom:5px;}
.contact-info p{font-size:12.5px; color:var(--text-faint);}

/* ===== 悬浮 Telegram 客服按钮 ===== */
.telegram-fab{
  position:fixed; right:24px; bottom:24px; z-index:80;
  width:56px; height:56px; border-radius:50%;
  background:#229ED9; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px -8px rgba(34,158,217,0.55);
  transition:transform .15s ease, box-shadow .15s ease;
}
.telegram-fab:hover{transform:translateY(-3px); box-shadow:0 16px 32px -8px rgba(34,158,217,0.65);}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .log-row{animation:none; opacity:1; transform:none;}
  .bar-fill{transition:none;}
}
