:root {
  --green: #6fa284;
  --green-dark: #587f66;
  --green-deep: #2e4a3a;
  --ink: #1A1A1A;
  --gray-6: #666666;
  --gray-7: #777777;
  --gray-9: #999999;
  --bg-soft: #F7F8FA;
  --bg-green-soft: #f1f7f3;
  --border: #E5E5E5;
  --radius: 12px;
}

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

body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== 顶部导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: flex-start;
  height: 72px; padding: 0 120px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .brand img { width: 40px; height: 40px; object-fit: contain; }
.nav .brand .name { font-size: 18px; font-weight: 600; }
.nav .nav-menu { display: flex; align-items: center; gap: 44px; margin-left: auto; }
.nav .menu { display: flex; align-items: center; gap: 44px; }
.nav .menu a { font-size: 15px; font-weight: 500; color: #555; transition: color .2s; }
.nav .menu a:hover { color: var(--green-dark); }
.nav .menu a.active { color: var(--ink); }
.nav .user { display: flex; align-items: center; gap: 24px; }
.nav .nav-toggle { display: none; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid #E5E7EB; border-radius: 15px; margin-left: 24px; }
.lang-switch button {
  border: none; background: none; cursor: pointer;
  font-size: 12px; padding: 4px 10px; border-radius: 12px; color: #666;
  font-family: inherit; transition: all .2s;
}
.lang-switch button.on { background: #5c8fb4; color: #fff; }
.lang-switch button { white-space: nowrap; }
.nav .brand .name { white-space: nowrap; }
/* 英文/韩文模式导航收紧 */
html[lang="en"] .nav .brand .name, html[lang="ko"] .nav .brand .name { font-size: 16px; }
html[lang="en"] .nav .nav-menu, html[lang="en"] .nav .menu,
html[lang="ko"] .nav .nav-menu, html[lang="ko"] .nav .menu { gap: 26px; }
html[lang="en"] .nav .menu a, html[lang="ko"] .nav .menu a { font-size: 14px; white-space: nowrap; }
.nav .user .login { font-size: 15px; font-weight: 500; color: #555; }
.nav .btn-reg {
  display: inline-block; padding: 8px 24px;
  background: var(--green); color: #fff;
  font-size: 15px; font-weight: 600; border-radius: 4px;
  transition: background .2s;
}
.nav .btn-reg:hover { background: #587f66; }

/* ===== 一屏化区块 ===== */
.screen {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}

/* ===== Hero ===== */
.hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  min-height: calc(100vh - 72px); padding: 88px 120px 72px; text-align: center;
  background: linear-gradient(180deg, #eef6f0 0%, #fff 100%);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 16px; background: #e5f0e9;
  font-size: 13px; color: var(--green-dark); font-weight: 500;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: 52px; font-weight: 700; }
.hero .sub { font-size: 18px; color: var(--gray-6); line-height: 30px; max-width: 900px; }
.cta-row { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.btn {
  display: inline-block; padding: 14px 44px; border-radius: 6px;
  font-size: 16px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #587f66; }
.btn-outline {
  background: #fff; color: var(--green-dark); font-weight: 500;
  border: 1px solid var(--green); padding: 13px 43px;
}
.btn-outline:hover { background: var(--bg-green-soft); }
.trust { font-size: 13px; color: var(--gray-9); }

/* ===== 通用区块 ===== */
.section { padding: 80px 120px; }
.section.alt { background: var(--bg-soft); }
.section-title { font-size: 34px; font-weight: 700; text-align: center; }
.section-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px;
}
.section-head .t { font-size: 30px; font-weight: 700; }
.section-head .n { font-size: 13px; color: #AAA; }

/* ===== 对比区 ===== */
.compare { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.compare-row { display: flex; align-items: center; gap: 32px; }
.compare-card {
  width: 460px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,.08); overflow: hidden;
}
.compare-card .img { width: 100%; height: 260px; object-fit: cover; }
.compare-card .img-placeholder {
  width: 100%; height: 260px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f2f7f4, #e1ede5); color: #b6c8bb; font-size: 40px;
}
.compare-card .body { padding: 24px 28px; }
.tag-gray { display: inline-block; padding: 3px 10px; border-radius: 4px; background: #F0F1F2; font-size: 12px; color: #888; }
.tag-green { display: inline-block; padding: 3px 10px; border-radius: 4px; background: #e5f0e9; font-size: 12px; color: var(--green-dark); }
.compare-card h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.compare-card p { font-size: 14px; color: var(--gray-7); line-height: 24px; }
.arrow {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: #fff; font-size: 13px; font-weight: 600;
  box-shadow: 0 4px 12px rgba(111,162,132,.35);
}
.compare-cap { font-size: 13px; color: #AAA; }

/* ===== 能力卡 ===== */
.cards-3 { display: flex; gap: 24px; }
.card {
  flex: 1; background: var(--bg-soft); border-radius: var(--radius);
  padding: 36px 32px;
}
.card .icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--gray-7); line-height: 24px; }
.icon-green { background: #e5f0e9; } .icon-blue { background: #E5F2FB; } .icon-gold { background: #FDF3E2; }

/* ===== 生态导流卡 ===== */
.eco-row { display: flex; gap: 24px; }
.eco-card {
  flex: 1; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: transform .2s;
}
.eco-card:hover { transform: translateY(-4px); }
.eco-card .img { width: 100%; height: 200px; object-fit: cover; }
.eco-card .body { padding: 28px 32px; }
.eco-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.eco-card p { font-size: 14px; color: var(--gray-7); line-height: 24px; margin-bottom: 10px; }
.eco-card .link { font-size: 14px; font-weight: 500; color: var(--green-dark); }

/* ===== 页脚 ===== */
footer { background: var(--bg-soft); padding: 56px 120px 28px; }
.footer-cols { display: flex; justify-content: space-between; gap: 40px; }
.footer-brand { width: 360px; }
.footer-brand .name { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; color: var(--gray-7); line-height: 22px; }
.footer-brand .slogan { margin-top: 10px; font-size: 12px; color: var(--green); font-weight: 500; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 13px; color: var(--gray-7); line-height: 26px; }
.footer-col a:hover { color: var(--green-dark); }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--gray-9);
}

/* ===== 业务生态横幅（首页）===== */
.eco-banner {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px;
}
.eco-banner .bg-stack {
  position: absolute; inset: 0; overflow: hidden;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.eco-banner .bg-stack img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.8s ease;
}
.eco-banner .bg-stack img.on { opacity: 1; }
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}
.eco-banner .mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(24,52,38,.42) 0%, rgba(24,52,38,.30) 45%, rgba(24,52,38,.50) 100%);
}
.eco-banner .inner {
  position: relative; z-index: 1; text-align: center; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.eco-banner h2 { font-size: 36px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.eco-banner .eco-sub { font-size: 15px; color: rgba(255,255,255,.85); letter-spacing: 1px; }
.eco-flow {
  display: flex; align-items: center; gap: 36px;
  margin-top: 22px;
}
.eco-step { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 200px; }
.eco-step .num {
  font-size: 13px; font-weight: 600; color: #fff;
  padding: 2px 14px; border-radius: 12px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
}
.eco-step h3 { font-size: 26px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.eco-step p { font-size: 13px; color: rgba(255,255,255,.82); }
.flow-arrow { opacity: .9; flex-shrink: 0; }

/* ===== 全站动效 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero > * { animation: fadeUp .8s ease both; }
.hero > *:nth-child(2) { animation-delay: .12s; }
.hero > *:nth-child(3) { animation-delay: .24s; }
.hero > *:nth-child(4) { animation-delay: .36s; }
.hero > *:nth-child(5) { animation-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero > * { animation: none; }
  .eco-banner .bg-stack { animation: none; }
}

/* ===== 企业理念 · 全屏横向自动轮播 ===== */
.nature { position: relative; height: 100vh; overflow: hidden; }
.nature-stage { position: relative; height: 100vh; overflow: hidden; }
.nature-track { display: flex; height: 100%; transition: transform 1.1s cubic-bezier(.65,.05,.3,1); }
.nature-track img {
  width: 100%; flex: none; height: 100%; object-fit: cover;
}
.nature-mask { position: absolute; inset: 0; background: rgba(20,40,30,.32); }
.nature-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
  text-align: center; color: #fff; padding: 0 24px;
  transform: translateY(-24px);
}
.nature-copy h2 { font-size: 72px; font-weight: 700; letter-spacing: 14px; text-shadow: 0 4px 24px rgba(0,0,0,.4); }
.nature-copy .line { font-size: 18px; color: rgba(255,255,255,.9); letter-spacing: 3px; }
.nature-copy .caption { font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: 2px; transition: opacity .5s; }
.nature-dots {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: row; gap: 14px; z-index: 2;
}
.nature-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer; transition: all .3s;
}
.nature-dots i.on { background: #fff; transform: scale(1.3); }
@media (max-width: 768px) {
  .nature-copy h2 { font-size: 44px; letter-spacing: 8px; }
  .nature-copy .line { font-size: 15px; }
}

/* ===== 页面 Hero（子页）===== */
.page-hero {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  height: 320px; padding: 40px 120px; text-align: center; color: #fff;
  background: linear-gradient(90deg, #587f66 0%, #6fa284 100%);
}
.page-hero.qingchan { background: linear-gradient(105deg, #6fa284 0%, #93bd9f 100%); }
.page-hero h1 { font-size: 44px; font-weight: 700; }
.page-hero .sub { font-size: 16px; color: #dcebe1; line-height: 28px; max-width: 960px; }
.page-hero .cats { font-size: 14px; font-weight: 500; color: #fff; }

/* ===== 原料卡 ===== */
.mat-row { display: flex; gap: 24px; }
.mat-card {
  flex: 1; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #E8E8E8;
}
.mat-card .top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--bg-green-soft);
}
.mat-card .top h3 { font-size: 19px; font-weight: 600; }
.mat-card .top .tag { font-size: 12px; font-weight: 500; color: var(--green-dark); }
.mat-card .top .pill {
  padding: 4px 12px; border-radius: 4px; background: var(--green);
  color: #fff; font-size: 12px; font-weight: 500;
}
.mat-card .body { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.mat-card .desc { font-size: 14px; color: var(--gray-6); line-height: 23px; }
.spec-row { display: flex; gap: 10px; }
.spec {
  flex: 1; padding: 12px 14px; border-radius: 8px; background: var(--bg-soft);
}
.spec .k { font-size: 11px; color: var(--gray-9); margin-bottom: 4px; }
.spec .v { font-size: 13px; font-weight: 500; }
.mat-card .app { font-size: 13px; color: var(--green-dark); line-height: 22px; }
.more-box {
  margin-top: 24px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--bg-soft); display: flex; flex-direction: column; gap: 12px;
}
.more-box h4 { font-size: 15px; font-weight: 600; }
.more-line { display: flex; align-items: center; gap: 12px; }
.more-line .chip {
  padding: 4px 10px; border-radius: 4px; background: #fff;
  border: 1px solid #d8e2da; font-size: 12px; color: var(--green-dark);
  white-space: nowrap; font-weight: 500;
}
.more-line p { font-size: 13px; color: var(--gray-7); }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.chip-lg { padding: 8px 18px; border-radius: 6px; background: var(--bg-green-soft); font-size: 13px; color: var(--green-dark); font-weight: 500; }

/* ===== CTA 条 ===== */
.cta-band {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 56px 120px; text-align: center; background: var(--green-deep);
}
.cta-band h2 { font-size: 26px; font-weight: 700; color: #fff; }
.cta-band p { font-size: 15px; color: #c2d9c9; }

/* ===== 资质条 ===== */
.cert-bar {
  display: flex; align-items: center; justify-content: space-evenly; gap: 24px;
  padding: 20px 120px; background: var(--bg-green-soft);
}
.cert-bar span { font-size: 13px; color: var(--green-dark); font-weight: 500; }
.cert-bar i { width: 1px; height: 16px; background: #c4dacb; }

/* ===== 产品卡 ===== */
.prod-row { display: flex; gap: 24px; }
.prod-card {
  flex: 1; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid #E8E8E8; transition: transform .2s, box-shadow .2s;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.prod-card .img { width: 100%; height: 230px; object-fit: cover; }
.prod-card .ph {
  width: 100%; height: 230px; display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f2f7f4, #e2eee6); color: #a6bfae;
}
.prod-card .ph .box { width: 64px; height: 100px; border-radius: 8px; border: 2px solid #C4D8B4; }
.prod-card .body { padding: 20px 22px; }
.prod-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.prod-card p { font-size: 13px; color: var(--gray-7); line-height: 21px; margin-bottom: 12px; }
.prod-card .row { display: flex; align-items: center; justify-content: space-between; }
.prod-card .price { font-size: 18px; font-weight: 700; color: var(--green-dark); }
.prod-card .size { font-size: 12px; color: #AAA; }
.prod-card.horizontal { display: flex; align-items: center; gap: 24px; padding: 28px 32px; background: var(--bg-soft); border: none; }
.prod-card.horizontal .ph { width: 150px; height: 150px; border-radius: 10px; flex-shrink: 0; }

/* ===== 关于页 ===== */
.about-stats { display: flex; gap: 40px 48px; padding-top: 16px; flex-wrap: wrap; justify-content: center; }
.about-stats .stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.about-stats .a { font-size: 28px; font-weight: 700; }
.about-stats .b { font-size: 13px; color: #c2d9c9; }
.team-card {
  flex: 1; display: flex; align-items: center; gap: 24px;
  padding: 32px 36px; border-radius: var(--radius); background: var(--bg-soft);
}
.avatar {
  width: 88px; height: 88px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px; font-weight: 600;
}
.team-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.team-card p { font-size: 14px; color: var(--gray-7); line-height: 23px; }
.hist-row { display: flex; gap: 24px; }
.hist-card {
  flex: 1; padding: 24px 26px; border-radius: var(--radius); background: #fff;
}
.hist-card .y { font-size: 24px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.hist-card p { font-size: 13px; color: var(--gray-6); line-height: 22px; }
.brand-block { display: flex; gap: 40px; }
.brand-left { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.brand-left .eyebrow { font-size: 13px; font-weight: 500; color: var(--green-dark); }
.brand-left h2 { font-size: 30px; font-weight: 700; }
.brand-left p { font-size: 14px; color: var(--gray-6); line-height: 26px; }
.brand-right {
  width: 420px; padding: 28px 32px; border-radius: var(--radius);
  background: var(--bg-green-soft); display: flex; flex-direction: column; gap: 12px;
}
.brand-right h4 { font-size: 14px; font-weight: 600; }
.brand-right p { font-size: 13px; color: #555; line-height: 24px; }

/* ===== 合作伙伴 ===== */
.partner-label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.partner-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 22px 14px; background: #fff; border: 1px solid #EBEEF2; border-radius: 10px;
  text-align: center; transition: transform .2s, box-shadow .2s;
}
.partner-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.07); }
.partner-item .mark {
  min-width: 56px; height: 34px; padding: 0 10px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: #F1F3F5; font-size: 14px; font-weight: 700; color: #7A8698; letter-spacing: .5px;
}
.partner-item .nm { font-size: 14px; font-weight: 600; color: #444; }
.partner-item .en { font-size: 10px; color: #AAB2BD; line-height: 15px; }
.partner-item .plogo {
  height: 44px; max-width: 128px; object-fit: contain;
  filter: grayscale(1); opacity: .78;
  transition: filter .25s, opacity .25s;
}
.partner-item:hover .plogo { filter: grayscale(0); opacity: 1; }

/* ===== 关于页 · 动态海洋横幅 ===== */
body.about .page-hero {
  position: relative; overflow: hidden;
  background: #143648;
  min-height: 100vh; height: auto;
}
body.about .page-hero::before {
  content: ''; position: absolute; inset: -6%;
  background: url('assets/nature-ocean.jpg') center/cover no-repeat;
  animation: heroWave 26s ease-in-out infinite alternate;
}
body.about .page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,44,60,.40) 0%, rgba(16,44,60,.24) 45%, rgba(16,44,60,.48) 100%);
}
body.about .page-hero > * { position: relative; z-index: 1; }
body.about .page-hero .sub { color: #D7E8F2; }
@keyframes heroWave {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.16) translate(-2.5%, -1.6%); }
}

/* ===== 子页第一屏 · 标题与高度对齐首页「静享自然」===== */
body.ingredients .page-hero,
body.about .page-hero,
body.join .page-hero { display: block; position: relative; }
body.ingredients .page-hero .hero-copy,
body.about .page-hero .hero-copy,
body.join .page-hero .hero-copy {
  position: absolute; left: 0; right: 0; top: calc(50% - 118.5px);
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; text-align: center; padding: 0 120px;
}
body.ingredients .page-hero h1,
body.about .page-hero h1,
body.join .page-hero h1 {
  font-size: 72px; font-weight: 700; letter-spacing: 14px;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
@media (max-width: 768px) {
  body.ingredients .page-hero .hero-copy,
  body.about .page-hero .hero-copy,
  body.join .page-hero .hero-copy { top: calc(50% - 97px); padding: 0 24px; }
  body.ingredients .page-hero h1,
  body.about .page-hero h1,
  body.join .page-hero h1 { font-size: 44px; letter-spacing: 8px; }
}

/* ===== 关于页 · 与我们合作 · 海洋切片背景 ===== */
body.about .contact-band {
  position: relative; overflow: hidden;
  background: url('assets/nature-ocean.jpg') center 32%/cover no-repeat;
}
body.about .contact-band::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,44,60,.58) 0%, rgba(16,44,60,.36) 55%, rgba(16,44,60,.48) 100%);
}
body.about .contact-band > * { position: relative; z-index: 1; }
body.about .contact-band .l p { color: #BFD9EA; }
body.about .contact-band .r span { color: #D7E8F2; }
.contact-band {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 56px 120px; background: var(--green-deep);
}
.contact-band h2 { font-size: 28px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.contact-band .l p { font-size: 15px; color: #c2d9c9; }
.contact-band .r { display: flex; flex-direction: column; gap: 8px; }
.contact-band .r span { font-size: 13px; color: #dcebe1; }

/* ===== 登录/注册 ===== */
.auth-body {
  min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); padding: 40px 20px;
}
.auth-card {
  width: 460px; background: #fff; border-radius: var(--radius);
  padding: 44px 48px; box-shadow: 0 8px 28px rgba(0,0,0,.08);
  display: flex; flex-direction: column; gap: 20px;
}
.auth-card h2 { font-size: 26px; font-weight: 700; }
.auth-card .s { font-size: 13px; color: var(--gray-9); }
.auth-tabs { display: flex; gap: 32px; }
.auth-tab { display: flex; flex-direction: column; gap: 8px; align-items: center; cursor: pointer; }
.auth-tab span { font-size: 16px; color: var(--gray-9); }
.auth-tab.active span { font-weight: 600; color: var(--ink); }
.auth-tab .bar { width: 72px; height: 3px; border-radius: 2px; background: transparent; }
.auth-tab.active .bar { background: var(--green); }
.input {
  width: 100%; padding: 14px 16px; border-radius: 6px; border: none;
  background: var(--bg-soft); font-size: 14px; color: var(--ink); outline: none;
}
.input::placeholder { color: #AAA; }
.input:focus { box-shadow: 0 0 0 2px rgba(111,162,132,.35); }
.input-row { display: flex; gap: 12px; }
.btn-block {
  width: 100%; height: 48px; border: none; border-radius: 6px;
  background: var(--green); color: #fff; font-size: 16px; font-weight: 600; cursor: pointer;
}
.btn-block:hover { background: #587f66; }
.auth-foot { display: flex; justify-content: space-between; font-size: 13px; }
.auth-foot a.green { color: var(--green-dark); font-weight: 500; }
.auth-foot a.gray { color: var(--gray-9); }
.agree { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--gray-7); }
.agree input { accent-color: var(--green); }
.code-btn {
  background: none; border: none; font-size: 13px; font-weight: 500;
  color: var(--green-dark); cursor: pointer; white-space: nowrap;
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
  .nav { padding: 0 32px; }
  .nav .menu { gap: 24px; }
  .hero { padding: 64px 32px; }
  .hero h1 { font-size: 36px; }
  .section { padding: 56px 32px; }
  .cards-3, .eco-row, .mat-row, .prod-row, .team-row, .hist-row { flex-wrap: wrap; }
  .card, .mat-card, .prod-card, .hist-card { min-width: 280px; }
  footer, .cert-bar, .contact-band { padding-left: 32px; padding-right: 32px; }
  .footer-cols { flex-wrap: wrap; }
  .compare-row { flex-direction: column; }
  .arrow { transform: rotate(90deg); }
  .brand-block, .contact-band { flex-direction: column; }
  .page-hero, .hero h1 { font-size: 34px; }
  .page-hero { min-height: 260px; height: auto; padding: 32px; }
  .eco-banner { min-height: 80vh; }
  .eco-flow { flex-direction: column; gap: 20px; }
  .flow-arrow { transform: rotate(90deg); }
}

/* ===== 移动端适配（≤768px）===== */
@media (max-width: 768px) {
  /* —— 导航：汉堡菜单 —— */
  .nav { height: 60px; padding: 0 16px; }
  .nav .brand .name { font-size: 15px; }
  .nav .brand img { width: 34px; height: 34px; }
  .nav .nav-menu {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: center; gap: 18px;
    background: #fff; padding: 24px 16px 28px;
    box-shadow: 0 12px 20px rgba(0,0,0,.08); border-top: 1px solid #F0F1F3;
  }
  .nav.open .nav-menu { display: flex; }
  .nav .menu { flex-direction: column; gap: 18px; }
  .lang-switch { margin-left: auto; margin-right: 10px; }
  .nav .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 10px 8px;
  }
  .nav-toggle span { width: 22px; height: 2px; border-radius: 2px; background: #333; transition: transform .3s, opacity .3s; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* —— 首页首屏 —— */
  .hero { padding: 52px 20px 44px; gap: 20px; }
  .hero h1 { font-size: 30px; line-height: 42px; }
  .hero .sub { font-size: 15px; line-height: 26px; }
  .cta-row { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .btn { padding: 13px 34px; }
  .trust { padding: 0 12px; }

  /* —— 通用区块 —— */
  .section { padding: 52px 20px; }
  .section-title { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
  .section-head .t { font-size: 22px; }

  /* —— 首页对比区 / 能力卡 —— */
  .compare-card { width: 100%; }
  .cards-3 { flex-direction: column; }
  .eco-banner { min-height: 0; height: auto; padding: 52px 24px; }
  .eco-banner h2 { font-size: 24px; letter-spacing: 1px; }
  .eco-banner .eco-sub { font-size: 13px; }
  .eco-flow { gap: 16px; margin-top: 12px; }
  .eco-step { min-width: 0; }
  .eco-step h3 { font-size: 19px; }
  .flow-arrow { width: 26px; height: 15px; }

  /* —— 页面横幅 —— */
  .page-hero { min-height: 230px; height: auto; padding: 24px 20px; }
  body.about .page-hero { min-height: 70vh; }
  .page-hero h1 { font-size: 28px; }
  .page-hero .sub { font-size: 14px; line-height: 24px; }
  .page-hero .cats { font-size: 12px; }
  .about-stats { gap: 28px; padding-top: 4px; }
  .about-stats .a { font-size: 20px; }
  .about-stats .b { font-size: 11px; }

  /* —— 卡片类 —— */
  .mat-row, .prod-row, .hist-row, .join-info { flex-direction: column; }
  .card, .mat-card, .prod-card, .hist-card { min-width: 0; width: 100%; }
  .team-card { padding: 24px; gap: 16px; }
  .prod-row .team-card { max-width: 100% !important; }
  .avatar { width: 64px; height: 64px; font-size: 24px; }
  .brand-block { flex-direction: column; gap: 20px; }
  .brand-right { width: 100%; padding: 22px 24px; }
  .more-box { padding: 20px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .more-line { flex-direction: column; align-items: flex-start; gap: 8px; }
  .chips-wrap { gap: 8px; }

  /* —— 登录/注册 —— */
  .auth-body { padding: 24px 12px; }
  .auth-card { width: 100%; padding: 36px 24px; min-height: 0; }
  .code-btn-line, .code-btn-green { padding: 0 14px; font-size: 13px; }

  /* —— 协议页 —— */
  .legal-wrap { padding: 36px 20px 72px; }
  .legal-wrap h1 { font-size: 24px; }
  .legal-wrap h2 { font-size: 16px; }

  /* —— 页脚 —— */
  footer { padding: 44px 20px 24px; }
  .footer-cols { flex-direction: column; gap: 28px; }
  .footer-brand { width: 100%; }
  .footer-links { flex-wrap: wrap; gap: 10px 20px; }
  .cert-bar { flex-wrap: wrap; gap: 12px; justify-content: flex-start; padding: 16px 20px; }
  .cert-bar i { display: none; }
  .contact-band { padding: 44px 20px; }
}

/* ===== 页脚 · 友情链接 ===== */
.footer-links {
  margin: 30px 0 4px; padding-top: 22px; border-top: 1px solid #E9EBEF;
  display: flex; align-items: center; gap: 24px; font-size: 12px;
}
.footer-links .lb { color: #6B7280; font-weight: 500; }
.footer-links a { color: #8592A3; }
.footer-links a:hover { text-decoration: underline; }
/* 友情链接：蓝色 → 紫色渐次过渡 */
.footer-links a:nth-of-type(1) { color: #5c8fb4; }
.footer-links a:nth-of-type(2) { color: #5c8fb4; }
.footer-links a:nth-of-type(3) { color: #6fa3c4; }
.footer-links a:nth-of-type(4) { color: #6fa3c4; }
.footer-links a:nth-of-type(5) { color: #7fb0cf; }
.footer-links a:hover { filter: brightness(.85); }
sup { font-size: .55em; vertical-align: super; }

/* ===== 协议 / 政策页 ===== */
.legal-wrap { max-width: 880px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-wrap h1 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.legal-wrap .update { font-size: 13px; color: var(--gray-9); padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.legal-wrap h2 { font-size: 18px; font-weight: 600; margin: 36px 0 12px; }
.legal-wrap p { font-size: 14px; color: var(--gray-6); line-height: 26px; margin: 8px 0; }
.legal-wrap .hl { color: var(--green-dark); font-weight: 500; }
