/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  background: #0b0d11;
  color: #e4e6eb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #7aa2f7; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container { width: min(1200px, 92%); margin: 0 auto; }
.text-center { text-align: center; }
.section { padding: 96px 0; }
.section-alt { background:#10131a; }
.section-dark { background:#0d1017; padding:80px 0; }
.section-title {
  font-size: clamp(26px,3vw,36px);
  font-weight: 700;
  margin-bottom: 8px;
}
.section-desc { color:#9ca3af; margin-bottom:48px; max-width:640px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(11,13,17,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  height:60px;
}
.logo { font-weight:800; letter-spacing:-.5px; color:#e4e6eb; }
.logo-one { color:#7aa2f7; }
.nav-links { list-style:none; display:flex; gap:24px; }
.nav-links a { color:#9ca3af; font-size:14px; }
.nav-links a:hover { color:#e4e6eb; }
@media(max-width:900px){ .nav-links{display:none;} }

/* ===== HERO ===== */
.hero { padding-top:140px; padding-bottom:80px; background: linear-gradient(180deg,#0b0d11 60%,#10131a 100%); }
.hero-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.hero-text h1 { font-size:clamp(28px,3.6vw,48px); font-weight:800; line-height:1.15; margin-bottom:16px; }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.hero-tags span {
  background: rgba(122, 162, 247, 0.1);
  border: 1px solid rgba(122, 162, 247, 0.2);
  color: #7aa2f7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.sub { color:#9ca3af; max-width:480px; margin-bottom:28px; }
.hero-cta { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.placeholder-img {
  width:100%; aspect-ratio:12/8; border-radius:16px;
  background:#151922; border:1px dashed rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  color:#4b5563; font-size:14px; text-align:center;
}
@media(max-width:860px){ .hero-grid{grid-template-columns:1fr;} .hero{padding-top:110px;} }

/* ===== GRID SYSTEM (修复重点) ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
/* 平板适配：网络板块4个卡片在平板显示2列更美观 */
@media(max-width:1024px){
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:640px){
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ===== CARDS ===== */
.card { background:#151922; border:1px solid rgba(255,255,255,.06); border-radius:14px; padding:28px; height: 100%; }
.card-icon { font-size:28px; margin-bottom:12px; }
.card h3 { font-size:18px; margin-bottom:8px; }
.card p { color:#9ca3af; font-size:14.5px; line-height:1.65; }
.card-accent { border-color: rgba(122,162,247,.45); box-shadow: 0 0 0 1px rgba(122,162,247,.2); }

/* ===== FEATURE BLOCK ===== */
.feature-block { background:#151922; border:1px solid rgba(255,255,255,.06); border-radius:12px; padding:24px; height: 100%; }
.feature-block h4 { font-size:16px; margin-bottom:8px; color:#e4e6eb; }
.feature-block p { color:#9ca3af; font-size:14px; line-height:1.6; }

/* ===== TRUST ===== */
.trust { padding:48px 0; }
.trust-label { font-size:12px; letter-spacing:.5px; color:#4b5563; text-transform:uppercase; margin-bottom:16px; }
.trust-logos { display:flex; gap:24px; flex-wrap:wrap; color:#4b5563; font-size:14px; }

/* ===== PLAN CARDS ===== */
.plan-card { background:#151922; border:1px solid rgba(255,255,255,.07); border-radius:16px; padding:32px 28px; position:relative; height: 100%; }
.plan-card.featured { border-color:rgba(122,162,247,.35); box-shadow:0 0 0 1px rgba(122,162,247,.15); }
.badge { position:absolute; top:16px;right:20px; background:#7aa2f7; color:#0b0d11; font-size:11px; font-weight:700; padding:3px 10px; border-radius:999px; }
.plan-card h4 { margin-bottom:4px; font-size:22px; }
.plan-price { font-size:32px; font-weight:700; margin:12px 0 4px; }
.plan-price small { font-size:13px; font-weight:400; color:#9ca3af; }
.plan-sub { color:#9ca3af; font-size:14px; margin-bottom:16px; }
.plan-card ul { list-style:none; margin-bottom:24px; padding-left: 0; }
.plan-card ul li { font-size:14px; color:#9ca3af; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.04); }
.plan-card ul li::before { content:"✓ "; color:#7aa2f7; font-weight:bold; }

/* ===== FAQ ===== */
.faq-list details { background:#151922; border:1px solid rgba(255,255,255,.06); border-radius:12px; margin-bottom:12px; padding:16px 20px; cursor:pointer; }
.faq-list summary { font-weight:600; font-size:15px; cursor:pointer; outline:none; }
.faq-list details p { margin-top:10px; color:#9ca3af; font-size:14px; }

/* ===== CTA / CONTACT ===== */
.cta-channels { display:grid; grid-template-columns:1fr 1fr; gap:40px; text-align:left; margin-top:32px; }
.contact-form { display:flex; flex-direction:column; gap:12px; }
.contact-form input,
.contact-form textarea {
  background:#151922; border:1px solid rgba(255,255,255,.08); border-radius:10px;
  padding:12px 14px; color:#e4e6eb; font-size:14px; outline:none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color:#7aa2f7; }
.direct-contact p { color:#9ca3af; font-size:14px; }
.direct-contact strong { color:#e4e6eb; }
@media(max-width:680px){ .cta-channels{grid-template-columns:1fr;} }

/* ===== FOOTER ===== */
.footer { border-top:1px solid rgba(255,255,255,.06); padding:24px 0; font-size:13px; color:#4b5563; }
.footer-inner { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.footer a { color:#4b5563; }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 22px; border-radius:10px; font-size:14px; font-weight:600;
  cursor:pointer; border:none; text-decoration:none;
}
.btn-primary { background:#7aa2f7; color:#0b0d11; }
.btn-primary:hover { background:#a1b8fb; text-decoration:none; }
.btn-ghost { background:transparent; color:#e4e6eb; border:1px solid rgba(255,255,255,.12); }
.btn-ghost:hover { border-color:#7aa2f7; color:#7aa2f7; text-decoration:none; }
.btn-outline { background:transparent; color:#7aa2f7; border:1px solid rgba(122,162,247,.35); }
.btn-outline:hover { background:rgba(122,162,247,.08); text-decoration:none; }
.btn-sm { padding:8px 16px; font-size:13px; }


/* ===== QR Code Styles ===== */
.qr-grid {
  display: flex;
  justify-content: center; /* 居中排列 */
  align-items: flex-start;
  gap: 30px; /* 两个二维码之间的间距 */
  margin-top: 20px;
  margin-bottom: 20px;
}

.qr-item {
  text-align: center;
}

.qr-item img {
  width: 160px;  /* 控制二维码大小，你可以根据需要调整 */
  height: 160px;
  border-radius: 12px; /* 圆角 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* 淡淡的边缘 */
  background-color: #fff; /* 有些浏览器透明背景会出问题，加个白底 */
  padding: 6px; /* 白边宽度 */
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* 阴影，显得立体 */
}

.qr-item p {
  margin-top: 12px;
  font-size: 13px;
  color: #9ca3af;
}

.contact-title {
  font-size: 15px;
  color: #e4e6eb;
  margin-bottom: 5px;
}

.contact-email {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 25px;
}