/* ============================================
   馨悦未来投资控股有限公司 - 官网样式
   风格：简约大气 · 金融质感（藏蓝 + 金）
   ============================================ */

:root {
  --navy: #0c1f3c;
  --navy-2: #14294b;
  --navy-3: #1d3a66;
  --gold: #c2a05c;
  --gold-light: #d9bd82;
  --ink: #1c2534;
  --gray: #5b6676;
  --gray-light: #8b94a3;
  --line: #e6e9ef;
  --bg-soft: #f6f7f9;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(12, 31, 60, 0.08);
  --radius: 6px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-tag::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.sec-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 2px;
  line-height: 1.35;
}
.sec-title .en {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-light);
  letter-spacing: 6px;
  margin-top: 8px;
}
.sec-desc { color: var(--gray); margin-top: 18px; font-size: 15.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  letter-spacing: 2px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #ad8f4e; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.35s ease;
  background: transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(12, 31, 60, 0.08);
}
.header.scrolled .nav-link { color: var(--ink); }
.header.scrolled .logo-name { color: var(--navy); }
.header.scrolled .logo-en { color: var(--gray-light); }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 15px; font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px;
}
.logo-text { line-height: 1.2; }
.logo-name { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.logo-en { font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: 2.5px; }

.nav-menu { display: flex; gap: 40px; }
.nav-link {
  font-size: 15px;
  color: rgba(255,255,255,.85);
  letter-spacing: 1px;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: currentColor; transition: 0.3s; }
.nav-toggle { color: #fff; }
.header.scrolled .nav-toggle { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(12,31,60,.92) 0%, rgba(20,41,75,.85) 55%, rgba(29,58,102,.8) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 14px);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -140px; top: -140px;
  width: 560px; height: 560px;
  border: 1px solid rgba(194,160,92,.25);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 400px; height: 400px;
  border: 1px solid rgba(194,160,92,.18);
  border-radius: 50%;
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold-light);
  border: 1px solid rgba(194,160,92,.45);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero-title {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.3;
}
.hero-title em { font-style: normal; color: var(--gold-light); }
.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: rgba(255,255,255,.75);
  letter-spacing: 1px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(8, 18, 36, 0.55);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(194,160,92,.2);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
}
.stat-num .unit { font-size: 16px; margin-left: 2px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: 2px; margin-top: 4px; }

/* ---------- 页面小标题 hero ---------- */
.page-hero {
  background: linear-gradient(135deg, #0c1f3c 0%, #14294b 60%, #1d3a66 100%);
  color: #fff;
  padding: 180px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  width: 620px; height: 620px;
  border: 1px solid rgba(194,160,92,.15);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 40px; letter-spacing: 6px; font-weight: 700; }
.page-hero p {
  margin-top: 16px;
  color: rgba(255,255,255,.65);
  letter-spacing: 3px;
  font-size: 14px;
}
.page-hero .crumbs { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.45); letter-spacing: 1px; }
.page-hero .crumbs a:hover { color: var(--gold-light); }

/* ---------- 首页业务总览卡片 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.biz-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.biz-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.biz-card:hover::before { transform: scaleX(1); }
.biz-num {
  font-family: Georgia, serif;
  font-size: 40px;
  color: var(--line);
  font-weight: 700;
  line-height: 1;
}
.biz-card:hover .biz-num { color: var(--gold-light); }
.biz-card h3 { margin-top: 16px; font-size: 20px; color: var(--navy); letter-spacing: 1px; }
.biz-card p { margin-top: 12px; font-size: 14.5px; color: var(--gray); }

/* ---------- 双栏特性 ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature-block { margin-bottom: 40px; }
.feature-block:last-child { margin-bottom: 0; }
.feature-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 20px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 1px;
}
.feature-title .idx {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 15px;
}
.feature-sub { font-size: 13px; color: var(--gold); letter-spacing: 2px; margin: 6px 0 0; }
.feature-block p { color: var(--gray); font-size: 14.5px; margin-top: 10px; }

/* 深色面板 */
.panel-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: 10px;
  color: #fff;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.panel-navy::after {
  content: "悦";
  position: absolute;
  right: -20px; bottom: -50px;
  font-size: 220px;
  color: rgba(255,255,255,.04);
  font-weight: 700;
  line-height: 1;
}
.panel-navy h3 { font-size: 22px; letter-spacing: 2px; color: var(--gold-light); }
.panel-navy .line { width: 40px; height: 2px; background: var(--gold); margin: 20px 0 24px; }
.panel-navy p { color: rgba(255,255,255,.72); font-size: 14.5px; margin-bottom: 14px; }
.panel-navy strong { color: #fff; }

/* ---------- 数字滚动条 / 价值观 ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item {
  text-align: center;
  padding: 44px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.value-item:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.value-item .zi {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  font-family: "KaiTi", "STKaiti", serif;
}
.value-item .py { font-size: 12px; color: var(--gold); letter-spacing: 3px; margin-top: 8px; text-transform: uppercase; }
.value-item p { font-size: 13.5px; color: var(--gray); margin-top: 12px; }

/* ---------- 业务详情（服务页） ---------- */
.service-item { display: grid; grid-template-columns: 340px 1fr; gap: 0; margin-bottom: 80px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.service-item:last-child { margin-bottom: 0; }
.service-side {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.service-side .no {
  font-family: Georgia, serif;
  font-size: 44px;
  color: rgba(194,160,92,.85);
  line-height: 1;
}
.service-side h3 { font-size: 23px; letter-spacing: 1.5px; margin-top: 18px; }
.service-side .en { font-size: 12px; letter-spacing: 3px; color: rgba(255,255,255,.45); margin-top: 6px; text-transform: uppercase; }
.service-side .desc { margin-top: auto; padding-top: 24px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.service-main { padding: 40px 44px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.srv-point { display: flex; gap: 14px; }
.srv-point .dot {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 3px;
}
.srv-point h4 { font-size: 16px; color: var(--navy); }
.srv-point p { font-size: 13.5px; color: var(--gray); margin-top: 4px; }

/* ---------- 服务流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-grid::before {
  content: "";
  position: absolute;
  top: 30px; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent);
}
.flow-item { text-align: center; position: relative; padding: 0 12px; }
.flow-item .n {
  width: 60px; height: 60px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--navy);
  position: relative;
  z-index: 2;
}
.flow-item h4 { margin-top: 18px; font-size: 17px; color: var(--navy); letter-spacing: 1px; }
.flow-item p { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(194,160,92,.2);
}
.cta::before { width: 420px; height: 420px; left: -120px; top: -120px; }
.cta::after { width: 520px; height: 520px; right: -160px; bottom: -260px; }
.cta h2 { font-size: 32px; letter-spacing: 4px; position: relative; z-index: 2; }
.cta h2 span { color: var(--gold-light); }
.cta p { margin-top: 16px; color: rgba(255,255,255,.7); letter-spacing: 2px; position: relative; z-index: 2; }
.cta .btn { margin-top: 36px; position: relative; z-index: 2; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 48px; }
.contact-info-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 44px 40px; }
.ci-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.ci-item:last-child { border-bottom: none; }
.ci-item .ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(194,160,92,.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.ci-item h4 { font-size: 15px; color: var(--navy); }
.ci-item p { font-size: 14px; color: var(--gray); margin-top: 4px; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 44px 40px; }
.contact-form h3 { font-size: 20px; color: var(--navy); letter-spacing: 1px; margin-bottom: 8px; }
.contact-form .tip { font-size: 13px; color: var(--gray-light); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; color: var(--gray); margin-bottom: 8px; letter-spacing: 1px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12px; color: var(--gray-light); margin-top: 14px; }

/* ---------- 办公城市 ---------- */
.city-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.city-tag {
  padding: 10px 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 2px;
  transition: all 0.3s;
}
.city-tag:hover, .city-tag.hot {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(194,160,92,.07);
}

/* ---------- 页脚 ---------- */
.footer { background: #0a1830; color: rgba(255,255,255,.6); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 48px;
}
.footer .logo-name { color: #fff; }
.footer .logo-en { color: rgba(255,255,255,.4); }
.footer-about p { font-size: 13.5px; margin-top: 20px; max-width: 380px; }
.footer h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: var(--gold); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 13.5px; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 999;
  border-left: 3px solid var(--gold);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .values-grid, .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .flow-grid::before { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .service-item { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 36px; }
  .nav-menu {
    position: fixed;
    top: 76px; right: 0;
    background: rgba(255,255,255,.98);
    flex-direction: column;
    gap: 0;
    width: 220px;
    padding: 10px 24px 20px;
    box-shadow: 0 12px 30px rgba(12,31,60,.1);
    transform: translateX(110%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: none; }
  .nav-menu .nav-link { color: var(--ink); padding: 12px 0; }
  .nav-menu .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 0; }
  .sec-title { font-size: 26px; }
}

@media (max-width: 600px) {
  .biz-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .page-hero { padding: 140px 0 64px; }
  .page-hero h1 { font-size: 30px; }
}
