/* =========================================
   一网推 - 全局样式表
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1a1a2e;
  overflow-x: hidden;
  line-height: 1.6;
  padding-top: 108px;
}

a { text-decoration: none; color: inherit; }

/* ===== Utility ===== */
.section-padding {
  padding-left: 24px; padding-right: 24px;
  max-width: 1400px; margin: 0 auto;
}
@media (min-width: 640px) { .section-padding { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { .section-padding { padding-left: 64px; padding-right: 64px; } }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: #0047AB; color: white;
  font-weight: 500; border-radius: 4px; font-size: 14px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #003380; box-shadow: 0 4px 12px rgba(0,71,171,0.3); }

.btn-orange {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: #FB8500; color: white;
  font-weight: 500; border-radius: 4px; font-size: 14px;
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-orange:hover { background: #e67a00; }

/* ===== Section Title ===== */
.section-title { font-size: 28px; font-weight: 700; color: #1a1a2e; }
.section-title span { color: #0047AB; }
.section-desc { font-size: 15px; color: #666; margin-top: 8px; line-height: 1.7; }

/* ===== Header ===== */
.header-top {
  background: #003d82; color: white; font-size: 13px;
}
.header-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px;
}
.header-top a { display: flex; align-items: center; gap: 6px; transition: color 0.3s; }
.header-top a:hover { color: #FB8500; }

header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.header-main {
  background: white; box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.header-main-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.header-logo img { height: 48px; }

.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  font-size: 15px; font-weight: 500; color: #333;
  transition: color 0.3s; position: relative;
}
.header-nav a:hover, .header-nav a.active { color: #0047AB; }
.header-nav a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 3px; background: #0047AB; border-radius: 2px;
}

.header-nav .has-dropdown { position: relative; }
.header-nav .dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 12px;
  background: white; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0; min-width: 180px; opacity: 0; visibility: hidden;
  transition: all 0.2s; border: 1px solid #f0f0f0;
}
.header-nav .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; }
.header-nav .dropdown a {
  display: block; padding: 8px 20px; font-size: 14px;
}
.header-nav .dropdown a:hover { background: #f5f7fa; color: #0047AB; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

/* Mobile Nav */
.mobile-nav {
  display: none; background: white; border-top: 1px solid #f0f0f0;
  padding: 16px 24px;
}
.mobile-nav a {
  display: block; padding: 10px 0; font-size: 16px; color: #333; border-bottom: 1px solid #f5f5f5;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ===== Page Hero ===== */
.page-hero { position: relative; height: 480px; overflow: hidden; }
.page-hero img.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,61,130,0.92) 0%, rgba(0,61,130,0.75) 50%, rgba(0,71,171,0.55) 100%);
}
.page-hero .hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; align-items: center;
}
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 16px;
}
.page-hero .breadcrumb a:hover { color: white; }
.page-hero h1 { font-size: 40px; font-weight: 700; color: white; line-height: 1.2; }
.page-hero .hero-subtitle { font-size: 20px; color: #FB8500; font-weight: 500; margin-top: 12px; }
.page-hero .hero-desc { color: rgba(255,255,255,0.7); margin-top: 16px; max-width: 560px; line-height: 1.7; }
.page-hero .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-hero .hero-tags span {
  padding: 4px 12px; background: rgba(255,255,255,0.1); border-radius: 4px;
  font-size: 12px; color: rgba(255,255,255,0.8);
}
.page-hero .btn-orange { margin-top: 24px; }

/* ===== Stats Bar ===== */
.stats-bar { background: linear-gradient(135deg, #0047AB, #0066cc); padding: 48px 0; }
.stats-item { text-align: center; }
.stat-value { font-size: 36px; font-weight: 700; color: white; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== Animations ===== */
.reveal { opacity: 1; transform: translateY(0); }

/* ===== Hero Section ===== */
.hero-section { position: relative; height: 600px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,61,130,0.92) 0%, rgba(0,61,130,0.75) 50%, rgba(0,71,171,0.55) 100%);
}
.hero-content {
  position: relative; z-index: 2; height: 100%; display: flex; align-items: center;
}
.hero-content h1 { font-size: 48px; font-weight: 700; color: white; line-height: 1.2; }
.hero-content p { font-size: 18px; color: rgba(255,255,255,0.85); margin-top: 16px; }
.hero-content .btn-orange { margin-top: 32px; }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item p:first-child { font-size: 36px; font-weight: 700; color: white; }
.stat-item p:last-child { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ===== FAQ Section ===== */
.faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.faq-item {
  background: white; border-radius: 12px; padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: all 0.3s;
}
.faq-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.faq-item .faq-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,71,171,0.1); display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px;
}
.faq-item .faq-icon svg { color: #0047AB; width: 24px; height: 24px; }
.faq-item h3 { font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #666; line-height: 1.6; }

/* ===== Footer ===== */
.footer-contact {
  background: #f4f6f8; padding: 40px 0;
}
.footer-contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center;
}
.footer-contact-item .icon-circle {
  width: 48px; height: 48px; border-radius: 50%; background: #0047AB;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.footer-contact-item .icon-circle svg { color: white; width: 20px; height: 20px; }
.footer-contact-item p:first-of-type { font-weight: 600; color: #fff; font-size: 15px; }
.footer-contact-item p:last-child { font-size: 13px; color: #0047AB; margin-top: 4px; }

.footer-cta {
  background: linear-gradient(135deg, #002855 0%, #0047AB 50%, #0066cc 100%);
  position: relative; overflow: hidden;
}
.footer-cta .geo-pattern {
  position: absolute; inset: 0; opacity: 0.1;
  background-image:
    linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.15) 55%, transparent 55%);
  background-size: 180px 180px;
}
.footer-cta-inner {
  position: relative; z-index: 2; display: flex;
  align-items: center; justify-content: space-between; padding: 40px 0;
}
.footer-cta h3 { font-size: 28px; font-weight: 700; color: white; }
.footer-cta p { color: rgba(255,255,255,0.7); margin-top: 6px; }
.footer-cta .btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: white; color: #0047AB;
  font-weight: 500; border-radius: 4px; font-size: 14px;
  transition: all 0.3s;
}
.footer-cta .btn-white:hover { background: #f0f0f0; }

.footer-main { background: white; padding: 48px 0; }
.footer-main-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
}
.footer-main h4 { font-size: 14px; font-weight: 600; color: #1a1a2e; margin-bottom: 16px; }
.footer-main a { display: block; font-size: 13px; color: #666; padding: 4px 0; transition: color 0.3s; }
.footer-main a:hover { color: #0047AB; }
.footer-main p { font-size: 13px; color: #666; }
.footer-main .social-icons { display: flex; gap: 8px; margin-top: 12px; }
.footer-main .social-icons span {
  width: 28px; height: 28px; border-radius: 50%; background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #666; cursor: pointer; transition: all 0.3s;
}
.footer-main .social-icons span:hover { background: #0047AB; color: white; }
.footer-main .qr-placeholder {
  width: 100px; height: 100px; background: #f5f5f5; border: 1px solid #eee;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.footer-main .qr-placeholder svg { color: #ccc; margin-bottom: 4px; }
.footer-main .qr-placeholder span { font-size: 11px; color: #999; }

.footer-copyright {
  background: white; border-top: 1px solid #f0f0f0; padding: 12px 0; text-align: center;
}
.footer-copyright p { font-size: 12px; color: #999; }

/* ===== Service Cards (Homepage) ===== */
.service-card {
  background: white; border-radius: 12px; padding: 32px;
  border: 1px solid #f0f0f0; transition: all 0.35s ease;
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: transparent;
}
.service-card .service-icon-wrap {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card-more { color: white; }
.service-card-more h3, .service-card-more p { color: white; }

/* ===== Service Carousel ===== */
.svc-track {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  transition: all 0.35s ease;
}
.s-card {
  flex: 0 0 calc((100% - 64px) / 5);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0047AB 0%, #0066cc 60%, #4a90d9 100%);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,71,171,0.2);
}
.s-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,71,171,0.35);
}
.s-card-text { padding: 24px 18px 16px; }
.s-card-text h3 {
  font-size: 15px; font-weight: 700; color: white;
  margin-bottom: 8px; line-height: 1.3;
}
.s-card-text p {
  font-size: 12px; color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.s-card img {
  width: 100%; height: 170px; object-fit: cover;
  margin-top: auto;
}
.s-card-link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  margin: 8px 18px 18px;
  border-radius: 6px;
  transition: all 0.3s;
}
.s-card-link:hover { background: rgba(255,255,255,0.25); }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid #e0e0e0; background: white;
  color: #666; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.carousel-btn:hover { background: #0047AB; border-color: #0047AB; color: white; }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
@media (max-width: 768px) {
  .carousel-btn { display: none; }
  .svc-track { transition: none; }
  .s-card { flex: 0 0 calc(50% - 8px); }
}

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-item {
  background: white; border-radius: 8px; padding: 24px;
  border: 1px solid transparent; transition: all 0.3s;
}
.card-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: #f0f0f0; }
.card-item .card-icon {
  width: 44px; height: 44px; border-radius: 8px; background: rgba(0,71,171,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  transition: all 0.3s;
}
.card-item:hover .card-icon { background: #0047AB; }
.card-item:hover .card-icon svg { color: white; }
.card-item .card-icon svg { color: #0047AB; width: 20px; height: 20px; }
.card-item h3 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.card-item p { font-size: 13px; color: #666; line-height: 1.6; }

/* ===== Process ===== */
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; text-align: center; }
.process-step {
  position: relative;
  padding: 24px 16px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0047AB, #0066cc);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin: 0 auto 12px;
}
.step-title { font-size: 15px; font-weight: 600; color: #1a1a2e; margin-bottom: 4px; }
.step-desc { font-size: 13px; color: #666; }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-item {
  background: white;
  border-radius: 8px;
  padding: 20px 24px;
  border: 1px solid #eee;
}
.faq-item h4 {
  font-size: 15px; font-weight: 600; color: #1a1a2e;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.faq-item h4 svg {
  width: 18px; height: 18px;
  color: #0047AB;
  flex-shrink: 0;
}
.faq-item p { font-size: 13px; color: #666; line-height: 1.7; }

/* ===== Footer ===== */
.footer-contact { background: #0047AB; color: white; padding: 48px 0; }
.footer-contact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.footer-contact-item { text-align: center; }
.footer-contact-item .icon-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex;
  align-items: center; justify-content: center; margin: 0 auto 12px;
}
.footer-contact-item .icon-circle svg { width: 20px; height: 20px; color: white; }
.footer-contact-item p:first-of-type { font-size: 20px; font-weight: 700; }
.footer-contact-item p:last-of-type { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }

.footer-cta { background: #0047AB; position: relative; padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.footer-cta-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-cta-inner h3 { font-size: 28px; font-weight: 700; color: white; }
.footer-cta-inner p { font-size: 16px; color: rgba(255,255,255,0.85); margin-top: 6px; }

.footer-main { background: #f8fafc; padding: 56px 0 32px; }
.footer-main-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
}
.footer-main-grid h4 { font-size: 16px; font-weight: 700; color: #1a1a2e; margin-bottom: 16px; }
.footer-main-grid a { display: block; font-size: 14px; color: #555; padding: 6px 0; transition: color 0.2s; }
.footer-main-grid a:hover { color: #0047AB; }
.social-icons { display: flex; gap: 10px; margin-top: 16px; }
.social-icons span {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e8ecf1; display: flex;
  align-items: center; justify-content: center;
  font-size: 12px; color: #555; cursor: pointer;
  transition: all 0.2s;
}
.social-icons span:hover { background: #0047AB; color: white; }
.qr-placeholder {
  width: 100px; height: 100px; border-radius: 8px;
  background: white; border: 1px dashed #ddd;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}

.footer-copyright { background: #1a1a2e; padding: 20px 0; }
.footer-copyright p { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; }

.geo-pattern {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .section-padding { padding-left: 16px; padding-right: 16px; }
  .header-main-inner { padding: 12px 16px; }
  .header-nav { display: none; }
  .header-top { display: none; }
  .mobile-toggle { display: flex; }
  .page-hero { height: 360px; }
  .hero-content h1 { font-size: 28px; }
  .hero-content .hero-subtitle { font-size: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .service-strip { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-cta-inner { flex-direction: column; text-align: center; gap: 16px; }
  body { padding-top: 60px; }
  .page-hero { margin-top: -60px; }
  .page-hero .hero-content { padding-top: 60px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-contact-item p:first-of-type { font-size: 18px; }
}