/* ===== CSS Variables ===== */
:root {
  --color-primary: #E5A414;
  --color-primary-dark: #c8900f;
  --color-text: #111827;
  --color-text-muted: #6B7280;
  --color-bg: #F8FAFC;
  --color-border: #E5E7EB;
  --font-base: 'Inter', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --max-width: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-base); color: var(--color-text); line-height: 1.7; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-base);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(229, 164, 20, 0.4); }
.btn-outline { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* ===== Section Base ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .en-sub { font-size: 13px; color: var(--color-primary); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 36px; font-weight: 600; line-height: 1.3; color: var(--color-text); }
.section-header p { font-size: 16px; color: var(--color-text-muted); margin-top: 14px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: 64px;
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-logo img { height: 48px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 36px; }
.header-nav a { font-size: 15px; color: #374151; font-weight: 500; transition: color 0.2s; }
.header-nav a:hover { color: var(--color-primary); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 9px 20px; font-size: 14px; min-height: 38px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s; }

/* ===== Dropdown Menu ===== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { font-size: 15px; color: #374151; font-weight: 500; transition: color 0.2s; cursor: pointer; display: flex; align-items: center; gap: 3px; user-select: none; }
.nav-item:hover .nav-link { color: var(--color-primary); }
.dropdown-arrow { font-size: 11px; display: inline-block; transition: transform 0.2s; }
.nav-item:hover .dropdown-arrow,
.nav-item.open .dropdown-arrow { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  min-width: 160px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
/* 小三角 */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: var(--color-border);
}
.dropdown-menu::after {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top: 0;
  border-bottom-color: #fff;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a { display: block; padding: 9px 20px; font-size: 14px; color: #374151; font-weight: 400; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.dropdown-menu a:hover { background: var(--color-bg); color: var(--color-primary); }
.dropdown-menu .dropdown-all { border-top: 1px solid var(--color-border); margin-top: 4px; padding-top: 10px; color: var(--color-primary); font-weight: 500; }
.dropdown-menu .dropdown-all:hover { background: rgba(229,164,20,0.06); }

/* ===== Hero ===== */
.hero {
  margin-top: 64px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 60%, #111827 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(229,164,20,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(229,164,20,0.15);
  color: var(--color-primary);
  border: 1px solid rgba(229,164,20,0.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--color-primary); font-style: normal; }
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat-item {}
.hero-stats .stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
}
.hero-stats .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===== Value Proposition ===== */
.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.value-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-card:hover::before { transform: scaleX(1); }
.value-icon { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 12px; overflow: hidden; }
.value-icon img { width: 100%; height: 100%; object-fit: cover; }
.value-card h3 { font-size: 20px; font-weight: 600; color: var(--color-text); margin-bottom: 12px; }
.value-card p { font-size: 15px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 20px; }
.value-card a { font-size: 14px; color: var(--color-primary); font-weight: 500; }
.value-card a:hover { text-decoration: underline; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}
.service-card:hover { box-shadow: var(--shadow); border-color: rgba(229,164,20,0.3); }
.service-icon { flex-shrink: 0; width: 60px; height: 60px; }
.service-icon img { width: 60px; height: 60px; object-fit: contain; }
.service-content {}
.service-content h3 { font-size: 18px; font-weight: 600; color: var(--color-text); margin-bottom: 10px; }
.service-content p { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }

/* ===== Stats ===== */
.stats-section { background: #1F2937; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}
.stat-block {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-block:last-child { border-right: none; }
.stat-block img { width: 40px; height: 40px; margin: 0 auto 12px; filter: brightness(10); opacity: 0.6; }
.stat-block .number { font-size: 48px; font-weight: 700; color: var(--color-primary); line-height: 1.1; }
.stat-block .label { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ===== Customer Logos ===== */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.logo-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  transition: all 0.2s;
}
.logo-item:hover { border-color: var(--color-primary); box-shadow: 0 2px 12px rgba(229,164,20,0.1); }
.logo-item img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }

/* ===== Customer Stories ===== */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.3s;
}
.story-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.story-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px 8px 0 0; }
.story-body { padding: 24px; }
.story-body h3 { font-size: 18px; font-weight: 600; color: var(--color-text); margin-bottom: 10px; }
.story-body p { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-body a { font-size: 14px; color: var(--color-primary); font-weight: 500; }
.story-link-more { text-align: center; margin-top: 40px; }

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, #E5A414 0%, #c8900f 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { font-size: 40px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white { background: #fff; color: var(--color-primary); border: 2px solid #fff; padding: 14px 36px; font-size: 16px; font-weight: 600; border-radius: var(--radius); cursor: pointer; transition: all 0.2s; }
.btn-cta-white:hover { background: transparent; color: #fff; }
.btn-cta-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); padding: 14px 36px; font-size: 16px; font-weight: 600; border-radius: var(--radius); cursor: pointer; transition: all 0.2s; }
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); }

/* ===== Footer ===== */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img { height: 44px; margin-bottom: 16px; filter: brightness(10); opacity: 0.8; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-contact { margin-top: 20px; }
.footer-contact a { font-size: 15px; color: rgba(255,255,255,0.8); display: block; margin-bottom: 8px; }
.footer-contact a:hover { color: var(--color-primary); }
.footer-col h4 { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-primary); }
.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); margin: 0 8px; }
.footer-bottom a:hover { color: var(--color-primary); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(3) { border-bottom: none; }
  .stat-block:nth-child(4) { border-right: none; border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .value-prop-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats { gap: 32px; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .hero { padding: 72px 0 56px; }
  .hero h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stats .stat-number { font-size: 32px; }

  .header-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 24px; gap: 0; border-bottom: 1px solid var(--color-border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  .header-nav.open { display: flex; }
  .header-nav > a { padding: 12px 0; border-bottom: 1px solid var(--color-border); width: 100%; display: block; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  /* 移动端下拉 */
  .nav-item { width: 100%; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--color-border); }
  .nav-link { padding: 12px 0; width: 100%; justify-content: space-between; }
  .nav-item:hover .nav-link { color: #374151; }
  .nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; border-radius: 0; padding: 0 0 8px 0; min-width: 0; width: 100%; display: none; }
  .dropdown-menu::before, .dropdown-menu::after { display: none; }
  .nav-item.open > .nav-link { color: var(--color-primary); }
  .nav-item.open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 9px 12px; border-bottom: none; color: #6B7280; }
  .dropdown-menu a:hover { background: none; color: var(--color-primary); }
  .dropdown-menu .dropdown-all { border-top: none; margin-top: 0; }

  .value-prop-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section-header h2 { font-size: 26px; }
  .cta-section h2 { font-size: 28px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-cta-white, .btn-cta-outline { width: 100%; max-width: 300px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}
