:root {
  --accent: #0f8f86;
  --accent-2: #146e86;
  --ink: #142126;
  --muted: #5d6b73;
  --line: #d5e2e4;
  --paper: #f3f7f6;
  --deep: #07161a;
  --deep-2: #0d242b;
  --soft: #e5f4f2;
  --header: 68px;
  --max: 1140px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent-2); background: var(--soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 34px; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 650; border-radius: 10px; padding: 12px 22px; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: linear-gradient(135deg, #0f8f86, #146e86); color: #fff; box-shadow: 0 8px 22px rgba(15, 143, 134, .28); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #334148; border-color: #c5d4d6; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(7, 22, 26, .88); backdrop-filter: blur(14px); box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; }
.logo img { height: 32px; width: 32px; border-radius: 8px; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px; color: #d5e4e6; font-size: 15px; font-weight: 500;
  padding: 10px 12px; border-radius: 8px;
}
.nav-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav-link .arrow { font-size: 11px; transition: transform .25s; }
.nav-item:hover .arrow, .nav-item.open .arrow { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: .25s; z-index: 1001;
}
.nav-item:hover .dropdown-panel, .nav-item.open .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel a { display: block; color: #334148; font-size: 14px; padding: 9px 12px; border-radius: 8px; }
.dropdown-panel a:hover { background: var(--paper); color: var(--accent); }
.dropdown-panel .sub-title { display: block; font-size: 11px; color: #8aa0a4; padding: 6px 12px; letter-spacing: .4px; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08); }
.nav .btn-ghost:hover { color: #fff; border-color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

.hero {
  position: relative; padding: 148px 0 92px; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -10%, #0f8f86 0%, transparent 55%),
    radial-gradient(760px 420px at 100% 0%, #146e86 0%, transparent 52%),
    linear-gradient(160deg, #07161a 0%, #0d242b 58%, #12343a 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.badge {
  display: inline-flex; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 20px;
}
.hero-title { font-size: 48px; font-weight: 800; line-height: 1.16; margin-bottom: 16px; letter-spacing: -.4px; }
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #9ee8df, #b7d7ea);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 17px; color: #d0e0e3; max-width: 500px; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 14px; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stats b { display: block; font-size: 26px; font-weight: 800; }
.hero-stats span { font-size: 13px; color: #9db4b8; }

.sim {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 20px; backdrop-filter: blur(10px);
}
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 12px; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #0f8f86, #8fd0c4); display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.chat-head .name { font-weight: 700; }
.online { margin-left: auto; font-size: 12px; color: #7ddec8; }
.chat-msgs { display: flex; flex-direction: column; gap: 10px; min-height: 180px; max-height: 220px; overflow: auto; margin-bottom: 12px; }
.chat-msg { max-width: 82%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; }
.chat-msg.in { align-self: flex-start; background: rgba(255, 255, 255, .12); border-bottom-left-radius: 4px; }
.chat-msg.out { align-self: flex-end; background: linear-gradient(135deg, #0f8f86, #146e86); border-bottom-right-radius: 4px; }
.chat-input { display: flex; gap: 8px; }
.chat-input input {
  flex: 1; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; padding: 10px 12px; color: #fff; outline: none;
}
.chat-input input::placeholder { color: #9db4b8; }
.chat-input .send { background: linear-gradient(135deg, #0f8f86, #146e86); color: #fff; border: 0; border-radius: 10px; padding: 0 14px; cursor: pointer; }
.chat-actions { display: flex; gap: 8px; margin-top: 10px; }
.chat-actions button {
  flex: 1; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: #e7f3f4; padding: 8px; border-radius: 10px; font-size: 12px; cursor: pointer;
}

.steps { background: var(--paper); }
.steps-grid, .features-grid, .scenarios-grid, .news-grid, .testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card, .feature-card, .scenario-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 24px; position: relative;
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover, .feature-card:hover, .scenario-card:hover, .news-card:hover, .testimonial-card:hover, .price-card:hover {
  transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20, 33, 38, .08);
}
.step-num { position: absolute; top: 18px; right: 22px; font-size: 40px; font-weight: 800; color: #e5f4f2; }
.step-icon, .feature-icon, .scenario-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; margin-bottom: 16px; background: linear-gradient(135deg, #0f8f86, #146e86);
}
.feature-icon, .scenario-icon { background: var(--soft); color: var(--accent-2); }
.step-card h3, .feature-card h3, .scenario-card h3 { font-size: 18px; margin-bottom: 8px; }
.step-card p, .feature-card p, .scenario-card p { font-size: 14.5px; color: var(--muted); }
.features, .protocols, .faq { background: #fff; }

.nodes, .testimonials { background: var(--deep); color: #fff; }
.nodes .section-head h2, .testimonials .section-head h2 { color: #fff; }
.nodes .section-head p, .testimonials .section-head p { color: #9db4b8; }
.nodes .eyebrow, .testimonials .eyebrow { background: rgba(255, 255, 255, .08); color: #9ee8df; }
.nodes-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.node-stat { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 24px; text-align: center; }
.node-stat b { display: block; font-size: 32px; font-weight: 800; color: #9ee8df; }
.node-stat span, .node-card .info span { font-size: 12px; color: #9db4b8; }
.node-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.node-card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 12px;
}
.node-card .flag {
  width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, #0f8f86, #146e86);
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex: none;
}
.node-card .info b { display: block; font-size: 14px; }
.scenarios { background: var(--paper); }

.protocol-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.protocol-tag { background: var(--soft); color: #0d5f66; font-weight: 700; padding: 12px 22px; border-radius: 999px; }
.protocol-tag:hover { background: var(--accent); color: #fff; }

.pricing { background: var(--paper); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px 26px; display: flex; flex-direction: column; position: relative; }
.price-card.featured {
  background: linear-gradient(160deg, #0c6e68, #146e86); color: #fff; border: none;
  box-shadow: 0 18px 40px rgba(15, 143, 134, .28); transform: scale(1.03);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #d7a15a; color: #2a2116; font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px;
}
.price-card .desc { font-size: 13.5px; color: var(--muted); margin: 6px 0 16px; }
.price-card.featured .desc, .price-card.featured .price-period { color: #d5f3ee; }
.price-amount { font-size: 40px; font-weight: 800; }
.price-amount small { font-size: 15px; font-weight: 500; }
.price-period { font-size: 13px; color: #8aa0a4; margin: 6px 0 18px; }
.price-feats { list-style: none; margin-bottom: 22px; flex: 1; }
.price-feats li { display: flex; gap: 8px; font-size: 14.5px; margin-bottom: 10px; color: #3d4c52; }
.price-card.featured .price-feats li { color: #e7f6f4; }
.price-feats li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.price-card.featured .price-feats li::before { color: #fff; }
.price-card.featured .btn { background: #fff; color: #0c6e68; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item.open { border-color: #b7ddd8; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: none; border: 0; padding: 18px 20px; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; color: var(--ink);
}
.faq-icon {
  width: 26px; height: 26px; border-radius: 7px; background: var(--soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; flex: none; transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 20px 18px; color: #3d4c52; font-size: 15px; }
.faq-a ol { margin: 8px 0 8px 18px; }
.faq-a li { margin-bottom: 6px; }

.news { background: var(--paper); }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.news-card .thumb { aspect-ratio: 16 / 9; background: #d5e2e4; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { font-size: 12px; color: #8aa0a4; margin-bottom: 8px; }
.news-card .cat { color: var(--accent); font-weight: 700; }
.news-card h3 { font-size: 16.5px; line-height: 1.45; margin-bottom: 8px; }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 12px; }
.news-card .more { font-size: 14px; font-weight: 700; color: var(--accent); }

.testimonial-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 24px; }
.stars { color: #d7a15a; letter-spacing: 2px; margin-bottom: 12px; }
.quote { color: #d0e0e3; font-size: 15px; margin-bottom: 18px; }
.author { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #0f8f86, #146e86);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.who b { display: block; font-size: 14px; }
.who span { font-size: 12px; color: #9db4b8; }

.cta {
  padding: 88px 0; text-align: center; color: #fff;
  background: radial-gradient(700px 360px at 50% -20%, #1aa89a 0%, transparent 55%), linear-gradient(160deg, #0c6e68, #146e86);
}
.cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cta p { max-width: 540px; margin: 0 auto 26px; color: #e5f6f3; }
.cta .btn-primary { background: #fff; color: #0c6e68; box-shadow: none; }

.footer { background: #061114; color: #c5d6d8; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand p { margin-top: 14px; font-size: 14px; color: #8aa0a4; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-cols li { margin-bottom: 10px; list-style: none; }
.footer-cols a { font-size: 14px; color: #8aa0a4; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; text-align: center; font-size: 13px; color: #6d8388; }

.page-hero { padding: 140px 0 64px; color: #fff; background: linear-gradient(160deg, #07161a, #12343a); }
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #d0e0e3; max-width: 560px; margin-bottom: 22px; }
.platforms { background: var(--paper); padding: 72px 0 88px; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.platform-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; text-align: center; }
.platform-card h3 { margin-bottom: 8px; }
.platform-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.js .fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.js .fade-up.in { opacity: 1; transform: none; }

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header); left: 0; right: 0; background: var(--deep);
    flex-direction: column; align-items: stretch; padding: 8px 16px; max-height: 0; overflow: auto; transition: max-height .35s;
  }
  .nav-menu.open { max-height: calc(100vh - var(--header)); }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; display: none; padding: 0 0 8px 12px; }
  .nav-item.open .dropdown-panel { display: block; }
  .dropdown-panel a { color: #d5e4e6; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 120px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .features-grid, .scenarios-grid, .news-grid, .testimonial-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .node-grid { grid-template-columns: repeat(3, 1fr); }
  .nodes-stats { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .hero-title { font-size: 32px; }
  .steps-grid, .features-grid, .scenarios-grid, .news-grid, .testimonial-grid, .node-grid, .platform-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 28px; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-lg { width: 100%; }
  .footer-grid, .nodes-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .fade-up { opacity: 1; transform: none; }
}
