/* ============================================================
   邻康云官网设计系统 · 温馨的米白 · 家的感觉
   主背景：米白 #FAF6EE  卡片：#FFFDF8
   主色：暖陶橙 #D97E3F  辅色：暖藤绿 #8FA06A  点缀：奶油黄 #F2C14E
   文字：暖褐 #4A3F35  次要：#8C7E6F
   ============================================================ */
:root {
  --bg: #FAF6EE;
  --bg-deep: #F4EEDF;
  --card: #FFFDF8;
  --ink: #4A3F35;
  --ink-2: #8C7E6F;
  --ink-3: #B5A996;
  --brand: #D97E3F;
  --brand-deep: #C06A2E;
  --brand-soft: #F7E3D2;
  --green: #8FA06A;
  --green-soft: #E9EDDC;
  --yellow: #F2C14E;
  --yellow-soft: #FBF0D3;
  --line: #EDE4D3;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 6px 24px rgba(120, 96, 64, .08);
  --shadow-lg: 0 16px 48px rgba(120, 96, 64, .14);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.logo svg { width: 36px; height: 36px; }
.logo .site-logo { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 2px 8px rgba(120, 96, 64, .18); object-fit: cover; }
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--ink-2); letter-spacing: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 15px; color: var(--ink-2); padding: 6px 2px; border-bottom: 2px solid transparent; transition: .2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.nav-cta { background: var(--brand); color: #fff !important; padding: 9px 22px !important; border-radius: 999px; font-weight: 600; }
.nav-cta:hover { background: var(--brand-deep); }
.menu-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(720px 360px at 85% 8%, rgba(242, 193, 78, .18), transparent 65%),
    radial-gradient(560px 320px at 8% 92%, rgba(143, 160, 106, .16), transparent 65%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--brand-deep); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
h1.hero-title { font-size: 46px; line-height: 1.3; font-weight: 800; letter-spacing: 1px; }
h1.hero-title em { font-style: normal; color: var(--brand); position: relative; }
h1.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: var(--yellow-soft); z-index: -1; border-radius: 4px;
}
.hero-sub { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 520px; }
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 16px; font-weight: 600;
  cursor: pointer; border: 0; transition: .2s; font-family: var(--font);
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(217, 126, 63, .3); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.hero-stats { margin-top: 44px; display: flex; gap: 40px; }
.hero-stats .num { font-size: 30px; font-weight: 800; color: var(--brand); }
.hero-stats .lbl { font-size: 13px; color: var(--ink-2); }

/* Hero 插画卡 */
.hero-art { position: relative; }
.hero-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px;
}
.hero-card h3 { font-size: 17px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-card h3 .dot { width: 10px; height: 10px; border-radius: 50%; }
.meal-row { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px dashed var(--line); }
.meal-row:last-child { border-bottom: 0; }
.meal-ic {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: var(--brand-soft);
}
.meal-row .t { font-size: 14px; font-weight: 600; }
.meal-row .d { font-size: 12px; color: var(--ink-2); }
.badge { margin-left: auto; font-size: 12px; padding: 3px 12px; border-radius: 999px; font-weight: 600; flex: none; }
.badge.ok { background: var(--green-soft); color: #5F7340; }
.badge.wait { background: var(--yellow-soft); color: #A67C1B; }
.float-chip {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow); padding: 12px 18px;
  font-size: 13px; font-weight: 600; display: flex; gap: 10px; align-items: center;
}
.float-chip.a { top: -18px; right: 12px; color: var(--green); }
.float-chip.b { bottom: -16px; left: -10px; color: var(--brand-deep); }

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--card); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 3px; }
.section-head h2 { font-size: 34px; margin-top: 10px; font-weight: 800; letter-spacing: 1px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }

/* ---------- 卡片网格 ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: .25s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic {
  width: 56px; height: 56px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.ic.orange { background: var(--brand-soft); }
.ic.green { background: var(--green-soft); }
.ic.yellow { background: var(--yellow-soft); }
.card .num-tag {
  position: absolute; top: 20px; right: 24px;
  font-size: 40px; font-weight: 800; color: var(--bg-deep);
}

/* ---------- 五步闭环 ---------- */
.loop { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.loop-step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; position: relative; transition: .25s;
}
.loop-step:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.loop-step .no {
  width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.loop-step:nth-child(even) .no { background: var(--green); }
.loop-step h4 { font-size: 15.5px; margin-bottom: 8px; }
.loop-step p { font-size: 12.5px; color: var(--ink-2); }
.loop-step::after {
  content: "→"; position: absolute; right: -16px; top: 42px;
  color: var(--ink-3); font-size: 18px; z-index: 1;
}
.loop-step:last-child::after { display: none; }

/* ---------- 原则条 ---------- */
.rules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.rule {
  border-radius: var(--radius); padding: 22px 18px; font-size: 14px;
  background: var(--bg-deep); border: 1px dashed var(--ink-3);
}
.rule b { display: block; font-size: 15px; margin-bottom: 6px; color: var(--brand-deep); }

/* ---------- 数据看板样式 ---------- */
.dash { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.dash-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 96px; }
.dash-side .who { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.dash-side nav a {
  display: flex; gap: 10px; align-items: center; padding: 11px 14px;
  border-radius: 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; transition: .15s;
}
.dash-side nav a:hover { background: var(--bg); color: var(--brand); }
.dash-side nav a.on { background: var(--brand-soft); color: var(--brand-deep); font-weight: 600; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px;
}
.stat .v { font-size: 28px; font-weight: 800; color: var(--brand); }
.stat .k { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel h3 { font-size: 17px; margin-bottom: 18px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--ink-2); font-weight: 600; padding: 10px 12px; border-bottom: 2px solid var(--line); font-size: 13px; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.tag.draft { background: var(--yellow-soft); color: #A67C1B; }
.tag.confirmed, .tag.done { background: var(--green-soft); color: #5F7340; }
.tag.pending { background: var(--brand-soft); color: var(--brand-deep); }

/* ---------- 页脚 ---------- */
.site-footer { background: #43382E; color: #CFC4B4; padding: 56px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer a { display: block; font-size: 14px; padding: 5px 0; color: #CFC4B4; }
.site-footer a:hover { color: var(--yellow); }
.footer-brand p { font-size: 14px; margin-top: 14px; line-height: 1.9; max-width: 300px; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0; font-size: 13px; text-align: center; color: #9A8E7D;
}
.footer-bar a { color: #CFC4B4; display: inline; padding: 0 4px; }

/* ---------- 页头横幅 ---------- */
.page-hero { padding: 64px 0 56px; text-align: center; background:
  radial-gradient(600px 240px at 50% -40px, rgba(242, 193, 78, .16), transparent 70%), var(--bg); }
.page-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: 1px; }
.page-hero p { margin-top: 14px; color: var(--ink-2); max-width: 620px; margin-inline: auto; font-size: 16px; }

/* ---------- 流程时间线 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--card); border: 3px solid var(--brand);
}
.tl-item h4 { font-size: 16.5px; }
.tl-item p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ---------- 合规声明 ---------- */
.compliance-note {
  background: var(--green-soft); border: 1px solid #D5DCC0;
  color: #5F7340; border-radius: var(--radius);
  padding: 18px 24px; font-size: 14px; margin-top: 28px;
}

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .loop, .rules { grid-template-columns: repeat(2, 1fr); }
  .loop-step::after { display: none; }
  .dash { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--card); flex-direction: column; padding: 18px 24px;
    border-bottom: 1px solid var(--line); gap: 14px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-links { margin-left: 0; }
  h1.hero-title { font-size: 32px; }
  .grid-3, .grid-4, .loop, .rules { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .section { padding: 56px 0; }
}
