/* 泓睿财商官网 - 样式表 */

:root {
  --brand: #0f4c5c;
  --brand-dark: #0a3542;
  --brand-light: #e8f1f3;
  --accent: #d99a3e;
  --accent-dark: #b87e28;
  --accent-light: #fdf3e3;
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #1f2933;
  --ink-soft: #4a5a63;
  --muted: #7b8b93;
  --border: #e5e0d8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(15, 76, 92, 0.07);
  --shadow-hover: 0 8px 28px rgba(15, 76, 92, 0.13);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; color: var(--brand); letter-spacing: 0.5px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #1a6d82);
  color: #fff; display: grid; place-items: center;
  font-size: 17px; font-weight: 700; letter-spacing: 0;
}
.logo-sub { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 1.5px; line-height: 1.2; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 8px 15px; border-radius: 8px; font-size: 15px;
  color: var(--ink-soft); transition: all 0.18s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-light); }
.nav-links a.active { color: var(--brand); font-weight: 600; background: var(--brand-light); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--border);
  background: #fff; border-radius: 8px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--brand); border-radius: 2px; transition: 0.2s; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.2s;
  font-family: var(--font);
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, #0f4c5c 0%, #12596b 58%, #146277 100%);
  color: #fff; padding: 92px 0 88px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -110px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 154, 62, 0.28), transparent 68%);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-tag {
  display: inline-block; padding: 6px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.13); border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px; letter-spacing: 1.5px; margin-bottom: 22px;
}
.hero h1 { font-size: 42px; line-height: 1.32; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 17.5px; line-height: 1.85; opacity: 0.92; margin-bottom: 32px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--brand); }

.hero-stats { display: flex; gap: 44px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 30px; color: var(--accent); font-weight: 700; line-height: 1.2; }
.hero-stats div span { font-size: 13.5px; opacity: 0.82; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head h2 { font-size: 30px; color: var(--brand); margin-bottom: 14px; font-weight: 700; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; max-width: 640px; margin: 0 auto; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--accent-dark);
  font-weight: 600; margin-bottom: 10px;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand); font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--brand); margin-bottom: 11px; font-weight: 600; }
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.8; }

/* 年龄段卡片 */
.age-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column;
}
.age-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.age-head { background: linear-gradient(135deg, var(--brand-light), #dcecef); padding: 22px 26px; border-bottom: 1px solid var(--border); }
.age-head .age { font-size: 13px; font-weight: 700; color: var(--accent-dark); letter-spacing: 1.5px; }
.age-head h3 { font-size: 20px; color: var(--brand); margin-top: 4px; }
.age-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.age-body > p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 16px; }
.age-body ul { list-style: none; margin-bottom: 22px; flex: 1; }
.age-body li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-soft); margin-bottom: 9px; }
.age-body li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}

/* ---------- 页眉横幅 ---------- */
.page-hero {
  background: linear-gradient(150deg, #0f4c5c 0%, #146277 100%);
  color: #fff; padding: 66px 0 62px; text-align: center;
}
.page-hero h1 { font-size: 34px; margin-bottom: 12px; font-weight: 700; }
.page-hero p { opacity: 0.9; font-size: 16.5px; max-width: 620px; margin: 0 auto; }

/* ---------- 资料下载 ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.dl-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; transition: all 0.22s;
}
.dl-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.dl-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px;
  background: var(--accent-light); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 20px; font-weight: 700;
}
.dl-icon.pdf { background: #fdecea; color: #c0392b; }
.dl-icon.xlsx { background: #e8f4ea; color: #1e7a34; }
.dl-icon.docx { background: #e9eef8; color: #2b4a8b; }
.dl-body { flex: 1; min-width: 0; }
.dl-body h4 { font-size: 16.5px; color: var(--ink); margin-bottom: 6px; font-weight: 600; }
.dl-body p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 13px; }
.dl-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dl-badge {
  font-size: 11.5px; padding: 3px 10px; border-radius: 999px; font-weight: 600;
}
.dl-badge.free { background: #e8f4ea; color: #1e7a34; }
.dl-badge.gated { background: var(--accent-light); color: var(--accent-dark); }
.dl-size { font-size: 12px; color: var(--muted); }

/* ---------- 表单 ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 38px 40px; box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--border);
  border-radius: 9px; font-size: 15px; font-family: var(--font);
  background: var(--bg); color: var(--ink); transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
}
.field textarea { min-height: 118px; resize: vertical; }
.field small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 24px; font-size: 13.5px; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brand); }
.consent a { color: var(--brand); text-decoration: underline; }

/* ---------- 联系方式卡片 ---------- */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: start; }
.qr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.qr-placeholder {
  width: 190px; height: 190px; margin: 0 auto 18px; border-radius: 14px;
  border: 2px dashed var(--border); display: grid; place-items: center;
  background: var(--bg); color: var(--muted); font-size: 13px; text-align: center; padding: 16px; line-height: 1.6;
}
.qr-card h4 { font-size: 16.5px; color: var(--brand); margin-bottom: 6px; }
.qr-card p { font-size: 13.5px; color: var(--muted); }

.info-list { list-style: none; margin-top: 22px; }
.info-list li { display: flex; gap: 12px; padding: 13px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.info-list li:first-child { border-top: none; }
.info-list .k { color: var(--muted); min-width: 76px; flex-shrink: 0; }
.info-list .v { color: var(--ink); font-weight: 500; }

/* ---------- 评价 ---------- */
.quote-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 32px; position: relative;
}
.quote-card::before {
  content: "\201C"; position: absolute; top: 14px; right: 26px;
  font-size: 62px; color: var(--brand-light); font-family: Georgia, serif; line-height: 1;
}
.quote-card p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 18px; }
.quote-author { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; font-weight: 600; font-size: 15px;
}
.quote-author strong { display: block; font-size: 14.5px; color: var(--ink); }
.quote-author span { font-size: 12.5px; color: var(--muted); }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--bg);
}
.tl-item h4 { font-size: 17px; color: var(--brand); margin-bottom: 6px; }
.tl-item .yr { font-size: 13px; color: var(--accent-dark); font-weight: 600; margin-bottom: 4px; }
.tl-item p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #146277 100%);
  color: #fff; padding: 66px 0; text-align: center;
}
.cta-band h2 { font-size: 29px; margin-bottom: 14px; font-weight: 700; }
.cta-band p { opacity: 0.9; margin-bottom: 30px; font-size: 16.5px; }
.cta-band .btn-accent { background: var(--accent); }
.cta-band .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-band .btn-outline:hover { background: #fff; color: var(--brand); }

/* ---------- 提示条 ---------- */
.notice {
  border-radius: var(--radius); padding: 18px 22px; font-size: 14.5px; line-height: 1.75;
  border-left: 4px solid; margin-bottom: 30px;
}
.notice-tip { background: var(--brand-light); border-color: var(--brand); color: var(--ink-soft); }
.notice-accent { background: var(--accent-light); border-color: var(--accent); color: #6b4d18; }
.notice strong { color: var(--ink); }

/* ---------- 页脚 ---------- */
.footer { background: var(--brand-dark); color: rgba(255, 255, 255, 0.72); padding: 56px 0 26px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 40px; }
.footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255, 255, 255, 0.72); transition: color 0.18s; }
.footer a:hover { color: var(--accent); }
.footer-logo { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer-logo .logo-mark { background: var(--accent); color: var(--brand-dark); }
.footer-logo strong { color: #fff; font-size: 17px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 320px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px;
  font-size: 13px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.62); }
.beian { color: rgba(255, 255, 255, 0.55); }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200; padding: 20px;
  display: none; align-items: center; justify-content: center;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 53, 66, 0.55); backdrop-filter: blur(3px);
}
.modal-box {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  padding: 40px 34px 34px; max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  animation: modalIn 0.22s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px; border: none; background: transparent;
  font-size: 26px; color: var(--muted); cursor: pointer;
  line-height: 1; border-radius: 8px; font-family: var(--font);
}
.modal-close:hover { background: var(--bg); color: var(--ink); }
.modal-icon { font-size: 40px; margin-bottom: 8px; }
.modal-box h3 { font-size: 20px; color: var(--brand); margin-bottom: 12px; }
.modal-box p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 14px; border-radius: 8px; }
  .nav-inner { position: relative; }

  .hero { padding: 62px 0 56px; }
  .hero h1 { font-size: 28px; }
  .hero p.lead { font-size: 16px; }
  .hero-stats { gap: 28px; margin-top: 38px; }
  .hero-stats div strong { font-size: 24px; }

  .section { padding: 54px 0; }
  .section-head h2 { font-size: 24px; }
  .page-hero { padding: 46px 0 42px; }
  .page-hero h1 { font-size: 26px; }

  .grid-2, .grid-3, .grid-4, .dl-grid { grid-template-columns: 1fr; }
  .cta-band h2 { font-size: 23px; }
  .form-card { padding: 26px 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .wrap { padding: 0 18px; }
}
