/* ============================================================
   吉林瑞荣德能源科技有限公司 · 官网设计系统
   深海军蓝 × 流金 · 高端工业风
   ============================================================ */
:root {
  --navy-950: #060d1a;
  --navy-900: #0a1a2f;
  --navy-800: #0d2137;
  --navy-700: #12294a;
  --navy-600: #1a3559;
  --gold-300: #f0d888;
  --gold-400: #e3c25e;
  --gold-500: #c9a227;
  --gold-600: #a8841f;
  --ink-100: #f4f6fa;
  --ink-300: #c6d0de;
  --ink-400: #93a3b8;
  --ink-500: #6b7a90;
  --line: rgba(201, 162, 39, 0.18);
  --line-soft: rgba(147, 163, 184, 0.14);
  --glass: rgba(13, 33, 55, 0.66);
  --radius: 14px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "SimSun", "Source Han Serif SC", Georgia, serif;
  --shadow-card: 0 10px 34px rgba(3, 8, 18, 0.55);
  --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--navy-950);
  color: var(--ink-100);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold-500); color: var(--navy-950); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-950); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-600); }

/* ---------- 通用布局 ---------- */
.container { width: min(1200px, 92%); margin: 0 auto; }
.section { padding: 96px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); }

.section-head { text-align: center; margin-bottom: 60px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.35em;
  color: var(--gold-500); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink-100);
}
.section-head h2 em { font-style: normal; color: var(--gold-400); }
.section-head .deco { margin: 18px auto 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.section-head .deco::before, .section-head .deco::after {
  content: ""; height: 1px; width: 56px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.section-head .deco::after { background: linear-gradient(90deg, var(--gold-500), transparent); }
.section-head .deco i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-500); display: block; }
.section-head p.sub {
  margin-top: 16px; color: var(--ink-400); max-width: 720px; margin-left: auto; margin-right: auto; font-size: 15px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.35s ease;
  padding: 18px 0;
}
.nav.scrolled {
  background: rgba(6, 13, 26, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text .cn { font-size: 19px; font-weight: 700; letter-spacing: 0.08em; color: var(--ink-100); }
.brand-text .en {
  font-size: 10px; letter-spacing: 0.24em; color: var(--gold-500);
  text-transform: uppercase; font-weight: 500;
}
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 8px 16px; font-size: 15px; color: var(--ink-300);
  border-radius: 8px; transition: all 0.25s; position: relative; letter-spacing: 0.04em;
}
.nav-links a:hover { color: var(--gold-400); }
.nav-links a.active { color: var(--gold-400); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  border-radius: 2px;
}
.nav-cta {
  padding: 9px 22px; border: 1px solid var(--gold-500); color: var(--gold-400);
  border-radius: 30px; font-size: 14px; transition: all 0.3s; letter-spacing: 0.06em;
}
.nav-cta:hover { background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-gold); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--gold-400); margin: 6px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(201, 162, 39, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 85%, rgba(26, 53, 89, 0.55), transparent 65%),
    linear-gradient(160deg, #081527 0%, var(--navy-950) 55%, #060d1a 100%);
}
.hero-bg { position: absolute; inset: 0; opacity: 0.32; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,13,26,0.62) 0%, rgba(6,13,26,0.30) 45%, var(--navy-950) 98%);
}
.hero-content { position: relative; z-index: 2; padding-top: 90px; max-width: 860px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); background: rgba(10, 26, 47, 0.6);
  backdrop-filter: blur(8px);
  padding: 8px 18px; border-radius: 30px; font-size: 13px; letter-spacing: 0.18em;
  color: var(--gold-300); margin-bottom: 30px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); box-shadow: 0 0 10px var(--gold-500); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); font-weight: 800; line-height: 1.22; letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.hero h1 .gold {
  background: linear-gradient(120deg, #e8cf7e 0%, var(--gold-500) 45%, #f5e3a4 70%, var(--gold-600) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .en-title { font-size: 15px; letter-spacing: 0.42em; color: var(--ink-400); text-transform: uppercase; margin-bottom: 26px; }
.hero p.lead { font-size: 17px; color: var(--ink-300); max-width: 640px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 34px;
  border-radius: 40px; font-size: 15px; letter-spacing: 0.08em; font-weight: 600;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500) 60%, var(--gold-600));
  color: var(--navy-950); box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201, 162, 39, 0.4); }
.btn-ghost { border: 1px solid var(--ink-500); color: var(--ink-100); background: rgba(13, 33, 55, 0.35); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--gold-300); transform: translateY(-3px); }

.hero-stats {
  margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-stat {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--glass); backdrop-filter: blur(10px);
  padding: 20px 18px; transition: all 0.3s;
}
.hero-stat:hover { border-color: var(--line); transform: translateY(-4px); }
.hero-stat .num { font-size: 30px; font-weight: 800; color: var(--gold-300); letter-spacing: 0.02em; }
.hero-stat .num small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.hero-stat .label { font-size: 13px; color: var(--ink-400); margin-top: 4px; letter-spacing: 0.08em; }
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--ink-500); font-size: 12px; letter-spacing: 0.3em; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  animation: scrollhint 1.8s infinite;
}
@keyframes scrollhint { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); transform-origin: bottom; } }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 22px; }
.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: linear-gradient(165deg, rgba(18, 41, 74, 0.5), rgba(10, 26, 47, 0.75));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: all 0.35s ease;
}
.card:hover { border-color: var(--line); transform: translateY(-6px); box-shadow: var(--shadow-card); }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0; transition: 0.35s;
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(201, 162, 39, 0.16), rgba(201, 162, 39, 0.05));
  border: 1px solid var(--line);
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--gold-400); }
.card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: 0.04em; }
.card p { font-size: 14px; color: var(--ink-400); line-height: 1.8; }
.card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-400); font-size: 13.5px; margin-top: 16px; letter-spacing: 0.06em; }
.card .more svg { width: 15px; height: 15px; transition: 0.25s; }
.card:hover .more svg { transform: translateX(5px); }

/* 图片卡片 */
.pic-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); cursor: pointer; }
.pic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pic-card:hover img { transform: scale(1.06); }
.pic-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(6, 13, 26, 0.92));
  font-size: 14px; letter-spacing: 0.05em; color: var(--ink-100);
}
.pic-card .cap small { display: block; color: var(--ink-400); font-size: 12px; margin-top: 3px; }

/* ---------- 数据带 ---------- */
.strip {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-500) 45%, var(--gold-400) 70%, var(--gold-500));
  padding: 34px 0; position: relative; overflow: hidden;
}
.strip::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255,255,255,0.05) 26px 28px);
}
.strip .grid { position: relative; }
.strip-item { text-align: center; color: var(--navy-950); }
.strip-item .num { font-size: 38px; font-weight: 800; letter-spacing: 0.02em; }
.strip-item .num small { font-size: 20px; }
.strip-item .label { font-size: 13.5px; font-weight: 600; letter-spacing: 0.14em; opacity: 0.78; margin-top: 2px; }

/* ---------- 数据表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(10, 26, 47, 0.6); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
table.data th {
  background: rgba(201, 162, 39, 0.12); color: var(--gold-300); font-weight: 600;
  padding: 13px 16px; text-align: left; letter-spacing: 0.06em; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
table.data td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-300); }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: rgba(201, 162, 39, 0.045); }
table.data td:first-child { color: var(--ink-100); font-weight: 500; white-space: nowrap; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12.5px;
  border: 1px solid var(--line); color: var(--gold-400); letter-spacing: 0.06em;
  background: rgba(201, 162, 39, 0.07);
}

/* ---------- 时间轴 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold-500), var(--navy-600), transparent); }
.tl-item { position: relative; padding: 0 0 34px 10px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--navy-950); border: 2px solid var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}
.tl-item .year { color: var(--gold-400); font-weight: 700; font-size: 16px; letter-spacing: 0.1em; }
.tl-item h4 { font-size: 16.5px; margin: 6px 0 6px; }
.tl-item p { font-size: 14px; color: var(--ink-400); }

/* ---------- 页脚 ---------- */
.footer {
  background: #050b14; border-top: 1px solid var(--line-soft);
  padding: 70px 0 0; position: relative; overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer h4 { font-size: 15px; letter-spacing: 0.14em; margin-bottom: 20px; color: var(--gold-300); }
.footer p, .footer li { font-size: 13.5px; color: var(--ink-400); line-height: 2.1; }
.footer li a:hover { color: var(--gold-400); }
.footer .brand { margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; color: var(--ink-500);
}

/* ---------- 页头(内页banner) ---------- */
.page-hero {
  padding: 170px 0 90px; position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(201, 162, 39, 0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; letter-spacing: 0.08em; }
.page-hero .en { font-size: 12.5px; letter-spacing: 0.5em; color: var(--gold-500); text-transform: uppercase; margin-top: 12px; }
.page-hero .crumb { margin-top: 20px; font-size: 13.5px; color: var(--ink-400); }
.page-hero .crumb a { color: var(--ink-300); }
.page-hero .crumb a:hover { color: var(--gold-400); }
.page-hero .crumb .sep { margin: 0 10px; color: var(--ink-500); }

/* ---------- 其他组件 ---------- */
.lead-p { font-size: 16px; color: var(--ink-300); }
.accent-p { font-size: 14px; color: var(--ink-400); }

/* 特色列表 */
.feature-list { display: grid; gap: 14px; }
.feature-list li {
  display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-300);
  padding: 14px 18px; border: 1px solid var(--line-soft); border-radius: 10px;
  background: rgba(10, 26, 47, 0.5); transition: 0.25s;
}
.feature-list li:hover { border-color: var(--line); }
.feature-list li b { color: var(--gold-300); }
.feature-list .num-badge {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* 图文两栏 */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .img-side img { border-radius: var(--radius); border: 1px solid var(--line-soft); box-shadow: var(--shadow-card); }
.split h3 { font-size: 26px; letter-spacing: 0.05em; margin-bottom: 18px; }
.split h3 em { font-style: normal; color: var(--gold-400); }

/* 渐变文字标题 */
.grad-text {
  background: linear-gradient(120deg, #e8cf7e, var(--gold-500) 55%, #f5e3a4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; } .reveal.d4 { transition-delay: 0.4s; }
.reveal.d5 { transition-delay: 0.5s; } .reveal.d6 { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 78vw); height: 100vh;
    background: rgba(6, 13, 26, 0.98); flex-direction: column; padding: 90px 30px 30px;
    gap: 8px; transition: right 0.35s ease; border-left: 1px solid var(--line);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 17px; padding: 14px 10px; }
  .nav-burger { display: block; z-index: 101; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .section { padding: 66px 0; }
  .strip-item .num { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- 图片查看器 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(3, 6, 12, 0.94);
  display: none; align-items: center; justify-content: center; cursor: zoom-out;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 0 60px rgba(201, 162, 39, 0.2); }
.lightbox .close-btn {
  position: absolute; top: 26px; right: 30px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--ink-500); background: none; color: var(--ink-100);
  font-size: 20px; cursor: pointer; transition: 0.25s;
}
.lightbox .close-btn:hover { border-color: var(--gold-500); color: var(--gold-400); transform: rotate(90deg); }

/* ---------- 图表容器 ---------- */
.chart-box { width: 100%; height: 400px; }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 99;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--gold-600); background: rgba(10, 26, 47, 0.85);
  color: var(--gold-400); font-size: 18px; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.3s; backdrop-filter: blur(8px);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-gold); }
