/* ============================================================
   中付支付手刷MPOS 官网样式
   深铁蓝灰匹惠风 — ZFPay MPOS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;600;700;800;900&display=swap');

/* ------------------------------
   CSS 变量
------------------------------ */
:root {
  --zf-iron: #1A2230;
  --zf-iron-light: #2A3240;
  --match-purple: #8B5CF6;
  --rate-gold: #F59E0B;
  --bg-page: #E5E8EB;
  --text-dark: #080A0D;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --border-light: #E2E8F0;
  --border-mid: #CBD5E1;
  --shadow-sm: 0 1px 2px rgba(26, 34, 48, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 34, 48, 0.08);
  --shadow-lg: 0 8px 30px rgba(26, 34, 48, 0.12);
  --shadow-xl: 0 12px 40px rgba(26, 34, 48, 0.16);
  --shadow-iron: 0 4px 20px rgba(26, 34, 48, 0.2);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-cn: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'DM Sans', 'Noto Sans SC', -apple-system, sans-serif;
  --max-width: 1200px;
  --nav-height: 68px;
}

/* ------------------------------
   Reset & Base
------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------
   Typography
------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.number, .digit {
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------
   导航栏
------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-iron);
  border-bottom-color: rgba(26, 34, 48, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cn);
  font-weight: 800;
  font-size: 22px;
  color: var(--zf-iron);
  letter-spacing: -0.5px;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--zf-iron), var(--zf-iron-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  font-family: var(--font-en);
  position: relative;
  overflow: hidden;
}

.nav-logo-icon::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: var(--match-purple);
  border-radius: 3px;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--match-purple);
  background: rgba(139, 92, 246, 0.06);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 22px !important;
  background: linear-gradient(135deg, var(--match-purple), #7C3AED) !important;
  color: var(--white) !important;
  border-radius: var(--radius-md) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--match-purple), #7C3AED) !important;
  color: var(--white) !important;
}

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--zf-iron);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(139, 92, 246, 0.06);
  color: var(--match-purple);
}

.mobile-menu a.cta-mobile {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--match-purple), #7C3AED);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-md);
}

/* ------------------------------
   Hero Section
------------------------------ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--zf-iron) 0%, var(--zf-iron-light) 60%, #232B3A 100%);
  padding: 140px 24px 100px;
  margin-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloatA 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroFloatB 10s ease-in-out infinite;
}

@keyframes heroFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.08); }
}

@keyframes heroFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-15px, 25px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: heroFadeIn 0.8s ease-out;
}

.hero-badge span.pu {
  color: var(--match-purple);
  font-weight: 700;
}

.hero-badge span.hui {
  color: var(--rate-gold);
  font-weight: 700;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  animation: heroFadeIn 0.8s ease-out 0.1s both;
  line-height: 1.15;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--match-purple), #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title strong {
  font-style: normal;
  background: linear-gradient(135deg, var(--rate-gold), #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  animation: heroFadeIn 0.8s ease-out 0.2s both;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroFadeIn 0.8s ease-out 0.3s both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 32px;
  font-family: var(--font-cn);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--match-purple), #7C3AED);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-iron {
  background: transparent;
  color: var(--zf-iron);
  border: 1.5px solid var(--zf-iron);
}

.btn-outline-iron:hover {
  background: var(--zf-iron);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--rate-gold), #FBBF24);
  color: #1A1A1A;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.45);
  transform: translateY(-2px);
}

/* ------------------------------
   Section Common
------------------------------ */
.section {
  padding: 80px 24px;
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.pu-accent {
  color: var(--match-purple);
  font-weight: 700;
}

.hui-accent {
  color: var(--rate-gold);
  font-weight: 700;
}

/* ------------------------------
   匹惠板块（左图右文）
------------------------------ */
.pihui-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pihui-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--zf-iron), var(--zf-iron-light));
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pihui-image-inner {
  text-align: center;
  color: var(--white);
  padding: 32px;
}

.pihui-image-inner .big-number {
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
}

.pihui-image-inner .big-number.pu-num {
  color: var(--match-purple);
}

.pihui-image-inner .big-number.hui-num {
  color: var(--rate-gold);
}

.pihui-image-inner .label-text {
  font-size: 16px;
  margin-top: 8px;
  opacity: 0.75;
}

.pihui-text h3 {
  font-size: 26px;
  margin-bottom: 16px;
  font-weight: 800;
}

.pihui-text p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ------------------------------
   错落卡片（不等宽）
------------------------------ */
.cards-stagger {
  display: grid;
  grid-template-columns: 55fr 43fr;
  gap: 24px;
}

.card-uneven {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.card-uneven:hover {
  box-shadow: var(--shadow-lg);
}

.card-uneven .card-number {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
}

.card-uneven .card-number.pu {
  color: var(--match-purple);
}

.card-uneven .card-number.hui {
  color: var(--rate-gold);
}

.card-uneven h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card-uneven p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------
   费率板块（居左）
-------------------------------- */
.rate-block {
  text-align: left;
  max-width: 640px;
}

.rate-block .rate-highlight {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 900;
  color: var(--rate-gold);
  line-height: 1;
  margin-bottom: 12px;
}

.rate-block p {
  font-size: 16px;
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ------------------------------
   对比表格
------------------------------ */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.compare-table thead th {
  background: linear-gradient(135deg, var(--zf-iron), var(--zf-iron-light));
  color: var(--white);
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.3px;
}

.compare-table thead th:first-child {
  text-align: left;
  padding-left: 28px;
  border-radius: var(--radius-lg) 0 0 0;
}

.compare-table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.compare-table thead th.zfpay-col {
  background: linear-gradient(135deg, var(--match-purple), #7C3AED);
}

.compare-table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  vertical-align: middle;
}

.compare-table tbody td:first-child {
  text-align: left;
  padding-left: 28px;
  font-weight: 600;
  min-width: 160px;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  color: var(--match-purple);
  font-size: 12px;
  font-weight: 700;
}

.compare-table .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  font-size: 12px;
}

.compare-table .partial {
  font-size: 13px;
  color: var(--rate-gold);
  font-weight: 500;
}

/* ------------------------------
   底部申请区
------------------------------ */
.cta-section {
  background: linear-gradient(160deg, var(--zf-iron), var(--zf-iron-light));
  text-align: center;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
  font-size: 15px;
}

.cta-section .btn {
  font-size: 16px;
  padding: 16px 40px;
}

/* ------------------------------
   Hero 子页（略矮）
------------------------------ */
.hero-page {
  min-height: 320px;
  padding: 120px 24px 60px;
  margin-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-page.hero-purple {
  background: linear-gradient(160deg, #7C3AED, var(--match-purple));
}

.hero-page.hero-purple::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-page.hero-gold {
  background: linear-gradient(160deg, #D97706, var(--rate-gold));
}

.hero-page.hero-gold::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-page.hero-iron {
  background: linear-gradient(160deg, var(--zf-iron), var(--zf-iron-light));
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-page.hero-iron::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -40px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-page .hero-page-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-page .hero-page-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-page .hero-page-title {
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.hero-page .hero-page-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 480px;
  margin: 0 auto;
}

/* ------------------------------
   三方对比（智能匹配页）
------------------------------ */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.comparison-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}

.comparison-card:hover {
  box-shadow: var(--shadow-lg);
}

.comparison-card.featured {
  border: 2px solid var(--match-purple);
  position: relative;
}

.comparison-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--match-purple);
  color: var(--white);
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.comparison-card .comp-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}

.comparison-card .comp-icon.pu {
  background: rgba(139, 92, 246, 0.1);
  color: var(--match-purple);
}

.comparison-card .comp-icon.muted {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
}

.comparison-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.comparison-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ------------------------------
   错落优势卡片
------------------------------ */
.advantages-mixed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.adv-row-wide {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--match-purple);
}

.adv-row-wide h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.adv-row-wide p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.adv-row-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card-small {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  text-align: center;
}

.adv-card-small .adv-number {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.adv-card-small h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.adv-card-small p {
  font-size: 13px;
  color: var(--text-muted);
}

.adv-row-bg {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(139, 92, 246, 0.02));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.adv-row-bg h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.adv-row-bg p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  max-width: 600px;
}

/* 费率页错落 */
.rate-adv-mixed {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rate-adv-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.rate-adv-num {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 900;
  flex-shrink: 0;
  width: 100px;
  text-align: center;
  line-height: 1;
}

.rate-adv-num.gold {
  color: var(--rate-gold);
}

.rate-adv-text h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.rate-adv-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ------------------------------
   费率说明框
------------------------------ */
.rate-explain-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  max-width: 680px;
}

.rate-explain-box h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.rate-explain-box .rate-big {
  font-family: var(--font-en);
  font-size: 80px;
  font-weight: 900;
  color: var(--rate-gold);
  line-height: 1;
  margin-bottom: 16px;
}

.rate-explain-box p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.rate-explain-box .note {
  font-size: 13px;
  color: var(--text-light);
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

/* ------------------------------
   FAQ 手风琴
------------------------------ */
.faq-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-family: var(--font-cn);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--match-purple);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ------------------------------
   四品牌对比表（大表头）
------------------------------ */
.brand-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.brand-compare-table thead th {
  background: var(--zf-iron);
  color: var(--white);
  padding: 20px 16px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}

.brand-compare-table thead th:first-child {
  text-align: left;
  padding-left: 32px;
}

.brand-compare-table thead th.zfpay {
  background: var(--match-purple);
}

.brand-compare-table tbody td {
  padding: 18px 16px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.brand-compare-table tbody td:first-child {
  text-align: left;
  padding-left: 32px;
  font-weight: 600;
}

.brand-compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ------------------------------
   页脚
------------------------------ */
.footer {
  background: linear-gradient(180deg, var(--zf-iron), var(--zf-iron-light));
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col p,
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
}

.footer-col a:hover {
  color: var(--match-purple);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.8;
}

/* ------------------------------
   表单
------------------------------ */
.form-inline {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.form-inline input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  font-family: var(--font-cn);
  font-size: 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.form-inline input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-inline input:focus {
  border-color: var(--match-purple);
}

.form-feedback {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.form-feedback.success {
  color: #4ADE80;
}

.form-feedback.error {
  color: #F87171;
}

/* ------------------------------
   Utils
------------------------------ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.fw-800 { font-weight: 800; }

/* ------------------------------
   Page-specific: smart-match 错落卡片
------------------------------ */
.match-card-a {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.match-card-a h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

.match-card-a p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.match-cards-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.match-card-three {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.match-card-three h4 {
  font-size: 17px;
  margin: 12px 0 6px;
}

.match-card-three p {
  font-size: 13px;
  color: var(--text-muted);
}

.match-card-bg {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(139, 92, 246, 0.02));
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid rgba(139, 92, 246, 0.12);
}

.match-card-bg h4 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--match-purple);
}

.match-card-bg p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ------------------------------
   Responsive
------------------------------ */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .pihui-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards-stagger {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .brand-compare-table thead th,
  .brand-compare-table tbody td {
    font-size: 13px;
    padding: 12px 10px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 440px;
    padding: 110px 20px 70px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-page .hero-page-title {
    font-size: 28px;
  }

  .section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .rate-block .rate-highlight {
    font-size: 44px;
  }

  .adv-row-triple {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rate-adv-item {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .rate-explain-box .rate-big {
    font-size: 56px;
  }

  .match-cards-three {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .compare-table-wrap {
    font-size: 12px;
  }

  .compare-table thead th,
  .compare-table tbody td {
    padding: 10px 12px;
    font-size: 12px;
  }

  .form-inline {
    flex-direction: column;
  }

  .form-inline input {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-page .hero-page-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .nav-logo {
    font-size: 17px;
  }

  .nav-logo-icon {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
}
