/* 杭州易赫网络科技有限公司 — 科技公司风格样式表 */
:root {
  --brand: #0b3d91;        /* 主色：科技深蓝 */
  --brand-2: #0ea5e9;      /* 辅助色：科技青 */
  --brand-grad: linear-gradient(135deg, #0b3d91 0%, #0ea5e9 100%);
  --dark: #0f1b33;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --line: #e5e9f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 61, 145, .08);
  --shadow-lg: 0 20px 50px rgba(11, 61, 145, .14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-grad);
  color: #fff; font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(14,165,233,.35);
}
.logo-text .cn { font-size: 18px; font-weight: 800; color: var(--dark); letter-spacing: .5px; }
.logo-text .en { font-size: 11px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink); position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brand-grad); transition: width .25s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-tel {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--brand); font-size: 17px;
}
.nav-tel svg { width: 20px; height: 20px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; color: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(14,165,233,.25), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(11,61,145,.4), transparent 50%),
    linear-gradient(135deg, #0b1f4b 0%, #0b3d91 55%, #0ea5e9 130%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero .container { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 22px;
}
.hero .badge svg { width: 15px; height: 15px; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.25; letter-spacing: .5px; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(90deg,#7dd3fc,#a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 18px; color: #dbeafe; max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 12px; font-weight: 700; font-size: 16px;
  transition: transform .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; }
.hero-stats .num { font-size: 32px; font-weight: 800; }
.hero-stats .lab { font-size: 13px; color: #bfdbfe; }
.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px; padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h4 { font-size: 15px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.hero-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hero-card ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.hero-card li svg { width: 16px; height: 16px; color: #7dd3fc; flex-shrink: 0; }

/* ---------- 通用板块 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .tag {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand-2);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* ---------- 服务卡片 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-2); }
.service-card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--brand-grad); color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(14,165,233,.3);
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.service-card .more { font-size: 14px; font-weight: 700; color: var(--brand); }
.service-card .more:hover { text-decoration: underline; }

/* ---------- 区域覆盖 ---------- */
.dist-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.dist-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 12px; text-align: center; transition: all .2s;
}
.dist-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-3px); }
.dist-card .name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.dist-card .hint { font-size: 12px; color: var(--muted); }

/* ---------- 解决方案 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.sol-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: all .25s; }
.sol-card:hover { border-color: var(--brand-2); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.sol-card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sol-card .icon svg { width: 22px; height: 22px; color: var(--brand); }
.sol-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.sol-card p { font-size: 14px; color: var(--muted); }

/* ---------- 数据统计 ---------- */
.stats-band { background: var(--brand-grad); color: #fff; }
.stats-band .container { padding: 72px 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat .num { font-size: 44px; font-weight: 800; margin-bottom: 6px; }
.stat .lab { font-size: 14px; color: #dbeafe; }

/* ---------- 流程 ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flow-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; }
.flow-card .step {
  position: absolute; top: -14px; left: 22px;
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand-grad);
  color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.flow-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin: 14px 0 8px; }
.flow-card p { font-size: 14px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, #0b1f4b 0%, #0b3d91 60%, #0ea5e9 140%); color: #fff; text-align: center; }
.cta h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.cta p { color: #dbeafe; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .addr { margin-top: 26px; font-size: 14px; color: #bfdbfe; }

/* ---------- 页脚 ---------- */
footer { background: var(--dark); color: #9aa5b8; }
.footer-main { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-about .logo { margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 2; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #7dd3fc; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; }

/* ---------- 移动端 ---------- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; font-weight: 700; font-size: 15px; }
.mobile-bar svg { width: 18px; height: 18px; }
.mobile-bar .call { background: var(--brand-grad); color: #fff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid, .sol-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid, .flow-grid { grid-template-columns: 1fr 1fr; }
  .dist-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-tel { display: none; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: 74vw; max-width: 320px;
    background: #fff; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 80px 28px 28px; box-shadow: -8px 0 30px rgba(0,0,0,.12);
    transform: translateX(100%); transition: transform .3s ease;
    z-index: 110;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { display: block; width: 100%; padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; z-index: 120; }
  .mobile-bar { display: flex; }
  .section { padding: 64px 0; }
  body { padding-bottom: 0; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .services-grid, .sol-grid, .stats-grid, .flow-grid { grid-template-columns: 1fr; }
  .dist-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-card ul { grid-template-columns: 1fr; }
}

/* ---------- 页面通用(子页) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0b1f4b 0%, #0b3d91 55%, #0ea5e9 130%);
  color: #fff; text-align: center; padding: 84px 0 64px;
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #dbeafe; }
.breadcrumb { font-size: 13px; color: #bfdbfe; margin-top: 12px; }
.breadcrumb a:hover { text-decoration: underline; }
.content { max-width: 900px; margin: 0 auto; }
.content h2 { font-size: 24px; color: var(--dark); margin: 40px 0 16px; }
.content h3 { font-size: 19px; color: var(--dark); margin: 26px 0 12px; }
.content p { font-size: 15px; color: var(--muted); margin-bottom: 16px; line-height: 1.9; }
.content ul.ticks { margin: 12px 0 20px; }
.content ul.ticks li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); margin-bottom: 12px; }
.content ul.ticks svg { width: 18px; height: 18px; color: var(--brand-2); flex-shrink: 0; margin-top: 3px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.contact-card h3 svg { width: 20px; height: 20px; color: var(--brand); }
.contact-card li { display: flex; gap: 12px; font-size: 15px; margin-bottom: 16px; color: var(--ink); }
.contact-card li svg { width: 18px; height: 18px; color: var(--brand-2); flex-shrink: 0; margin-top: 4px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
