/* ============================================
   大薪薪官网 - 主样式表
   ============================================ */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
section { position: relative; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #1a56db; border-radius: 4px; }

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}
.header.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.logo span { font-size: 22px; font-weight: 700; color: #1a56db; }

/* Nav center links */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: #555;
  transition: color 0.25s; position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #1a56db; }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #1a56db;
  transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .hotline {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: #555; white-space: nowrap;
}
.nav-right .hotline img { width: 18px; height: 18px; }
.nav-right .hotline strong { color: #1a56db; font-weight: 700; }
.nav-right .hotline .phone-icon {
  width: 32px; height: 32px;
  background: rgba(26,86,219,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.menu-toggle span {
  width: 24px; height: 2px; background: #333;
  border-radius: 2px; transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a1628 0%, #0f2546 40%, #1a3a6b 70%, #0f2546 100%);
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,86,219,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,122,20,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-content h1 span {
  background: linear-gradient(135deg, #f59e0b, #f57a14);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  font-weight: 500;
}
.hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 520px;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px;
}
.hero-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.hero-badges span::before {
  content: '✓';
  color: #22c55e; font-weight: 700;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; border-radius: 8px;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: all 0.3s; border: none; font-family: inherit;
}
.btn-hero.primary {
  background: linear-gradient(135deg, #f59e0b, #f57a14);
  color: #fff; box-shadow: 0 4px 20px rgba(245,122,20,0.35);
}
.btn-hero.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245,122,20,0.45);
}
.btn-hero.secondary {
  background: rgba(255,255,255,0.1);
  color: #fff; border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.btn-hero.secondary:hover {
  background: rgba(255,255,255,0.18);
}

.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-visual .mockup {
  width: 100%; max-width: 520px;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  background: linear-gradient(145deg, #132a4a, #1a3a6b);
  padding: 30px; border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual .mockup-screen {
  background: #0a1628; border-radius: 8px; overflow: hidden;
}
.hero-visual .mockup-screen .bar {
  display: flex; gap: 6px; padding: 12px 14px;
  background: #111d33;
}
.hero-visual .mockup-screen .bar span {
  width: 10px; height: 10px; border-radius: 50%;
}
.hero-visual .mockup-screen .bar span:nth-child(1) { background: #ff5f57; }
.hero-visual .mockup-screen .bar span:nth-child(2) { background: #ffbd2e; }
.hero-visual .mockup-screen .bar span:nth-child(3) { background: #28c840; }
.hero-visual .mockup-screen .dash-content {
  padding: 20px; display: grid; gap: 12px;
}
.hero-visual .mockup-screen .dash-row {
  height: 8px; background: rgba(255,255,255,0.06);
  border-radius: 4px; position: relative; overflow: hidden;
}
.hero-visual .mockup-screen .dash-row::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(26,86,219,0.3), transparent);
  animation: shimmer 2.5s infinite;
}
.hero-visual .mockup-screen .dash-row:nth-child(1)::after { animation-delay: 0s; width: 40%; }
.hero-visual .mockup-screen .dash-row:nth-child(2)::after { animation-delay: 0.5s; width: 65%; }
.hero-visual .mockup-screen .dash-row:nth-child(3)::after { animation-delay: 1s; width: 50%; }
.hero-visual .mockup-screen .dash-row:nth-child(4)::after { animation-delay: 1.5s; width: 75%; }
.hero-visual .mockup-screen .dash-row:nth-child(5)::after { animation-delay: 2s; width: 45%; }
@keyframes shimmer { 0% { left: -100%; } 100% { left: 200%; } }

/* ===== Section common ===== */
.section-title {
  text-align: center; margin-bottom: 60px;
}
.section-title .tag {
  display: inline-block;
  padding: 4px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 500;
  background: rgba(26,86,219,0.08);
  color: #1a56db; margin-bottom: 12px;
}
.section-title h2 {
  font-size: 36px; font-weight: 700; color: #111;
  margin-bottom: 12px;
}
.section-title p {
  font-size: 16px; color: #777; max-width: 600px; margin: 0 auto;
}
.section-padding { padding: 100px 0; }
.bg-light { background: #f8fafc; }
.bg-gradient { background: linear-gradient(135deg, #0a1628 0%, #0f2546 100%); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid #f0f0f0;
  transition: all 0.35s ease; cursor: default;
  position: relative; overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}
.feature-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 26px;
}
.feature-card .icon-wrap.blue { background: rgba(26,86,219,0.1); color: #1a56db; }
.feature-card .icon-wrap.orange { background: rgba(245,122,20,0.1); color: #f57a14; }
.feature-card .icon-wrap.green { background: rgba(34,197,94,0.1); color: #22c55e; }
.feature-card .icon-wrap.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.feature-card .icon-wrap.teal { background: rgba(20,184,166,0.1); color: #14b8a6; }
.feature-card .icon-wrap.red { background: rgba(239,68,68,0.1); color: #ef4444; }
.feature-card h3 {
  font-size: 20px; font-weight: 700; color: #111;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px; color: #666; line-height: 1.7;
}
.feature-card .feature-tag {
  display: inline-block;
  padding: 2px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 500; margin-bottom: 12px;
}
.feature-card .feature-tag.blue-tag { background: rgba(26,86,219,0.08); color: #1a56db; }
.feature-card .feature-tag.orange-tag { background: rgba(245,122,20,0.08); color: #f57a14; }

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, #1a56db, #f57a14, #1a56db);
  opacity: 0.3;
}
.step-card {
  text-align: center; padding: 30px 20px; position: relative;
}
.step-card .step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 22px; font-weight: 700; color: #fff;
  position: relative; z-index: 2;
}
.step-card:nth-child(1) .step-num { background: linear-gradient(135deg, #1a56db, #3b82f6); }
.step-card:nth-child(2) .step-num { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.step-card:nth-child(3) .step-num { background: linear-gradient(135deg, #f59e0b, #f57a14); }
.step-card:nth-child(4) .step-num { background: linear-gradient(135deg, #f57a14, #f97316); }
.step-card h4 {
  font-size: 18px; font-weight: 700; color: #111;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px; color: #777; line-height: 1.7;
}

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.product-card {
  background: #fff; border-radius: 20px;
  padding: 48px 40px;
  border: 1px solid #f0f0f0;
  transition: all 0.35s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}
.product-card .product-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 30px;
}
.product-card:first-child .product-icon { background: rgba(26,86,219,0.1); color: #1a56db; }
.product-card:last-child .product-icon { background: rgba(245,122,20,0.1); color: #f57a14; }
.product-card h3 { font-size: 24px; font-weight: 700; color: #111; margin-bottom: 6px; }
.product-card .product-en { font-size: 13px; color: #aaa; margin-bottom: 14px; }
.product-card p { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 20px; }
.product-card .product-features { display: grid; gap: 10px; }
.product-card .product-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #555;
}
.product-card .product-features li::before {
  content: '✓'; color: #22c55e; font-weight: 700; flex-shrink: 0;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item { text-align: center; padding: 30px; }
.stat-item .stat-num {
  font-size: 48px; font-weight: 900;
  background: linear-gradient(135deg, #1a56db, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 15px; color: #999; margin-top: 8px;
}

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 24px;
  justify-items: center;
  align-items: center;
}
.partners-grid li {
  width: 90px; height: 90px; border-radius: 50%;
  overflow: hidden; transition: all 0.3s;
  border: 2px solid transparent;
}
.partners-grid li:hover {
  border-color: #1a56db;
  transform: scale(1.08);
}
.partners-grid li img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
  background: #0b1120; color: #fff; padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 40px; }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.5);
  line-height: 1.8; max-width: 320px;
}
.footer h4 {
  font-size: 16px; font-weight: 600; margin-bottom: 20px;
  color: #fff;
}
.footer ul li { margin-bottom: 12px; }
.footer ul li a {
  font-size: 14px; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer ul li a:hover { color: #f57a14; }
.footer-contact li {
  display: flex; gap: 10px; font-size: 14px;
  color: rgba(255,255,255,0.5); margin-bottom: 14px;
}
.footer-contact li strong {
  color: #fff; font-weight: 500;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p {
  font-size: 13px; color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: #f57a14; }

/* ===== Mobile Nav ===== */
.mobile-nav-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 999;
}
.mobile-nav-panel {
  position: fixed; top: 0; right: -100%; width: 280px;
  height: 100%; background: #fff; z-index: 1001;
  padding: 80px 30px 30px;
  transition: right 0.35s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.mobile-nav-panel.open { right: 0; }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: none; font-size: 28px;
  cursor: pointer; color: #666;
}
.mobile-nav-panel .nav-item {
  display: block; padding: 14px 0;
  font-size: 16px; font-weight: 500; color: #333;
  border-bottom: 1px solid #f0f0f0;
}

/* ===== Animations ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-up.show { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity 0.8s ease; }
.fade-in.show { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-actions { justify-content: center; }
  .hero-badges { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-right .hotline .phone-icon { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav-overlay.open { display: block; }
  .section-padding { padding: 60px 0; }
  .section-title h2 { font-size: 28px; }
  .section-title { margin-bottom: 40px; }

  .hero-content h1 { font-size: 32px; }
  .hero-content .subtitle { font-size: 17px; }
  .hero-content p { font-size: 14px; }
  .hero-badges span { font-size: 12px; padding: 4px 12px; }
  .btn-hero { padding: 12px 24px; font-size: 14px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .stat-num { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .logo img { height: 34px; }
  .logo span { font-size: 18px; }
  .hero { padding-top: 60px; min-height: auto; padding-bottom: 60px; }
  .steps-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 16px; }
  .partners-grid li { width: 70px; height: 70px; }
  .product-card { padding: 30px 24px; }
}
