:root {
  --primary: #164a7b;
  --primary-dark: #0f3459;
  --primary-light: #e9f0f8;
  --action: #d9622f;
  --gold-soft: #fbeecd;
  --text: #1a1a1a;
  --text-secondary: #666;
  --text-muted: #999;
  --bg: #fbfaf7;
  --white: #fff;
  --border: #eee;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(22, 74, 123, 0.1);
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--text);
}

.site-header .logo-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  object-position: center center;
  flex-shrink: 0;
}

.logo > span:last-child {
  display: block;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Hero */
.hero {
  padding: 72px 0 80px;
  background: linear-gradient(160deg, #e8f2ff 0%, #f5f9ff 45%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.25;
  font-weight: 700;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--action);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(217, 98, 47, 0.3);
}

.btn-primary:hover {
  background: #bd4d22;
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mock {
  width: 280px;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 36px;
  box-shadow: var(--shadow), 0 20px 60px rgba(0, 0, 0, 0.15);
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
}

.mock-header {
  padding: 14px 16px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  font-size: 15px;
}

.mock-search {
  margin: 16px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.mock-tag {
  padding: 6px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 16px;
  font-size: 12px;
}

.mock-card {
  margin: 0 16px 12px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
}

.mock-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 8px;
  flex-shrink: 0;
}

.mock-card-text h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.mock-card-text p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  margin: 0 0 40px;
  color: var(--text-secondary);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card-head {
  padding: 24px;
  background: linear-gradient(135deg, var(--primary), #5aa8ff);
  color: var(--white);
}

.service-card-head h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.service-card-head p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.service-card-body {
  padding: 20px 24px 24px;
}

.service-card-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
}

.service-card-body li {
  margin-bottom: 8px;
}

/* CTA */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.cta-section p {
  margin: 0 0 28px;
  opacity: 0.9;
  font-size: 16px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.cta-section .btn-primary:hover {
  background: var(--primary-light);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-content h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.about-content p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.about-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.contact-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 20px;
  font-size: 18px;
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-item span {
  font-size: 15px;
  color: var(--text);
}

.qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 20px auto 0;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
}

/* Footer */
.site-footer {
  padding: 40px 0 24px;
  background: #1a2332;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand .logo-img {
  width: 36px;
  height: 36px;
}

.footer-brand p {
  margin: 0;
  line-height: 1.6;
}

.footer-links h4 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 15px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0 0 6px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  padding: 48px 0;
  background: linear-gradient(160deg, #e8f2ff, var(--white));
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: 32px;
}

.page-hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Policy */
.policy-section {
  background: var(--bg);
}

.policy-container {
  max-width: 900px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.policy-container h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  line-height: 1.35;
}

.policy-container h2:first-of-type {
  margin-top: 28px;
}

.policy-container h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.policy-container p,
.policy-container li {
  color: var(--text-secondary);
}

.policy-container p {
  margin: 0 0 14px;
}

.policy-container ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.policy-container li {
  margin-bottom: 8px;
}

.policy-meta {
  font-size: 14px;
  color: var(--text-muted);
}

/* 方案 C：保障优先官网 */
.trust-hero {
  background: linear-gradient(150deg, #e9f0f8 0%, #fbfaf7 52%, #fff 100%);
}

.trust-hero .hero-badge {
  background: var(--gold-soft);
  color: #6c4a08;
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-metrics div {
  padding: 14px 10px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  text-align: center;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong { font-size: 17px; }
.hero-metrics span { margin-top: 2px; font-size: 12px; color: #dbe7f4; }

.trust-phone .phone-screen { min-height: 540px; background: #fbfaf7; }
.trust-phone .mock-header { background: var(--primary); }

.mock-guarantee {
  position: relative;
  margin: 14px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(140deg, #1a5288, #164a7b 55%, #0f3459);
  color: #fff;
}

.mock-guarantee small {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #6c4a08;
  font-weight: 700;
}

.mock-guarantee h3 { margin: 14px 0 18px; font-size: 22px; line-height: 1.3; }
.mock-guarantee button { width: 100%; padding: 10px; border: 0; border-radius: 12px; background: var(--action); color: #fff; font-weight: 700; }
.mock-shield { position: absolute; top: 46px; right: 18px; width: 54px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 18px 18px 26px 26px; background: rgba(255,255,255,.12); font-size: 24px; }

.mock-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 14px 12px; }
.mock-trust-row span { padding: 9px 3px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--primary); text-align: center; font-size: 11px; font-weight: 700; }
.mock-voucher { display: flex; align-items: center; gap: 14px; margin: 0 14px 10px; padding: 13px; border: 1px solid #ecdcb6; border-radius: 14px; background: #fff; }
.mock-voucher b { color: var(--action); font-size: 22px; }
.mock-voucher span { color: var(--text-secondary); font-size: 11px; line-height: 1.45; }

.feature-icon { color: var(--primary); font-weight: 800; }
.benefit-section { background: #fff; }
.service-card-head { background: linear-gradient(135deg, var(--primary), #1a5b96); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-grid > div {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.process-grid > div > b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
}

.process-grid h3 { margin: 14px 0 6px; font-size: 17px; }
.process-grid p { margin: 0; color: var(--text-secondary); font-size: 14px; }

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mock {
    width: 240px;
  }

  .phone-screen {
    min-height: 400px;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .policy-container {
    padding: 28px 20px;
  }
}
