:root {
  --bg: #0a0f1c;
  --bg-2: #0d1526;
  --card: #121b2f;
  --card-2: #17233b;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --accent: #00e5a0;
  --accent-2: #38bdf8;
  --accent-glow: rgba(0, 229, 160, 0.35);
  --text: #e9eef6;
  --muted: #8d9ab0;
  --radius: 18px;
  --serif: Georgia, "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--accent); color: #06251a; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #00c48d);
  color: #04251a;
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 229, 160, 0.45); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.lead { color: var(--muted); font-size: 17px; max-width: 720px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }

.icon-chip {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0, 229, 160, 0.14), rgba(56, 189, 248, 0.14));
  border: 1px solid var(--border);
  color: var(--accent);
  margin-bottom: 18px;
}
.icon-chip svg { width: 26px; height: 26px; }

.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 15, 28, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .08em; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(0, 229, 160, 0.16), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(56, 189, 248, 0.14), transparent 55%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 56px); line-height: 1.12; font-weight: 800; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 18px; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--accent); }
.hero-stats .lbl { color: var(--muted); font-size: 13px; }

.simulator {
  background: linear-gradient(160deg, #0d1526, #0a0f1c);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.sim-head { display: flex; align-items: center; gap: 8px; padding: 0 6px 14px; border-bottom: 1px solid var(--border); }
.sim-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.sim-head .title { margin-left: auto; color: var(--muted); font-size: 13px; }
.sim-body { padding: 22px 8px 8px; }
.sim-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.sim-row:last-child { border-bottom: none; }
.sim-row .k { color: var(--muted); font-size: 14px; }
.sim-row .v { font-weight: 600; font-size: 14px; }
.ping-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.ping-bars span { width: 6px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 3px; animation: bounce 1.4s ease-in-out infinite; }
.ping-bars span:nth-child(2) { animation-delay: .15s; }
.ping-bars span:nth-child(3) { animation-delay: .3s; }
.ping-bars span:nth-child(4) { animation-delay: .45s; }
.ping-bars span:nth-child(5) { animation-delay: .6s; }
@keyframes bounce { 0%, 100% { height: 8px; } 50% { height: 24px; } }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tag-ok { background: rgba(0, 229, 160, 0.12); color: var(--accent); border: 1px solid rgba(0, 229, 160, 0.3); }
.tag-info { background: rgba(56, 189, 248, 0.12); color: var(--accent-2); border: 1px solid rgba(56, 189, 248, 0.3); }

.notice-board { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.notice-item { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); transition: border-color .2s; }
.notice-item:hover { border-color: var(--accent); }
.notice-item .date { color: var(--accent); font-size: 13px; font-weight: 600; white-space: nowrap; }
.notice-item p { font-size: 15px; color: var(--text); }
.notice-item a p:hover { color: var(--accent); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 500; transition: all .2s; }
.tab.active, .tab:hover { background: var(--accent); color: #04251a; border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, border-color .25s; }
.news-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.news-card .thumb { height: 160px; background: linear-gradient(135deg, rgba(0,229,160,.15), rgba(56,189,248,.15)); display: flex; align-items: center; justify-content: center; }
.news-card .thumb svg { width: 46px; height: 46px; color: var(--accent); }
.news-card .body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .meta { font-size: 12px; color: var(--muted); }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.news-card h3 a:hover { color: var(--accent); }
.news-card p { color: var(--muted); font-size: 14px; flex: 1; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
th { background: var(--card-2); color: var(--text); font-weight: 600; }
td { color: var(--muted); }
tr:last-child td { border-bottom: none; }
.check { color: var(--accent); font-weight: 700; }

.download-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.dl-card { text-align: center; padding: 30px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s, border-color .25s; }
.dl-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.dl-card .icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(135deg, rgba(0,229,160,.14), rgba(56,189,248,.14)); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.dl-card .icon svg { width: 30px; height: 30px; }
.dl-card h3 { font-size: 17px; margin-bottom: 6px; }
.dl-card p { color: var(--muted); font-size: 13px; margin-bottom: 16px; }

.faq-item { border: 1px solid var(--border); border-radius: 14px; background: var(--card); margin-bottom: 14px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); padding: 20px 24px; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--sans); }
.faq-q .arrow { transition: transform .25s; color: var(--accent); flex-shrink: 0; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { display: block; }
.faq-a ol { list-style: decimal; padding-left: 20px; }
.faq-a ol li { margin: 8px 0; }

.breadcrumb-nav { padding: 18px 0; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); }
.breadcrumb-nav ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-nav .sep { color: var(--border-strong); }
.breadcrumb-nav .current { color: var(--accent); font-weight: 700; }

.page-head { padding: 56px 0 40px; background: radial-gradient(700px 400px at 50% -20%, rgba(0,229,160,.12), transparent 60%), var(--bg); }
.page-head h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }

.article { max-width: 780px; margin: 0 auto; }
.article h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.25; margin-bottom: 18px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.article h2 { font-size: 24px; margin: 34px 0 14px; font-family: var(--serif); }
.article p { color: #c6d0e0; margin-bottom: 18px; font-size: 16.5px; }
.article .figure { margin: 26px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.article .figure img { width: 100%; }
.article .figcap { font-size: 13px; color: var(--muted); text-align: center; padding: 12px; }
.article blockquote { border-left: 3px solid var(--accent); padding: 12px 20px; margin: 22px 0; background: var(--card); border-radius: 0 12px 12px 0; color: var(--muted); font-style: italic; }

.pager { display: flex; justify-content: space-between; gap: 16px; margin: 44px 0; flex-wrap: wrap; }
.pager a { padding: 14px 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); font-size: 14px; transition: border-color .2s; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }

.cta {
  background: linear-gradient(135deg, rgba(0, 229, 160, 0.12), rgba(56, 189, 248, 0.12));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 64px 40px;
  text-align: center;
}
.cta h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

.footer { border-top: 1px solid var(--border); padding: 56px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; }
.footer a, .footer p { color: var(--muted); font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: var(--accent); }
.footer .brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; color: var(--muted); font-size: 13px; text-align: center; }

.sitemap-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sitemap-list .col h3 { font-size: 16px; margin-bottom: 14px; color: var(--accent); }
.sitemap-list .col a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; }
.sitemap-list .col a:hover { color: var(--accent); }

.note { background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.25); border-radius: 12px; padding: 14px 18px; font-size: 14px; color: var(--muted); margin: 18px 0; }

@media (max-width: 960px) {
  .hero-grid, .grid-3, .grid-2, .notice-board, .footer-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .sitemap-list { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 18px; }
}
