/* ============================================================
   拾光 · 低偿服务平台
   主题：琥珀暖 + 深青（Light Theme）
   ============================================================ */

:root {
  --cream: #FBF5EA;
  --cream-deep: #F5EBD8;
  --white: #FFFFFF;
  --ink: #33291F;
  --muted: #7A6A58;
  --amber: #E8862E;
  --amber-deep: #C96A1E;
  --amber-soft: #FBE7D0;
  --teal: #1F6F6A;
  --teal-deep: #15514D;
  --teal-soft: #DCEAE6;
  --rose: #C2536B;
  --rose-soft: #F9E2E8;
  --violet: #7A5FA8;
  --violet-soft: #EAE3F4;
  --blue: #3E6FB0;
  --blue-soft: #E0E9F6;
  --green: #3E8A5E;
  --green-soft: #DFEFE4;
  --line: #EADFCC;
  --shadow: 0 10px 30px rgba(96, 64, 20, .08);
  --shadow-lg: 0 18px 44px rgba(96, 64, 20, .12);
  --radius: 18px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.container { width: min(1160px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }

/* ---------- 通用标题 ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--amber-deep);
  background: var(--amber-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .04em;
}
.section-head .sub { margin-top: 14px; color: var(--muted); font-size: 16px; }
.pc-only { display: inline; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  font-family: inherit;
}
.btn-primary { background: linear-gradient(135deg, #F59F4B, var(--amber-deep)); color: #fff; box-shadow: 0 10px 24px rgba(232, 134, 46, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 134, 46, .42); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-deep); transform: translateY(-2px); }
.btn-mini { padding: 7px 18px; font-size: 13px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-deep); font-weight: 600; transition: all .25s ease; }
.btn-mini:hover { background: var(--amber); color: #fff; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled {
  background: rgba(251, 245, 234, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(96, 64, 20, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #F59F4B, var(--amber-deep));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(232, 134, 46, .35);
}
.brand-text { font-family: var(--serif); font-size: 22px; font-weight: 800; letter-spacing: .1em; }
.brand-text small { display: block; font-size: 9px; letter-spacing: .34em; color: var(--muted); font-weight: 600; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 15px;
  font-size: 15px;
  color: var(--ink);
  border-radius: 999px;
  transition: all .25s ease;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber-deep); background: var(--amber-soft); }
.nav-links .nav-cta { background: linear-gradient(135deg, #F59F4B, var(--amber-deep)); color: #fff; font-weight: 600; }
.nav-links .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(232, 134, 46, .35); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: all .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -10%, #FDEED6 0%, transparent 60%),
    radial-gradient(900px 480px at -10% 100%, #DCEAE6 0%, transparent 55%),
    var(--cream);
  padding: 120px 0 90px;
}
.hero-sun { position: absolute; top: -60px; right: -40px; width: 560px; height: 560px; opacity: .9; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.hero-blob-1 { width: 220px; height: 220px; background: var(--teal-soft); bottom: 6%; left: -70px; }
.hero-blob-2 { width: 120px; height: 120px; background: var(--amber-soft); bottom: 24%; left: 34%; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.2;
  letter-spacing: .04em;
  font-weight: 800;
}
.hero-copy h1 em { font-style: normal; color: var(--amber); position: relative; }
.hero-copy h1 em::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 6px; height: 14px;
  background: var(--amber-soft); z-index: -1; border-radius: 4px;
}
.hero-copy .lead { margin: 26px 0 34px; font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-num { font-family: var(--serif); font-size: 34px; font-weight: 800; color: var(--teal); }
.stat-num i { font-style: normal; font-size: 20px; color: var(--amber); margin-left: 2px; }
.stat-label { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted); opacity: .8; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- 运营模式 ---------- */
.model { background: var(--white); }
.model-flow {
  display: flex; align-items: stretch; justify-content: center;
  gap: 0; flex-wrap: wrap; margin-bottom: 48px;
}
.model-step {
  flex: 1 1 260px; max-width: 300px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.model-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #F59F4B, var(--amber-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(232, 134, 46, .32);
}
.model-step:nth-child(3) .step-icon { background: linear-gradient(135deg, #3E9E97, var(--teal-deep)); box-shadow: 0 10px 22px rgba(31, 111, 106, .3); }
.model-step h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 10px; }
.model-step p { font-size: 14.5px; color: var(--muted); }
.model-arrow { display: flex; align-items: center; justify-content: center; padding: 0 10px; align-self: center; }

.model-note {
  max-width: 720px; margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--amber-soft), #FDF3E3);
  border: 1px solid #F3D9B4;
  border-radius: var(--radius);
  padding: 26px 34px;
  font-size: 17px;
}
.model-note .note-icon { color: var(--amber); margin-right: 6px; }

/* ---------- 低偿服务 ---------- */
.services { background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.ic-amber { background: var(--amber-soft); color: var(--amber-deep); }
.ic-teal { background: var(--teal-soft); color: var(--teal-deep); }
.ic-rose { background: var(--rose-soft); color: var(--rose); }
.ic-violet { background: var(--violet-soft); color: var(--violet); }
.ic-blue { background: var(--blue-soft); color: var(--blue); }
.ic-green { background: var(--green-soft); color: var(--green); }
.svc-tag { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--cream); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.service-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.service-card > p { font-size: 14px; color: var(--muted); flex: 1; }
.svc-org {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12.5px;
  color: #8E7B62;
  background: var(--cream);
  border: 1px dashed var(--line);
  padding: 5px 12px;
  border-radius: 999px;
}
.svc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); }
.svc-price b { font-size: 26px; font-family: var(--serif); color: var(--amber-deep); }
.svc-price span { font-size: 13px; color: var(--muted); margin-left: 2px; }
.svc-price small { display: block; font-size: 11.5px; color: #A89984; text-decoration: line-through; margin-top: 2px; }
.services-note { text-align: center; margin-top: 34px; font-size: 13px; color: #A89984; }

/* ---------- 项目 ---------- */
.projects { background:
  radial-gradient(800px 400px at 110% 0%, rgba(232,134,46,.08), transparent 60%),
  radial-gradient(700px 380px at -5% 100%, rgba(31,111,106,.08), transparent 55%),
  var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.proj-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.proj-emoji { font-size: 34px; }
.proj-status { font-size: 12.5px; font-weight: 600; padding: 5px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-deep); }
.project-card:nth-child(4) .proj-status { background: var(--amber-soft); color: var(--amber-deep); }
.proj-status.status-soon { background: var(--amber-soft); color: var(--amber-deep); }
.proj-status.status-done { background: var(--green-soft); color: var(--green); }
.project-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 4px; }
.proj-meta { font-size: 13px; color: #A89984; margin-bottom: 10px; }
.project-card > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.prog { height: 10px; background: var(--cream-deep); border-radius: 999px; overflow: hidden; }
.prog-bar {
  height: 100%; width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #F59F4B, var(--amber-deep));
  position: relative;
  transition: width 1.2s cubic-bezier(.22,.8,.3,1);
}
.prog-bar span { position: absolute; right: 0; top: -22px; font-size: 12px; font-weight: 700; color: var(--amber-deep); }
.proj-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 26px; font-size: 13px; color: var(--muted); }
.proj-foot b { font-family: var(--serif); font-size: 19px; color: var(--teal); }

/* ---------- 透明度 ---------- */
.transparency { background: var(--cream); }
.trans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.trans-chart {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.trans-chart h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 26px; }
.bar-row { margin-bottom: 22px; }
.bar-label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.bar-label b { color: var(--ink); }
.bar-track { height: 12px; background: var(--cream-deep); border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; }
.fill-amber { background: linear-gradient(90deg, #F59F4B, var(--amber-deep)); }
.fill-teal { background: linear-gradient(90deg, #3E9E97, var(--teal-deep)); }
.fill-soft { background: #C9BFAF; }
.chart-note { margin-top: 8px; font-size: 13px; color: #A89984; }

.trans-cards { display: flex; flex-direction: column; gap: 16px; }
.trans-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.trans-card:hover { transform: translateX(6px); }
.trans-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-deep); }
.trans-card h4 { font-size: 16.5px; margin-bottom: 4px; }
.trans-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- 动态 ---------- */
.news { background: var(--white); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 14px; background: linear-gradient(135deg, #F59F4B, var(--amber-deep)); color: #fff; margin-bottom: 18px; }
.news-date b { font-size: 22px; line-height: 1.1; font-family: var(--serif); }
.news-date span { font-size: 11px; opacity: .9; }
.news-card h3 { font-family: var(--serif); font-size: 17.5px; line-height: 1.5; margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--muted); flex: 1; }
.news-more { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--amber-deep); }
.news-more:hover { text-decoration: underline; }

/* ---------- 加入我们 ---------- */
.join { background:
  radial-gradient(700px 400px at 0% 0%, rgba(31,111,106,.1), transparent 60%),
  radial-gradient(700px 400px at 100% 100%, rgba(232,134,46,.12), transparent 55%),
  var(--cream); }
.join-wrap {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 52px 48px;
  box-shadow: var(--shadow-lg);
}
.join-intro h2 { font-family: var(--serif); font-size: 32px; margin: 4px 0 14px; }
.join-intro > p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.join-list li { padding: 9px 0; font-size: 15px; color: var(--ink); border-bottom: 1px dashed var(--line); }
.join-list li:last-child { border-bottom: none; }

.join-form h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 20px; }
.join-form label { display: block; margin-bottom: 16px; }
.join-form label > span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.join-form input, .join-form select, .join-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--cream);
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.join-form input:focus, .join-form select:focus, .join-form textarea:focus {
  border-color: var(--amber);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232,134,46,.14);
}
.join-form textarea { resize: vertical; }
.form-msg { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: var(--rose); }

/* ---------- 页脚 ---------- */
.footer { background: #2E251B; color: #D8CCBB; padding: 64px 0 36px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-text { color: #FBF5EA; }
.footer .brand-text small { color: #B3A48F; }
.footer-brand p { margin: 18px 0 14px; font-size: 14px; color: #B3A48F; line-height: 1.9; }
.footer-contact span { display: block; font-size: 13.5px; color: #D8CCBB; margin-top: 6px; }
.footer-col h4 { font-size: 15px; color: #FBF5EA; margin-bottom: 18px; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 14px; color: #B3A48F; margin-bottom: 11px; transition: color .25s ease; }
.footer-col a:hover { color: #F59F4B; }
.footer-notes p { font-size: 13px; color: #8E8072; line-height: 1.9; }
.footer-icp { margin-top: 18px; font-size: 12px !important; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .model-arrow { transform: rotate(90deg); padding: 6px 0; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(251, 245, 234, .98);
    backdrop-filter: blur(14px);
    padding: 14px 20px 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .35s ease;
    box-shadow: 0 18px 30px rgba(96,64,20,.1);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-toggle { display: flex; }

  .hero { padding: 110px 0 80px; }
  .hero-sun { width: 340px; height: 340px; top: -30px; right: -60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .pc-only { display: none; }

  .service-grid, .project-grid, .news-grid { grid-template-columns: 1fr; }
  .trans-grid, .join-wrap { grid-template-columns: 1fr; }
  .join-wrap { padding: 36px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions .btn { flex: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .model-step { flex: 1 1 100%; max-width: 100%; }
}

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
