/* ===== 企鹅家网络科技有限公司 · 静态网站样式 ===== */
:root {
  --c-navy: #14365c;
  --c-navy-2: #1c4b7e;
  --c-blue: #2563a8;
  --c-orange: #ff6a13;
  --c-orange-dark: #e0550a;
  --c-bg: #f5f7fa;
  --c-card: #ffffff;
  --c-text: #1f2a37;
  --c-text-soft: #5b6470;
  --c-line: #e2e8f0;
  --c-ok: #1f9d55;
  --shadow: 0 8px 24px rgba(20, 54, 92, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 54, 92, 0.14);
  --radius: 14px;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-navy), var(--c-blue));
  color: #fff; display: grid; place-items: center;
  font-size: 20px; font-weight: 800;
}
.brand .name { font-size: 18px; color: var(--c-navy); line-height: 1.2; }
.brand .sub { font-size: 12px; color: var(--c-text-soft); font-weight: 400; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--c-text); font-weight: 600; font-size: 15px; padding: 6px 0; position: relative; }
.nav-links a.active, .nav-links a:hover { color: var(--c-orange); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--c-orange); transition: width .25s;
}
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--c-orange); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; box-shadow: 0 6px 16px rgba(255, 106, 19, 0.35);
}
.nav-cta:hover { background: var(--c-orange-dark); color: #fff; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 3px; background: var(--c-navy); border-radius: 2px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue) 100%);
  color: #fff; padding: 78px 0 92px;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,19,.35), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero .tag {
  display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 18px;
}
.hero h1 { font-size: 40px; line-height: 1.25; margin-bottom: 16px; font-weight: 800; }
.hero h1 b { color: var(--c-orange); }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,.86); margin-bottom: 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; cursor: pointer; border: 0; font-size: 15px;
}
.btn-primary { background: var(--c-orange); color: #fff; box-shadow: 0 8px 20px rgba(255,106,19,.4); }
.btn-primary:hover { background: var(--c-orange-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 24px; backdrop-filter: blur(4px);
}
.hero-card h3 { font-size: 17px; margin-bottom: 14px; }
.hero-card .kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.18); font-size: 14px; }
.hero-card .kv:last-child { border-bottom: 0; }
.hero-card .kv b { color: var(--c-orange); }

/* ===== 通用区块 ===== */
.section { padding: 72px 0; }
.section.alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow { color: var(--c-orange); font-weight: 700; letter-spacing: 2px; font-size: 13px; }
.section-head h2 { font-size: 30px; color: var(--c-navy); margin: 10px 0 12px; }
.section-head p { color: var(--c-text-soft); }

/* ===== 优势卡片 ===== */
.advantages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.adv-card .ico {
  width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 16px;
  display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(255,106,19,.12), rgba(37,99,168,.12));
}
.adv-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--c-navy); }
.adv-card p { font-size: 14px; color: var(--c-text-soft); }

/* ===== 产品分类 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  position: relative; background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-badge {
  position: absolute; top: 16px; right: 16px; background: var(--c-orange); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.cat-body { padding: 26px 24px; }
.cat-ico { font-size: 40px; margin-bottom: 12px; }
.cat-card h3 { font-size: 19px; color: var(--c-navy); margin-bottom: 8px; }
.cat-card p { font-size: 14px; color: var(--c-text-soft); margin-bottom: 16px; }
.cat-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-meta span { font-size: 12px; background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-text-soft); padding: 4px 10px; border-radius: 6px; }
.cat-link { display: inline-flex; align-items: center; gap: 6px; color: var(--c-blue); font-weight: 700; font-size: 14px; margin-top: 16px; }
.cat-link:hover { color: var(--c-orange); }

/* ===== 数据统计 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat .num { font-size: 38px; font-weight: 800; color: var(--c-orange); }
.stat .num small { font-size: 18px; }
.stat .label { color: var(--c-text-soft); font-size: 14px; }

/* ===== 流程 ===== */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow-step { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 26px 20px; position: relative; }
.flow-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 20px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-navy); color: #fff; display: grid; place-items: center; font-weight: 800;
}
.flow-step h3 { font-size: 16px; color: var(--c-navy); margin: 10px 0 6px; }
.flow-step p { font-size: 13px; color: var(--c-text-soft); }

/* ===== 关于页 ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-text h2 { font-size: 28px; color: var(--c-navy); margin-bottom: 16px; }
.about-text p { color: var(--c-text-soft); margin-bottom: 14px; }
.about-visual {
  background: linear-gradient(135deg, var(--c-navy), var(--c-blue)); color: #fff;
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg);
}
.about-visual h3 { margin-bottom: 14px; }
.about-visual ul li { padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.2); display: flex; gap: 10px; }
.about-visual ul li::before { content: "✓"; color: var(--c-orange); font-weight: 800; }

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table.spec { width: 100%; border-collapse: collapse; min-width: 720px; }
table.spec th, table.spec td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--c-line); }
table.spec thead th { background: var(--c-navy); color: #fff; font-weight: 600; position: sticky; top: 0; }
table.spec tbody tr:nth-child(even) { background: #fafbfd; }
table.spec tbody tr:hover { background: rgba(255,106,19,.06); }
table.spec td .grade { display: inline-block; background: var(--c-orange); color: #fff; font-weight: 700; padding: 2px 8px; border-radius: 5px; font-size: 12px; }

/* ===== 产品筛选 ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.filter-bar button {
  border: 1px solid var(--c-line); background: #fff; color: var(--c-text); padding: 9px 18px;
  border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 14px; transition: .2s;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }

/* ===== 联系 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info { background: var(--c-navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info h3 { margin-bottom: 18px; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-info .ci .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 18px; flex: none; }
.contact-info .ci b { display: block; font-size: 13px; opacity: .8; font-weight: 400; }
.contact-info .ci span { font-size: 16px; font-weight: 600; }

.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--c-navy); margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--c-text); background: #fff; transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-blue); }
.field textarea { resize: vertical; min-height: 96px; }
.form-note { font-size: 13px; color: var(--c-text-soft); margin-top: 10px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; display: none; }
.form-msg.ok { display: block; background: rgba(31,157,85,.12); color: var(--c-ok); border: 1px solid rgba(31,157,85,.3); }

/* ===== 页脚 ===== */
.site-footer { background: #0e2742; color: #cdd7e3; padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; margin-bottom: 14px; font-size: 15px; }
.footer-grid a, .footer-grid p { color: #aebccd; font-size: 14px; padding: 4px 0; display: block; }
.footer-grid a:hover { color: var(--c-orange); }
.footer-brand .name { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; text-align: center; font-size: 13px; color: #8aa0b8; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .advantages, .stats, .flow { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 20px; border-bottom: 1px solid var(--c-line); display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
  .nav-links .nav-cta { margin-top: 10px; text-align: center; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 30px; }
  .advantages, .stats, .flow, .cat-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}
