/* ==========================================================================
   上海喜贸国际贸易有限公司 (Shanghai Heytrade International Trade Co., Ltd.)
   官方展示网站样式表 - styles.css
   ========================================================================== */

:root {
  --primary: #0E2A47;
  --primary-dark: #081B30;
  --primary-light: #163E69;
  --primary-rgb: 14, 42, 71;

  --gold: #D4AF37;
  --gold-hover: #C59B27;
  --gold-light: #FDF8E2;
  --gold-border: #E5C365;

  --ali-orange: #FF6A00;
  --ali-orange-hover: #E05D00;
  --ali-orange-bg: #FFF4ED;

  --text-main: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  --bg-page: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-focus: #163E69;

  --success: #16A34A;
  --success-bg: #DCFCE7;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(14, 42, 71, 0.08);
  --shadow-lg: 0 12px 28px rgba(14, 42, 71, 0.12);
  --shadow-xl: 0 20px 40px rgba(14, 42, 71, 0.16);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

img, svg {
  vertical-align: middle;
  display: inline-block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* 栅格与版心容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 顶部公告栏 */
.top-bar {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-left .badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.badge-ali {
  background-color: rgba(255, 106, 0, 0.2);
  color: #FFB380;
  border: 1px solid rgba(255, 106, 0, 0.4);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ali-store-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #FFB380;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.3);
}

.ali-store-link:hover {
  background: var(--ali-orange);
  color: #FFFFFF;
  border-color: var(--ali-orange);
}

.icon-ali {
  width: 14px;
  height: 14px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.icon-sm {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

/* 语言切换按钮 */
.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lang-toggle-btn:hover {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}

/* 主导航 Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name-zh {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary);
  line-height: 1.2;
}

.company-name-en {
  font-size: 0.6875rem;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--gold-hover);
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-ali-btn {
  color: #D95300;
  border-color: #FED7AA;
  background: #FFF7ED;
}

.nav-ali-btn:hover {
  background: var(--ali-orange);
  color: #FFFFFF;
  border-color: var(--ali-orange);
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 13px 26px;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 42, 71, 0.2);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #E2C050;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-ali-hero {
  background-color: var(--ali-orange);
  color: #FFFFFF;
  border-color: var(--ali-orange);
  font-weight: 700;
}

.btn-ali-hero:hover {
  background-color: var(--ali-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-body);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--bg-light);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
}

/* 移动端汉堡切换按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 310px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 200;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s ease;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
}

.drawer-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-body);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* 主视觉 Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #081B30 0%, #0E2A47 60%, #163B66 100%);
  color: #FFFFFF;
  padding: 85px 0 95px;
  overflow: hidden;
}

.hero-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: #F8DE7E;
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--gold);
}

.hero-title {
  font-size: 2.65rem;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.text-gold {
  color: var(--gold);
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 34px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.icon-arr {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-gold:hover .icon-arr {
  transform: translateX(3px);
}

/* 首页右侧商业信誉数据卡 */
.trust-summary-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xl);
}

.card-glass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.card-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #86EFAC;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.card-tag {
  background: rgba(212, 175, 55, 0.15);
  color: #F8DE7E;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.kpi-item {
  background: rgba(0, 0, 0, 0.22);
  padding: 16px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kpi-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.kpi-unit {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-left: 2px;
}

.kpi-label {
  font-size: 0.8125rem;
  color: #94A3B8;
}

.hero-trade-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: #E2E8F0;
}

.check-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* 通用 Section 规范 */
.section {
  padding: 85px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  background: rgba(14, 42, 71, 0.06);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.badge-translucent {
  background: rgba(255, 255, 255, 0.1);
  color: #F8DE7E;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* 关于我们 Section */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: flex-start;
}

.about-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.35;
}

.about-paragraph {
  font-size: 0.98rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.75;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.pillar-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.pillar-box:hover {
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(14, 42, 71, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-box h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.pillar-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 实体资质与时间轴卡片 */
.about-timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.timeline-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.hub-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hub-item {
  display: flex;
  gap: 16px;
}

.hub-marker {
  width: 36px;
  height: 36px;
  background: rgba(14, 42, 71, 0.08);
  color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hub-icon-svg {
  width: 18px;
  height: 18px;
}

.hub-info h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.hub-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.hub-card-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-color);
}

.quote-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

.icon-quote {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* 核心业务与品类展厅 Section */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tab-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-body);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(14, 42, 71, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
  transform: translateY(-4px);
}

.card-img-wrap {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-real-img {
  transform: scale(1.05);
}

.card-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 42, 71, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.card-fast-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}

.card-hot-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #D97706;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.3);
}

.product-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.product-specs {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.spec-row {
  display: flex;
  justify-content: space-between;
}

.spec-k {
  color: var(--text-muted);
}

.spec-v {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

.card-action {
  margin-top: 4px;
}

.card-action .btn {
  width: 100%;
}

/* 包装与农用机械 Section */
.machinery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mach-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.mach-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.mach-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 42, 71, 0.08);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mach-icon svg {
  width: 24px;
  height: 24px;
}

.mach-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.mach-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.mach-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  margin-top: auto;
}

.mach-points li {
  font-size: 0.82rem;
  color: var(--text-body);
  position: relative;
  padding-left: 16px;
}

.mach-points li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--gold-hover);
  font-size: 0.75rem;
}

.mach-card .btn {
  width: 100%;
}

/* 模具与工艺定制 Section */
.custom-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition);
}

.process-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-step {
  font-size: 2rem;
  font-weight: 900;
  color: #E2E8F0;
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.process-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.process-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 全球航线与供应链网络 Section */
.network-section {
  background: linear-gradient(135deg, #081B30 0%, #0E2A47 100%);
  color: #FFFFFF;
}

.text-white {
  color: #FFFFFF !important;
}

.text-gray {
  color: #94A3B8 !important;
}

.network-tabs-wrapper {
  max-width: 980px;
  margin: 0 auto 50px;
}

.network-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.net-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.net-tab-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.net-tab-btn.active {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.network-display-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.route-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--gold);
}

.route-time {
  background: rgba(34, 197, 94, 0.15);
  color: #86EFAC;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.route-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #CBD5E1;
  margin-bottom: 22px;
}

.route-ports {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.port-tag {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
}

.port-arrow {
  color: var(--gold);
  font-weight: 700;
}

/* Incoterms 矩阵 */
.incoterms-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 30px;
}

.incoterms-title {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 22px;
}

.incoterms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.inco-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.inco-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold);
}

.inco-code {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.inco-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.inco-sub {
  font-size: 0.74rem;
  color: #94A3B8;
  line-height: 1.4;
}

/* 核心优势与资质 Section */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.strength-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  transition: var(--transition);
}

.strength-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  transform: translateY(-4px);
}

.strength-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.75rem;
  font-weight: 900;
  color: #E2E8F0;
  font-variant-numeric: tabular-nums;
}

.strength-icon {
  width: 44px;
  height: 44px;
  background: rgba(14, 42, 71, 0.06);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.strength-icon svg {
  width: 22px;
  height: 22px;
}

.strength-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.strength-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 在线询盘 RFQ Section */
.rfq-section {
  background: #FFFFFF;
  padding: 85px 0;
}

.rfq-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: flex-start;
}

.rfq-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin: 14px 0 16px;
}

.rfq-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.rfq-direct-contacts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.direct-item {
  display: flex;
  gap: 16px;
}

.direct-icon {
  width: 42px;
  height: 42px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-icon svg {
  width: 20px;
  height: 20px;
}

.direct-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.direct-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
}

/* RFQ 表单卡片 */
.rfq-form-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field .required {
  color: #DC2626;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--text-main);
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(14, 42, 71, 0.1);
}

.form-action {
  margin-top: 10px;
  margin-bottom: 12px;
}

.form-privacy-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

/* 询价结果 Modal 弹窗 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 29, 51, 0.7);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-dialog {
  transform: translateY(0);
}

.modal-badge-success {
  width: 54px;
  height: 54px;
  background: var(--success-bg);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-badge-success svg {
  width: 26px;
  height: 26px;
}

.modal-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.receipt-box {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
}

.receipt-k {
  color: var(--text-muted);
}

.receipt-v {
  font-weight: 600;
  color: var(--text-main);
}

/* 页脚 Footer */
.site-footer {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  padding-top: 65px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr 1.05fr 0.8fr;
  gap: 36px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
  background: #FFFFFF;
}

.footer-company-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-en-name {
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.84rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 18px;
}

.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.84rem;
  color: #94A3B8;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.5;
}

.icon-tiny {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.qr-placeholder-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
  max-width: 100%;
}

.qr-box {
  width: 104px;
  height: 104px;
  max-width: 104px;
  max-height: 104px;
  background: #FFFFFF;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.qr-code-img {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.qr-note {
  font-size: 0.72rem;
  color: #94A3B8;
  line-height: 1.35;
  text-align: center;
}

.footer-bottom {
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: #64748B;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal-links a:hover {
  color: #CBD5E1;
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .machinery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .incoterms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rfq-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .nav-menu, .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .machinery-grid {
    grid-template-columns: 1fr;
  }

  .custom-process-grid {
    grid-template-columns: 1fr;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   全新升级：VIP 微信对接、规格详情弹窗、智能悬浮条与高端交互样式
   ========================================================================== */

/* 顶部栏邮件与微信按钮 */
.topbar-email-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.topbar-email-link:hover {
  color: var(--gold);
}

.topbar-wechat-btn {
  background: rgba(7, 193, 96, 0.15);
  color: #07C160;
  border: 1px solid rgba(7, 193, 96, 0.35);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition);
}
.topbar-wechat-btn:hover {
  background: #07C160;
  color: #FFFFFF;
  border-color: #07C160;
}

/* 导航栏微信直达按钮 */
.btn-wechat-nav {
  color: #07C160;
  border-color: rgba(7, 193, 96, 0.4);
  background: rgba(7, 193, 96, 0.06);
}
.btn-wechat-nav:hover {
  background: #07C160;
  color: #FFFFFF;
  border-color: #07C160;
}

/* 双按钮产品卡片底部 */
.card-action-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.card-action-dual .btn {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 微信 VIP 联络卡片 */
.direct-item-wechat {
  background: linear-gradient(135deg, rgba(7, 193, 96, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(7, 193, 96, 0.25) !important;
  border-radius: var(--radius-md);
  padding: 14px !important;
}
.direct-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* 一键复制微小标签按钮 */
.btn-copy-chip {
  background: rgba(212, 175, 55, 0.12);
  color: var(--primary);
  border: 1px solid var(--gold);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 8px;
  transition: var(--transition);
}
.btn-copy-chip:hover {
  background: var(--gold);
  color: #FFFFFF;
}

/* 产品规格详情弹窗 (Product Quick View Modal) */
.product-modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}
.product-modal-img-wrap {
  position: relative;
  background: #F8FAFC;
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.modal-product-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}
.modal-badge-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}
.product-modal-info {
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
}
.product-cat-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold-light);
  color: #926E05;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}
.modal-p-title {
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.modal-p-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}
.modal-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: var(--bg-light);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.modal-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed #E2E8F0;
}
.modal-spec-item:last-child {
  border-bottom: none;
}
.modal-spec-key {
  color: var(--text-muted);
  font-weight: 500;
}
.modal-spec-val {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
}
.modal-actions-row {
  display: flex;
  margin-top: auto;
}
.modal-actions-row .btn {
  padding: 10px 14px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-img-wrap {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 16px;
  }
  .product-modal-info {
    padding: 0 20px 20px;
  }
  .modal-actions-row {
    grid-template-columns: 1fr;
  }
  .card-action-dual {
    grid-template-columns: 1fr;
  }
}
