/* ============================================================
   遇上鲜 · 舟山原产地海鲜 — 全站样式
   调性：深青绿 + 膏红 + 米灰，简约大气
   ============================================================ */

:root {
  --teal-900: #0c332e;
  --teal-800: #0f3d37;
  --teal-700: #155049;
  --teal-600: #1d655b;
  --teal-500: #2a7d70;
  --teal-300: #7faea3;
  --teal-100: #e3efec;
  --teal-50: #f0f6f4;

  --roe-700: #8f2b20;
  --roe-600: #a8382a;
  --roe-500: #bd4634;
  --roe-400: #d4705a;
  --roe-100: #f6e4df;

  --rice: #f7f3e9;
  --rice-2: #efe8d8;
  --paper: #fcfaf5;

  --ink: #212e2a;
  --ink-2: #4c5f58;
  --muted: #71827b;

  --line: #e5ddcb;
  --line-2: #d8cfb8;
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(12, 51, 46, 0.05), 0 2px 10px rgba(12, 51, 46, 0.05);
  --shadow-md: 0 6px 22px rgba(12, 51, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(12, 51, 46, 0.16);

  --radius: 16px;
  --radius-sm: 10px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -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 28px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  user-select: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.btn-primary { background: var(--roe-600); color: #fff; box-shadow: 0 6px 18px rgba(168, 56, 42, 0.28); }
.btn-primary:hover { background: var(--roe-500); box-shadow: 0 8px 24px rgba(168, 56, 42, 0.34); }

.btn-teal { background: var(--teal-700); color: #fff; }
.btn-teal:hover { background: var(--teal-600); }

.btn-outline { background: transparent; border-color: rgba(247, 243, 233, 0.55); color: var(--rice); }
.btn-outline:hover { border-color: var(--rice); background: rgba(247, 243, 233, 0.1); }

.btn-ghost { background: transparent; border-color: var(--teal-700); color: var(--teal-700); }
.btn-ghost:hover { background: var(--teal-700); color: #fff; }

.btn-light { background: var(--rice); color: var(--teal-800); }
.btn-light:hover { background: #fff; }

.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 15px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}
.btn-link::after { content: "→"; transition: transform 0.18s ease; }
.btn-link:hover::after { transform: translateX(4px); }
.btn-link:hover { color: var(--roe-600); }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 19px; letter-spacing: 2px; color: var(--teal-900); }
.brand-text small { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }

.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
  position: relative;
  padding: 8px 16px;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:hover { color: var(--teal-800); background: var(--teal-50); }
.site-nav a.active { color: var(--teal-900); font-weight: 600; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--roe-500);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--teal-800); border-radius: 2px; transition: 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 用户芯片 */
.user-chip { position: relative; }
.user-chip-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.user-chip-btn:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.user-chip-btn .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  color: var(--rice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  flex-shrink: 0;
}
.user-chip-btn .avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-chip-btn .nick { max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
  z-index: 120;
}
.user-menu.open { display: block; animation: pop 0.16s ease; }
.user-menu a, .user-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  border-radius: 9px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease;
}
.user-menu a:hover, .user-menu button:hover { background: var(--teal-50); color: var(--teal-900); }
.user-menu .divider { height: 1px; background: var(--line); margin: 6px 4px; }
.user-menu .danger:hover { background: var(--roe-100); color: var(--roe-700); }

@keyframes pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 78% -10%, rgba(42, 125, 112, 0.35), transparent 60%),
    linear-gradient(160deg, #0f3d37 0%, #0c332e 58%, #0a2a26 100%);
  color: var(--rice);
  overflow: hidden;
  padding: 118px 0 150px;
  text-align: center;
}
.hero-rings { position: absolute; inset: 0; pointer-events: none; }
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 233, 0.12);
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
}
.hero-ring.r1 { width: 560px; height: 560px; }
.hero-ring.r2 { width: 780px; height: 780px; border-style: dashed; opacity: 0.6; }
.hero-ring.r3 { width: 1020px; height: 1020px; opacity: 0.35; }

.hero-inner { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--roe-400);
  border: 1px solid rgba(212, 112, 90, 0.45);
  padding: 7px 20px;
  border-radius: 999px;
  margin-bottom: 26px;
  background: rgba(189, 70, 52, 0.12);
}
.hero-kicker::before, .hero-kicker::after { content: ""; width: 22px; height: 1px; background: rgba(212, 112, 90, 0.6); }

.hero-title {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.28;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--roe-400); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(247, 243, 233, 0.82);
  max-width: 640px;
  margin: 0 auto 38px;
  letter-spacing: 1px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.hero-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: 14px;
  color: rgba(247, 243, 233, 0.72);
  letter-spacing: 2px;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--roe-400); }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; }

/* ---------- 区块通用 ---------- */
.section { padding: 92px 0; }
.section.rice { background: var(--rice); }
.section.teal { background: var(--teal-900); color: var(--rice); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--roe-600);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head .kicker::before, .section-head .kicker::after { content: ""; width: 26px; height: 1px; background: var(--roe-500); opacity: 0.5; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: 2px; color: var(--teal-900); margin-bottom: 14px; }
.section.teal .section-head h2 { color: var(--rice); }
.section-head p { color: var(--muted); font-size: 15.5px; }
.section.teal .section-head p { color: rgba(247, 243, 233, 0.72); }

/* ---------- 首页：品类速览 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 22px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-300); }
.cat-card .zi {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: var(--rice);
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  box-shadow: inset 0 -6px 14px rgba(0, 0, 0, 0.25), 0 6px 14px rgba(12, 51, 46, 0.2);
}
.cat-card h3 { font-size: 17px; color: var(--teal-900); letter-spacing: 1px; }
.cat-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- 首页：优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.adv-card .no {
  font-size: 15px;
  font-weight: 700;
  color: var(--roe-500);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
}
.adv-card h3 { font-size: 19px; color: var(--teal-900); margin-bottom: 10px; letter-spacing: 1px; }
.adv-card p { font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.adv-card::after {
  content: "";
  position: absolute;
  right: -28px; bottom: -28px;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--teal-50);
}

/* ---------- 首页：承诺条 ---------- */
.promise-band { padding: 64px 0; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.promise-item { padding: 18px 12px; }
.promise-item .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--roe-400);
  margin: 0 auto 18px;
  box-shadow: 0 0 0 6px rgba(212, 112, 90, 0.18);
}
.promise-item h3 { font-size: 18px; letter-spacing: 2px; margin-bottom: 8px; }
.promise-item p { font-size: 13.5px; color: rgba(247, 243, 233, 0.68); }

/* ---------- 首页：关于预告 ---------- */
.about-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-teaser .visual img { border-radius: 22px; box-shadow: var(--shadow-lg); }
.about-teaser .text .kicker {
  font-size: 13px; letter-spacing: 4px; color: var(--roe-600); font-weight: 600; margin-bottom: 14px;
}
.about-teaser .text h2 { font-size: clamp(24px, 3vw, 32px); color: var(--teal-900); letter-spacing: 2px; line-height: 1.4; margin-bottom: 20px; }
.about-teaser .text p { color: var(--ink-2); margin-bottom: 14px; font-size: 15.5px; }
.about-teaser .text .btn { margin-top: 14px; }

/* ---------- CTA 带 ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(212, 112, 90, 0.35), transparent 60%),
    linear-gradient(120deg, var(--roe-700), var(--roe-500));
  color: #fff;
  padding: 74px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: 3px; margin-bottom: 14px; font-weight: 700; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; font-size: 15.5px; letter-spacing: 1px; }
.cta-band .btn-light { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22); }

/* ---------- 页头（内页） ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(42, 125, 112, 0.32), transparent 60%),
    linear-gradient(160deg, #0f3d37, #0a2a26);
  color: var(--rice);
  padding: 84px 0 76px;
  text-align: center;
}
.page-hero .kicker { font-size: 13px; letter-spacing: 4px; color: var(--roe-400); margin-bottom: 12px; font-weight: 600; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: 4px; font-weight: 700; }
.page-hero p { color: rgba(247, 243, 233, 0.75); margin-top: 14px; font-size: 15px; letter-spacing: 1px; }

/* ---------- 关于我们 ---------- */
.story-block { max-width: 820px; margin: 0 auto; }
.story-block .para { color: var(--ink-2); font-size: 16px; margin-bottom: 22px; text-align: justify; }
.story-block .para:last-child { margin-bottom: 0; }
.story-block .para.lead { font-size: 19px; color: var(--teal-800); font-weight: 600; line-height: 1.9; }

.origin-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.origin-siple-list { display: grid; gap: 18px; }
.origin-point {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.origin-point:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.origin-point .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.origin-point h3 { font-size: 16.5px; color: var(--teal-900); margin-bottom: 4px; }
.origin-point p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
  border-radius: var(--radius);
  padding: 40px 30px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--roe-600);
  border: 1px solid var(--roe-100);
  background: var(--roe-100);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.value-card h3 { font-size: 20px; color: var(--teal-900); letter-spacing: 2px; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

.value-cards .value-card:nth-child(1) { background: linear-gradient(170deg, var(--teal-800), var(--teal-900)); color: var(--rice); border: none; }
.value-cards .value-card:nth-child(1) h3 { color: var(--rice); }
.value-cards .value-card:nth-child(1) p { color: rgba(247, 243, 233, 0.78); }
.value-cards .value-card:nth-child(1) .tag { background: rgba(212, 112, 90, 0.18); border-color: rgba(212, 112, 90, 0.4); color: var(--roe-400); }

.process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
}
.process-step .num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--roe-600);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px rgba(168, 56, 42, 0.3);
}
.process-step h3 { font-size: 16.5px; color: var(--teal-900); margin-bottom: 8px; letter-spacing: 1px; }
.process-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 48px; right: -14px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--line-2);
  border-right: 2px solid var(--line-2);
  transform: rotate(45deg);
}

/* ---------- 产品页 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  font-size: 14.5px;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--teal-500); color: var(--teal-800); }
.chip.active { background: var(--teal-800); border-color: var(--teal-800); color: var(--rice); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--teal-300); }
.product-card .thumb { aspect-ratio: 4 / 3; background: var(--rice); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .cat { font-size: 12px; color: var(--roe-600); letter-spacing: 2px; font-weight: 600; }
.product-card h3 { font-size: 18.5px; color: var(--teal-900); letter-spacing: 1px; }
.product-card .sub { font-size: 13.5px; color: var(--muted); }
.product-card .desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); }
.product-card .price { font-size: 14px; color: var(--roe-700); font-weight: 700; letter-spacing: 0.5px; }

/* 产品弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 27, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.18s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--paper);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: var(--shadow-lg);
  animation: rise 0.22s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal .m-img { background: var(--rice); }
.modal .m-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.modal .m-body { padding: 40px 42px; }
.modal .m-body .cat { font-size: 13px; color: var(--roe-600); letter-spacing: 3px; font-weight: 600; margin-bottom: 10px; }
.modal .m-body h2 { font-size: 28px; color: var(--teal-900); letter-spacing: 2px; margin-bottom: 6px; }
.modal .m-body .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.modal .m-body .desc { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.modal .m-body .detail { color: var(--ink-2); font-size: 14px; line-height: 1.9; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-bottom: 26px; }
.modal .m-body .price { font-size: 17px; color: var(--roe-700); font-weight: 700; margin-bottom: 24px; }
.modal .m-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.modal .m-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 51, 46, 0.08);
  color: var(--teal-900);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
  z-index: 5;
}
.modal .m-close:hover { background: rgba(12, 51, 46, 0.18); }
.modal-wrap { position: relative; }

/* ---------- 联系页 ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: box-shadow 0.2s ease;
}
.contact-card:hover { box-shadow: var(--shadow-md); }
.contact-card .ic {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: var(--rice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-card h3 { font-size: 15px; color: var(--muted); font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.contact-card p { font-size: 16px; color: var(--teal-900); font-weight: 600; word-break: break-all; }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; font-weight: 400; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 42px 44px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 { font-size: 24px; color: var(--teal-900); letter-spacing: 2px; margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 14px; color: var(--ink-2); font-weight: 600; margin-bottom: 8px; letter-spacing: 0.5px; }
.form-field label .req { color: var(--roe-600); margin-left: 2px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  border-color: var(--teal-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 125, 112, 0.12);
}
.form-field textarea { resize: vertical; min-height: 128px; }
.form-field .field-error { display: none; font-size: 12.5px; color: var(--roe-600); margin-top: 6px; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--roe-500); }
.form-field.has-error .field-error { display: block; }

.form-msg { display: none; border-radius: 12px; padding: 13px 16px; font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
.form-msg.show { display: block; }
.form-msg.error { background: var(--roe-100); color: var(--roe-700); border: 1px solid #ecc9c2; }
.form-msg.success { background: var(--teal-100); color: var(--teal-800); border: 1px solid #b9d6cd; }

/* 我的留言 */
.inquiry-list { display: grid; gap: 14px; margin-top: 8px; }
.inquiry-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.inquiry-item .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.inquiry-item .subject { font-weight: 700; color: var(--teal-900); font-size: 15.5px; }
.inquiry-item time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.inquiry-item .msg { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.inquiry-item .status { display: inline-block; font-size: 12px; color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 999px; padding: 2px 12px; margin-top: 8px; }

/* ---------- 登录页 ---------- */
.auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(42, 125, 112, 0.1), transparent 60%),
    radial-gradient(700px 380px at 90% 100%, rgba(189, 70, 52, 0.07), transparent 60%),
    var(--rice);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 46px 48px 40px;
  border: 1px solid var(--line);
}
.auth-card .auth-head { text-align: center; margin-bottom: 34px; }
.auth-card .auth-head img { width: 58px; margin: 0 auto 14px; border-radius: 16px; }
.auth-card .auth-head h1 { font-size: 24px; color: var(--teal-900); letter-spacing: 3px; }
.auth-card .auth-head p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.auth-tabs { display: flex; background: var(--rice-2); border-radius: 12px; padding: 4px; margin-bottom: 28px; }
.auth-tabs button {
  flex: 1;
  border: none;
  background: none;
  padding: 10px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.18s ease;
}
.auth-tabs button.active { background: #fff; color: var(--teal-900); box-shadow: var(--shadow-sm); }

.auth-pane { display: none; }
.auth-pane.active { display: block; animation: fadeIn 0.2s ease; }

.code-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.code-row .form-field { margin-bottom: 20px; }
.btn-code {
  align-self: start;
  margin-top: 2px;
  padding: 12px 18px;
  font-size: 14px;
  border-radius: 12px;
  border: 1.5px solid var(--teal-700);
  background: #fff;
  color: var(--teal-700);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: all 0.16s ease;
  min-width: 118px;
}
.btn-code:hover:not([disabled]) { background: var(--teal-700); color: #fff; }
.btn-code[disabled] { opacity: 0.5; cursor: not-allowed; }

.auth-alt { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.auth-alt a { color: var(--teal-700); font-weight: 600; }

.auth-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.wechat-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #07c160;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: filter 0.16s ease, transform 0.16s ease;
  box-shadow: 0 8px 22px rgba(7, 193, 96, 0.28);
}
.wechat-btn:hover { filter: brightness(1.06); }
.wechat-btn:active { transform: translateY(1px); }
.wechat-btn svg { width: 24px; height: 24px; }
.wechat-hint { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; line-height: 1.8; }

/* ---------- 会员中心 ---------- */
.member-layout { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }

.profile-card {
  background: linear-gradient(165deg, var(--teal-800), var(--teal-900));
  color: var(--rice);
  border-radius: 22px;
  padding: 40px 32px 34px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 233, 0.1);
  top: -110px; right: -110px;
}
.profile-avatar {
  width: 104px; height: 104px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: rgba(247, 243, 233, 0.12);
  border: 2px solid rgba(247, 243, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  color: var(--rice);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease;
}
.profile-avatar:hover { border-color: var(--roe-400); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar .cam {
  position: absolute;
  inset: 0;
  background: rgba(12, 51, 46, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.profile-avatar:hover .cam { opacity: 1; }
.profile-card h2 { font-size: 21px; letter-spacing: 2px; margin-bottom: 4px; }
.profile-card .uid { font-size: 12px; color: rgba(247, 243, 233, 0.55); letter-spacing: 1px; word-break: break-all; }

.nick-edit { display: flex; gap: 10px; margin-top: 22px; }
.nick-edit input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(247, 243, 233, 0.25);
  background: rgba(247, 243, 233, 0.08);
  color: var(--rice);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s ease;
}
.nick-edit input::placeholder { color: rgba(247, 243, 233, 0.4); }
.nick-edit input:focus { border-color: var(--roe-400); }
.nick-edit button {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  background: var(--roe-500);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.nick-edit button:hover { background: var(--roe-400); }

.member-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 32px;
  margin-bottom: 26px;
}
.member-panel > h2 {
  font-size: 19px;
  color: var(--teal-900);
  letter-spacing: 2px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.member-panel > h2::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--roe-500); }
.member-panel .panel-sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

.file-list { display: grid; gap: 12px; }
.file-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.file-item:hover { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.file-item .fic {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--roe-100);
  color: var(--roe-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.file-item .finfo { flex: 1; min-width: 0; }
.file-item .finfo h3 { font-size: 15px; color: var(--teal-900); font-weight: 600; }
.file-item .finfo small { font-size: 12.5px; color: var(--muted); }
.file-item .btn { padding: 8px 18px; font-size: 13.5px; flex-shrink: 0; }

.empty-state {
  text-align: center;
  padding: 44px 20px;
  color: var(--muted);
  font-size: 14px;
  border: 1.5px dashed var(--line-2);
  border-radius: 14px;
  line-height: 1.8;
}
.empty-state .icon { font-size: 30px; display: block; margin-bottom: 10px; opacity: 0.6; }

.loading-state { text-align: center; padding: 40px; color: var(--muted); font-size: 14px; }
.loading-state .spinner {
  width: 26px; height: 26px;
  border: 3px solid var(--teal-100);
  border-top-color: var(--teal-600);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.error-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--roe-700);
  background: var(--roe-100);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.7;
}

.gate-panel {
  max-width: 520px;
  margin: 70px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.gate-panel .icon { font-size: 44px; margin-bottom: 18px; }
.gate-panel h2 { font-size: 22px; color: var(--teal-900); letter-spacing: 2px; margin-bottom: 10px; }
.gate-panel p { font-size: 14.5px; color: var(--muted); margin-bottom: 30px; line-height: 1.8; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--teal-900); color: rgba(247, 243, 233, 0.72); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding: 68px 0 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.footer-brand strong { font-size: 19px; letter-spacing: 2px; color: var(--rice); }
.footer-col p { font-size: 13.5px; line-height: 1.9; }
.footer-col h3 { font-size: 15px; color: var(--rice); letter-spacing: 2px; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a, .footer-col ul span { font-size: 13.5px; transition: color 0.15s ease; }
.footer-col ul a:hover { color: var(--rice); }
.footer-col ul span { display: block; line-height: 1.7; }
.footer-col ul span b { color: var(--rice); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(247, 243, 233, 0.12);
  padding: 22px 0 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(247, 243, 233, 0.5);
}
.footer-bottom-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom a.icp-link {
  color: rgba(247, 243, 233, 0.62);
  transition: color 0.15s ease;
  letter-spacing: 0.5px;
}
.footer-bottom a.icp-link:hover { color: var(--rice); text-decoration: underline; }

/* ---------- 备案合规区（《非经营性互联网信息服务备案管理办法》第十三条：
   备案编号须在主页底部中央标明，并在编号下方链接部备案管理系统网址） ---------- */
.footer-legal {
  margin: 0;
  padding: 14px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(247, 243, 233, 0.55);
}
.footer-legal p { margin: 0; width: 100%; padding: 0 12px; }
.footer-legal a.icp-link { display: inline; word-break: break-word; }
.footer-legal .icp-no { font-size: 14px; letter-spacing: 0; font-weight: 600; }
.footer-legal a.icp-link {
  color: rgba(247, 243, 233, 0.7);
  letter-spacing: 0;
  transition: color 0.15s ease;
}
.footer-legal a.icp-link:hover { color: var(--rice); text-decoration: underline; }

/* ---------- Toast ---------- */
.toast-box {
  position: fixed;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  width: min(92vw, 460px);
}
.toast {
  pointer-events: auto;
  background: var(--teal-900);
  color: var(--rice);
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.24s ease;
  max-width: 100%;
  text-align: center;
  line-height: 1.6;
}
.toast.success { background: var(--teal-700); }
.toast.error { background: var(--roe-700); }
.toast.leaving { animation: toastOut 0.24s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid, .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { grid-template-columns: 1fr; gap: 36px; }
  .origin-split { grid-template-columns: 1fr; gap: 36px; }
  .process-flow { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .member-layout { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding: 84px 0 120px; }

  .site-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 20px 18px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; font-size: 16px; }
  .site-nav a.active::after { left: 12px; right: auto; width: 22px; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 14px; }
  .brand-text small { display: none; }
  .site-nav { margin-left: 0; }

  .cat-grid, .adv-grid, .promise-grid, .value-cards, .process-flow { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 30px 26px; }
  .modal { grid-template-columns: 1fr; }
  .modal .m-img img { min-height: 220px; max-height: 260px; }
  .modal .m-body { padding: 30px 28px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .auth-card { padding: 36px 28px 32px; }
  .code-row { grid-template-columns: 1fr; }
  .code-row .btn-code { width: 100%; }
  .member-panel { padding: 24px 22px; }
  .user-chip-btn .nick { display: none; }
}
