:root{
  --brand:#176bff;
  --brand2:#0b4ac7;
  --ink:#142032;
  --muted:#627083;
  --soft:#f5f9ff;
  --line:#dbe8ff;
  --card:#fff;
  --max:1180px;
  --shadow:0 18px 46px rgba(23,107,255,.10);
  --shadow2:0 10px 26px rgba(23,107,255,.08);
  --radius:24px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

a{
  text-decoration:none;
  color:inherit;
}

.container{
  width:min(var(--max),calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(219,232,255,.95);
}

.header-inner{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  font-size:19px;
  white-space:nowrap;
}

.logo-mark{
  width:34px;
  height:34px;
  border-radius:14px;
  background:linear-gradient(135deg,#176bff,#61b6ff);
  box-shadow:0 8px 22px rgba(23,107,255,.22);
  position:relative;
}

.logo-mark:after{
  content:"";
  position:absolute;
  left:9px;
  right:9px;
  top:7px;
  bottom:7px;
  border-radius:9px;
  background:#fff;
  transform:rotate(45deg);
}

.nav{
  display:flex;
  gap:25px;
  align-items:center;
  font-size:15px;
  font-weight:800;
  color:#26354a;
}

.nav a:hover{
  color:var(--brand);
}

.hero{
  position:relative;
  overflow:hidden;
  padding:78px 0 72px;
  background:radial-gradient(circle at 76% 20%,rgba(23,107,255,.13),transparent 30%),linear-gradient(135deg,#f7fbff 0,#fff 52%,#edf6ff 100%);
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(23,107,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(23,107,255,.04) 1px,transparent 1px);
  background-size:52px 52px;
  pointer-events:none;
}

.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:58px;
  align-items:center;
}

.hero h1{
  margin:0 0 22px;
  font-size:46px;
  line-height:1.18;
  letter-spacing:-.7px;
  color:#101b2c;
}

.hero p{
  margin:0;
  color:#586679;
  font-size:17px;
  max-width:650px;
}

.actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin:32px 0 14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 28px;
  border-radius:999px;
  background:linear-gradient(135deg,#176bff,#0b4ac7);
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 30px rgba(23,107,255,.22);
  transition:.2s;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(23,107,255,.30);
}

.btn.secondary{
  background:linear-gradient(135deg,#16253c,#2c466e);
  box-shadow:0 12px 28px rgba(20,32,50,.18);
  margin-top:18px;
}

.btn.green{
  background:linear-gradient(135deg,#0aa37f,#06745f);
  box-shadow:0 12px 30px rgba(10,163,127,.20);
}

.helper{
  display:flex;
  gap:8px;
  align-items:center;
  color:#687688;
  font-size:14px;
}

/* 首页右侧交易所图片区域 */
.hero-panel{
  min-height:430px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.exchange-img-card{
  width:100%;
  max-width:460px;
  min-height:390px;
  border-radius:34px;
  background:linear-gradient(135deg,#ffffff,#f5f9ff);
  border:1px solid #dbe8ff;
  box-shadow:0 34px 80px rgba(23,107,255,.13);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px;
  position:relative;
  overflow:hidden;
}

.exchange-img-card:before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  right:-70px;
  top:-70px;
  background:rgba(23,107,255,.10);
}

.exchange-img-card:after{
  content:"";
  position:absolute;
  width:160px;
  height:160px;
  border-radius:50%;
  left:-58px;
  bottom:-58px;
  background:rgba(97,182,255,.16);
}

.exchange-hero-img{
  width:100%;
  max-width:420px;
  height:auto;
  display:block;
  border-radius:28px;
  box-shadow:0 22px 46px rgba(23,107,255,.14);
  position:relative;
  z-index:2;
}

/* 旧安全圆环模块，保留兼容，不再建议使用 */
.scan-card{
  width:310px;
  border-radius:30px;
  background:#fff;
  border:1px solid #dbe8ff;
  box-shadow:0 34px 80px rgba(23,107,255,.13);
  padding:26px;
  position:relative;
  z-index:2;
}

.scan-ring{
  width:158px;
  height:158px;
  border-radius:50%;
  background:conic-gradient(#176bff 0 88%,#dbe8ff 88% 100%);
  display:grid;
  place-items:center;
  margin:28px auto;
  position:relative;
}

.scan-ring:before{
  content:"";
  position:absolute;
  inset:14px;
  background:#fff;
  border-radius:50%;
}

.scan-ring span{
  position:relative;
  font-size:30px;
  font-weight:900;
  color:#176bff;
  letter-spacing:1px;
}

.scan-list{
  display:grid;
  gap:12px;
}

.scan-list div{
  background:#f5f9ff;
  border:1px solid #dbe8ff;
  border-radius:14px;
  padding:12px 14px;
  color:#5d6a7a;
  font-size:14px;
}

.scan-list b{
  display:inline-block;
  width:9px;
  height:9px;
  background:#15935b;
  border-radius:50%;
  margin-right:8px;
}

.quick-strip{
  margin-top:-30px;
  position:relative;
  z-index:4;
}

.quick-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.quick-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:24px;
}

.quick-card strong{
  display:block;
  font-size:18px;
  margin-bottom:6px;
}

.quick-card p{
  margin:0;
  color:#627083;
  font-size:14px;
}

.section{
  padding:66px 0;
}

.section.soft{
  background:#f5f9ff;
}

.section-title{
  text-align:center;
  margin:0 auto 32px;
  max-width:820px;
}

.section-title h2{
  margin:0 0 12px;
  font-size:30px;
  line-height:1.3;
}

.section-title p{
  margin:0;
  color:#667486;
}

.section-title:after{
  content:"";
  display:block;
  width:46px;
  height:4px;
  border-radius:999px;
  background:linear-gradient(90deg,#176bff,#61b6ff);
  margin:18px auto 0;
}

.explain{
  max-width:940px;
  margin:0 auto;
  text-align:center;
  color:#526073;
}

.explain p{
  margin:0 0 14px;
}

.verify-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.verify-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:26px 22px;
}

.verify-card span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  background:#eaf3ff;
  color:#176bff;
  font-weight:900;
  margin-bottom:16px;
}

.verify-card h3{
  margin:0 0 8px;
  font-size:18px;
}

.verify-card p{
  margin:0;
  color:#637184;
  font-size:14px;
}

.device-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

.device-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:var(--shadow);
  padding:34px;
  position:relative;
  overflow:hidden;
}

.device-card:before{
  content:"";
  position:absolute;
  right:-42px;
  top:-42px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(23,107,255,.08);
}

.device-icon{
  display:inline-flex;
  padding:7px 12px;
  background:#eaf3ff;
  color:#176bff;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  margin-bottom:14px;
}

.device-card h3{
  margin:0 0 10px;
  font-size:21px;
}

.device-card p{
  margin:0;
  color:#5e6c80;
}

.topic-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.topic-grid div{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:24px;
}

.topic-grid h3{
  margin:0 0 8px;
  font-size:18px;
}

.topic-grid p{
  margin:0;
  color:#637184;
  font-size:14px;
}

.safety-panel{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:28px;
  align-items:center;
  background:linear-gradient(135deg,#071b3d,#0b4ac7 55%,#176bff);
  border-radius:30px;
  color:#fff;
  padding:40px;
  box-shadow:0 22px 54px rgba(20,32,50,.22);
}

.safety-panel h2{
  margin:0 0 12px;
  font-size:30px;
}

.safety-panel p{
  margin:0;
  color:#dce8f7;
}

.safety-panel ul{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:12px;
}

.safety-panel li{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  padding:14px 16px;
  font-weight:800;
}

.faq{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow2);
  overflow:hidden;
}

.faq-item{
  display:grid;
  grid-template-columns:36px 1fr;
  gap:12px;
  padding:20px 24px;
  border-bottom:1px solid #dbe8ff;
  align-items:start;
}

.faq-item:last-child{
  border-bottom:0;
}

.q{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#eaf3ff;
  color:#176bff;
  font-weight:900;
  display:grid;
  place-items:center;
}

.faq-item h3{
  margin:0 0 6px;
  font-size:17px;
}

.faq-item p{
  margin:0;
  color:#59687a;
  font-size:14px;
}

.bottom-cta{
  background:linear-gradient(135deg,#eef6ff,#f8fbff);
  border:1px solid #d5e5ff;
  border-radius:24px;
  padding:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-top:26px;
}

.bottom-cta strong{
  font-size:20px;
}

.bottom-cta span{
  display:block;
  color:#637184;
  font-size:14px;
  margin-top:4px;
}

.site-footer{
  background:#071b3d;
  color:#dbe7ff;
  text-align:center;
  padding:36px 0;
  font-size:14px;
}

.site-footer p{
  margin:0 auto 10px;
  max-width:940px;
  color:#cbd8e8;
}

.site-footer .copy{
  color:#fff;
  margin-top:14px;
  font-weight:800;
}

section[id]{
  scroll-margin-top:96px;
}

@media(max-width:960px){
  section[id]{
    scroll-margin-top:76px;
  }

  .nav{
    display:none;
  }

  .header-inner{
    height:66px;
  }

  .hero{
    padding:48px 0;
  }

  .hero-grid,
  .device-grid,
  .safety-panel{
    grid-template-columns:1fr;
    gap:30px;
  }

  .hero h1{
    font-size:34px;
    line-height:1.25;
  }

  .hero p{
    font-size:15px;
  }

  .hero-panel{
    min-height:auto;
  }

  .exchange-img-card{
    max-width:420px;
    min-height:320px;
    margin:0 auto;
  }

  .exchange-hero-img{
    max-width:360px;
  }

  .quick-grid,
  .verify-grid,
  .topic-grid{
    grid-template-columns:1fr;
  }

  .section{
    padding:48px 0;
  }

  .safety-panel,
  .bottom-cta{
    text-align:center;
  }

  .bottom-cta{
    flex-direction:column;
  }

  .container{
    width:min(var(--max),calc(100% - 28px));
  }
}

@media(max-width:520px){
  section[id]{
    scroll-margin-top:70px;
  }

  .hero{
    padding:42px 0;
  }

  .hero h1{
    font-size:30px;
  }

  .hero-grid{
    gap:24px;
  }

  .quick-card,
  .verify-card,
  .device-card,
  .topic-grid div{
    padding:22px 18px;
  }

  .exchange-img-card{
    min-height:260px;
    border-radius:26px;
    padding:18px;
  }

  .exchange-hero-img{
    max-width:300px;
    border-radius:22px;
  }

  .bottom-cta{
    padding:22px 18px;
  }

  .bottom-cta strong{
    font-size:18px;
  }
}