/* ============================================
   商邦客官网 - 全新设计样式
   ============================================ */

:root {
  --primary: #1a56db;
  --primary-dark: #1e3a8a;
  --primary-light: #dbeafe;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1a56db 100%);
  --gradient-card: linear-gradient(135deg, #1a56db 0%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

/* === RESET === */
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  color: var(--gray-700);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { color: var(--dark); font-weight: 700; line-height: 1.3; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: none; }
img { max-width: 100%; }
section { padding: 100px 0; }

/* === NAVIGATION === */
.sb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: var(--transition);
}
.sb-nav .container { display: flex; align-items: center; justify-content: space-between; height: 72px; max-width: 1400px; }
.sb-nav-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--dark); white-space: nowrap; }
.sb-nav-logo img { height: 36px; }
.sb-nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.sb-nav-links a { color: var(--gray-700); font-size: 15px; font-weight: 500; padding: 8px 0; position: relative; white-space: nowrap; }
.sb-nav-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.sb-nav-links a:hover, .sb-nav-links a.active { color: var(--primary); }
.sb-nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 1px; }
.sb-nav-tel { color: var(--gray-500); font-size: 14px; }
.sb-nav-tel strong { color: var(--dark); }

/* === BUTTONS === */
.sb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition); text-decoration: none;
}
.sb-btn-primary { background: var(--primary); color: #fff; }
.sb-btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,86,219,.3); }
.sb-btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.sb-btn-outline:hover { background: var(--primary); color: #fff; }
.sb-btn-white { background: #fff; color: var(--primary); }
.sb-btn-white:hover { background: var(--gray-100); color: var(--primary-dark); transform: translateY(-1px); }
.sb-btn-ghost { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); }
.sb-btn-ghost:hover { background: rgba(255,255,255,.25); color: #fff; }
.sb-btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 10px; }
.sb-btn-sm { padding: 8px 18px; font-size: 13px; }

/* === HERO === */
.sb-hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); color: #fff;
  position: relative; overflow: hidden; padding-top: 72px;
}
.sb-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(6,182,212,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.sb-hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26,86,219,.2) 0%, transparent 70%);
  border-radius: 50%;
}
.sb-hero .container { position: relative; z-index: 1; }
.sb-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: 40px;
  padding: 6px 20px; font-size: 14px; color: rgba(255,255,255,.8); margin-bottom: 28px;
}
.sb-hero-tag .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.sb-hero h1 { font-size: 52px; font-weight: 800; line-height: 1.15; margin-bottom: 24px; color: #fff; letter-spacing: -0.5px; }
.sb-hero h1 .highlight { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sb-hero p { font-size: 19px; color: rgba(255,255,255,.7); max-width: 560px; margin-bottom: 40px; line-height: 1.8; }
.sb-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.sb-hero-stats { display: flex; gap: 48px; margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); }
.sb-hero-stat-num { font-size: 36px; font-weight: 800; color: #fff; }
.sb-hero-stat-label { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 4px; }

/* === SECTION HEADERS === */
.sb-section-header { text-align: center; margin-bottom: 64px; }
.sb-section-header .sb-label {
  display: inline-block; padding: 6px 16px; border-radius: 40px;
  background: var(--primary-light); color: var(--primary); font-size: 13px; font-weight: 600;
  letter-spacing: .5px; margin-bottom: 16px;
}
.sb-section-header h2 { font-size: 38px; margin-bottom: 16px; letter-spacing: -0.3px; }
.sb-section-header p { font-size: 17px; color: var(--gray-500); max-width: 640px; margin: 0 auto; }

/* === PRODUCT CARDS === */
.sb-products { background: var(--gray-50); }
.sb-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sb-product-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 32px;
  border: 1px solid var(--gray-100); transition: var(--transition); position: relative; overflow: hidden;
}
.sb-product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: transparent; }
.sb-product-card:hover .sb-product-icon { background: var(--gradient-card); color: #fff; }
.sb-product-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 24px; transition: var(--transition);
}
.sb-product-card h3 { font-size: 21px; margin-bottom: 12px; }
.sb-product-card p { color: var(--gray-500); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.sb-product-card .sb-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 14px; font-weight: 600;
}
.sb-product-card .sb-link:hover { gap: 10px; }
.sb-product-card .sb-link::after { content: '→'; transition: var(--transition); }

/* === ADVANTAGES === */
.sb-advantages .row { align-items: center; }
.sb-adv-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.sb-adv-list { list-style: none; padding: 0; margin: 32px 0; }
.sb-adv-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--gray-100);
}
.sb-adv-list li:last-child { border-bottom: none; }
.sb-adv-check {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
}
.sb-adv-list h4 { font-size: 16px; margin-bottom: 4px; }
.sb-adv-list p { font-size: 14px; color: var(--gray-500); margin: 0; }

/* === STATS SECTION === */
.sb-stats {
  background: var(--gradient-hero); color: #fff; padding: 80px 0;
}
.sb-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.sb-stats-num { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.sb-stats-num span { background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sb-stats-label { font-size: 15px; color: rgba(255,255,255,.6); }

/* === CLIENTS === */
.sb-clients { background: var(--gray-50); padding: 60px 0; }
.sb-clients-row { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }
.sb-clients-row img { height: 36px; opacity: .4; filter: grayscale(100%); transition: var(--transition); }
.sb-clients-row img:hover { opacity: 1; filter: none; }

/* === CTA === */
.sb-cta {
  text-align: center; padding: 100px 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, #fff 50%, var(--primary-light) 100%);
}
.sb-cta h2 { font-size: 36px; margin-bottom: 16px; }
.sb-cta p { font-size: 17px; color: var(--gray-500); margin-bottom: 36px; }
.sb-cta-actions { display: flex; justify-content: center; gap: 16px; }

/* === FOOTER === */
.sb-footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 80px 0 40px; }
.sb-footer h5 { color: #fff; font-size: 16px; margin-bottom: 24px; }
.sb-footer ul { list-style: none; padding: 0; margin: 0; }
.sb-footer ul li { margin-bottom: 10px; }
.sb-footer ul li a { color: rgba(255,255,255,.5); font-size: 14px; }
.sb-footer ul li a:hover { color: #fff; }
.sb-footer-bottom {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; font-size: 13px;
}
.sb-footer-qr { text-align: center; }
.sb-footer-qr img { width: 100px; border-radius: 8px; margin-bottom: 8px; }
.sb-footer-qr p { font-size: 12px; margin: 0; }

/* === PRODUCT PAGE === */
.sb-page-hero {
  padding: 160px 0 80px; background: var(--gradient-hero); color: #fff;
  position: relative; overflow: hidden;
}
.sb-page-hero::before {
  content: ''; position: absolute; top: -40%; right: -15%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(6,182,212,.12) 0%, transparent 70%); border-radius: 50%;
}
.sb-page-hero .container { position: relative; z-index: 1; }
.sb-page-hero .sb-label { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.15); }
.sb-page-hero h1 { font-size: 44px; color: #fff; margin-bottom: 20px; }
.sb-page-hero p { font-size: 18px; color: rgba(255,255,255,.65); max-width: 640px; }

.sb-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sb-feature-item {
  background: #fff; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--gray-100); transition: var(--transition);
}
.sb-feature-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.sb-feature-item h4 { font-size: 18px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.sb-feature-item h4 .icon { color: var(--primary); font-size: 20px; }
.sb-feature-item p { color: var(--gray-500); font-size: 14px; margin: 0; }

.sb-detail-section { background: var(--gray-50); }
.sb-detail-block { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.sb-detail-block:nth-child(even) { flex-direction: row-reverse; }
.sb-detail-block:last-child { margin-bottom: 0; }
.sb-detail-img { flex: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.sb-detail-content { flex: 1; }
.sb-detail-content h3 { font-size: 28px; margin-bottom: 16px; }
.sb-detail-content p { color: var(--gray-500); line-height: 1.8; }

/* === MOBILE MENU === */
.sb-mobile-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; z-index: 10; }
.sb-mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); margin: 6px 0; transition: var(--transition); border-radius: 2px; }
.sb-mobile-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,6px); }
.sb-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.sb-mobile-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-6px); }

/* Mobile overlay */
.sb-mobile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 998; opacity: 0; transition: opacity .3s ease;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.sb-mobile-overlay.show { display: block; opacity: 1; }

/* === RESPONSIVE === */

/* Tablet & below */
@media (max-width: 991px) {
  /* Mobile nav drawer */
  .sb-nav-links {
    display: flex !important; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
    background: #fff; z-index: 999; padding: 80px 0 24px;
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
    transition: right .3s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  }
  .sb-nav-links.show { right: 0; }
  .sb-nav-links li { list-style: none; }
  .sb-nav-links a {
    display: block; padding: 14px 28px; border-bottom: 1px solid var(--gray-100);
    font-size: 15px; color: var(--gray-700); text-align: left;
  }
  .sb-nav-links a:hover { background: var(--gray-50); color: var(--primary); }
  .sb-nav-links a.active::after { display: none; }
  .sb-nav-links a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; border-left: 3px solid var(--primary); }
  .sb-mobile-toggle { display: block; }

  /* Nav actions */
  .sb-nav-actions .sb-nav-tel { display: none; }

  /* Hero */
  .sb-hero h1 { font-size: 32px; }
  .sb-hero h1 br { display: none; }
  .sb-hero p { font-size: 15px; }
  .sb-hero p br { display: none; }
  .sb-hero-stats { gap: 20px; flex-wrap: wrap; }
  .sb-hero-stat-num { font-size: 28px; }
  .sb-hero-stat-label { font-size: 12px; }

  /* Products */
  .sb-product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sb-product-card { padding: 28px 20px; }

  /* Stats */
  .sb-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sb-stats-num { font-size: 36px; }

  /* Section headers */
  .sb-section-header h2 { font-size: 28px; }
  .sb-section-header p { font-size: 15px; }
  .sb-section-header { margin-bottom: 40px; }

  /* Detail blocks */
  .sb-detail-block, .sb-detail-block:nth-child(even) { flex-direction: column; gap: 32px; }

  /* Features grid */
  .sb-features-grid { grid-template-columns: 1fr; }

  /* Page hero */
  .sb-page-hero { padding: 120px 0 60px; }
  .sb-page-hero h1 { font-size: 30px; }
  .sb-page-hero p { font-size: 15px; }

  /* Advantages */
  .sb-advantages .row { flex-direction: column; }
  .sb-adv-img { margin-bottom: 32px; }

  /* Clients */
  .sb-clients-row { gap: 32px; }
  .sb-clients-row img { height: 28px; }

  /* CTA */
  .sb-cta h2 { font-size: 28px; }
  .sb-cta-actions { flex-direction: column; align-items: center; }

  /* Footer */
  .sb-footer { padding: 60px 0 32px; }
}

/* Tablet: hide logo text */
@media (max-width: 991px) {
  .sb-nav-logo span, .sb-nav-logo-text { display: none; }
}

/* Phone */
@media (max-width: 575px) {
  section { padding: 48px 0; }

  /* Nav: compact actions */
  .sb-nav .container { height: 60px; }
  .sb-nav-logo img { height: 30px; }
  .sb-nav-actions .sb-btn-outline { display: none; }
  .sb-nav-actions .sb-btn-primary { padding: 6px 14px; font-size: 12px; }

  /* Hero */
  .sb-hero { min-height: auto; padding: 80px 0 40px; }
  .sb-hero h1 { font-size: 24px; letter-spacing: 0; line-height: 1.35; }
  .sb-hero p { font-size: 13px; margin-bottom: 24px; line-height: 1.7; }
  .sb-hero-actions { flex-direction: column; gap: 10px; }
  .sb-hero-actions .sb-btn { width: 100%; text-align: center; padding: 12px 20px; font-size: 14px; }
  .sb-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; padding-top: 24px; }
  .sb-hero-stat-num { font-size: 22px; }
  .sb-hero-stat-label { font-size: 11px; }
  .sb-hero-tag { font-size: 11px; padding: 4px 12px; margin-bottom: 16px; }

  /* Products */
  .sb-products { padding: 48px 0; }
  .sb-product-grid { grid-template-columns: 1fr; gap: 12px; }
  .sb-product-card { padding: 20px 18px; display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
  .sb-product-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; font-size: 20px; margin-bottom: 0; }
  .sb-product-card h3 { font-size: 16px; margin-bottom: 4px; }
  .sb-product-card p { font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
  .sb-product-card .sb-link { font-size: 13px; }

  /* Stats */
  .sb-stats { padding: 40px 0; }
  .sb-stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .sb-stats-num { font-size: 28px; }
  .sb-stats-label { font-size: 12px; }

  /* Section headers */
  .sb-section-header { margin-bottom: 32px; }
  .sb-section-header h2 { font-size: 22px; }
  .sb-section-header p { font-size: 13px; }
  .sb-section-header .sb-label { font-size: 11px; padding: 4px 12px; }

  /* Detail */
  .sb-detail-section { padding: 40px 0; }
  .sb-detail-block { margin-bottom: 40px; gap: 24px; }
  .sb-detail-content h3 { font-size: 20px; }
  .sb-detail-content p { font-size: 13px; }

  /* Feature items */
  .sb-feature-item { padding: 20px; }
  .sb-feature-item h4 { font-size: 15px; }
  .sb-feature-item p { font-size: 13px; }

  /* Page hero */
  .sb-page-hero { padding: 80px 0 32px; }
  .sb-page-hero h1 { font-size: 24px; }
  .sb-page-hero p { font-size: 13px; }

  /* CTA */
  .sb-cta { padding: 48px 0; }
  .sb-cta h2 { font-size: 22px; }
  .sb-cta p { font-size: 13px; margin-bottom: 24px; }
  .sb-cta-actions { flex-direction: column; align-items: stretch; }
  .sb-cta-actions .sb-btn { width: 100%; text-align: center; }

  /* Advantages */
  .sb-advantages { padding: 48px 0; }
  .sb-adv-list h4 { font-size: 14px; }
  .sb-adv-list p { font-size: 12px; }
  .sb-adv-list li { padding: 12px 0; gap: 12px; }
  .sb-adv-check { width: 24px; height: 24px; border-radius: 6px; font-size: 12px; }

  /* Clients */
  .sb-clients { padding: 32px 0; }
  .sb-clients-row { gap: 20px; }
  .sb-clients-row img { height: 22px; }

  /* Footer */
  .sb-footer { padding: 40px 0 24px; }
  .sb-footer h5 { font-size: 14px; margin-bottom: 16px; }
  .sb-footer ul li { margin-bottom: 8px; }
  .sb-footer ul li, .sb-footer ul li a { font-size: 13px; }
  .sb-footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 11px; }
  .sb-footer-qr img { width: 72px; }
  .sb-footer-qr p { font-size: 11px; }

  /* Buttons */
  .sb-btn-lg { padding: 12px 24px; font-size: 14px; }
}

/* === ANIMATIONS === */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease forwards; }
.fade-up-d1 { animation-delay: .1s; opacity: 0; }
.fade-up-d2 { animation-delay: .2s; opacity: 0; }
.fade-up-d3 { animation-delay: .3s; opacity: 0; }
.fade-up-d4 { animation-delay: .4s; opacity: 0; }
.fade-up-d5 { animation-delay: .5s; opacity: 0; }
