/* ========== 秀钟天工 Elicore · E1 系列官网 ========== */
:root {
  --bg: #070b14;
  --bg-alt: #0b1120;
  --panel: #101828;
  --panel-border: rgba(148, 163, 184, 0.12);
  --text: #e6edf6;
  --muted: #93a1b5;
  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 60%, #8b5cf6 100%);
  --radius: 16px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #04121c;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34, 211, 238, 0.4); }
.btn-ghost { border-color: rgba(148, 163, 184, 0.35); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--panel-border); background: rgba(7, 11, 20, 0.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad); color: #04121c;
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.brand-text { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; }
.brand-text em { font-style: normal; font-weight: 500; color: var(--accent); font-size: 14px; margin-left: 2px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) { font-size: 15px; color: var(--muted); transition: color 0.2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 15% 20%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(700px 500px at 85% 70%, rgba(59, 130, 246, 0.12), transparent 60%),
    var(--bg);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
  padding: 5px 14px; border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 999px;
}
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.15; font-weight: 800; letter-spacing: 0.01em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin: 22px 0 32px; color: var(--muted); font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, auto);
  gap: 36px; justify-content: start;
}
.hero-stats dt { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dt small { font-size: 14px; margin-left: 3px; }
.hero-stats dd { color: var(--muted); font-size: 13px; margin-top: 2px; }
.hero-visual img {
  border-radius: var(--radius);
  border: 1px solid var(--panel-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(34, 211, 238, 0.08);
}

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2, .tech-copy h2, .cta-inner h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; line-height: 1.25; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 16px; }
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.feature .icon {
  width: 52px; height: 52px; border-radius: 13px; font-size: 24px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.25);
}

/* ---------- 产品卡 ---------- */
.products { align-items: stretch; }
.product { display: flex; flex-direction: column; position: relative; padding: 22px; }
.product .badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--grad); color: #04121c; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.product.flagship { border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 40px rgba(34, 211, 238, 0.08); }
.product-img { border-radius: 12px; overflow: hidden; margin-bottom: 20px; aspect-ratio: 4/4.4; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product:hover .product-img img { transform: scale(1.05); }
.product h3 { font-size: 24px; font-weight: 800; }
.product-tag { color: var(--accent); font-size: 13.5px; margin: 4px 0 18px; }
.product-specs { list-style: none; margin-bottom: 22px; flex: 1; }
.product-specs li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed rgba(148, 163, 184, 0.15); font-size: 14px;
}
.product-specs li span { color: var(--muted); }
.product-specs li b { font-weight: 700; }

/* ---------- 核心技术 ---------- */
.tech-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-visual img { border-radius: var(--radius); border: 1px solid var(--panel-border); box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.tech-list { list-style: none; margin-top: 28px; }
.tech-list li { padding: 16px 0 16px 22px; border-left: 2px solid rgba(34, 211, 238, 0.3); }
.tech-list li + li { margin-top: 6px; }
.tech-list h3 { font-size: 16.5px; margin-bottom: 4px; }
.tech-list p { color: var(--muted); font-size: 14.5px; }

/* ---------- 场景卡 ---------- */
.scenario { display: flex; flex-direction: column; }
.scenario p { flex: 1; }
.scenario-fit {
  display: inline-block; margin-top: 18px; font-size: 12.5px; font-weight: 600;
  color: var(--accent); background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25); padding: 4px 12px; border-radius: 999px;
  align-self: flex-start;
}

/* ---------- 规格表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--panel-border); border-radius: var(--radius); background: var(--panel); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid rgba(148, 163, 184, 0.1); }
.spec-table thead th {
  background: rgba(34, 211, 238, 0.06); font-size: 16px; font-weight: 800;
  position: sticky; top: 0;
}
.spec-table tbody td:first-child { color: var(--muted); white-space: nowrap; font-weight: 500; }
.spec-table .row-group td {
  background: rgba(59, 130, 246, 0.08); color: var(--accent);
  font-weight: 700; font-size: 13px; letter-spacing: 0.12em; padding: 9px 18px;
}
.spec-table .col-flag { background: rgba(34, 211, 238, 0.05); }
.spec-table thead .col-flag { color: var(--accent); }
.spec-table tbody tr:hover td { background: rgba(148, 163, 184, 0.05); }
.spec-table tbody tr:hover .col-flag { background: rgba(34, 211, 238, 0.09); }

/* ---------- CTA ---------- */
.section-cta {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(34, 211, 238, 0.1), transparent 65%),
    var(--bg-alt);
  text-align: center;
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0 22px; }
.cta-contact { color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--panel-border); padding: 60px 0 0; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: 15px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 0; border-top: 1px solid var(--panel-border);
  color: var(--muted); font-size: 13px;
}
.icp { opacity: 0.7; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 130px; }
  .tech-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 68px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 11, 20, 0.97); border-bottom: 1px solid var(--panel-border);
    padding: 12px 4%; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid rgba(148,163,184,0.08); }
  .nav-cta { margin: 14px 8px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .section { padding: 70px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
