:root {
  --bg: #f5f9fc;
  --ink: #102033;
  --muted: #5c748a;
  --line: #dceaf2;
  --navy: #071f3d;
  --blue: #075ea7;
  --cyan: #12caee;
  --cyan-dark: #007caa;
  --cyan-soft: #e2f8fc;
  --card: #ffffff;
  --shadow: 0 18px 46px rgba(12, 58, 92, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 88px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.brand img { width: 92px; height: 48px; object-fit: contain; }
.brand-name { font-size: 30px; letter-spacing: .02em; }
.brand-en { color: var(--cyan-dark); font-size: 14px; margin-left: 4px; }
.nav { display: flex; gap: 34px; font-size: 16px; font-weight: 650; }
.nav a { color: #17344f; padding: 33px 0 28px; border-bottom: 4px solid transparent; }
.nav a.active, .nav a:hover { color: var(--cyan-dark); border-bottom-color: var(--cyan); }
.login-btn {
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 11px 31px;
  font-weight: 800;
}

.hero {
  min-height: 452px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 42%, rgba(18,202,238,.33), transparent 30%),
    linear-gradient(96deg, #07315f 0%, #075f8e 55%, #0787a7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(ellipse at 28% 20%, rgba(18,202,238,.45) 0 1px, transparent 2px 23px);
  opacity: .08;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='320' viewBox='0 0 1600 320'%3E%3Cg fill='none' stroke='%2312caee' stroke-opacity='.62' stroke-width='2'%3E%3Cpath d='M-20 45 C180 74 335 4 530 35 S880 81 1080 38 1390 9 1620 44'/%3E%3Cpath d='M-20 75 C180 104 335 34 530 65 S880 111 1080 68 1390 39 1620 74'/%3E%3Cpath d='M-20 105 C180 134 335 64 530 95 S880 141 1080 98 1390 69 1620 104'/%3E%3Cpath d='M-20 135 C180 164 335 94 530 125 S880 171 1080 128 1390 99 1620 134'/%3E%3Cpath d='M-20 165 C180 194 335 124 530 155 S880 201 1080 158 1390 129 1620 164'/%3E%3Cpath d='M-20 195 C180 224 335 154 530 185 S880 231 1080 188 1390 159 1620 194'/%3E%3Cpath d='M-20 225 C180 254 335 184 530 215 S880 261 1080 218 1390 189 1620 224'/%3E%3C/g%3E%3C/svg%3E") center 56px / cover no-repeat;
  opacity: .9;
}
.hero-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 86px 96px 98px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  color: var(--cyan-dark);
  background: white;
  border: 1px solid #c9edf6;
  font-weight: 800;
}
.hero h1 { font-size: 54px; line-height: 1.12; margin: 22px 0 12px; letter-spacing: -.02em; }
.hero h1 { color: white; }
.hero h2 { font-size: 30px; margin: 0 0 18px; color: #e6fbff; }
.hero p { color: #cceaf3; font-size: 21px; line-height: 1.85; max-width: 880px; margin: 0; }
.hero-actions { display: flex; gap: 18px; margin-top: 32px; }
.primary, .secondary {
  border: 0;
  border-radius: 999px;
  padding: 15px 34px;
  font-weight: 900;
  font-size: 18px;
}
.primary { background: var(--cyan); color: white; box-shadow: 0 12px 28px rgba(18,202,238,.28); }
.secondary { background: white; color: var(--cyan-dark); border: 1px solid #bceaf4; }
.hero-visual { position: relative; min-height: 280px; }
.hero-logo { width: min(620px, 100%); filter: drop-shadow(0 20px 38px rgba(0,145,210,.25)); }
.float-chip {
  position: absolute;
  background: white;
  border: 1px solid #ccecf4;
  border-radius: 18px;
  padding: 14px 22px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.float-chip::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: -3px;
  background: var(--cyan);
}
.chip-a { left: 34px; top: 210px; }
.chip-b { right: 126px; top: 88px; }
.chip-c { right: 52px; bottom: 28px; }

.stats {
  max-width: 1680px;
  margin: -54px auto 68px;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.stat { padding: 34px 48px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--cyan-dark); font-size: 36px; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 15px; }

.section { max-width: 1680px; margin: 0 auto 70px; padding: 0 72px; }
.section-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.section-title h2 { margin: 0; font-size: 34px; }
.section-title p { margin: 0; color: var(--muted); font-size: 17px; }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.resource-card, .column-card, .news-card, .topic-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.resource-card { min-height: 178px; padding: 30px; }
.mini-logo {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: var(--cyan-soft);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.mini-logo img { width: 48px; }
.resource-card h3, .column-card h3 { margin: 0 0 10px; font-size: 24px; }
.resource-card small { color: var(--cyan-dark); font-weight: 900; }
.resource-card p { color: var(--muted); line-height: 1.7; margin: 18px 0 0; }
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 110px; }
.column-card { min-height: 210px; padding: 30px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.pill { background: var(--cyan-soft); color: var(--cyan-dark); border: 1px solid #bdeaf3; border-radius: 999px; padding: 9px 24px; font-weight: 800; }
.news-layout { display: grid; grid-template-columns: 1fr 520px; gap: 40px; }
.news-card { padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.news-card b { font-size: 18px; }
.news-card time { color: var(--muted); }
.topic-card { padding: 34px; background: #e5f9fd; }
.topic-card h3 { margin: 0 0 18px; font-size: 28px; }
.topic-card strong { color: var(--cyan-dark); }

.footer {
  margin-top: 70px;
  background: var(--navy);
  color: white;
  padding: 54px 72px;
}
.footer-inner { max-width: 1680px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; }
.footer p { color: #b8d2e2; max-width: 720px; line-height: 1.8; }

.module-hero {
  background: linear-gradient(100deg, #e7fbff, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 76px 96px;
}
.module-hero-inner { max-width: 1540px; margin: 0 auto; display: grid; grid-template-columns: 1fr 260px; gap: 40px; align-items: center; }
.module-hero h1 { margin: 0 0 18px; font-size: 48px; }
.module-hero p { color: var(--muted); font-size: 21px; line-height: 1.8; max-width: 900px; }
.module-content { max-width: 1540px; margin: 56px auto; padding: 0 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.module-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); min-height: 180px; }
.module-card h2 { margin: 0 0 16px; font-size: 24px; }
.module-card p { color: var(--muted); line-height: 1.8; margin: 0; }

@media (max-width: 1100px) {
  .site-header {
    height: auto;
    min-height: 72px;
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
  .site-header > * { min-width: 0; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 72px; height: 38px; }
  .brand-name { font-size: 24px; }
  .brand-en { display: none; }
  .login-btn { padding: 9px 18px; font-size: 14px; }
  .nav {
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 0 0;
    font-size: 14px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    flex: 0 0 auto;
    padding: 10px 0 9px;
    border-bottom-width: 3px;
  }
  .hero-inner { grid-template-columns: 1fr; padding: 56px 28px 100px; }
  .stats, .resource-grid, .columns, .news-layout, .module-content { grid-template-columns: 1fr; }
  .stats { margin: 0 24px 50px; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .module-hero { padding: 42px 24px; }
  .module-hero-inner { grid-template-columns: 1fr; }
  .module-hero-inner > div { min-width: 0; }
  .module-hero-inner img { max-width: 180px; }
  .module-hero h1 { font-size: 38px; }
  .module-hero p { font-size: 18px; }
  .footer { padding: 38px 24px; }
  .footer-inner { display: grid; }
}

@media (max-width: 640px) {
  html, body { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .site-header { padding: 10px 14px; }
  .site-header, .nav { max-width: 100vw; }
  .brand img { width: 62px; height: 34px; }
  .brand-name { font-size: 22px; }
  .login-btn { padding: 8px 14px; }
  .hero, .module-hero { width: 100vw; max-width: 100vw; overflow: hidden; }
  .hero-inner, .module-hero-inner { width: 100%; max-width: 100%; }
  .hero h1, .module-hero h1 { font-size: 32px; line-height: 1.18; word-break: break-word; }
  .hero p, .module-hero p { font-size: 16px; }
  .hero p, .module-hero p, .module-card p, .resource-card p, .topic-card p { overflow-wrap: anywhere; }
  .section { padding: 0 18px; }
  .section-title { display: grid; }
  .resource-card, .column-card, .news-card, .topic-card, .module-card { border-radius: 12px; padding: 22px; }
}
