/* ============================================================
   广州安豪软件科技有限公司 - 企业官网样式
   风格：简约大气 / 深蓝商务
   ============================================================ */
:root {
  --navy: #0a2540;
  --navy-2: #103358;
  --blue: #1d5fd6;
  --blue-light: #3b82f6;
  --accent: #2e7cf6;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --text: #1e293b;
  --text-mute: #64748b;
  --line: #e2e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --maxw: 1180px;
}

* { 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);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--navy); }
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  display: block; object-fit: contain;
}
.nav { display: flex; gap: 8px; }
.nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; color: var(--text-mute);
  transition: all 0.2s;
}
.nav a:hover { color: var(--blue); background: var(--bg-soft); }
.nav a.active { color: var(--blue); font-weight: 600; background: #eaf2fe; }
.nav-cta {
  background: var(--blue); color: #fff !important; font-weight: 600;
  padding: 9px 20px !important; border-radius: 999px !important;
}
.nav-cta:hover { background: var(--navy) !important; }
.nav a.nav-cta.active { background: var(--blue); color: #fff !important; }


.menu-btn { display: none; background: none; border: none; font-size: 24px; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 400px at 85% -10%, rgba(59, 130, 246, 0.35), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(29, 95, 214, 0.25), transparent 55%),
    linear-gradient(150deg, #0a2540 0%, #103358 55%, #14418f 100%);
  color: #fff;
  padding: 110px 0 130px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35); font-size: 14px; letter-spacing: 2px;
  margin-bottom: 26px; color: #cfe0ff;
}
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.hero h1 span { color: #7db4ff; }
.hero p.lead { margin: 22px 0 38px; font-size: 18px; color: #c9d8ef; max-width: 620px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(46, 124, 246, 0.45); }
.btn-primary:hover { background: #1d5fd6; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .kicker {
  display: inline-block; color: var(--blue); font-size: 14px; font-weight: 600;
  letter-spacing: 3px; margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; color: var(--navy); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--text-mute); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px; margin-bottom: 20px;
  background: linear-gradient(135deg, #eaf2fe, #dbeafe);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--text-mute); }

/* ---------- 数据统计 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 10px; }
.stat .num { font-size: 42px; font-weight: 800; color: var(--navy); }
.stat .num em { color: var(--blue); font-style: normal; }
.stat .label { color: var(--text-mute); font-size: 15px; margin-top: 6px; }

/* ---------- 流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flow-step { text-align: center; position: relative; padding: 26px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.flow-step .no {
  width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.flow-step h4 { font-size: 15.5px; color: var(--navy); margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--text-mute); }

/* ---------- 列表页头 ---------- */
.page-hero {
  background: linear-gradient(150deg, #0a2540, #14418f);
  color: #fff; padding: 76px 0 70px; text-align: center;
}
.page-hero h1 { font-size: 38px; font-weight: 800; letter-spacing: 1px; }
.page-hero p { margin-top: 14px; color: #c9d8ef; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; border-left: 2px solid #dbeafe; }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item::before {
  content: ""; position: absolute; left: -39px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--blue);
}
.timeline-item .year { font-weight: 800; color: var(--blue); font-size: 18px; }
.timeline-item h4 { color: var(--navy); margin: 4px 0; }
.timeline-item p { color: var(--text-mute); font-size: 14.5px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; display: flex; gap: 18px; align-items: flex-start; }
.info-card .icon { width: 48px; height: 48px; border-radius: 12px; background: #eaf2fe; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.info-card h4 { color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.info-card p { color: var(--text-mute); font-size: 14.5px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: #e11d48; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text); background: #fbfdff;
  transition: border 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 95, 214, 0.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--text-mute); margin-top: 6px; }

.msg-tip { border-radius: 10px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 18px; display: none; }
.msg-tip.ok { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.msg-tip.err { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: linear-gradient(135deg, #0a2540, #14418f);
  border-radius: 20px; color: #fff; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: #c9d8ef; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy); color: #9fb3d1; padding: 60px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer p { font-size: 14px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a:hover { color: #fff; }
.footer-bottom { text-align: center; padding-top: 26px; font-size: 13px; color: #6b83a6; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 70px 0 80px; }
  .form-card { padding: 26px 20px; }
}
