/* ============================================================
   优爱嘉缘 · 广州脱单相亲平台  共享样式
   ============================================================ */
:root {
  --rose: #e64560;
  --rose-deep: #c22745;
  --rose-soft: #fdeef1;
  --gold: #d4a24e;
  --ink: #3a2a2e;
  --ink-light: #7a656b;
  --paper: #fff9f4;
  --white: #ffffff;
  --shadow-lg: 0 24px 60px -20px rgba(194, 39, 69, .25);
  --shadow-sm: 0 8px 24px -8px rgba(194, 39, 69, .18);
  --radius: 18px;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 纸张颗粒质感 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: radial-gradient(rgba(194,39,69,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

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

.wrap { width: min(1120px, 92%); margin: 0 auto; position: relative; z-index: 1; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 249, 244, .85);
  border-bottom: 1px solid rgba(194, 39, 69, .1);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50% 50% 50% 12%;
  background: linear-gradient(135deg, var(--rose), #ff7d9c);
  display: grid; place-items: center;
  color: #fff; font-size: 20px;
  box-shadow: var(--shadow-sm);
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}
.brand-name em { font-style: normal; color: var(--rose); }
.brand-tag { font-size: 11px; color: var(--ink-light); letter-spacing: 3px; display: block; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--rose); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--rose);
  transition: width .25s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  font-family: var(--sans);
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--rose);
  border: 1.5px solid rgba(230, 69, 96, .45);
}
.btn-ghost:hover { background: var(--rose-soft); }
.btn-lg { padding: 14px 36px; font-size: 17px; }
.btn-danger {
  background: transparent;
  color: var(--rose-deep);
  border: 1.5px solid rgba(194, 39, 69, .4);
}
.btn-danger:hover { background: var(--rose-soft); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,249,244,.96) 38%, rgba(255,249,244,.7) 58%, rgba(255,249,244,.25) 100%),
    url('../images/banner.jpg') center right/cover no-repeat,
    linear-gradient(180deg, #fff5f1, var(--paper));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  font-weight: 700;
}
.hero h1 .accent {
  color: var(--rose);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(255, 205, 214, .6);
  z-index: -1;
  border-radius: 6px;
}
.hero p.lead {
  margin: 22px 0 34px;
  font-size: 17px;
  color: var(--ink-light);
  max-width: 480px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px dashed rgba(194, 39, 69, .25);
}
.hero-stats .num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--rose-deep);
}
.hero-stats .num span { font-size: 14px; color: var(--ink-light); font-family: var(--sans); margin-left: 4px; }
.hero-stats .label { font-size: 13px; color: var(--ink-light); letter-spacing: 1px; }

/* ---------------- 通用分区 ---------------- */
.section { padding: 90px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, #fff3ee, #fff9f4); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: var(--serif);
}
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
}
.sec-head h2 em { font-style: normal; color: var(--rose); }
.sec-head .sub { color: var(--ink-light); margin-top: 12px; font-size: 15px; }

/* 服务卡片 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(194, 39, 69, .07);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card .icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--rose-soft);
  display: grid; place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.svc-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; }
.svc-card p { font-size: 14px; color: var(--ink-light); }

/* 服务流程 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.flow-item { text-align: center; padding: 0 18px; position: relative; }
.flow-item::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: rgba(230, 69, 96, .18);
  display: block;
  line-height: 1;
  margin-bottom: 14px;
}
.flow-item h4 { font-family: var(--serif); font-size: 17px; margin-bottom: 8px; }
.flow-item p { font-size: 13px; color: var(--ink-light); }
.flow-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px; top: 8px;
  color: rgba(230, 69, 96, .35);
  font-size: 22px;
}

/* 喜报卡片 */
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(194, 39, 69, .07);
  transition: transform .25s, box-shadow .25s;
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.story-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 会员套餐 */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan {
  background: var(--white);
  border-radius: 22px;
  padding: 36px 30px;
  border: 1px solid rgba(194, 39, 69, .08);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan.hot {
  background: linear-gradient(165deg, #fff, #fff2f0);
  border: 2px solid var(--rose);
  position: relative;
}
.plan .hot-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.plan h3 { font-family: var(--serif); font-size: 20px; text-align: center; }
.plan .price {
  text-align: center;
  margin: 16px 0 22px;
  font-family: var(--serif);
}
.plan .price b { font-size: 42px; color: var(--rose-deep); }
.plan .price span { font-size: 14px; color: var(--ink-light); }
.plan ul { flex: 1; margin-bottom: 26px; }
.plan ul li {
  font-size: 14px;
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ink);
  border-bottom: 1px dashed rgba(194, 39, 69, .12);
}
.plan ul li::before {
  content: "♥";
  position: absolute; left: 2px;
  color: var(--rose);
  font-size: 12px;
}

/* 红娘团队 */
.matchmaker {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(194, 39, 69, .07);
  transition: transform .25s;
}
.matchmaker:hover { transform: translateY(-6px); }
.matchmaker .avatar {
  width: 84px; height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 34px;
  color: #fff;
  box-shadow: var(--shadow-sm);
  border: 3px solid #fff;
}
.matchmaker h3 { font-family: var(--serif); font-size: 18px; }
.matchmaker .title { font-size: 12px; color: var(--gold); letter-spacing: 2px; margin: 4px 0 10px; }
.matchmaker p { font-size: 13px; color: var(--ink-light); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 14px;
  border: 1px solid rgba(194, 39, 69, .08);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--rose);
  font-size: 22px;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-light);
}

/* 联系 CTA */
.cta-band {
  background: linear-gradient(135deg, var(--rose-deep), var(--rose) 60%, #ff7d9c);
  border-radius: 26px;
  padding: 60px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "♥";
  position: absolute;
  right: -30px; top: -40px;
  font-size: 220px;
  opacity: .08;
}
.cta-band h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.cta-band p { opacity: .92; font-size: 15px; }
.cta-band .phone-big {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 2px;
}
.cta-band .btn {
  background: #fff;
  color: var(--rose-deep);
  font-weight: 600;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #2c1d21;
  color: rgba(255, 255, 255, .75);
  padding: 60px 0 30px;
  margin-top: 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { width: 38px; height: 38px; font-size: 17px; }
.site-footer p { font-size: 13px; line-height: 1.9; margin-top: 14px; }
.footer-col h4 {
  font-family: var(--serif);
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.footer-col li { margin-bottom: 10px; font-size: 13px; }
.footer-col a:hover { color: #ff9db0; }
.footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
  line-height: 2;
}
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #ff9db0; }

/* ---------------- 表单页（注册/登录/会员中心共用） ---------------- */
.auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 4%;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(255, 183, 197, .4), transparent),
    radial-gradient(600px 380px at 0% 100%, rgba(255, 224, 210, .5), transparent),
    linear-gradient(180deg, #fff5f1, var(--paper));
}
.auth-card {
  width: min(520px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 44px 44px 38px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(194, 39, 69, .08);
  position: relative;
  z-index: 1;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--rose), #ffb36b);
}
.auth-card.wide { width: min(860px, 100%); }
.auth-card h1 {
  font-family: var(--serif);
  font-size: 26px;
  text-align: center;
  margin-bottom: 6px;
}
.auth-card .auth-sub {
  text-align: center;
  color: var(--ink-light);
  font-size: 14px;
  margin-bottom: 30px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-field label .req { color: var(--rose); margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 11px 14px;
  border: 1.5px solid rgba(194, 39, 69, .18);
  border-radius: 12px;
  background: #fffdfb;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(230, 69, 96, .12);
}
.form-hint { font-size: 12px; color: var(--ink-light); }
.form-error {
  background: #fdeef1;
  color: var(--rose-deep);
  border: 1px solid rgba(194, 39, 69, .25);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 18px;
  display: none;
}
.form-error.show { display: block; }
.form-actions { margin-top: 24px; }
.form-actions .btn { width: 100%; }
.auth-alt {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-light);
}
.auth-alt a { color: var(--rose); font-weight: 600; }
.auth-alt a:hover { text-decoration: underline; }
.agreement {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.6;
}
.agreement input { margin-top: 3px; accent-color: var(--rose); width: auto; }
.agreement a { color: var(--rose); font-weight: 600; }
.agreement a:hover { text-decoration: underline; }

/* 演示账号提示框 */
.demo-box {
  background: var(--rose-soft);
  border: 1px dashed rgba(194, 39, 69, .35);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 22px;
  text-align: center;
}
.demo-box-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--rose-deep);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.demo-box-info {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
}
.demo-box-info strong {
  font-family: var(--serif);
  color: var(--rose-deep);
  letter-spacing: 1px;
}
.demo-box .btn { padding: 8px 22px; font-size: 13.5px; }

/* ---------------- 会员中心 ---------------- */
.member-head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}
.member-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #ff8fa8);
  color: #fff;
  display: grid; place-items: center;
  font-size: 34px;
  font-family: var(--serif);
  flex-shrink: 0;
  border: 3px solid var(--rose-soft);
  box-shadow: var(--shadow-sm);
}
.member-head h1 { font-family: var(--serif); font-size: 24px; }
.member-head .sub { font-size: 13.5px; color: var(--ink-light); margin-top: 4px; }
.member-tags { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.member-tags span {
  background: var(--rose-soft);
  color: var(--rose-deep);
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
}
.member-section {
  border-top: 1px dashed rgba(194, 39, 69, .18);
  margin-top: 30px;
  padding-top: 26px;
}
.member-section h2 {
  font-family: var(--serif);
  font-size: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.member-section h2::before {
  content: "";
  width: 4px; height: 18px;
  border-radius: 4px;
  background: var(--rose);
}
.info-table { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.info-row { font-size: 14px; display: flex; gap: 10px; }
.info-row .k { color: var(--ink-light); flex-shrink: 0; min-width: 72px; }
.info-row .v { font-weight: 500; }
.progress-wrap { margin-bottom: 8px; }
.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--rose-soft);
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), #ff9db0);
  transition: width .6s ease;
}
.progress-text { font-size: 12.5px; color: var(--ink-light); margin-top: 6px; text-align: right; }
.member-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.member-toast {
  position: fixed;
  bottom: 34px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.member-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- 协议/政策页 ---------------- */
.legal-page {
  min-height: calc(100vh - 72px);
  padding: 56px 0 80px;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(255, 183, 197, .25), transparent),
    radial-gradient(600px 380px at 0% 100%, rgba(255, 224, 210, .35), transparent),
    linear-gradient(180deg, #fff5f1, var(--paper));
}
.legal-card {
  width: min(860px, 92%);
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(194, 39, 69, .08);
  position: relative;
  z-index: 1;
}
.legal-card::before {
  content: "";
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 5px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--rose), #ffb36b);
}
.legal-card h1 {
  font-family: var(--serif);
  font-size: 28px;
  text-align: center;
  margin-bottom: 8px;
}
.legal-updated {
  text-align: center;
  color: var(--ink-light);
  font-size: 13px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(194, 39, 69, .2);
}
.legal-body h2 {
  font-family: var(--serif);
  font-size: 19px;
  margin: 28px 0 12px;
  color: var(--rose-deep);
}
.legal-body h3 {
  font-family: var(--serif);
  font-size: 16px;
  margin: 20px 0 8px;
  color: var(--ink);
}
.legal-body p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 10px;
}
.legal-body ul { margin: 0 0 12px; list-style: none; }
.legal-body ul li {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.9;
  padding-left: 22px;
  position: relative;
  margin-bottom: 4px;
}
.legal-body ul li::before {
  content: "♥";
  position: absolute; left: 0; top: 2px;
  color: var(--rose);
  font-size: 11px;
}
.legal-body strong { color: var(--rose-deep); }
.legal-body a { color: var(--rose); text-decoration: underline; }
.legal-body .lead-note {
  background: var(--rose-soft);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 22px;
}
.legal-back {
  text-align: center;
  margin-top: 36px;
}
.legal-back .btn { min-width: 180px; }

/* ---------------- 弹窗 ---------------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(44, 29, 33, .55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: 24px;
  padding: 44px 40px 36px;
  width: min(440px, 100%);
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalPop .25s ease;
}
@keyframes modalPop {
  from { transform: scale(.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 26px;
  color: var(--ink-light);
  cursor: pointer;
  line-height: 1;
  user-select: none;
}
.modal-close:hover { color: var(--rose); }
.modal-icon { font-size: 46px; margin-bottom: 12px; }
.modal-card h3 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ink);
}
.modal-card > p {
  font-size: 14.5px;
  color: var(--ink-light);
  line-height: 1.8;
  margin-bottom: 16px;
}
.modal-phone {
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 4px;
}
.modal-phone strong {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--rose-deep);
  letter-spacing: 1px;
  font-weight: 700;
}
.modal-time { font-size: 13px; color: var(--ink-light); margin-bottom: 4px; }
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .plan-grid { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .flow-item:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .grid-3, .grid-4, .plan-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-item::after { display: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 34px 22px; }
  .legal-card h1 { font-size: 23px; }
  .info-table { grid-template-columns: 1fr; }
  .auth-card { padding: 34px 24px 30px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .cta-band { padding: 44px 28px; }
}
