/* ===========================
   奔诚供应链官网 — style.css
   主色: #E8630A (航运橙)  辅助色: #00C389 (通关绿)
   =========================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(232, 99, 10, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #E8630A;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #4B5563;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: #E8630A;
}

.nav-cta {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 8px;
  background: #E8630A;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
  background: #d05808;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #E8630A;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: linear-gradient(170deg, #fff7f0 0%, #fff 60%);
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 99, 10, 0.1) 0%, rgba(0, 195, 137, 0.06) 50%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.9s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 99px;
  background: rgba(232, 99, 10, 0.08);
  font-size: 14px;
  font-weight: 500;
  color: #E8630A;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  color: #E8630A;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #4B5563;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-subtitle strong {
  color: #00C389;
  font-weight: 700;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Hero CTA Button */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #E8630A 0%, #d05808 100%);
  box-shadow: 0 4px 24px rgba(232, 99, 10, 0.35), 0 0 60px rgba(232, 99, 10, 0.12);
  transition: all 0.3s ease;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(232, 99, 10, 0.45), 0 0 80px rgba(232, 99, 10, 0.18);
}

/* ---------- Section Common ---------- */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: #E8630A;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  text-align: center;
  font-size: 16px;
  color: #6B7280;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ---------- Values ---------- */
.values {
  background: #fffaf6;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(232, 99, 10, 0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(232, 99, 10, 0.12);
}

.value-icon {
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #E8630A;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(232, 99, 10, 0.1);
  border-color: rgba(232, 99, 10, 0.2);
}

.service-icon {
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.65;
}

/* ---------- Compare Table ---------- */
.compare {
  background: #fffaf6;
}

.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(232, 99, 10, 0.06);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

.compare-table thead th {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  color: #fff;
  background: #E8630A;
}

.compare-table thead th:first-child {
  border-radius: 16px 0 0 0;
}

.compare-table thead th:last-child {
  border-radius: 0 16px 0 0;
  background: #6B7280;
}

.compare-table thead th.highlight-col {
  background: #00C389;
}

.compare-table tbody td {
  padding: 16px 24px;
  font-size: 14px;
  color: #4B5563;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.compare-table tbody td.highlight-col {
  background: rgba(0, 195, 137, 0.04);
  color: #1a1a1a;
  font-weight: 500;
}

.compare-table tbody td svg {
  margin-right: 8px;
  flex-shrink: 0;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.case-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(232, 99, 10, 0.1);
}

.case-quote {
  margin-bottom: 16px;
}

.case-text {
  font-size: 15px;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 24px;
}

.case-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8630A, #00C389);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.case-author strong {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
}

.case-author span {
  display: block;
  font-size: 13px;
  color: #9CA3AF;
}

/* Trust Stats */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0 0;
  border-top: 1px solid #f0f0f0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #E8630A;
  line-height: 1.1;
}

.stat-number em {
  font-style: normal;
  font-size: 22px;
  color: #00C389;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: #6B7280;
  margin-top: 6px;
}

/* ---------- FAQ ---------- */
.faq {
  background: #fffaf6;
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(232, 99, 10, 0.1);
}

.faq-item summary {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: #9CA3AF;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "−";
  color: #E8630A;
}

.faq-item[open] summary {
  color: #E8630A;
}

.faq-answer {
  padding: 0 28px 22px;
  font-size: 15px;
  color: #4B5563;
  line-height: 1.75;
}

/* ---------- CTA Bottom ---------- */
.cta-bottom {
  background: linear-gradient(170deg, #E8630A 0%, #c7520a 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-bottom-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-bottom-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta-bottom-content p strong {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.cta-bottom .btn-hero {
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  color: #E8630A;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.cta-bottom .btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-note {
  margin-top: 20px !important;
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ---------- Footer ---------- */
.footer {
  background: #3d2009;
  padding: 40px 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #E8630A;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- FAB Phone ---------- */
.fab-phone {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E8630A, #d05808);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 99, 10, 0.4);
  transition: all 0.3s ease;
  animation: fabPulse 2.5s infinite;
}

.fab-phone:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(232, 99, 10, 0.55);
}

@keyframes fabPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(232, 99, 10, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(232, 99, 10, 0.4),
      0 0 0 10px rgba(232, 99, 10, 0.1);
  }
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 960px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero-title {
    font-size: 34px;
  }

  .section-title {
    font-size: 26px;
  }

  .stat-number {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    max-height: 400px;
    padding: 12px 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    margin: 8px 24px 4px;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 64px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero {
    padding: 14px 28px;
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .section-desc {
    font-size: 14px;
    margin-bottom: 36px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 28px 20px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  .case-card {
    padding: 28px;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 30px;
  }

  .compare-table-wrap {
    border-radius: 12px;
  }

  .faq-item summary {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
  }

  .cta-bottom {
    padding: 56px 0;
  }

  .cta-bottom-content h2 {
    font-size: 24px;
  }

  .fab-phone {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}