/* ============ 郑州哈越动网络科技有限公司 - 官网样式 ============ */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #06b6d4;
  --text-main: #0f172a;
  --text-sub: #475569;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow-md: 0 8px 24px rgba(37, 99, 235, .10);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, .12);
  --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ============ 顶部导航 ============ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  box-shadow: var(--shadow-md);
}
/* 公司 Logo 图片（替换文字 Logo） */
.logo-mark.logo-img-wrap { background: none; box-shadow: none; overflow: hidden; }
.logo-img { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; display: block; }
.footer .f-logo .logo-img { width: 34px; height: 34px; border-radius: 8px; }
.f-logo .logo-img { width: 34px; height: 34px; border-radius: 8px; }
.logo span em { font-style: normal; color: var(--primary); }

.nav { display: flex; gap: 8px; }
.nav a {
  padding: 8px 18px; border-radius: 999px;
  font-size: 15px; color: var(--text-sub);
  transition: all .25s ease;
}
.nav a:hover { color: var(--primary); background: var(--primary-light); }
.nav a.active { color: #fff; background: var(--gradient); font-weight: 600; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--text-main); }

/* ============ 首页 Hero ============ */
.hero {
  position: relative; overflow: hidden;
  padding: 110px 0 130px;
  background:
    radial-gradient(ellipse 600px 400px at 15% 20%, rgba(37, 99, 235, .12), transparent),
    radial-gradient(ellipse 500px 350px at 85% 75%, rgba(6, 182, 212, .12), transparent),
    var(--bg-light);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-tag {
  display: inline-block; padding: 6px 20px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  font-size: 14px; font-weight: 600; margin-bottom: 26px;
  border: 1px solid rgba(37, 99, 235, .18);
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25; font-weight: 800; letter-spacing: 1px;
}
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  margin: 22px auto 40px; max-width: 640px;
  font-size: 18px; color: var(--text-sub);
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all .25s ease; border: none;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary-light); transform: translateY(-2px); }

/* 数据条 */
.stats {
  position: relative; margin-top: -60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.stat-card b { display: block; font-size: 34px; font-weight: 800; color: var(--primary); }
.stat-card span { font-size: 14px; color: var(--text-sub); }

/* ============ 通用区块 ============ */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .kicker {
  display: inline-block; font-size: 14px; font-weight: 700;
  color: var(--primary); letter-spacing: 3px; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--text-sub); font-size: 16px; }

/* ============ 卡片 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }

.card {
  background: #fff; border-radius: var(--radius);
  padding: 34px 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .35); }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-sub); }

/* 优势 */
.feature-item { display: flex; gap: 18px; padding: 18px 0; }
.feature-item .num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.feature-item h4 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-sub); }

/* 开发案例 */
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .35); }
.case-img { overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-light); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-body { padding: 22px 22px 26px; }
.case-tag {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 600; margin-bottom: 10px;
}
.case-body h3 { font-size: 18px; margin-bottom: 8px; }
.case-body p { font-size: 14px; color: var(--text-sub); }

/* 关于我们 */
.about-visual {
  border-radius: var(--radius); overflow: hidden;
  background: var(--gradient); min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative; box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-visual .big-logo {
  position: relative; color: #fff; text-align: center;
}
.about-visual .big-logo .mark {
  width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 24px; background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 800;
}
.about-visual .big-logo b { font-size: 24px; letter-spacing: 2px; }
.about-visual .big-logo span { display: block; margin-top: 6px; font-size: 13px; opacity: .85; letter-spacing: 1px; }

.values-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; color: var(--text-sub); font-size: 15px;
}
.values-list li::before {
  content: "✓"; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; margin-top: 3px;
}

/* 流程 */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.process-step {
  background: #fff; border-radius: var(--radius); padding: 28px 18px;
  text-align: center; border: 1px solid var(--border);
  transition: all .3s ease; position: relative;
}
.process-step:hover { border-color: var(--primary); transform: translateY(-4px); }
.process-step .no {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--text-sub); }

/* 联系我们 */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info-card {
  background: var(--gradient); color: #fff;
  border-radius: var(--radius); padding: 40px 34px;
  box-shadow: var(--shadow-md);
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 10px; }
.contact-info-card > p { font-size: 14px; opacity: .9; margin-bottom: 28px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.22); }
.contact-line .ci {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-line b { display: block; font-size: 15px; }
.contact-line span { font-size: 14px; opacity: .9; }

/* 微信二维码 */
.qr-box {
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.22);
  text-align: center;
}
.qr-box img {
  width: 140px; height: 140px; object-fit: contain;
  margin: 0 auto 10px; background: #fff;
  border-radius: 12px; padding: 8px;
}
.qr-box p { font-size: 13px; opacity: .9; }

.contact-form {
  background: #fff; border-radius: var(--radius);
  padding: 40px 34px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--text-main);
  background: var(--bg-light); outline: none; transition: border .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--text-light); margin-top: 14px; text-align: center; }

/* 合作保障模块 */
.guarantee-box {
  background: #fff; border-radius: var(--radius);
  padding: 36px 32px; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.guarantee-box h3 { font-size: 21px; }
.guarantee-box .g-sub { font-size: 14px; color: var(--text-sub); margin: 6px 0 20px; }
.g-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-bottom: 24px; }
.g-list li {
  background: var(--bg-light); border-radius: 12px;
  padding: 14px 16px; border: 1px solid var(--border);
}
.g-list li b { display: block; font-size: 15px; margin-bottom: 3px; color: var(--text-main); }
.g-list li b::before { content: "✓ "; color: var(--primary); font-weight: 800; }
.g-list li span { font-size: 13px; color: var(--text-sub); }
.g-cta {
  display: flex; gap: 24px; align-items: center;
  background: var(--gradient); border-radius: 14px;
  padding: 22px 26px; color: #fff;
}
.g-qr { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.g-qr img {
  width: 110px; height: 110px; object-fit: contain;
  background: #fff; border-radius: 10px; padding: 6px;
}
.g-qr p { font-size: 13px; line-height: 1.6; }
.g-phone a {
  display: block; font-size: clamp(24px, 3vw, 32px); font-weight: 800;
  color: #fff; letter-spacing: 1px; margin: 2px 0 6px;
}
.g-phone span { font-size: 14px; opacity: .92; }
.g-phone p { font-size: 13px; opacity: .88; }
@media (max-width: 640px) {
  .g-list { grid-template-columns: 1fr; }
  .g-cta { flex-direction: column; text-align: center; }
}

/* CTA 条 */
.cta-band {
  background: var(--gradient); border-radius: 20px;
  padding: 56px 48px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.cta-band p { opacity: .92; margin-bottom: 28px; }
.cta-band .btn { background: #fff; color: var(--primary); }

/* 页脚 */
.footer { background: #0f172a; color: #cbd5e1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer .f-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.footer .f-logo .logo-mark { width: 34px; height: 34px; font-size: 16px; }
.footer p, .footer li { font-size: 14px; color: #94a3b8; }
.footer li { padding: 5px 0; }
.footer li a:hover { color: #60a5fa; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; text-align: center; font-size: 13px; color: #64748b;
}

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: all .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 5%;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .stats, .process, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 90px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
