/* ========== Writage Common Styles ========== */
:root{
  --brand:#4550E6;
  --brand-dark:#3540c9;
  --brand-light:#eef0ff;
  --ink:#252930;
  --ink-2:#4a5160;
  --muted:#7a8194;
  --bg:#ffffff;
  --bg-soft:#f7f8fb;
  --bg-grad:linear-gradient(135deg,#f5f7ff 0%,#ffffff 55%,#eef0ff 100%);
  --border:#e6e8ef;
  --radius:14px;
  --radius-lg:22px;
  --shadow-sm:0 2px 8px rgba(37,41,48,.06);
  --shadow:0 10px 30px rgba(69,80,230,.08);
  --shadow-lg:0 20px 50px rgba(37,41,48,.12);
  --font-sans:"PingFang SC","Microsoft YaHei","Helvetica Neue",Helvetica,"Hiragino Sans GB",Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{margin:0;padding:0}
body{margin:0;padding:0;overflow-x:clip;max-width:100vw}
body{
  font-family:var(--font-sans);
  color:var(--ink);
  background:var(--bg);
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:var(--brand);text-decoration:none;transition:color .2s}
a:hover{color:var(--brand-dark)}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 22px;border-radius:999px;
  font-size:15px;font-weight:600;line-height:1;
  border:1px solid transparent;cursor:pointer;
  transition:transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
  white-space:nowrap;
}
.btn svg{width:16px;height:16px}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 8px 20px rgba(69,80,230,.32)}
.btn-primary:hover{background:var(--brand-dark);color:#fff;transform:translateY(-1px);box-shadow:0 12px 26px rgba(69,80,230,.38)}
.btn-ghost{background:transparent;color:var(--ink-2);border-color:var(--border)}
.btn-ghost:hover{color:var(--brand);border-color:var(--brand);background:#fff}
.btn-lg{padding:14px 28px;font-size:16px}

/* ============ Header ============ */
.wg-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}
.wg-header__inner{
  display:flex;align-items:center;justify-content:space-between;
  height:72px;
}
.wg-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.wg-brand__logo{width:40px;height:40px;object-fit:contain;flex:0 0 auto}
.wg-brand__text{display:flex;flex-direction:column;line-height:1.15}
.wg-brand__name{font-size:20px;font-weight:700;color:var(--ink);letter-spacing:.2px}
.wg-brand__by{font-size:11px;color:var(--muted);font-weight:500;margin-top:2px}

.wg-nav{display:flex;align-items:center;gap:4px}
.wg-nav a{
  display:inline-block;padding:10px 16px;border-radius:10px;
  color:var(--ink-2);font-size:15px;font-weight:500;
  transition:background .2s, color .2s;
}
.wg-nav a:hover{color:var(--brand);background:var(--brand-light)}
.wg-nav a.is-active{color:var(--brand);background:var(--brand-light);font-weight:600}

.wg-header__cta{display:flex;align-items:center;gap:10px}

/* Hamburger */
.wg-hamburger{
  display:none;background:none;border:0;cursor:pointer;
  width:42px;height:42px;border-radius:10px;
  align-items:center;justify-content:center;
  color:var(--ink);
}
.wg-hamburger:hover{background:var(--brand-light);color:var(--brand)}

.wg-mobile{display:none;border-top:1px solid var(--border);background:#fff}
.wg-mobile.is-open{display:block}
.wg-mobile__inner{padding:14px 24px 20px;display:flex;flex-direction:column;gap:4px}
.wg-mobile a{
  padding:12px 14px;border-radius:10px;color:var(--ink-2);font-weight:500;
}
.wg-mobile a.is-active{color:var(--brand);background:var(--brand-light)}
.wg-mobile__cta{display:flex;gap:10px;margin-top:12px}
.wg-mobile__cta .btn{flex:1;justify-content:center}

@media (max-width:900px){
  .wg-nav,.wg-header__cta{display:none}
  .wg-hamburger{display:inline-flex}
  .wg-header__inner{height:60px}
  .wg-brand__logo{width:34px;height:34px}
  .wg-brand__name{font-size:17px}
  .wg-brand__by{font-size:10px}
  .container{padding:0 18px}
}
@media (max-width:480px){
  .wg-header__inner{height:56px}
  .wg-brand{gap:9px}
  .wg-brand__logo{width:30px;height:30px}
  .wg-brand__name{font-size:16px}
  .wg-brand__by{display:none}
  .wg-mobile__inner{padding:12px 18px 18px}
  .wg-mobile__cta{flex-direction:column}
}

/* ============ Footer ============ */
.wg-footer{
  margin-top:80px;
  background:linear-gradient(180deg,#fafbff 0%,#f2f4fc 100%);
  border-top:1px solid var(--border);
  color:var(--ink-2);
}
.wg-footer__top{
  padding-top:56px;padding-bottom:32px;
  display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center;
}
.wg-footer__brand{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.wg-footer__brand img{width:44px;height:44px}
.wg-footer__brand-name{font-size:22px;font-weight:700;color:var(--ink)}
.wg-footer__brand-by{font-size:12px;color:var(--muted);margin-top:2px}
.wg-footer__desc{font-size:14px;color:var(--ink-2);max-width:520px;line-height:1.8}
.wg-footer__notice{
  position:relative;
  margin-top:22px;padding:4px 0 4px 18px;
  border-left:2px solid var(--brand);
  font-size:13px;line-height:1.75;color:var(--muted);
}
.wg-footer__notice-label{
  display:inline-flex;align-items:center;gap:6px;
  font-size:11px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--brand);margin-bottom:6px;
}
.wg-footer__notice-label::before{
  content:"";width:5px;height:5px;border-radius:50%;background:var(--brand);
}
.wg-footer__notice .zh{color:var(--ink-2);display:block}
.wg-footer__notice .en{color:var(--muted);font-size:12px;margin-top:4px;display:block;font-style:italic;opacity:.85}

.wg-footer__contact{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:26px 28px;box-shadow:var(--shadow-sm);
}
.wg-footer__contact-title{
  font-size:14px;font-weight:600;color:var(--ink);letter-spacing:.5px;
  text-transform:uppercase;margin:0 0 16px;
  display:flex;align-items:center;gap:8px;
}
.wg-footer__contact-title::before{
  content:"";width:24px;height:2px;background:var(--brand);border-radius:2px;
}
.wg-footer__contact-item{
  display:flex;align-items:center;gap:12px;padding:10px 0;
  font-size:15px;
}
.wg-footer__contact-item svg{
  width:20px;height:20px;color:var(--brand);flex:0 0 auto;
}
.wg-footer__contact-item a{color:var(--ink);font-weight:500}
.wg-footer__contact-item a:hover{color:var(--brand)}

.wg-footer__bottom{
  border-top:1px solid var(--border);
  padding-top:20px;padding-bottom:20px;
  display:flex;justify-content:space-between;align-items:center;
  font-size:13px;color:var(--muted);
  flex-wrap:wrap;gap:8px;word-break:break-word;
}

@media (max-width:900px){
  .wg-footer{margin-top:60px}
  .wg-footer__top{grid-template-columns:1fr;gap:28px;padding-top:44px;padding-bottom:24px}
  .wg-footer__brand img{width:38px;height:38px}
  .wg-footer__brand-name{font-size:20px}
  .wg-footer__desc{font-size:13.5px}
  .wg-footer__contact{padding:22px 20px;border-radius:16px}
  .wg-footer__contact-item{font-size:14px;padding:8px 0}
  .wg-footer__bottom{flex-direction:column;gap:8px;text-align:center;padding-top:18px;padding-bottom:18px}
}
@media (max-width:480px){
  .wg-footer__top{padding-top:36px;padding-bottom:18px;gap:24px}
  .wg-footer__notice{font-size:12.5px;padding-left:14px}
  .wg-footer__notice .en{font-size:11.5px}
  .wg-footer__contact-item{flex-wrap:wrap}
  .wg-footer__bottom{font-size:12px}
}

/* ============ Section defaults ============ */
.section{padding:90px 0}
.section-title{
  font-size:40px;line-height:1.25;font-weight:700;color:var(--ink);
  margin:0 0 14px;letter-spacing:-.5px;
}
.section-sub{font-size:17px;color:var(--muted);margin:0 0 48px}
.section-head{text-align:center;max-width:720px;margin:0 auto 56px}
.eyebrow{
  display:inline-block;font-size:12px;font-weight:600;letter-spacing:2px;
  text-transform:uppercase;color:var(--brand);
  padding:6px 14px;border-radius:999px;background:var(--brand-light);
  margin-bottom:18px;
}

@media (max-width:700px){
  .section{padding:60px 0}
  .section-title{font-size:30px}
}

/* ============ Page Hero (内页头) ============ */
.page-hero{
  position:relative;overflow:hidden;isolation:isolate;
  background:var(--bg-grad);
  padding:88px 0 72px;
  text-align:center;
}
.page-hero::before,.page-hero::after{
  content:"";position:absolute;border-radius:50%;filter:blur(80px);opacity:.45;z-index:0;
}
.page-hero::before{width:420px;height:420px;background:#c7cdff;top:-160px;right:-100px}
.page-hero::after{width:340px;height:340px;background:#dfe3ff;bottom:-180px;left:-80px}
.page-hero__inner{position:relative;z-index:1;max-width:780px;margin:0 auto}
.page-hero__title{font-size:48px;line-height:1.15;font-weight:800;letter-spacing:-.5px;margin:14px 0 16px;color:var(--ink)}
.page-hero__title .grad{
  background:linear-gradient(120deg,#4550E6 0%,#7a82ff 50%,#252930 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.page-hero__sub{font-size:17px;color:var(--ink-2);line-height:1.8;margin:0}
@media (max-width:700px){
  .page-hero{padding:56px 0 48px}
  .page-hero__title{font-size:32px}
  .page-hero__sub{font-size:15px}
}

/* ============ FAQ Accordion ============ */
.faq{max-width:840px;margin:0 auto}
.faq-item{
  background:#fff;border:1px solid var(--border);border-radius:14px;
  margin-bottom:14px;overflow:hidden;
  transition:border-color .2s, box-shadow .2s;
}
.faq-item[open]{border-color:rgba(69,80,230,.35);box-shadow:var(--shadow-sm)}
.faq-item summary{
  list-style:none;cursor:pointer;
  padding:20px 24px;font-size:16px;font-weight:600;color:var(--ink);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"";width:12px;height:12px;border-right:2px solid var(--brand);border-bottom:2px solid var(--brand);
  transform:rotate(45deg);transition:transform .25s;flex:0 0 auto;
}
.faq-item[open] summary::after{transform:rotate(-135deg)}
.faq-item__body{padding:0 24px 22px;font-size:15px;line-height:1.85;color:var(--ink-2)}
@media (max-width:700px){
  .faq-item summary{padding:16px 18px;font-size:15px}
  .faq-item__body{padding:0 18px 18px;font-size:14px}
}
