/* 缘来婚恋 · 官网公共样式 */
:root {
  --primary: #d64b6a;
  --primary-dark: #b83654;
  --primary-soft: #fff0f3;
  --accent: #c9a86c;
  --text: #1a1a2e;
  --text-secondary: #4a4a5a;
  --muted: #7a7a8c;
  --border: #f0e0e4;
  --card: #ffffff;
  --bg: #faf8f9;
  --shadow: 0 16px 48px rgba(182, 54, 84, 0.08);
  --radius: 16px;
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: var(--primary-dark);
}
.brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-secondary); }
.nav-links a { transition: color .2s; position: relative; padding: 4px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.nav-cta {
  padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 4px 16px rgba(214,75,106,.3);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(214,75,106,.4); }

section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .label { font-size: 13px; font-weight: 600; color: var(--primary); letter-spacing: .06em; margin-bottom: 10px; }
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 8px 24px rgba(214,75,106,.32);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(214,75,106,.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  background: #fff; color: var(--primary-dark); border: 1.5px solid var(--border);
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--primary); background: var(--primary-soft); }

.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; text-align: center; padding: 64px 24px;
  border-radius: 24px; margin: 0 24px 72px; max-width: calc(var(--max) + 48px);
  margin-left: auto; margin-right: auto;
}
.cta h2 { font-size: 28px; margin-bottom: 12px; }
.cta p { font-size: 16px; opacity: .88; margin-bottom: 28px; }
.cta .btn-white {
  display: inline-flex; padding: 14px 32px; border-radius: 999px;
  background: #fff; color: var(--primary-dark); font-weight: 600; font-size: 15px;
  transition: transform .2s;
}
.cta .btn-white:hover { transform: scale(1.04); }

footer {
  background: var(--text); color: rgba(255,255,255,.7);
  padding: 48px 0 32px; font-size: 13px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-desc { line-height: 1.7; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 8px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; color: rgba(255,255,255,.45); }

.page-hero {
  background: linear-gradient(160deg, #fff5f7 0%, #faf8f9 60%, #f5f0ff 100%);
  padding: 56px 0 48px; text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: var(--muted); max-width: 640px; margin: 0 auto; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .cta { margin: 0 16px 48px; border-radius: 16px; }
}

/* icons.css helpers — emoji replaced by .yi */
.portal-icon, .module-icon, .feature-icon, .channel-icon,
.arch-box .icon, .sec-card .icon, .mvv-card .icon, .trust-item .ti {
  font-size: 0; line-height: 0;
}
.portal-icon .yi, .module-icon .yi, .feature-icon .yi, .channel-icon .yi,
.arch-box .icon .yi, .sec-card .icon .yi, .mvv-card .icon .yi, .trust-item .ti .yi {
  font-size: 22px; width: 22px; height: 22px;
}
.trust-item .ti {
  width: 48px; height: 48px; margin: 0 auto 10px;
  border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
}
