/* ========================================
   因博科技 - 城市收银系统页面样式 (city-page.css)
   适用于 /city-cashier/*.html
   ======================================== */

/* ===== 城市英雄区 ===== */
.city-hero {
  background: linear-gradient(135deg, #001d6e 0%, #003eb2 50%, #1677ff 100%);
  padding: 130px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.city-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(64,150,255,0.2) 0%, transparent 70%);
}
.city-hero .container { position: relative; z-index: 2; }
.city-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.city-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.city-hero h1 { font-size: 2.8rem; font-weight: 900; color: #fff; margin-bottom: 18px; line-height: 1.2; }
.city-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.82); max-width: 620px; margin: 0 auto 40px; line-height: 1.9; }

/* ===== 统计数据 ===== */
.city-hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.chs-item { text-align: center; color: #fff; }
.chs-num { font-size: 2rem; font-weight: 900; line-height: 1.1; }
.chs-label { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 5px; }

/* ===== 城市区块 ===== */
.city-section { padding: 80px 0; }
.city-section.bg-light { background: #f8fafd; }
.city-tag {
  display: inline-block;
  background: rgba(22,119,255,0.1);
  color: #1677ff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.city-h2 { font-size: 2rem; font-weight: 900; color: #1a1a2e; margin-bottom: 16px; }
.city-lead { font-size: 1rem; color: #4a5568; line-height: 1.9; }

/* ===== 特性网格 ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.feat-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e8f0fe;
  transition: transform .2s, box-shadow .2s;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(22,119,255,0.12); }
.feat-icon { font-size: 2rem; margin-bottom: 12px; }
.feat-title { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.feat-desc { font-size: 0.9rem; color: #4a5568; line-height: 1.7; }

/* ===== 行业网格 ===== */
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 32px; }
.ind-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  border: 1px solid #e8f0fe;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.ind-icon { font-size: 1.8rem; margin-bottom: 8px; }
.ind-name { font-size: 0.88rem; font-weight: 600; color: #1a1a2e; }

/* ===== 优势网格 ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #e8f0fe;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.why-icon { font-size: 1.6rem; flex-shrink: 0; }
.why-title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.why-desc { font-size: 0.88rem; color: #4a5568; line-height: 1.7; }

/* ===== CTA区块 ===== */
.cta-section {
  background: linear-gradient(135deg, #001d6e 0%, #1677ff 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.82); font-size: 1rem; margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: #1677ff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { border-color: #fff; }

/* ===== 公司页脚信息 ===== */
.footer-corp-info {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
}
.fci-row { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.65); }
.fci-label { color: rgba(255,255,255,0.4); white-space: nowrap; }
.fci-tel { color: #60a5fa; text-decoration: none; font-weight: 600; }
.fci-tel:hover { color: #fff; }
.fci-link { color: #60a5fa; text-decoration: none; }
.fci-link:hover { color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .city-hero h1 { font-size: 1.8rem; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .city-hero-stats { gap: 24px; }
  
  /* 内联grid响应式 */
  section > .container > div[style*="grid-template-columns:repeat(3"] { 
    grid-template-columns: 1fr !important; 
  }
  section > .container > div[style*="grid-template-columns:repeat(4"] { 
    grid-template-columns: repeat(2, 1fr) !important; 
  }
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  
  section > .container > div[style*="grid-template-columns:repeat(4"] { 
    grid-template-columns: 1fr !important; 
  }
}


/* ========================================
   区县落地页补充样式 (district pages)
   修复 nav-inner, nav-logo-img, FAQ, Footer 类名不匹配问题
   ======================================== */

/* ===== 导航栏修复 ===== */
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 80px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}
.nav-logo-img {
  height: 62px;
  width: auto;
  display: block;
  max-width: 260px;
  object-fit: contain;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  line-height: 1.2;
}
.nav-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: 1px;
}
.nav-slogan {
  font-size: 0.7rem;
  color: #718096;
  font-weight: 400;
}

/* ===== FAQ 手风琴 ===== */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}
.faq-list .faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #e8f0fe;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  line-height: 1.5;
}
.faq-q:hover { color: #1677ff; }
.faq-arrow {
  font-size: 1.3rem;
  font-weight: 400;
  color: #1677ff;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-a {
  padding: 0 24px 18px;
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.8;
  display: none;
}
.faq-a.active {
  display: block;
}

/* ===== 页脚 ===== */
.footer {
  background: #1a1a2e;
  color: #cbd5e0;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #a0aec0;
  font-size: 0.88rem;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #1677ff; }
.footer-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 0.88rem;
  color: #a0aec0;
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer-contact p {
  font-size: 0.85rem;
  color: #a0aec0;
  padding: 3px 0;
}
.footer-contact a { color: #1677ff; display: inline; padding: 0; }
.footer-qrcode {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-qrcode img {
  max-width: 90px;
  max-height: 90px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #718096;
}
.footer-bottom a { color: #718096; display: inline; padding: 0; }
.footer-bottom a:hover { color: #1677ff; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-inner {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
  }
  .nav-logo-img { height: 40px; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 0;
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block !important; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
