:root {
  --bg: #f6f3ec;
  --fg: #16212f;
  --muted: #5f6d7a;
  --border: rgba(31, 48, 64, 0.13);
  --surface: #ffffff;
  --navy: #0b2942;
  --navy-2: #154768;
  --gold: #cfaa55;
  --gold-soft: #fff3d7;
  --teal: #0f7b74;
  --ink: #0c141c;
  --radius: 8px;
  --shadow-soft: 0 18px 50px rgba(13, 41, 66, 0.10);
  --shadow-lift: 0 26px 70px rgba(13, 41, 66, 0.16);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fbfaf6 0%, #f6f3ec 35%, #ffffff 100%);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(17, 36, 54, 0.10);
  box-shadow: 0 12px 36px rgba(13, 41, 66, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 76px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo-block,
.brand-link {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 118px;
  height: auto;
  display: block;
}

nav[style] {
  display: flex !important;
  align-items: center !important;
  gap: 24px;
}

nav a {
  margin-left: 0;
  color: #243447;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.18s ease;
}

nav a:hover { color: var(--teal); }

button,
.btn-primary,
.btn-gold,
.btn-outline,
.btn-ghost,
nav .btn-primary,
.closing .btn-gold {
  border-radius: var(--radius) !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750 !important;
  letter-spacing: 0;
  box-shadow: none;
  transform: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

button:hover,
.btn-primary:hover,
.btn-gold:hover,
.btn-outline:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
}

.btn-primary,
nav .btn-primary {
  background: var(--navy) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(11, 41, 66, 0.18);
}

.btn-primary:hover,
nav .btn-primary:hover {
  background: #061d30 !important;
  box-shadow: 0 16px 34px rgba(11, 41, 66, 0.24);
}

.btn-gold,
.closing .btn-gold {
  background: linear-gradient(135deg, #f2d88d 0%, var(--gold) 100%) !important;
  color: #15202c !important;
  box-shadow: 0 16px 34px rgba(207, 170, 85, 0.28);
}

.btn-gold:hover,
.closing .btn-gold:hover {
  background: linear-gradient(135deg, #f7e2a5 0%, #c0983f 100%) !important;
  box-shadow: 0 18px 38px rgba(207, 170, 85, 0.34);
}

.btn-ghost {
  color: rgba(255,255,255,0.92) !important;
  padding: 12px 6px !important;
}

section { padding: 94px 0; }

.hero {
  min-height: calc(100vh - 76px);
  padding: 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #071b2c;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 44, 0.96) 0%, rgba(7, 27, 44, 0.88) 38%, rgba(7, 27, 44, 0.45) 66%, rgba(7, 27, 44, 0.18) 100%),
    radial-gradient(circle at 22% 18%, rgba(207,170,85,0.18), transparent 33%),
    linear-gradient(180deg, rgba(7, 27, 44, 0.06), rgba(7, 27, 44, 0.22));
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82px;
  background: linear-gradient(180deg, transparent, rgba(246,243,236,0.98));
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 76px);
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  align-items: center;
  gap: 40px;
  padding: 72px 0 110px;
}

.hero-copy {
  grid-column: 1;
  min-width: 0;
}

.hero-art {
  position: absolute;
  inset: 0 calc((100vw - 1180px) / -2) 0 38%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  z-index: -1;
}

.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.badge-not-loan {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(207,170,85,0.42);
  border-radius: var(--radius);
  background: rgba(255, 243, 215, 0.96);
  color: #725515;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.hero h1 {
  max-width: 14ch;
  margin: 0 0 22px !important;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 62px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: 0;
  text-shadow: 0 20px 56px rgba(0,0,0,0.28);
}

.hero p {
  max-width: 57ch;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.86);
  font-size: 17px;
  line-height: 1.85;
}

.hero .cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  max-width: 620px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.74);
}

.hero-contact {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

.hero-contact a { color: #f0cf7f; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  font-size: 13px;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header h2,
.closing h2,
.form-card h3 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.section-header p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
}

.features {
  background: linear-gradient(180deg, #f6f3ec 0%, #ffffff 100%);
  border: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 12px 34px rgba(13, 41, 66, 0.07);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(207,170,85,0.48);
  box-shadow: var(--shadow-lift);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  font-size: 22px;
  background: linear-gradient(135deg, rgba(15,123,116,0.10), rgba(207,170,85,0.16)) !important;
}

.feature h3 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.how-it-works {
  background: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  min-height: 190px;
  padding: 26px 20px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfaf6);
  box-shadow: 0 10px 30px rgba(13, 41, 66, 0.06);
}

.step-num {
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 41, 66, 0.18);
}

.step h4 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  letter-spacing: 0;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.trust {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(135deg, rgba(11,41,66,0.98), rgba(18,75,100,0.96)),
    #0b2942;
  color: #fff;
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(207,170,85,0.20), transparent 32%),
    radial-gradient(circle at 88% 72%, rgba(15,123,116,0.22), transparent 34%);
  pointer-events: none;
}

.trust .wrap { position: relative; z-index: 1; }
.trust .section-header h2,
.trust .stat .num { color: #fff; }
.trust .section-header p,
.trust .stat .label { color: rgba(255,255,255,0.72); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
}

.stat {
  padding: 28px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat .num {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05;
  font-weight: 850;
}

.stat .label {
  margin-top: 10px;
  font-size: 13.5px;
}

.form-section {
  background: linear-gradient(180deg, #fbfaf6 0%, #eef5f3 100%);
}

.contact-layout {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 560px);
  gap: 54px;
  align-items: center;
}

.contact-visual {
  position: relative;
  margin: 0;
}

.contact-visual::after {
  content: "免费咨询 · 专业配对 · 信息保密";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius);
  background: rgba(11,41,66,0.74);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.contact-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(17,36,54,0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}

.form-card {
  max-width: none;
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(17,36,54,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-lift);
}

.form-card h3 {
  text-align: left;
  font-size: 27px;
}

.form-card .sub {
  margin: 0 0 24px;
  color: var(--muted);
  text-align: left;
}

.disclaimer,
.checkbox {
  border: 1px solid rgba(207,170,85,0.34);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold-soft);
  color: #725515;
}

.field { margin-bottom: 17px; }

.field label {
  margin-bottom: 7px;
  color: #263648;
  font-size: 13px;
  font-weight: 750;
}

.field input,
.field select {
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(31,48,64,0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fg);
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15,123,116,0.12);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkbox {
  gap: 12px;
  margin: 22px 0 24px;
  padding: 16px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.faq {
  background: #ffffff;
  border: 0;
}

.faq-list {
  max-width: 920px;
  padding: 12px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(31,48,64,0.10);
}

.faq-q {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
}

.faq-icon {
  background: var(--teal);
  color: #fff;
}

.faq-a {
  color: var(--muted);
  font-size: 15px;
}

.compliance-wrap {
  padding: 42px 0;
  border: 0;
  background: #fff7e5;
}

.compliance {
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
}

.compliance-item {
  padding: 18px;
  border: 1px solid rgba(207,170,85,0.34);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
}

.compliance-item .icon {
  background: #b98218;
}

.compliance-item p {
  color: #745113;
  font-size: 13.5px;
}

.closing {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  background:
    linear-gradient(135deg, rgba(11,41,66,0.98), rgba(15,123,116,0.92)),
    var(--navy);
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(207,170,85,0.22), transparent 38%);
}

.closing .wrap {
  position: relative;
  z-index: 1;
}

.closing h2 {
  color: #fff;
}

.closing p {
  color: rgba(255,255,255,0.76);
}

footer {
  padding: 52px 0 34px;
  background: #0b1118;
}

.footer-top {
  max-width: 860px;
  color: rgba(255,255,255,0.62);
}

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

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

.whatsapp-btn {
  width: 58px;
  height: 58px;
  right: 24px;
  bottom: 24px;
  background: #18b66a;
  box-shadow: 0 18px 40px rgba(24,182,106,0.34);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .wrap,
  .hero-inner {
    width: min(100% - 36px, 720px);
  }

  header { position: static; }

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  nav[style] {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  nav .btn-primary {
    margin-left: 0 !important;
    padding: 9px 16px !important;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 62px 0 78px;
  }

  .hero-inner::before {
    content: "";
    position: absolute;
    inset: 0 -18px;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(5, 18, 30, 0.82) 0%, rgba(5, 18, 30, 0.74) 54%, rgba(5, 18, 30, 0.66) 100%),
      linear-gradient(90deg, rgba(5, 18, 30, 0.72), rgba(5, 18, 30, 0.34));
    pointer-events: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-art {
    inset: 0 -18px 0 -18px;
    z-index: 0;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 27, 44, 0.92) 0%, rgba(7, 27, 44, 0.86) 58%, rgba(7, 27, 44, 0.78) 100%),
      radial-gradient(circle at 22% 18%, rgba(207,170,85,0.18), transparent 33%);
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(38px, 11vw, 56px);
  }

  .hero p {
    max-width: 36em;
    font-size: 15.5px;
    line-height: 1.78;
    color: rgba(255,255,255,0.94);
    text-shadow: 0 2px 18px rgba(0,0,0,0.48);
  }

  .hero h1 {
    text-shadow: 0 3px 26px rgba(0,0,0,0.58);
  }

  .hero-contact,
  .hero-points span {
    background: rgba(5, 18, 30, 0.52);
    border-color: rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.94);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    backdrop-filter: blur(12px);
  }

  .feature-grid,
  .steps,
  .stats,
  .compliance,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature,
  .step,
  .stat {
    min-height: auto;
  }

  .contact-layout {
    gap: 28px;
  }

  .contact-visual {
    order: 2;
  }

  .form-card {
    order: 1;
  }
}

@media (max-width: 560px) {
  .wrap,
  .hero-inner {
    width: calc(100% - 28px);
  }

  .logo-img { width: 128px; }

  nav[style] {
    gap: 10px 12px;
  }

  nav a {
    font-size: 13px;
  }

  section { padding: 68px 0; }

  .hero-inner {
    padding: 48px 0 64px;
  }

  .hero h1 {
    font-size: 38px;
    max-width: 10ch;
  }

  .hero-contact {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-points span {
    font-size: 12.5px;
  }

  .hero .cta > a,
  .hero .cta > button,
  .closing a {
    width: 100%;
  }

  .feature-grid {
    gap: 14px;
  }

  .feature,
  .step,
  .form-card,
  .faq-list {
    padding: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-visual::after {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 12.5px;
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}
