/* ==========================================================================
   远景公文 · 首页（红版 / 参考 e-nation.cn 风格）
   --------------------------------------------------------------------------
   取自参考站的实际取值：主色 #A6322B、浅底 #f8f9fa、边线 #e4e7ed、
   圆角 4–16px、居中标题、卡片网格、压在首屏下沿的数据条。
   ========================================================================== */

:root{
  --red:      #A6322B;
  --red-d:    #7E231E;
  --red-l:    #C4574B;
  --ink:      #1f2329;
  --ink-2:    #4a5058;
  --ink-3:    #7a828c;
  --ink-4:    #a8b0b9;
  --line:     #e6e9ed;
  --line-2:   #f0f2f5;
  --bg:       #ffffff;
  --bg-2:     #f8f9fa;
  --radius:   8px;
  --w:        1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
[id]{ scroll-margin-top:90px; }

body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
  font-size:15px; line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul,ol{ margin:0; padding:0; list-style:none; }

.wrap{ width:100%; max-width:var(--w); margin:0 auto; padding:0 24px; }

/* ==========================================================================
   顶部细条
   ========================================================================== */
.topstrip{
  background:var(--red-d); color:rgba(255,255,255,.85);
  font-size:12px; letter-spacing:.02em;
}
.topstrip .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:34px; gap:16px;
}
.topstrip .l{ display:flex; align-items:center; gap:14px; }
.topstrip .dot{ width:3px; height:3px; background:rgba(255,255,255,.5); border-radius:50%; }

/* ==========================================================================
   页眉
   ========================================================================== */
.site-head{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-head .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:68px; gap:24px;
}
.brand{ display:flex; align-items:center; gap:11px; }
.brand svg{ width:34px; height:34px; flex:0 0 34px; display:block; }
.brand .nm{ font-size:19px; font-weight:700; letter-spacing:.06em; color:var(--ink); }
.brand .sb{
  font-size:11px; color:var(--ink-4); letter-spacing:.08em;
  border-left:1px solid var(--line); padding-left:10px; margin-left:2px;
}

.menu{ display:flex; align-items:center; gap:8px; }
.menu a{
  display:inline-flex; align-items:center; justify-content:center;
  font-size:14px; color:var(--ink-2); white-space:nowrap;
  padding:8px 15px; border-radius:var(--radius);
  border:1px solid var(--line); background:#fff;
  transition:color .16s, border-color .16s, background .16s;
}
.menu a:hover{ color:var(--red); border-color:var(--red); background:rgba(166,50,43,.04); }
.menu a[aria-current="page"]{
  color:#fff; background:var(--red); border-color:var(--red); font-weight:500;
}
.menu a[aria-current="page"]:hover{ color:#fff; background:var(--red-d); border-color:var(--red-d); }

.head-r{ display:flex; align-items:center; gap:16px; }
.tel{ font-size:13.5px; color:var(--ink-2); font-variant-numeric:tabular-nums; }
.tel b{ color:var(--ink); font-weight:600; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  font-size:14px; font-weight:500; letter-spacing:.02em;
  padding:11px 22px; border-radius:var(--radius);
  border:1px solid transparent; cursor:pointer;
  transition:all .18s ease;
}
.btn-red{ background:var(--red); color:#fff; }
.btn-red:hover{ background:var(--red-d); transform:translateY(-1px); box-shadow:0 8px 18px -8px rgba(166,50,43,.7); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--red); color:var(--red); }
.btn-white{ background:#fff; color:var(--red); }
.btn-white:hover{ background:#fff5f3; transform:translateY(-1px); }
.btn-line{ background:transparent; color:#fff; border-color:rgba(255,255,255,.55); }
.btn-line:hover{ background:rgba(255,255,255,.14); }
.btn.sm{ padding:9px 16px; font-size:13px; }

/* ==========================================================================
   首屏
   ========================================================================== */
.hero{
  position:relative; overflow:hidden;
  padding:86px 0 150px;
  background:#7E231E;
  text-align:center;
  color:#fff;
}
/* 照片层：luminosity 混合 → 照片只贡献明暗，色相留在品牌红上 */
.hero .bg{
  position:absolute; inset:0; z-index:0;
  background:url("../assets/img/hero.jpg") center 42%/cover no-repeat;
  opacity:.6; mix-blend-mode:luminosity;
}
/* 红色罩层：压住照片，保证白字可读 */
.hero .veil{
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(760px 380px at 84% 2%, rgba(255,150,90,.55), transparent 62%),
    linear-gradient(158deg, rgba(176,57,47,.72) 0%, rgba(166,50,43,.5) 42%, rgba(100,26,22,.9) 100%);
}
.hero::after{ z-index:1;
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:.05; mix-blend-mode:overlay;
}
.hero .wrap{ position:relative; z-index:2; }

.hero .label{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; letter-spacing:.1em; color:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.35); border-radius:999px;
  padding:5px 15px; margin-bottom:22px;
}
.hero h1{
  font-size:clamp(30px,3.4vw,44px); font-weight:700;
  line-height:1.32; letter-spacing:.01em;
  margin:0 auto 18px; max-width:20em;
}
.hero .sub{
  font-size:16px; line-height:1.9; color:rgba(255,255,255,.85);
  max-width:34em; margin:0 auto 30px;
}
.hero .sub b{ color:#fff; font-weight:600; }
.hero .cta{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
.hero .btn{ padding:13px 26px; font-size:15px; }

/* ==========================================================================
   数据条（压在首屏下沿）
   ========================================================================== */
.stats{
  position:relative; z-index:5;
  max-width:var(--w); margin:-76px auto 0; padding:0 24px;
}
.stats .card{
  background:#fff; border-radius:12px;
  box-shadow:0 18px 40px -24px rgba(31,35,41,.28), 0 2px 8px rgba(31,35,41,.05);
  display:grid; grid-template-columns:repeat(6,1fr);
  padding:26px 0;
}
.stats .cell{ text-align:center; border-right:1px solid var(--line-2); padding:0 10px; }
.stats .cell:last-child{ border-right:0; }
.stats b{
  display:block; font-size:26px; font-weight:700; color:var(--red);
  line-height:1.2; font-variant-numeric:tabular-nums;
}
.stats span{ display:block; font-size:12.5px; color:var(--ink-3); margin-top:4px; }

/* ==========================================================================
   区块骨架
   ========================================================================== */
.sec{ padding:78px 0; }
.sec.gray{ background:var(--bg-2); }

.sec-t{ text-align:center; margin-bottom:44px; }
.sec-t h2{
  font-size:clamp(24px,2.6vw,32px); font-weight:700;
  line-height:1.35; margin:0 0 12px; color:var(--ink);
}
.sec-t h2 em{ font-style:normal; color:var(--red); }
.sec-t p{
  font-size:14.5px; color:var(--ink-3); line-height:1.85;
  margin:0 auto; max-width:40em;
}
.sec-t .bar{
  width:34px; height:3px; background:var(--red); border-radius:2px;
  margin:0 auto 18px;
}

/* ==========================================================================
   功能卡
   ========================================================================== */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 26px 24px;
  transition:all .2s ease;
}
.card:hover{
  border-color:rgba(166,50,43,.35);
  transform:translateY(-4px);
  box-shadow:0 16px 34px -22px rgba(31,35,41,.35);
}
.card .ic{
  width:40px; height:40px; border-radius:9px;
  background:rgba(166,50,43,.07); color:var(--red);
  display:grid; place-items:center; margin-bottom:16px;
  font-size:17px; font-weight:700;
}
.card h3{ font-size:17px; font-weight:600; margin:0 0 8px; color:var(--ink); }
.card p{ margin:0; font-size:14px; line-height:1.85; color:var(--ink-3); }
.card p b{ color:var(--ink-2); font-weight:600; }

/* ==========================================================================
   截图
   ========================================================================== */
.shots{ display:grid; grid-template-columns:1fr; gap:20px; }
.shot{
  background:#fff; border:1px solid var(--line); border-radius:10px;
  overflow:hidden; transition:all .2s ease;
}
.shot:hover{ box-shadow:0 18px 40px -26px rgba(31,35,41,.4); }
.shot img{ width:100%; height:auto; display:block; }
.shot .cap{
  padding:12px 16px; border-top:1px solid var(--line-2);
  font-size:13px; color:var(--ink-3); line-height:1.7;
}
.shot .cap b{ color:var(--ink); font-weight:600; margin-right:6px; }

/* ==========================================================================
   写作智能体横带
   ========================================================================== */
.aiband{
  background:linear-gradient(120deg,#1C1A17 0%, #14151A 100%);
  color:#fff; padding:44px 0;
}
.aiband .wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px 40px; flex-wrap:wrap;
}
.aiband h3{ font-size:20px; font-weight:600; margin:0 0 8px; }
.aiband p{ margin:0; font-size:14px; line-height:1.85; color:rgba(255,255,255,.7); max-width:46em; }
.aiband .acts{ display:flex; gap:12px; flex-shrink:0; }

/* ==========================================================================
   文章卡
   ========================================================================== */
.arts{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.artc{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 20px 18px; display:flex; flex-direction:column;
  transition:all .2s ease; min-height:132px;
}
.artc:hover{
  border-color:rgba(166,50,43,.35); transform:translateY(-4px);
  box-shadow:0 16px 34px -22px rgba(31,35,41,.35);
}
.artc .tag{
  align-self:flex-start; font-size:11px; color:var(--red);
  background:rgba(166,50,43,.07); border-radius:3px;
  padding:2px 7px; margin-bottom:10px;
}
.artc h3{
  font-size:14.5px; font-weight:600; line-height:1.6;
  margin:0 0 auto; color:var(--ink);
}
.artc .go{
  margin-top:14px; font-size:12.5px; color:var(--ink-4);
  display:flex; align-items:center; gap:4px;
}
.artc:hover .go{ color:var(--red); }
.more-line{ text-align:center; margin-top:34px; }
.more-line a{
  font-size:14px; color:var(--red); border-bottom:1px solid rgba(166,50,43,.3);
  padding-bottom:2px;
}

/* ==========================================================================
   常见问题
   ========================================================================== */
.faq{ max-width:820px; margin:0 auto; }
.faq details{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  margin-bottom:10px; overflow:hidden;
}
.faq summary{
  cursor:pointer; list-style:none; position:relative;
  padding:16px 46px 16px 20px; font-size:15px; font-weight:500; color:var(--ink);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right:20px; top:14px;
  font-size:19px; color:var(--red); line-height:1.4;
}
.faq details[open] summary::after{ content:"−"; }
.faq .a{
  padding:0 20px 18px; font-size:14px; line-height:1.9; color:var(--ink-3);
}
.faq .a p{ margin:0 0 8px; }
.faq .a p:last-child{ margin:0; }
.faq .a b{ color:var(--ink-2); font-weight:600; }

/* ==========================================================================
   下载带
   ========================================================================== */
.dlband{
  position:relative; overflow:hidden; padding:64px 0;
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(255,150,90,.4), transparent 62%),
    linear-gradient(140deg,#A6322B 0%, #7E231E 100%);
  color:#fff;
}
.dlband .wrap{
  display:grid; grid-template-columns:1fr auto; gap:32px; align-items:center;
}
.dlband h2{ font-size:clamp(22px,2.4vw,30px); font-weight:700; margin:0 0 12px; line-height:1.4; }
.dlband p{ margin:0; font-size:14.5px; line-height:1.9; color:rgba(255,255,255,.82); max-width:34em; }
.dlband .acts{ display:flex; gap:12px; flex-wrap:wrap; }
.dlband .note{ margin-top:14px; font-size:12px; color:rgba(255,255,255,.6); }

/* ==========================================================================
   页脚
   ========================================================================== */
.foot{ background:#1C1A17; color:rgba(255,255,255,.6); padding:52px 0 26px; }
.foot .cols{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:32px;
  padding-bottom:34px; border-bottom:1px solid rgba(255,255,255,.1);
}
.foot h3, .foot h4{
  font-size:13px; font-weight:600; color:#fff; margin:0 0 14px; letter-spacing:.04em;
}
.foot p{ margin:0; font-size:13px; line-height:1.85; max-width:26em; }
.foot li{ margin-bottom:8px; font-size:13px; }
.foot a:hover{ color:#fff; }
.foot .bot{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px 24px; flex-wrap:wrap; padding-top:20px; font-size:12.5px;
}
.foot .brand-f{ display:flex; align-items:center; gap:9px; color:rgba(255,255,255,.8); }
.foot .brand-f svg{ width:22px; height:22px; }
.foot .credit{
  padding:14px 0 0; font-size:11.5px; line-height:1.7;
  color:rgba(255,255,255,.36);
}
.foot .credit a{ color:rgba(255,255,255,.55); border-bottom:1px solid rgba(255,255,255,.22); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width:1024px){
  .cards{ grid-template-columns:repeat(2,1fr); }
  .arts{ grid-template-columns:repeat(2,1fr); }
  .stats .card{ grid-template-columns:repeat(3,1fr); gap:18px 0; padding:22px 0; }
  .stats .cell:nth-child(3n){ border-right:0; }
  .dlband .wrap{ grid-template-columns:1fr; }
  .foot .cols{ grid-template-columns:1fr 1fr; }
  .site-head .wrap{ flex-wrap:wrap; height:auto; padding-top:9px; padding-bottom:0; row-gap:0; }
.menu{
    order:3; flex:1 0 100%;
    gap:7px; padding:9px 0 10px;
    overflow-x:auto; -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .menu::-webkit-scrollbar{ display:none; }
  .menu a{ padding:7px 13px; font-size:13.5px; }
}

@media (max-width:760px){
  .topstrip .wrap{ height:auto; padding:7px 20px; flex-wrap:wrap; gap:3px 10px; }
  
  .site-head .wrap{ height:auto; gap:10px 8px; padding-top:8px; padding-bottom:0; }
  .brand svg{ width:30px; height:30px; flex:0 0 30px; }
  .brand .sb{ display:none; }
  .brand .nm{ font-size:17px; white-space:nowrap; }
  .menu{ padding:8px 0 9px; gap:6px; }
  .menu a{ padding:6px 11px; font-size:13px; }
  .head-r .btn{ padding:8px 13px; font-size:13px; white-space:nowrap; }
  .hero{ padding:58px 0 120px; }
  .hero h1{ font-size:clamp(24px,6.4vw,30px); }
  .hero .sub{ font-size:14.5px; }
  .sec{ padding:56px 0; }
  .cards, .arts{ grid-template-columns:1fr; }
  .stats{ margin-top:-64px; }
  .stats .card{ grid-template-columns:repeat(2,1fr); }
  .stats .cell:nth-child(3n){ border-right:1px solid var(--line-2); }
  .stats .cell:nth-child(2n){ border-right:0; }
  .stats b{ font-size:22px; }
  .aiband .acts{ width:100%; }
  .aiband .acts .btn{ flex:1; }
  .foot .cols{ grid-template-columns:1fr; gap:26px; }
  .tel{ display:none; }
}

/* 首屏品牌标语（对应 Logo 主 Slogan） */
.hero .say{
  margin:26px 0 0;
  font-family:"STKaiti","KaiTi","楷体",serif;
  font-size:16px; letter-spacing:.2em;
  color:rgba(255,255,255,.74);
}
@media (max-width:760px){ .hero .say{ font-size:14.5px; letter-spacing:.14em; } }

/* 官方线条版标识：跟随品牌色 / 深色背景用浅色 */
.brand .mk{ color:var(--red); }
.foot .brand-f .mk{ color:rgba(255,255,255,.72); }

/* 页眉在 1024 以下变成两行（含导航行），锚点跳转需让出更高空间 */
@media (max-width:1024px){
  [id]{ scroll-margin-top:132px; }
}


/* 备案期间：暂不开放的入口用 span 呈现，仍保持按钮外观但不显示手型 */
.btn[aria-disabled="true"]{ cursor:default; opacity:.9; }
