/* ============================================================
   青黄智催 官方网站 · 样式表
   品牌色：青绿 #0F6E56 → #1D9E75 → #97C459 → 金黄 #F5A623
   深底：#0A2540
   ============================================================ */

:root {
  --green: #0F6E56;
  --teal: #1D9E75;
  --lime: #97C459;
  --gold: #F5A623;
  --ink: #0A2540;
  --ink-2: #123154;
  --text: #2C3A47;
  --muted: #6B7A8C;
  --line: #E4E9EF;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10, 37, 64, .06);
  --shadow: 0 10px 34px rgba(10, 37, 64, .10);
  --grad: linear-gradient(90deg, #0F6E56 0%, #1D9E75 35%, #97C459 70%, #F5A623 100%);
}

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

/* 后台未配置的板块用 hidden 属性隐藏；此处加保险，防止后续样式覆盖 display */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
               "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s;
}
.nav.scrolled {
  background: rgba(10, 37, 64, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .18);
}
.nav-inner { display: flex; align-items: center; height: 72px; gap: 28px; }
.nav-logo { height: 40px; width: auto; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  color: rgba(255, 255, 255, .82); font-size: 15px; position: relative; padding: 4px 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 20px rgba(15, 110, 86, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 110, 86, .36); }
.btn-ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.nav-cta { margin-left: 4px; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #0A2540 0%, #123154 55%, #0F3A50 100%);
  color: #fff; overflow: hidden; padding: 120px 0 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero-glow {
  position: absolute; right: 6%; top: 22%; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 158, 117, .30), transparent 62%);
  filter: blur(28px);
}
.hero-inner { position: relative; z-index: 2; }
.hero-text { max-width: 720px; }
.eyebrow {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 22px; font-weight: 500;
}
.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px); line-height: 1.22; font-weight: 700; letter-spacing: -.5px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 24px; font-size: clamp(15px, 1.7vw, 18px); color: rgba(255, 255, 255, .78); max-width: 620px; }
.hero-btns { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 60px; display: flex; gap: 54px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1.2; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .62); margin-top: 4px; }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 12px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; border-radius: 2px;
  background: #fff; transform: translateX(-50%); animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.sec-head { max-width: 780px; margin-bottom: 52px; }
.sec-tag {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .16em;
  color: var(--teal); margin-bottom: 14px;
}
.sec-head h2, .sub-head {
  font-size: clamp(24px, 3vw, 34px); line-height: 1.4; color: var(--ink); font-weight: 700;
}
.sec-desc { margin-top: 14px; color: var(--muted); font-size: 16px; }
.sub-head { margin: 56px 0 26px; font-size: clamp(20px, 2.4vw, 26px); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-ico {
  font-size: 15px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-bottom: 14px;
}
.card h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card-s { padding: 24px 22px; }
.card-s h3 { font-size: 16.5px; }

/* ---------- 型号卡 ---------- */
.model {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.model-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.model-head h3 { font-size: 30px; color: var(--ink); }
.model-tag {
  font-size: 13px; color: var(--teal); background: rgba(29, 158, 117, .10);
  padding: 4px 12px; border-radius: 999px;
}
.model-kv li {
  display: flex; justify-content: space-between; padding: 11px 0;
  border-bottom: 1px dashed var(--line); font-size: 15px;
}
.model-kv li:last-child { border-bottom: 0; }
.model-kv span { color: var(--muted); }
.model-kv b { color: var(--ink); font-weight: 600; }
/* 型号亮点 */
.model { display: flex; flex-direction: column; }
.model-points { margin: 18px 0 0; display: grid; gap: 9px; }
.model-points li {
  font-size: 14.5px; color: var(--muted); padding-left: 24px; position: relative; line-height: 1.6;
}
.model-points li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 8px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.model-cta { margin-top: 22px; align-self: flex-start; }

/* ---------- 新闻动态 ---------- */
.news-list { display: grid; gap: 14px; }
.news-item {
  display: flex; gap: 24px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-sm);
}
.news-date {
  flex: 0 0 116px; font-size: 14px; color: var(--teal); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.news-body h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.news-body p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ---------- 常见问题 ---------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; box-shadow: var(--shadow-sm);
}
.faq-item summary {
  cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--teal); font-weight: 400; line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-a {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14.5px; color: var(--muted); line-height: 1.8;
}

@media (max-width: 640px) {
  .news-item { flex-direction: column; gap: 8px; padding: 18px 20px; }
  .news-date { flex: none; }
}

/* ---------- 表格 ---------- */
.table-wrap {
  margin-top: 40px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow-sm);
}
.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .04em;
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: rgba(29, 158, 117, .045); }
.spec-table td:first-child { color: var(--muted); }
.spec-table .hl { color: var(--teal); font-weight: 700; }
.table-note { padding: 12px 20px; font-size: 13px; color: var(--muted); background: var(--bg-soft); }

/* ---------- 7 阶段 ---------- */
.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 12px;
  text-align: center; position: relative; transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step i {
  display: block; width: 34px; height: 34px; line-height: 34px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--grad); color: #fff; font-style: normal;
  font-size: 15px; font-weight: 700;
}
.step b { display: block; font-size: 15px; color: var(--ink); }
.step span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.6; }

/* ---------- 安全 ---------- */
.safety {
  margin-top: 48px; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 40px 38px;
}
.safety-badge {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .16em;
  color: var(--gold); margin-bottom: 14px;
}
.safety h3 { font-size: clamp(19px, 2.3vw, 24px); margin-bottom: 22px; font-weight: 600; }
.safety-list { display: grid; gap: 12px; }
.safety-list li { font-size: 14.5px; color: rgba(255, 255, 255, .76); padding-left: 20px; position: relative; }
.safety-list li::before {
  content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold);
}
.safety-list b { color: var(--lime); margin-right: 10px; font-weight: 600; }

/* ---------- 场景 ---------- */
.scene {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  border-left: 3px solid transparent; border-top: 1px solid var(--line);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.scene:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-left-color: var(--teal); }
.scene h3 { font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.scene p { font-size: 14.5px; color: var(--muted); }

.fruits {
  margin-top: 56px; text-align: center; padding: 34px 24px; background: #fff;
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.fruits-label { font-size: 13px; letter-spacing: .16em; color: var(--teal); font-weight: 600; }
.fruit-tags { margin: 18px 0 10px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fruit-tags i {
  font-style: normal; font-size: 15px; padding: 7px 20px; border-radius: 999px;
  background: rgba(15, 110, 86, .08); color: var(--green); font-weight: 500;
}
.fruits-note { font-size: 13px; color: var(--muted); }

/* ---------- 关于 ---------- */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); margin-bottom: 22px; }
.about-text p { font-size: 16px; color: var(--muted); margin-bottom: 16px; }
.about-text p b { color: var(--green); }
.about-text p b:nth-of-type(2) { color: var(--gold); }
.about-quote {
  border-left: 3px solid var(--lime); padding-left: 18px; color: var(--text) !important;
  font-size: 15px !important;
}
.about-slogan {
  margin-top: 24px; font-size: 15px; letter-spacing: .18em; color: var(--ink);
  font-weight: 600; text-transform: uppercase;
}
.about-logo {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border-radius: var(--radius); padding: 36px;
}
.about-logo img { width: 280px; height: 280px; object-fit: contain; }

/* ---------- CTA ---------- */
.cta-section {
  background: linear-gradient(160deg, #0A2540 0%, #123154 100%); color: #fff; text-align: center;
}
.cta-inner h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; }
.cta-inner > p { margin-top: 16px; color: rgba(255, 255, 255, .74); font-size: 16px; }
.cta-btns { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact {
  margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); text-align: left;
}
.cta-contact div { display: flex; flex-direction: column; }
.cta-contact span { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.cta-contact b { font-size: 15px; color: #fff; font-weight: 500; margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { background: #071A2E; color: rgba(255, 255, 255, .62); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h4 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.footer-cols a, .footer-cols span { display: block; font-size: 13.5px; margin-bottom: 9px; }
.footer-cols a:hover { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10); padding: 20px 0 28px; font-size: 13px;
}
.footer-bottom .icp { opacity: .8; }
.disclaimer { margin-top: 8px; font-size: 12px; opacity: .55; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-logo { padding: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 720px) {
  .nav-links {
    display: flex; position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(10, 37, 64, .97); backdrop-filter: blur(12px);
    flex-direction: column; gap: 0; padding: 12px 24px 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-cta { display: none; }

  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 28px; }
  .hero-stats b { font-size: 26px; }
  .cta-contact { grid-template-columns: 1fr; text-align: center; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .safety { padding: 30px 22px; }
  .wrap { padding: 0 18px; }
}
