/* 杭州昕芃财税服务有限公司 官网样式
   修改颜色请优先改这里的变量 */
:root {
  --navy: #0a1628;
  --navy-2: #0d1f3d;
  --blue: #1e90ff;
  --teal: #00ced1;
  --green: #00e676;
  --bg-light: #f5f7fa;
  --text: #111827;
  --text-muted: #4b5563;
  --text-dim: #6b7280;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 25px 50px rgba(10, 22, 40, 0.18);
  --max: 1280px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
}
.logo-mark::after {
  content: "";
  width: 24px; height: 24px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  transform: rotate(12deg);
}
.brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}
@media (min-width: 640px) { .brand-name { font-size: 16px; } }
@media (min-width: 1024px) { .brand-name { font-size: 18px; } }

.nav-links { display: none; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #d1d5db;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--green); }

.nav-toggle {
  display: block;
  background: none;
  border: 0;
  padding: 4px;
  color: #fff;
  cursor: pointer;
  line-height: 0;
}
.nav-mobile {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-mobile.open { display: block; }
.nav-mobile-inner { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.nav-mobile a { font-size: 16px; font-weight: 500; color: #d1d5db; }
.nav-mobile a.active { color: var(--green); }

@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 32px; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

main { padding-top: 64px; }

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-white { background: #fff; }
.section-dark { background: var(--navy); }
.section-cta { background: linear-gradient(90deg, var(--blue), var(--teal)); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-head p { font-size: 18px; color: var(--text-muted); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #d1d5db; }
@media (min-width: 768px) { .section-head h2 { font-size: 36px; } }

/* 内页顶部横幅 */
.page-banner {
  padding: 96px 0 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2), var(--navy));
  text-align: center;
}
.page-banner h1 { font-size: 34px; font-weight: 700; color: #fff; margin-bottom: 24px; }
.page-banner p { font-size: 18px; color: #d1d5db; max-width: 768px; margin: 0 auto; }
@media (min-width: 768px) { .page-banner h1 { font-size: 48px; } .page-banner p { font-size: 20px; } }

/* ---------- 首页首屏 ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-2), var(--navy));
  text-align: center;
  padding: 60px 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.jpg") center/cover no-repeat;
  opacity: 0.18;
}
.hero-glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero-glow.one { top: 12%; left: 8%; background: rgba(30, 144, 255, 0.22); }
.hero-glow.two { bottom: 10%; right: 8%; background: rgba(0, 206, 209, 0.22); }
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: 18px;
  color: #d1d5db;
  max-width: 768px;
  margin: 0 auto 32px;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 20px; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 64px; } }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  color: #fff;
  box-shadow: 0 8px 24px rgba(30, 144, 255, 0.28);
}
.btn-primary:hover { transform: scale(1.05); }
.btn-outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
}
.btn-outline:hover { background: rgba(0, 230, 118, 0.1); }
.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.15);
}
.btn-white:hover { transform: scale(1.05); }
.btn-block { width: 100%; }
.btn-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

/* ---------- 栅格与卡片 ---------- */
.grid { display: grid; gap: 32px; }
.grid-1 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .split { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff;
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.card p { color: var(--text-muted); margin-bottom: 24px; }
.card-link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.card-link:hover { color: var(--teal); }
.card-link svg { width: 14px; height: 14px; }

.icon-box {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: #fff;
}
.icon-box svg { width: 28px; height: 28px; }
.icon-box.sm { width: 56px; height: 56px; }
.icon-box.sm svg { width: 24px; height: 24px; }

.feature-card {
  background: var(--bg-light);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 32px;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover {
  background: #fff;
  border-color: rgba(30, 144, 255, 0.3);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
}
.feature-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.feature-card p { color: var(--text-muted); }

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 32px;
}
.glass-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.glass-card p { color: #d1d5db; }

/* ---------- 数据 ---------- */
.stat { text-align: center; }
.stat-num {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat p { color: #d1d5db; }
@media (min-width: 768px) { .stat-num { font-size: 48px; } }

/* ---------- 内容排版 ---------- */
.h2-dark { font-size: 30px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }
@media (min-width: 768px) { .h2-dark { font-size: 36px; } }
.lead { font-size: 18px; color: var(--text-muted); margin-bottom: 24px; }

.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-item { display: flex; gap: 16px; align-items: flex-start; }
.check-dot {
  width: 32px; height: 32px;
  flex: 0 0 32px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.check-item h4 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.check-item p { color: var(--text-muted); }

.tick-list { display: flex; flex-direction: column; gap: 16px; }
.tick-list li { display: flex; align-items: center; gap: 12px; color: #374151; }
.tick {
  width: 24px; height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.panel {
  background: #fff;
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.process-step { text-align: center; }
.step-circle {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.process-step h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { color: var(--text-muted); }

.value-item { text-align: center; }
.value-circle {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.value-circle svg { width: 30px; height: 30px; }
.value-item h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.value-item p { color: var(--text-muted); }

.quote-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
  max-width: 896px;
  margin: 0 auto;
}
.quote-card p { color: #d1d5db; font-size: 18px; line-height: 1.9; margin-bottom: 24px; }
.quote-card p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .quote-card { padding: 48px; } }

/* ---------- 服务页 ---------- */
.service-row { display: grid; gap: 48px; align-items: center; margin-bottom: 64px; }
.service-row:last-child { margin-bottom: 0; }
.service-title { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.service-title h2 { font-size: 28px; font-weight: 700; color: var(--navy); }
.service-row .lead { margin-bottom: 32px; }
@media (min-width: 768px) { .service-title h2 { font-size: 36px; } }
@media (min-width: 1024px) {
  .service-row { grid-template-columns: repeat(2, 1fr); }
  .service-row.reverse .service-text { order: 2; }
  .service-row.reverse .service-media { order: 1; }
}

/* ---------- 联系页 ---------- */
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); }
.contact-item .sub { color: var(--text-dim); font-size: 14px; }

.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.field input:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.18);
}
.field textarea { resize: none; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, 1fr); } }

.faq-card { background: var(--bg-light); border-radius: var(--radius); padding: 24px; }
.faq-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.faq-card p { color: var(--text-muted); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0;
}
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand span { color: #fff; font-weight: 700; font-size: 16px; line-height: 1.35; }
@media (min-width: 640px) { .footer-brand span { font-size: 18px; } }
.footer-about { color: #9ca3af; font-size: 14px; }
.footer-col h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li { color: #9ca3af; font-size: 14px; }
.footer-col a { color: #9ca3af; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; color: #9ca3af; font-size: 14px; margin-bottom: 12px; }
.footer-contact svg { width: 14px; height: 14px; flex: 0 0 14px; margin-top: 5px; color: var(--blue); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-bottom .copy { color: #6b7280; font-size: 13px; }
.icp-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.icp-links a { color: #9ca3af; font-size: 12px; transition: color 0.2s; }
.icp-links a:hover { color: #fff; }
@media (min-width: 640px) {
  .icp-links { flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 24px; }
  .icp-links a { font-size: 14px; }
}
