:root {
  --navy: #1A2744;
  --navy-light: #243356;
  --gold: #B8960C;
  --gold-light: #D4AF37;
  --gray-bg: #ECEEF2;
  --gray-mid: #F5F6F9;
  --white: #FFFFFF;
  --text-dark: #1A2744;
  --text-muted: #6B7280;
}

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

body {
  font-family: 'Noto Sans SC', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'PingFang TC', 'Microsoft YaHei', sans-serif;
  background-color: var(--gray-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(236,238,242,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 20px rgba(26,39,68,0.08);
  border-bottom: 1px solid rgba(26,39,68,0.06);
}
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: var(--gold-light);
  font-family: 'Playfair Display', serif;
}
.nav-logo-text {
  font-size: 22px; font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  text-decoration: none; font-size: 17px; font-weight: 500;
  color: var(--navy); transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  padding: 4px 8px; border-radius: 6px; transition: all 0.2s;
}
.lang-btn.lang-active {
  background: var(--navy); color: white;
}
.lang-sep { color: var(--text-muted); font-size: 12px; }
.btn-login {
  text-decoration: none; font-size: 16px; font-weight: 600;
  color: var(--navy); padding: 8px 18px;
  border: 1.5px solid rgba(26,39,68,0.25);
  border-radius: 50px; transition: all 0.2s;
}
.btn-login:hover { background: rgba(26,39,68,0.05); }
.btn-register {
  text-decoration: none; font-size: 16px; font-weight: 700;
  background: var(--gold); color: white;
  padding: 9px 20px; border-radius: 50px;
  transition: all 0.2s; box-shadow: 0 4px 14px rgba(184,150,12,0.35);
}
.btn-register:hover { background: var(--gold-light); transform: translateY(-1px); }

/* 桌面端隐藏移动端专属按钮 */
.nav-mobile-actions {
  display: none !important;
}

/* Mobile menu */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; background: var(--gray-bg); border-top: 1px solid rgba(26,39,68,0.08); padding: 1rem 2rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; font-size: 18px; font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(26,39,68,0.06); }
.mobile-menu .mobile-actions { display: flex; gap: 10px; margin-top: 12px; }

/* ── Sections ── */
.section-hero { padding: 120px 0 80px; background: var(--gray-bg); }
.section-light { padding: 80px 0; background: var(--gray-mid); }
.section-white { padding: 80px 0; background: var(--white); }
.section-dark { padding: 80px 0; background: var(--navy); }
.section-gray { padding: 80px 0; background: var(--gray-bg); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ── Typography ── */
.display-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  color: var(--navy);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--navy);
}
.gold-text { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }

/* ── Divider ── */
.gold-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px; margin-bottom: 1.25rem;
}
.gold-divider.center { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: white;
  font-size: 17px; font-weight: 700;
  padding: 12px 28px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(184,150,12,0.35);
  transition: all 0.2s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,150,12,0.45); }
.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-size: 17px; font-weight: 600;
  padding: 11px 28px; border-radius: 50px;
  text-decoration: none; border: 2px solid rgba(26,39,68,0.3);
  cursor: pointer; transition: all 0.2s;
}
.btn-outline-navy:hover { background: rgba(26,39,68,0.05); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  font-size: 17px; font-weight: 600;
  padding: 11px 28px; border-radius: 50px;
  text-decoration: none; border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ── Badge ── */
.badge-live {
  display: inline-block;
  background: rgba(184,150,12,0.15); color: var(--gold);
  font-size: 16px; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 10px; border-radius: 50px;
  border: 1px solid rgba(184,150,12,0.3);
}
.badge-coming {
  display: inline-block;
  background: rgba(26,39,68,0.08); color: var(--navy);
  font-size: 16px; font-weight: 700; letter-spacing: 0.05em;
  padding: 3px 10px; border-radius: 50px;
}

/* ── Cards ── */
.card {
  background: white; border-radius: 20px;
  border: 1px solid rgba(26,39,68,0.07);
  box-shadow: 0 2px 16px rgba(26,39,68,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(26,39,68,0.1); }

/* ── Phone Mockup ── */
.phone-shell {
  width: 100%;
  max-width: 280px;
  border-radius: 40px;
  overflow: hidden;
  border: 4px solid rgba(26,39,68,0.12);
  box-shadow: 0 24px 60px rgba(26,39,68,0.18);
  background: white;
  position: relative;
}
.phone-status {
  background: var(--navy);
  padding: 10px 20px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.phone-status span { color: white; font-size: 12px; font-weight: 600; }
.phone-header {
  background: var(--navy);
  padding: 4px 16px 14px;
}
.phone-body { background: white; padding: 12px; }

/* ── Stats ── */
.stats-row { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(26,39,68,0.1); }
.stat-val { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.stat-label { font-size: 16px; color: var(--text-muted); margin-top: 2px; }

/* ── Feature Row ── */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }
.feature-list { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; color: #4B5563; }
.feature-list li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.feature-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.25rem; color: var(--gold); font-size: 16px; font-weight: 600; text-decoration: none; transition: gap 0.2s; }
.feature-link:hover { gap: 10px; }

/* ── Pricing ── */
.pricing-toggle { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 3rem; }
.toggle-label { font-size: 17px; font-weight: 600; color: var(--text-muted); }
.toggle-switch { position: relative; width: 52px; height: 28px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0; cursor: pointer;
  background: rgba(26,39,68,0.15); border-radius: 50px;
  transition: 0.3s;
}
.toggle-slider:before {
  content: ''; position: absolute;
  width: 22px; height: 22px; left: 3px; bottom: 3px;
  background: white; border-radius: 50%; transition: 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
input:checked + .toggle-slider { background: var(--navy); }
input:checked + .toggle-slider:before { transform: translateX(24px); }
.save-badge { background: var(--gold); color: white; font-size: 16px; font-weight: 700; padding: 2px 8px; border-radius: 50px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.pricing-card { background: white; border-radius: 24px; padding: 2rem; border: 1.5px solid rgba(26,39,68,0.08); position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,39,68,0.1); }
.recommended-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: white; font-size: 16px; font-weight: 700; padding: 4px 14px; border-radius: 50px; white-space: nowrap; }
.price-amount { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; }
.price-period { font-size: 16px; color: var(--text-muted); }
.plan-features { list-style: none; margin: 1.25rem 0; display: flex; flex-direction: column; gap: 8px; }
.plan-features li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: #4B5563; }
.plan-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

/* ── Footer ── */
footer { background: var(--navy); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand-desc { font-size: 16px; color: rgba(255,255,255,0.5); margin-top: 10px; line-height: 1.7; }
.footer-col h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 12px; letter-spacing: 0.04em; }
.footer-col a { display: block; font-size: 16px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.35); }

/* ── Page Header ── */
.page-header { padding: 120px 0 60px; background: var(--navy); text-align: center; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: white; margin-bottom: 12px; }
.page-header p { font-size: 19px; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto; }

/* ── Form ── */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid rgba(26,39,68,0.15);
  border-radius: 12px; font-size: 17px;
  font-family: 'Noto Sans TC', sans-serif;
  color: var(--navy); background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,12,0.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Contact Card ── */
.contact-card {
  background: white; border-radius: 18px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(26,39,68,0.08);
  box-shadow: 0 2px 12px rgba(26,39,68,0.04);
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}

/* ── Hero Centered ── */
.hero-centered { max-width:820px; margin:0 auto; text-align:center; }
.hero-badge-wrap {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(184,150,12,0.1); border:1px solid rgba(184,150,12,0.25);
  border-radius:50px; padding:6px 16px; margin-bottom:1.5rem;
}
.hero-subtitle {
  font-size:16px; color:#4B5563; margin-top:1.25rem;
  max-width:640px; margin-left:auto; margin-right:auto; line-height:1.75;
}
.hero-stats-row {
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:2.5rem; padding-top:2rem; margin-top:1.5rem;
  border-top:1px solid rgba(26,39,68,0.1);
}
.hero-video-wrap {
  margin-top:2.5rem; border-radius:24px; overflow:hidden;
  box-shadow:0 12px 40px rgba(26,39,68,0.15);
  background:var(--navy); aspect-ratio:16/9; width:100%;
}
.hero-cta-row {
  display:flex; gap:1rem; justify-content:center;
  flex-wrap:wrap; margin-top:2rem;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-row.reverse .feature-text { order: 1; }
  .feature-row.reverse .feature-visual { order: 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== 平板及以下屏幕显示移动端导航登录/注册按钮 ===== */
@media (max-width: 1024px) {
  .nav-mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
    margin-right: 0.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }

  /* 移动端登录按钮 */
  .nav-mobile-actions .btn-mobile-login {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    padding: 6px 12px;
    border: 1.5px solid rgba(26, 39, 68, 0.25);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .nav-mobile-actions .btn-mobile-login:hover {
    background: rgba(26, 39, 68, 0.05);
  }

  /* 移动端注册按钮 */
  .nav-mobile-actions .btn-mobile-register {
    font-size: 13px;
    font-weight: 700;
    color: white;
    background: var(--gold);
    padding: 6px 14px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(184, 150, 12, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
  }

  .nav-mobile-actions .btn-mobile-register:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
  }

  .section-hero { padding: 100px 0 60px; }
  .phone-shell { width: 100%; max-width: 240px; }
  .stats-row { gap: 1.5rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Animations ── */
@keyframes fadeInUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ===== 小屏手机适配 (≤480px) ===== */
@media (max-width: 480px) {
  /* 容器内边距缩小 */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* 首页统计数字：4列 → 2列 */
  .stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }
  .stats-row > div {
    text-align: center;
  }
  .stat-val {
    font-size: 1.4rem;
  }

  /* 首页/功能页的特性网格 → 单列 */
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-row.reverse .feature-text {
    order: 1;
  }
  .feature-row.reverse .feature-visual {
    order: 2;
  }

  /* 定价卡片网格 → 单列 */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  /* 关于页面的价值观三列 → 单列 */
  .section-white > .container > div > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* 关于页面的统计四列 → 二列 */
  .section-gray .container > div {
    grid-template-columns: 1fr 1fr !important;
    gap: 1rem;
  }

  /* 手机模拟器进一步缩小 */
  .phone-shell {
    max-width: 220px;
  }

  /* 表单网格 → 单列 */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* 页眉内边距缩小 */
  .page-header {
    padding: 100px 0 40px;
  }
  .page-header h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  /* 各段落内边距调整 */
  .section-hero,
  .section-light,
  .section-white,
  .section-dark,
  .section-gray {
    padding: 50px 0;
  }

  /* 按钮调整为全宽或更易点击 */
  .btn-gold,
  .btn-outline-navy,
  .btn-outline-white {
    padding: 10px 18px;
    font-size: 16px;
  }

  /* 移动端登录、注册按钮增加内边距，拉开文字与边框距离 */
  .btn-login {
    padding: 12px 28px;
    font-size: 16px;
  }

  .btn-register {
    padding: 12px 32px;
    font-size: 16px;
  }
  .hero-grid .btn-gold,
  .hero-grid .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  /* 导航栏内边距调整，防止溢出 */
  .nav-inner {
    padding: 0 1rem;
    height: 60px;
  }
  .nav-logo-text {
    font-size: 19px;
  }
  .mobile-menu {
    padding: 0.5rem 1rem;
  }

  /* footer 内边距调整 */
  footer {
    padding: 2rem 0 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  /* 联系卡片（about.html）两列→单列 */
  .section-light .container > div > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* 一些内联flex容器的间距调整（如feature-list里的图标） */
  .feature-list li {
    font-size: 16px;
  }
  .feature-list li::before {
    font-size: 17px;
  }

  /* 手机模拟器内的文字微调，防止溢出 */
  .phone-body {
    padding: 8px;
  }
  .phone-body .flex-wrap {
    flex-wrap: wrap;
  }

  /* 确保图片不溢出 */
  img {
    max-width: 100%;
    height: auto;
  }

  /* 表格或列表换行 */
  .plan-features li {
    font-size: 14px;
  }

  /* 统计数字内的文字 */
  .stat-label {
    font-size: 12px;
  }
}

/* ===== 首页 Hero 上下布局适配 ===== */
@media (max-width: 768px) {
  .hero-centered {
    padding: 0 0.5rem;
  }
  .hero-centered .display-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }
  .hero-centered .stats-row.centered {
    gap: 1.5rem;
  }
  .hero-centered .stats-row.centered .stat-val {
    font-size: 1.3rem;
  }
  .hero-centered .stats-row.centered .stat-label {
    font-size: 12px;
  }
  .hero-centered video {
    border-radius: 12px;
  }
  .hero-centered .btn-gold,
  .hero-centered .btn-outline-navy {
    font-size: 16px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .hero-centered .stats-row.centered {
    gap: 1rem;
  }
  .hero-centered .stats-row.centered .stat-val {
    font-size: 1.1rem;
  }
  .hero-centered .stats-row.centered .stat-label {
    font-size: 11px;
  }
  .hero-centered .btn-gold,
  .hero-centered .btn-outline-navy {
    width: 100%;
    justify-content: center;
  }
}

/* ===== 订阅方案卡片点击高亮 ===== */
.pricing-card {
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.pricing-card.selected {
  border-color: #B8960C;
  box-shadow: 0 8px 32px rgba(184, 150, 12, 0.25);
  background: #FFFDF5;
  transform: translateY(-4px);
}

.pricing-card.selected .price-amount {
  color: #1A2744;
}

/* ===== 定价卡片按钮：默认灰色边框，选中变金色 ===== */

/* 1. 覆盖 .btn-gold 的默认金色样式，改为灰色边框+黑色文字 */
.pricing-card .btn-gold {
  background: transparent !important;
  color: var(--navy) !important;
  border: 2px solid rgba(26, 39, 68, 0.25) !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.pricing-card .btn-gold:hover {
  background: rgba(26, 39, 68, 0.05) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* 2. 卡片被选中时，按钮变为金色实心 */
.pricing-card.selected .btn-gold {
  background: var(--gold) !important;
  color: white !important;
  border: 2px solid var(--gold) !important;
  box-shadow: 0 4px 14px rgba(184, 150, 12, 0.35) !important;
}

.pricing-card.selected .btn-gold:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(184, 150, 12, 0.45) !important;
}

/* ============================================================
   联系顾问双按钮（头像 + 文字）
   ============================================================ */

/* 容器：固定定位，右侧垂直排列 */
.contact-advisor-wrapper {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 单个按钮基础样式 */
.contact-advisor-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #B8960C, #D4AF37);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  user-select: none;
  box-shadow: 0 4px 20px rgba(184, 150, 12, 0.35);
}

/* 头像按钮：圆形 */
.contact-advisor-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 3px;
  flex-shrink: 0;
}
.contact-advisor-avatar:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(184, 150, 12, 0.55);
}
.contact-advisor-avatar:active {
  transform: scale(0.94);
}

/* 头像图片 */
.contact-btn-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

/* 文字按钮：圆角矩形，竖排文字 */
.contact-advisor-text {
  width: 48px;
  padding: 12px 0;
  border-radius: 12px;
  writing-mode: vertical-lr;
  letter-spacing: 3px;
}
.contact-advisor-text:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 28px rgba(184, 150, 12, 0.55);
}
.contact-advisor-text:active {
  transform: scale(0.96);
}

.contact-btn-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
}

.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 39, 68, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.contact-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  position: relative;
  width: 440px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 80px rgba(26, 39, 68, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  opacity: 0;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #B8960C, #D4AF37) 1;
}
.contact-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(26, 39, 68, 0.06);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-modal-close:hover {
  background: #B8960C;
  color: #fff;
  transform: rotate(90deg);
}

.contact-modal-header {
  margin-bottom: 20px;
  padding-right: 28px;
}
.contact-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: #1A2744;
  background: linear-gradient(135deg, #B8960C, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-modal-body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.contact-avatar-wrap {
  flex-shrink: 0;
}
.contact-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #B8960C;
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.12);
  display: block;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #1A2744;
}
.contact-info-icon {
  font-size: 18px;
  line-height: 1;
}
.contact-phone-link {
  font-size: 20px;
  font-weight: 700;
  color: #B8960C;
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline-block;
}
.contact-phone-link:hover {
  color: #D4AF37;
  text-decoration: underline;
}

.contact-divider {
  width: 60px;
  height: 3px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg, #B8960C, #D4AF37);
  border-radius: 2px;
}

.contact-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.contact-service-item {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.contact-modal-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  text-align: center;
  background: linear-gradient(135deg, #B8960C, #D4AF37);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(184, 150, 12, 0.3);
  letter-spacing: 1px;
}
.contact-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 150, 12, 0.4);
}

@media (max-width: 768px) {
  .contact-advisor-wrapper { right: 16px; gap: 8px; }
  .contact-advisor-avatar { width: 44px; height: 44px; padding: 2px; }
  .contact-advisor-text { width: 40px; padding: 10px 0; border-radius: 10px; }
  .contact-btn-text { font-size: 12px; letter-spacing: 2px; }
  .contact-modal { padding: 24px 18px 20px; max-width: 94vw; }
  .contact-modal-title { font-size: 18px; }
  .contact-modal-body { flex-direction: column; text-align: center; gap: 14px; }
  .contact-avatar { width: 80px; height: 80px; }
  .contact-info { align-items: center; }
  .contact-phone-link { font-size: 18px; }
  .contact-service-item { font-size: 14px; text-align: center; }
  .contact-modal-btn { font-size: 15px; padding: 12px 0; }
}

@media (max-width: 480px) {
  .contact-advisor-wrapper { right: 10px; gap: 6px; }
  .contact-advisor-avatar { width: 38px; height: 38px; padding: 2px; }
  .contact-advisor-text { width: 34px; padding: 8px 0; border-radius: 8px; }
  .contact-btn-text { font-size: 10px; letter-spacing: 1px; }
  .contact-modal { padding: 20px 14px 18px; border-radius: 18px; }
  .contact-modal-title { font-size: 16px; }
  .contact-avatar { width: 68px; height: 68px; border-width: 2px; }
  .contact-phone-link { font-size: 16px; }
  .contact-service-item { font-size: 13px; }
  .contact-modal-btn { font-size: 14px; padding: 10px 0; }
  .contact-modal-close { width: 28px; height: 28px; font-size: 15px; top: 10px; right: 12px; }
}


