:root{
  --bg:#ffffff;
  --bg2:#f6f8fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#e5e7eb;
  --primary:#2563eb;
  --primary2:#1d4ed8;
  --shadow:0 6px 18px rgba(17,24,39,.06);
  --radius:12px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.75;
}

a{color:inherit;text-decoration:none}
a:hover{color:var(--primary)}
strong{font-weight:700}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 16px;
}

/* Topbar */
.topbar{
  background:var(--bg2);
  border-bottom:1px solid var(--border);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:12px;
}
.badge{
  display:inline-block;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  background:#e0ecff;
  color:#1e40af;
  margin-right:8px;
}
.topbar__text{color:var(--muted);font-size:14px}
.topbar__close{
  border:1px solid var(--border);
  background:#fff;
  border-radius:8px;
  width:34px;height:30px;
  cursor:pointer;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand__logo{
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:10px;
  background:var(--primary);
  color:#fff;
  font-weight:700;
}
.brand__name{font-weight:700}

/* Nav */
.nav{display:flex;align-items:center;gap:14px}
.nav__toggle{
  display:none;
  width:44px;height:40px;
  border:1px solid var(--border);
  background:#fff;border-radius:10px;
  cursor:pointer;
}
.nav__toggle span{
  display:block;
  width:18px;height:2px;
  background:#111827;
  margin:4px auto;
  border-radius:2px;
}
.nav__list{
  display:flex;
  align-items:center;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
}
.nav__link{color:var(--text);font-size:14px}
.nav__link--cta{
  padding:8px 12px;
  background:var(--primary);
  color:#fff;
  border-radius:10px;
}
.nav__link--cta:hover{background:var(--primary2);color:#fff}

/* Hero */
.hero{
  padding:48px 0 24px;
  background:linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
  border-bottom:1px solid var(--border);
}
.hero__inner{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
.hero h1{
  font-size:34px;
  line-height:1.25;
  margin:0 0 12px 0;
}
.hero__subtitle{
  margin:0 0 16px 0;
  color:var(--muted);
  font-size:16px;
  max-width:860px;
}
.hero__highlights{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:16px 0 10px;
}
.highlight{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px;
  box-shadow:var(--shadow);
}
.highlight__title{font-weight:700;margin-bottom:4px}
.highlight__desc{color:var(--muted);font-size:13px}

.hero__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.hero__trust{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
  display:flex;
  align-items:center;
  gap:8px;
}
.dot{
  width:8px;height:8px;border-radius:99px;background:var(--primary);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  cursor:pointer;
  font-weight:600;
  font-size:14px;
}
.btn--primary{
  background:var(--primary);
  color:#fff;
  border-color:transparent;
}
.btn--primary:hover{background:var(--primary2);color:#fff}
.btn--ghost{background:#fff;color:var(--text)}
.btn--ghost:hover{border-color:#cbd5e1}

/* Sections */
.section{padding:44px 0}
.section--alt{background:var(--bg2);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 8px;font-size:24px}
.section__desc{margin:0;color:var(--muted);max-width:920px}

/* Grid / Cards */
.grid{display:grid;gap:14px}
.grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted)}

/* Feature */
.feature{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.feature__icon{font-size:20px}
.feature h3{margin:8px 0 8px;font-size:16px}
.feature p{margin:0;color:var(--muted)}

/* Steps */
.steps{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}
.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}
.step__index{
  width:30px;height:30px;
  border-radius:10px;
  background:#e0ecff;
  color:#1e40af;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;
}
.step__title{font-weight:700}
.step__desc{color:var(--muted);font-size:14px}

/* Mini */
.mini{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}
.mini__title{font-weight:800;margin-bottom:6px}
.mini__desc{color:var(--muted);font-size:14px}

/* Stats */
.stats{
  margin-top:14px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.stat{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  text-align:center;
  box-shadow:var(--shadow);
}
.stat__value{font-weight:900;font-size:18px}
.stat__label{color:var(--muted);font-size:13px;margin-top:4px}

/* FAQ */
.faq{display:grid;gap:10px}
.faq__item{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:12px 14px;
  box-shadow:var(--shadow);
}
.faq__q{
  cursor:pointer;
  font-weight:700;
}
.faq__a{
  margin-top:10px;
  color:var(--muted);
  font-size:14px;
}

/* Articles */
.articles{margin-top:18px}
.articles__title{margin:0 0 10px;font-size:16px}
.article-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}
.article-card h4{margin:0 0 8px;font-size:15px}
.article-card p{margin:0 0 10px;color:var(--muted);font-size:14px}
.article-card__link{color:var(--primary);font-weight:700}

/* Note */
.note{
  margin-top:14px;
  padding:12px 14px;
  border:1px dashed #c7d2fe;
  background:#eef2ff;
  color:#3730a3;
  border-radius:var(--radius);
  font-size:14px;
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.form{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.form__row{margin-bottom:12px}
.form__label{display:block;font-weight:700;margin-bottom:6px;font-size:14px}
.form__control{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  background:#fff;
}
.form__control:focus{border-color:#93c5fd;box-shadow:0 0 0 4px rgba(147,197,253,.25)}
.form__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.form__hint{margin-top:10px;color:var(--muted);font-size:13px}

.aside{display:grid;gap:12px}
.aside__card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.list{margin:8px 0 0 18px;color:var(--muted)}
.muted{color:var(--muted)}

/* Footer */
.footer{
  background:#fff;
  border-top:1px solid var(--border);
  padding:28px 0 18px;
}
.footer__inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
}
.footer__cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.footer__title{font-weight:800;margin-bottom:8px}
.footer__col a, .footer__col span{display:block;color:var(--muted);font-size:14px;margin:6px 0}
.footer__bottom{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:13px;
}

/* Toast */
.toast{
  position:fixed;
  right:16px;
  bottom:16px;
  min-width:240px;
  max-width:360px;
  background:#111827;
  color:#fff;
  border-radius:12px;
  padding:12px 14px;
  box-shadow:0 14px 30px rgba(0,0,0,.18);
  opacity:0;
  transform:translateY(10px);
  transition:all .18s ease;
  pointer-events:none;
  z-index:60;
}
.toast.is-show{
  opacity:1;
  transform:translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .grid--3{grid-template-columns:1fr}
  .grid--4{grid-template-columns:1fr 1fr}
  .hero__highlights{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr}
  .contact{grid-template-columns:1fr}
  .footer__inner{grid-template-columns:1fr}
  .footer__cols{grid-template-columns:1fr 1fr}
  .nav__toggle{display:inline-flex;align-items:center;justify-content:center}
  .nav__list{
    position:absolute;
    top:64px;
    right:16px;
    left:16px;
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:12px;
    box-shadow:var(--shadow);
    display:none;
    flex-direction:column;
    gap:10px;
  }
  .nav__list.is-open{display:flex}
}
