/* ============ 新蓝投资有限公司 · 官网样式 ============ */
:root {
  --blue-900: #0a2a5e;
  --blue-800: #0d3a7d;
  --blue-700: #10489c;
  --blue-600: #1565c0;
  --blue-500: #1e88e5;
  --blue-400: #42a5f5;
  --blue-100: #e3f0fb;
  --blue-50: #f4f9fe;
  --ink: #1c2b3a;
  --ink-soft: #51606f;
  --line: #dfe9f3;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 58, 125, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.brand-text .brand-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-800);
  letter-spacing: 1px;
}
.brand-text .brand-en {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.main-nav a.active { color: var(--blue-600); font-weight: 600; background: var(--blue-100); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  box-shadow: 0 6px 16px rgba(21, 101, 192, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(21, 101, 192, 0.36); }
.btn-outline {
  border: 1.5px solid var(--blue-600);
  color: var(--blue-600);
  background: transparent;
}
.btn-outline:hover { background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { color: var(--blue-600); }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.user-chip {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--blue-800);
  background: var(--blue-100);
  padding: 7px 14px;
  border-radius: 999px;
  max-width: 220px;
}
.user-chip .user-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-chip.visible { display: inline-flex; }

/* 移动端菜单 */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; stroke: var(--blue-800); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(66, 165, 245, 0.35), transparent 60%),
    radial-gradient(800px 380px at 5% 110%, rgba(30, 136, 229, 0.25), transparent 55%),
    linear-gradient(150deg, #0a2a5e 0%, #0d3a7d 45%, #10489c 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  padding: 110px 0 120px;
  max-width: 720px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #a9d4ff;
  border: 1px solid rgba(169, 212, 255, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 .accent { color: #7cc4ff; }
.hero p.lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-actions .btn-light:hover { background: rgba(255, 255, 255, 0.22); }
.hero-deco {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 420px;
  opacity: 0.16;
  filter: brightness(0) invert(1);
}

/* ============ 通用区块 ============ */
.section { padding: 84px 0; }
.section.alt { background: var(--blue-50); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .kicker {
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--blue-500);
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  color: var(--blue-900);
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #bcd6ef;
}
.card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-100), #d3e8fb);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon-wrap svg { width: 26px; height: 26px; stroke: var(--blue-600); }
.card h3 { font-size: 18px; color: var(--blue-900); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }

/* 列表样式 */
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  margin-top: 9px;
}
.feature-list li strong { color: var(--ink); font-weight: 600; }

/* 页面 banner（内页顶部） */
.page-banner {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(66, 165, 245, 0.3), transparent 60%),
    linear-gradient(140deg, #0a2a5e, #10489c);
  color: var(--white);
  padding: 64px 0;
}
.page-banner h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.page-banner .crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 14px;
}
.page-banner .crumb a:hover { color: #a9d4ff; }
.page-banner p.sub { color: rgba(255, 255, 255, 0.8); max-width: 640px; margin-top: 6px; }

/* 数字条 */
.stats-band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: var(--white);
  padding: 46px 0;
}
.stats-band .grid { text-align: center; }
.stats-band .num { font-size: 34px; font-weight: 700; color: #9ed3ff; }
.stats-band .label { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }

/* CTA 区块 */
.cta-band {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin-bottom: 28px; }

/* ============ 表单 ============ */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field label .req { color: #e05252; margin-left: 2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue-500); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; color: #8a97a5; margin-top: 5px; }
.form-msg { font-size: 14px; margin-top: 14px; min-height: 20px; }
.form-msg.ok { color: #1d8a4e; }
.form-msg.err { color: #d64545; }

/* ============ 登录页 ============ */
.auth-wrap {
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(800px 400px at 10% 0%, rgba(66, 165, 245, 0.18), transparent 55%),
    var(--blue-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px;
}
.auth-card {
  width: min(460px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 40px 36px;
}
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-card .auth-logo img { width: 64px; height: 64px; border-radius: 50%; }
.auth-card h1 { font-size: 22px; text-align: center; color: var(--blue-900); margin-bottom: 6px; }
.auth-card .auth-sub { font-size: 14px; color: var(--ink-soft); text-align: center; margin-bottom: 26px; }
.auth-tabs {
  display: flex;
  background: var(--blue-50);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}
.auth-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 9px 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.auth-tabs button.active {
  background: var(--white);
  color: var(--blue-700);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(13, 58, 125, 0.12);
}
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }
.otp-row .btn { white-space: nowrap; }
.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13.5px;
}
.auth-links a { color: var(--blue-600); cursor: pointer; }
.auth-note { font-size: 12.5px; color: #8a97a5; margin-top: 18px; text-align: center; }

/* 我的咨询列表 */
.inquiry-list { margin-top: 18px; display: grid; gap: 14px; }
.inquiry-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  background: var(--blue-50);
}
.inquiry-item .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
  flex-wrap: wrap;
}
.inquiry-item .subject { font-weight: 600; color: var(--blue-900); }
.inquiry-item .badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fff3d6;
  color: #9a6b00;
}
.inquiry-item .meta { font-size: 13px; color: #8a97a5; }
.inquiry-item .body { font-size: 14px; color: var(--ink-soft); margin-top: 8px; white-space: pre-wrap; }
.inquiry-item .attach a { font-size: 13px; color: var(--blue-600); }

/* ============ 页脚 ============ */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand .name { color: var(--white); font-weight: 700; font-size: 17px; letter-spacing: 1px; }
.site-footer h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: #9ed3ff; }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; stroke: #6fb3ea; flex: none; margin-top: 4px; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; }
  .nav-actions .btn-outline { display: none; }
  .hero-inner { padding: 72px 0 84px; }
  .hero-deco { display: none; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text .brand-en { display: none; }
}
