/* 爱拓帮官网样式 - 蓝色主题 #4A90D9，响应式，傻瓜式 */

:root {
  --primary: #4A90D9;
  --primary-dark: #357ABD;
  --primary-light: #EAF3FB;
  --bg: #F5F5F5;
  --white: #FFFFFF;
  --text: #2B2B2B;
  --muted: #6B7280;
  --border: #E5E7EB;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 28px rgba(74, 144, 217, 0.18);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helink Sans", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

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

/* ===== 导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .dot { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; display: inline-block; }
.logo-img { height: 58px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: space-evenly; flex: 1; list-style: none; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--text); }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-lg { padding: 15px 38px; font-size: 17px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #4A90D9 0%, #357ABD 100%);
  color: #fff;
  padding: 72px 0 84px;
  text-align: center;
}
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.3; margin-bottom: 18px; }
.hero p { font-size: 18px; opacity: 0.95; max-width: 680px; margin: 0 auto 32px; }
.hero .btn-primary { background: #fff; color: var(--primary); }
.hero .btn-primary:hover { background: #f0f6fc; }
.hero .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 22px;
}

/* ===== 区块 ===== */
.section { padding: 64px 0; }
.section-gray { background: var(--white); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.section-title p { color: var(--muted); font-size: 16px; }

/* ===== 卡片网格 ===== */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card .icon { font-size: 34px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* ===== 价格 ===== */
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.price-card .price { font-size: 44px; font-weight: 800; color: var(--primary); margin: 10px 0; }
.price-card .price small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-card ul { list-style: none; text-align: left; margin: 22px 0; }
.price-card li { padding: 8px 0; border-bottom: 1px dashed var(--border); color: var(--text); font-size: 15px; }
.price-card li:last-child { border-bottom: none; }

/* ===== 步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { text-align: center; padding: 10px; }
.step .num {
  width: 48px; height: 48px; line-height: 48px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 50%; font-size: 20px; font-weight: 800; margin: 0 auto 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ===== 表单 ===== */
.form-box { max-width: 520px; margin: 0 auto; background: var(--white); padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ===== 页脚 ===== */
.footer { background: #1F2A37; color: #C7D0DB; padding: 44px 0 24px; }
.footer a { color: #C7D0DB; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { padding: 5px 0; font-size: 14px; }
.footer-bottom { border-top: 1px solid #2E3A48; margin-top: 30px; padding-top: 18px; text-align: center; font-size: 13px; color: #8A97A8; }

/* ===== 提示条 ===== */
.notice { background: var(--primary-light); color: var(--primary-dark); padding: 12px 18px; border-radius: 8px; font-size: 14px; margin-top: 16px; }

/* ===== 咨询套餐网格 ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.plan-card {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: all 0.2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.plan-card.featured-plan { border-color: var(--primary); }
.plan-card-wide { grid-column: span 1; }
.plan-header { text-align: center; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px dashed var(--border); }
.plan-badge {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.plan-badge-hot { background: #FFF3E0; color: #E65100; }
.plan-header h3 { font-size: 19px; margin-bottom: 8px; }
.plan-price { font-size: 36px; font-weight: 800; color: var(--primary); }
.plan-price .plan-unit { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan-features { list-style: none; margin-bottom: 20px; }
.plan-features li { padding: 7px 0; font-size: 14px; color: var(--text); border-bottom: 1px solid #F5F5F5; }
.plan-features li:last-child { border-bottom: none; }

/* ===== 筹开流程步骤 ===== */
.process-flow { display: flex; flex-direction: column; gap: 18px; max-width: 1000px; margin: 0 auto; }
.process-row { display: flex; justify-content: center; gap: 18px; }
.process-row .process-step { flex: 1 1 0; max-width: 300px; }
.process-step {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
}
.process-num {
  display: inline-block; width: 36px; height: 36px; line-height: 36px;
  background: var(--primary); color: #fff; border-radius: 50%;
  font-size: 14px; font-weight: 800; margin-bottom: 10px;
}
.process-step h4 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ===== 二维码展示 ===== */
.qr-section { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.qr-card {
  text-align: center; max-width: 300px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow);
}
.qr-img-wrap {
  width: 200px; height: 200px; margin: 0 auto 18px;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
}
.qr-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.qr-card h3 { font-size: 18px; margin-bottom: 8px; }
.qr-card p { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 12px; }
.qr-tip {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 999px;
}

/* ===== 首页田字格 ===== */
.home-grid-section {
  display: flex;
  align-items: center;
  padding: 16px 0 32px;
  background: linear-gradient(180deg, #F0F4F8 0%, #fff 100%);
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}
.grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 20px;
  padding: 40px 28px;
  min-height: 280px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.35s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.grid-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 1; transition: opacity 0.35s;
}
.grid-card::after {
  content: '';
  position: absolute; top: -40%; right: -40%; width: 80%; height: 80%;
  border-radius: 50%;
  opacity: 0.08;
  transition: all 0.4s;
}
.grid-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.grid-card:hover::after { transform: translate(-10%,-10%) scale(1.15); opacity: 0.14; }

/* 四个格子各自的主题色 - 渐变底 + 图标底 */
.grid-card-about {
  background: linear-gradient(145deg, #EBF3FF 0%, #DCE9FC 100%);
  color: #1E3A5F;
}
.grid-card-about::before { background: linear-gradient(180deg, rgba(74,144,217,0) 0%, rgba(74,144,217,0.06) 100%); }
.grid-card-about::after { background: #4A90D9; }
.grid-card-about:hover { box-shadow: 0 16px 44px rgba(74,144,217,0.22); }
.grid-card-about .grid-card-icon { background: linear-gradient(135deg, #4A90D9, #357ABD); }
.grid-card-about .grid-arrow { color: #4A90D9; }
.grid-card-about h2 { color: #1E3A5F; }

.grid-card-tool {
  background: linear-gradient(145deg, #ECFDF5 0%, #D1FAE5 100%);
  color: #065F46;
}
.grid-card-tool::before { background: linear-gradient(180deg, rgba(16,185,129,0) 0%, rgba(16,185,129,0.06) 100%); }
.grid-card-tool::after { background: #10B981; }
.grid-card-tool:hover { box-shadow: 0 16px 44px rgba(16,185,129,0.22); }
.grid-card-tool .grid-card-icon { background: linear-gradient(135deg, #10B981, #059669); }
.grid-card-tool .grid-arrow { color: #10B981; }
.grid-card-tool h2 { color: #065F46; }

.grid-card-ceo {
  background: linear-gradient(145deg, #FFF8EB 0%, #FEF3C7 100%);
  color: #78350F;
}
.grid-card-ceo::before { background: linear-gradient(180deg, rgba(245,158,11,0) 0%, rgba(245,158,11,0.06) 100%); }
.grid-card-ceo::after { background: #F59E0B; }
.grid-card-ceo:hover { box-shadow: 0 16px 44px rgba(245,158,11,0.22); }
.grid-card-ceo .grid-card-icon { background: linear-gradient(135deg, #F59E0B, #D97706); }
.grid-card-ceo .grid-arrow { color: #F59E0B; }
.grid-card-ceo h2 { color: #78350F; }

.grid-card-contact {
  background: linear-gradient(145deg, #F3EEFF 0%, #EDE9FE 100%);
  color: #4C1D95;
}
.grid-card-contact::before { background: linear-gradient(180deg, rgba(139,92,246,0) 0%, rgba(139,92,246,0.06) 100%); }
.grid-card-contact::after { background: #8B5CF6; }
.grid-card-contact:hover { box-shadow: 0 16px 44px rgba(139,92,246,0.22); }
.grid-card-contact .grid-card-icon { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.grid-card-contact .grid-arrow { color: #8B5CF6; }
.grid-card-contact h2 { color: #4C1D95; }

/* 图标容器 */
.grid-card-icon {
  font-size: 42px;
  margin-bottom: 18px;
  width: 76px;
  height: 76px;
  line-height: 76px;
  border-radius: 20px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}
.grid-card:hover .grid-card-icon { transform: scale(1.08) rotate(-3deg); }

/* 用伪元素做图标外圈光晕 */
.grid-card > .grid-card-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.5);
  pointer-events: none;
}

.grid-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }
.grid-card p { font-size: 14px; line-height: 1.85; margin-bottom: 18px; position: relative; z-index: 1; opacity: 0.82; }
.grid-arrow {
  font-size: 22px; font-weight: 700; opacity: 0; transition: all 0.35s;
}
.grid-card:hover .grid-arrow { opacity: 1; transform: translateX(6px); }

/* ===== 图文融合 Hero（左文右图）===== */
.hero-split {
  background: linear-gradient(135deg, #4A90D9 0%, #357ABD 100%);
  color: #fff;
  padding: 72px 0 84px;
}
.hero-split .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.hero-split .hero-split-text { max-width: 580px; }
.hero-split h1 { font-size: 38px; font-weight: 800; line-height: 1.32; margin-bottom: 18px; }
.hero-split p { font-size: 18px; opacity: 0.96; line-height: 1.75; margin-bottom: 28px; }
.hero-split .hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 22px;
}
.hero-split .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-split .hero-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.28);
  display: block;
  border: 3px solid rgba(255,255,255,0.25);
}
.hero-split .btn-primary { background: #fff; color: #1a365d; }
.hero-split .btn-primary:hover { background: #f0f6fc; }
.hero-split .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero-split .btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ===== 价格对比表 ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
}
.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.price-table tr:hover td {
  background: #f9fafb;
}

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .home-grid { gap: 14px; }
  .hero-split { padding: 52px 0 60px; }
  .hero-split .container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-split .hero-split-text { max-width: 100%; margin: 0 auto; }
  .hero-split h1 { font-size: 28px; }
  .hero-split .hero-btns { justify-content: center; }
  .grid-card { padding: 28px 20px; min-height: 220px; border-radius: 16px; }
  .grid-card-icon { font-size: 34px; width: 64px; height: 64px; line-height: 64px; border-radius: 16px; }
  .grid-card h2 { font-size: 18px; }
}
@media (max-width: 600px) {
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border); display: none; padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; padding: 10px 0; }
  .nav-toggle { display: block; }
  .grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .home-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px; }
  .grid-card { padding: 22px 14px; min-height: 170px; border-radius: 14px; }
  .grid-card-icon { font-size: 30px; width: 56px; height: 56px; line-height: 56px; border-radius: 14px; margin-bottom: 12px; }
  .grid-card h2 { font-size: 16px; margin-bottom: 8px; }
  .grid-card p { font-size: 13px; margin-bottom: 12px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-row { flex-direction: column; align-items: stretch; }
  .process-row .process-step { max-width: 100%; }
  .qr-section { gap: 24px; }
  .hero h1 { font-size: 26px; }
  .section { padding: 44px 0; }
}

/* ===== 备案信息条 ===== */
.site-beian {
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
  color: #6B7280;
  background: #F5F7FA;
  border-top: 1px solid #E5E7EB;
}
.site-beian a { color: #6B7280; text-decoration: none; }
.site-beian a:hover { color: #4A90D9; }
