/* ============================================================
   货代报价单生成器 · 全站设计系统 site.css
   主色 #00D07E + 底色 #213041 · 科技感 / 简约 / 大气 / 紧凑
   全站统一最大宽度 960px（--maxw / --prose-w）
   ============================================================ */
:root{
  --bg:#213041;
  --bg-2:#1b2a3a;
  --bg-3:#162230;
  --green:#00D07E;
  --green-soft:rgba(0,208,126,.10);
  --green-glow:rgba(0,208,126,.18);
  --ink:#e9eef3;
  --muted:#9fb0c0;
  --muted-2:#7a8fa3;
  --line:#2f4156;
  --card:#1a2838;
  --warn:#ffaa00;
  --danger:#ff6b6b;
  --nav-h:58px;
  --maxw:960px;
  --prose-w:960px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;line-height:1.75;
}
a{color:var(--green);text-decoration:none;}
img{max-width:100%;display:block;}

/* ---------- 全站顶部导航 ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  height:var(--nav-h);
  display:flex;align-items:center;gap:14px;
  padding:0 20px;
  background:rgba(27,42,58,.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .brand-wrap{display:flex;align-items:center;gap:10px;min-width:0;}
.site-header .logo{width:38px;height:38px;flex:0 0 auto;}
.site-header .brand{display:flex;flex-direction:column;gap:0;min-width:0;}
.site-header .brand b{font-size:15px;letter-spacing:.3px;color:var(--ink);white-space:nowrap;}
.site-header .brand .slogan{
  display:block;color:var(--green);font-size:11px;margin-top:1px;letter-spacing:.2px;
  font-style:normal;
}
.site-nav{margin-left:auto;display:flex;align-items:center;gap:2px;}
.site-nav a{
  color:var(--muted);font-size:13.5px;font-weight:600;
  padding:7px 12px;border-radius:7px;transition:color .15s;
  white-space:nowrap;
}
/* hover 仅变主题色,背景不变(硬约束) */
.site-nav a:hover{color:var(--green);background:transparent;}
.site-nav a.active{color:var(--green);}
.site-nav a.active::after{
  content:"";display:block;height:2px;margin-top:2px;border-radius:2px;background:var(--green);
}
.nav-toggle{
  display:none;margin-left:auto;background:transparent;border:1px solid var(--line);
  border-radius:8px;width:40px;height:36px;cursor:pointer;align-items:center;justify-content:center;
}
.nav-toggle svg{width:20px;height:20px;stroke:var(--ink);}

/* ---------- 全站底部 ---------- */
.site-footer{
  background:var(--bg-2);
  border-top:1px solid var(--line);
  padding:26px 20px 30px;
  margin-top:0;
}
.site-footer .foot-inner{
  max-width:var(--maxw);margin:0 auto;
  display:flex;flex-direction:column;gap:14px;
  align-items:center;
}
.site-footer .foot-links{
  display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:center;
}
.site-footer .foot-links a{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:13px;font-weight:500;transition:color .15s;}
.site-footer .foot-links a svg{width:14px;height:14px;flex:none;opacity:.85;}
.site-footer .foot-links a:hover{color:var(--green);}
.site-footer .foot-meta{
  color:var(--muted-2);font-size:12px;line-height:1.7;text-align:center;
}
.site-footer .foot-meta a{color:var(--muted-2);}
.site-footer .foot-meta a:hover{color:var(--green);}
/* 全站署名行：悬停作者名显示公众号二维码 */
.site-footer .foot-credit{
  max-width:860px;color:var(--muted-2);font-size:11.5px;line-height:1.8;text-align:center;
  padding-top:12px;border-top:1px solid var(--line);width:100%;
}
.site-footer .foot-credit .ft-author{color:var(--green);position:relative;cursor:pointer}
.ft-qr{
  position:absolute;left:50%;bottom:calc(100% + 12px);transform:translateX(-50%) translateY(6px);
  width:124px;height:124px;border-radius:10px;background:#fff;padding:4px;border:2px solid var(--green);
  box-shadow:0 8px 24px rgba(0,0,0,.45);opacity:0;visibility:hidden;
  transition:opacity .2s ease,transform .2s ease,visibility .2s;z-index:99;pointer-events:none;
}
.ft-qr img{width:100%;height:100%;border-radius:6px;display:block}
.ft-author:hover .ft-qr{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);pointer-events:auto}

/* ---------- 页面容器 / Hero / 区块 ---------- */
.page{min-height:calc(100vh - var(--nav-h));display:flex;flex-direction:column;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px;width:100%;}
.hero{
  position:relative;overflow:hidden;
  background:var(--bg);
  padding:56px 0 48px;
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(52% 70% at 12% -8%, rgba(0,208,126,.16), transparent 58%),
    radial-gradient(40% 60% at 92% 0%, rgba(0,150,255,.10), transparent 55%),
    radial-gradient(36% 55% at 60% 115%, rgba(0,208,126,.08), transparent 60%);
}
.hero-inner{position:relative;z-index:1;max-width:var(--maxw);margin:0 auto;width:100%;padding:0 20px;}
.hero h1{
  font-size:32px;line-height:1.22;margin:0 0 12px;font-weight:800;letter-spacing:0;
}
.hero h1 .accent{color:var(--green);}
.hero .lead{font-size:15px;color:var(--muted);max-width:100%;margin:0;line-height:1.7;}
.hero .hero-cta{margin-top:22px;display:flex;gap:10px;flex-wrap:wrap;}

.section{padding:40px 0;}
.section.alt{background:var(--bg-2);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.section-title{
  font-size:22px;font-weight:800;margin:0 0 8px;letter-spacing:.3px;
}
.section-title .accent{color:var(--green);}
.section-sub{color:var(--muted);font-size:14px;margin:0 0 26px;}

/* ---------- 通用卡片(全边框 / 无边框,禁单边高亮) ---------- */
.card-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.card{
  border:1px solid var(--line);border-radius:12px;padding:20px;
  background:var(--card);transition:border-color .15s,transform .15s,box-shadow .15s;
}
.card:hover{border-color:rgba(0,208,126,.45);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.18);}
.card .c-ic{
  width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  background:var(--green-soft);margin-bottom:12px;
}
.card .c-ic svg{width:20px;height:20px;stroke:var(--green);}
.card h3{font-size:15px;margin:0 0 7px;color:var(--ink);font-weight:700;}
.card p{font-size:13px;color:var(--muted);margin:0;line-height:1.7;text-align:justify;text-justify:inter-ideograph;}

/* ---------- 正文排版(两端对齐) ---------- */
.prose{max-width:var(--prose-w);margin:0 auto;}
.prose h2{font-size:20px;margin:34px 0 11px;color:var(--ink);font-weight:800;letter-spacing:.3px;}
.prose h2 .accent{color:var(--green);}
.prose h3{font-size:16px;margin:24px 0 9px;color:var(--ink);font-weight:700;}
.prose p{margin:0 0 14px;text-align:justify;text-justify:inter-ideograph;color:#cbd4dc;line-height:1.8;}
.prose ul,.prose ol{margin:0 0 14px;padding-left:20px;}
.prose li{margin-bottom:7px;text-align:justify;text-justify:inter-ideograph;color:#cbd4dc;line-height:1.75;}
.prose strong{color:var(--green);font-weight:700;}
.prose .note{
  border:1px solid var(--line);border-radius:10px;padding:14px 16px;
  background:var(--card);color:var(--muted);font-size:13px;margin:16px 0;
  text-align:justify;text-justify:inter-ideograph;line-height:1.7;
}
.prose .note.green{border-color:rgba(0,208,126,.35);background:var(--green-soft);color:#9eeec6;}

/* ---------- 按钮 ---------- */
.btn{
  border:none;border-radius:8px;padding:10px 16px;font-size:13px;font-weight:700;
  cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:.15s;
}
.btn.primary{background:var(--green);color:#06281c;}
.btn.primary:hover{filter:brightness(1.08);}
.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink);}
.btn.ghost:hover{border-color:var(--green);color:var(--green);}

/* ---------- 标语高亮 ---------- */
.slogan-line{
  font-size:18px;font-weight:700;color:var(--green);text-align:center;
  margin:24px 0;padding:16px 20px;border:1px solid rgba(0,208,126,.35);
  border-radius:10px;background:var(--green-soft);line-height:1.6;
}

/* ---------- 时间线(更新日志) ---------- */
.timeline{position:relative;padding-left:18px;border-left:2px solid var(--line);}
.timeline-item{position:relative;margin-bottom:26px;}
.timeline-item::before{
  content:"";position:absolute;left:-25px;top:4px;width:10px;height:10px;border-radius:50%;
  background:var(--green);border:2px solid var(--bg-2);
}
.timeline-item h2{font-size:18px;margin:0 0 10px;color:var(--ink);font-weight:700;}
.timeline-item ul{margin:0;padding-left:18px;}
.timeline-item li{margin-bottom:7px;color:#cbd4dc;line-height:1.7;text-align:justify;text-justify:inter-ideograph;}

/* ---------- 内容页 Hero · 左右分栏(带 SVG 插画) ---------- */
.hero.hero-split .hero-inner{
  display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:46px;align-items:center;
}
.hero.hero-split .hero-copy{
  display:flex;flex-direction:column;align-items:flex-start;
  animation:rise .6s cubic-bezier(.22,.68,.35,1) both;
}
.hero.hero-split .hero-badge{
  display:inline-flex;align-items:center;gap:7px;
  font-size:12px;font-weight:600;color:var(--green);letter-spacing:.4px;
  padding:5px 12px;border:1px solid rgba(0,208,126,.35);border-radius:999px;
  background:var(--green-soft);margin-bottom:18px;
}
.hero.hero-split .hero-badge svg{width:13px;height:13px;flex:none;stroke:var(--green);}
.hero.hero-split h1{font-size:34px;margin-bottom:14px;}
.hero.hero-split .lead{max-width:600px;margin-bottom:6px;}
.hero.hero-split .hero-points{
  display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:20px;padding:0;list-style:none;
}
.hero.hero-split .hero-points li{
  display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--muted);
}
.hero.hero-split .hero-points li svg{width:15px;height:15px;flex:none;stroke:var(--green);}
.hero.hero-split .hero-art{
  width:100%;max-width:272px;justify-self:center;
  animation:rise .6s .12s cubic-bezier(.22,.68,.35,1) both,floaty 6s 1s ease-in-out infinite;
}
.hero.hero-split .hero-art svg{width:100%;height:auto;display:block;}

/* 浮层插画通用(供卡片/区块装饰) */
.hero-art-frame{
  position:relative;border:1px solid var(--line);border-radius:16px;
  background:var(--card);padding:16px;overflow:hidden;
}
.hero-art-frame::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(60% 60% at 50% 0%, rgba(0,208,126,.08), transparent 60%);
}

/* ---------- 进场 / 漂浮 动效(克制) ---------- */
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

/* 滚动进入视口的淡入(由 nav.js 的 .in-view 触发) */
.rise-in{opacity:0;transform:translateY(20px);transition:opacity .55s ease,transform .55s ease;}
.rise-in.in-view{opacity:1;transform:none;}

/* ---------- 使用教程 · 步骤卡 ---------- */
.steps{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));}
.step{
  border:1px solid var(--line);border-radius:14px;padding:22px;background:var(--card);
  position:relative;transition:border-color .15s,transform .15s,box-shadow .15s;
}
.step:hover{border-color:rgba(0,208,126,.45);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.18);}
.step .step-no{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  width:34px;height:34px;border-radius:9px;background:var(--green-soft);
  color:var(--green);font-weight:800;font-size:14px;margin-bottom:14px;
}
.step .step-no svg{width:16px;height:16px;stroke:var(--green);}
.step h3{font-size:15px;margin:0 0 8px;color:var(--ink);font-weight:700;}
.step p{font-size:13px;color:var(--muted);margin:0;line-height:1.75;text-align:justify;text-justify:inter-ideograph;}

/* ---------- FQA 手风琴 ---------- */
.acc{border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden;}
.acc-item + .acc-item{border-top:1px solid var(--line);}
.acc-q{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:17px 20px;background:transparent;border:none;cursor:pointer;text-align:left;
  color:var(--ink);font-size:15px;font-weight:700;font-family:inherit;
}
.acc-q .acc-ic{flex:none;width:22px;height:22px;border-radius:6px;background:var(--green-soft);display:flex;align-items:center;justify-content:center;transition:transform .25s;}
.acc-q .acc-ic svg{width:13px;height:13px;stroke:var(--green);}
.acc-item.open .acc-ic{transform:rotate(45deg);}
.acc-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.acc-a .acc-a-in{padding:0 20px 18px;color:var(--muted);font-size:13.5px;line-height:1.8;text-align:justify;text-justify:inter-ideograph;}
.acc-item.open .acc-a{max-height:360px;}

/* ---------- 联系页 二维码卡(加边框全部统一) ---------- */
.contact-cards{display:flex;gap:18px;flex-wrap:wrap;}
.contact-card{
  flex:1 1 220px;min-width:200px;border:1px solid var(--line);border-radius:14px;
  background:var(--card);padding:20px;text-align:center;transition:border-color .15s,transform .15s,box-shadow .15s;
}
.contact-card:hover{border-color:rgba(0,208,126,.4);transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.18);}
.contact-card .cc-label{font-size:12px;color:var(--muted);margin-bottom:6px;letter-spacing:.3px;}
.contact-card .cc-value{font-size:15px;font-weight:700;color:var(--ink);word-break:break-all;}
.contact-card .cc-value a{color:var(--green);}
.contact-card .cc-qr{margin-top:14px;width:150px;height:150px;border:1px solid var(--line);border-radius:10px;padding:5px;background:#fff;margin-left:auto;margin-right:auto;display:block;}

/* ---------- 「更多货代工具」按钮组（可复用：footer / 首页横幅） ---------- */
.tool-links{display:flex;flex-wrap:wrap;gap:10px;}
.tool-link{
  display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:500;color:var(--muted);
  border:1px solid var(--line);border-radius:999px;padding:7px 15px;transition:.15s;
}
.tool-link svg{width:13px;height:13px;flex:none;stroke:currentColor;}
.tool-link:hover{color:var(--green);border-color:var(--green);background:var(--green-soft);}

.foot-tools{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding-bottom:6px;}
.foot-tools .tool-links{justify-content:center;}

/* 首页横幅（tool-seo）内的按钮组：左对齐、顶部细分隔线 */
.tool-seo-tools{width:100%;margin-top:32px;padding-top:24px;border-top:1px solid var(--line);}
.tool-seo-tools .tool-links{justify-content:flex-start;}

/* ---------- 响应式 ---------- */
@media (max-width:860px){
  .nav-toggle{display:flex;}
  .site-nav{
    position:absolute;top:var(--nav-h);right:0;left:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--bg-2);border-bottom:1px solid var(--line);
    padding:8px 14px 14px;display:none;
  }
  .site-nav.open{display:flex;}
  .site-nav a{padding:11px 10px;border-radius:0;}
  .site-nav a.active::after{display:none;}
  .site-nav a.active{background:var(--green-soft);border-radius:8px;}
  .hero h1{font-size:26px;}
  .hero{padding:44px 18px 38px;}
  .section{padding:32px 0;}
  .hero.hero-split .hero-inner{grid-template-columns:1fr;gap:28px;}
  .hero.hero-split h1{font-size:26px;}
  .hero.hero-split .hero-art{max-width:200px;}
  .steps{grid-template-columns:1fr;}
  .contact-cards{gap:14px;}
}
@media (max-width:560px){
  .site-header .brand .slogan{display:none;}
  .hero h1{font-size:23px;}
  .card-grid{grid-template-columns:1fr;}
  .site-footer .foot-links{gap:8px 16px;}
}
