/* ============================================================
   US Market Custom Design — 美国市场定制设计
   明亮干净美式风 · IBM蓝 #0066CC · 橙色CTA #FF6B35 · Inter字体
   对标: Curvature / Park Place / Service Express (美国TPM三巨头)
   ============================================================ */

/* ---------- Inter 本地字体（美国科技站标配） ---------- */
@font-face {
  font-family: 'Inter';
  src: url('/template/techserver_en/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/template/techserver_en/fonts/inter-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- 配色系统：美式明亮专业风 ---------- */
:root {
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #E6F0FA;
  --primary-gradient: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
  --secondary: #0B2B4E;
  --accent: #FF6B35;
  --accent-dark: #E5521F;
  --accent-gradient: linear-gradient(135deg, #FF6B35 0%, #E5521F 100%);
  --shadow-blue: 0 4px 20px rgba(0,102,204,0.15);
  --font-family: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

body, button, input, select, textarea {
  font-family: var(--font-family);
  letter-spacing: -0.011em;
}

/* 美式大标题：更粗、更紧凑 */
h1, h2, h3, h4 {
  letter-spacing: -0.025em;
  font-weight: 700;
}

/* ---------- 橙色 CTA（美式高转化按钮） ---------- */
.btn-primary,
.btn--primary {
  background: var(--accent-gradient) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(255,107,53,0.35) !important;
  border-radius: 6px !important;
}
.btn-primary:hover,
.btn--primary:hover {
  box-shadow: 0 6px 22px rgba(255,107,53,0.5) !important;
  transform: translateY(-2px);
}

/* 次按钮：蓝色描边 */
.btn-outline,
.btn--secondary {
  border: 2px solid #fff !important;
  color: #fff !important;
  border-radius: 6px !important;
}
.section .btn-outline,
.section .btn--secondary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
.section .btn-outline:hover,
.section .btn--secondary:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

/* ---------- Hero：深蓝底 + 白色大标题 + 橙色数字 ---------- */
.hero {
  background: linear-gradient(155deg, #071B33 0%, #0B2B4E 55%, #0F3A66 100%) !important;
}
.hero::before {
  background: linear-gradient(135deg, rgba(7,27,51,0.88) 0%, rgba(11,43,78,0.62) 50%, rgba(7,27,51,0.88) 100%) !important;
}

/* Hero 标题美式粗排 */
.hero-title,
.hero h1 {
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
}

/* 信任数字：白色大数字（美式干净）+ 橙色斜杠 */
.hero-stat .stat-number,
.hero-stats .stat-number,
.stat-number {
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 2.5rem !important;
  text-shadow: none !important;
}
.stat-number::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 6px auto 0;
  border-radius: 2px;
}
.hero-stat .stat-label,
.hero-stats .stat-label,
.stat-label {
  color: rgba(255,255,255,0.72) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* 省钱徽章（TPM 杀手话术高亮） */
.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.45);
  color: #FF8C5A;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.savings-badge .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ---------- 信任条（Hero 下方横条） ---------- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.trust-bar .trust-item {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}
.trust-bar .trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0; top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}
.trust-bar .trust-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.trust-bar .trust-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ---------- 三大美式卖点卡片 ---------- */
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.value-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(0,102,204,0.12);
  transform: translateY(-4px);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card .value-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.value-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
.value-card .value-metric {
  display: inline-block;
  background: #FFF3ED;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.value-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---------- 产品卡片：美式干净风 ---------- */
.card:hover,
.product-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 30px rgba(0,102,204,0.12) !important;
}

/* 现货徽章改绿色（美式 in-stock 惯例） */
.stock-badge,
.badge-stock,
.product-tag {
  background: #16A34A !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* 区块标题下划线改橙色 */
.section-title::after,
.section-head h2::after,
h2.section-title::after {
  background: var(--accent-gradient) !important;
}

/* 区块标题美式排版 */
.section-title h2 {
  font-size: 2rem;
  letter-spacing: -0.025em;
  color: var(--secondary);
}
.section-title .subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #071B33 !important;
}
.footer h4 { color: #fff !important; }
.footer a:hover { color: var(--accent) !important; }

/* ---------- 表单 ---------- */
input:focus, select:focus, textarea:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.12) !important;
}

/* ---------- 悬浮联系按钮配色 ---------- */
.float-contact a[title="LinkedIn"] { background: #0A66C2; }
.float-contact a[title="Email"] { background: var(--primary); }

/* ---------- 移动端 ---------- */
/* Trust bar grid (was inline repeat(4,1fr), overflows on phones) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

@media (max-width: 768px) {
  .stat-number { font-size: 1.9rem !important; }
  .section-title h2 { font-size: 1.5rem; }
  .trust-bar .trust-number { font-size: 1.5rem; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; }
  .value-metric { white-space: normal; max-width: 100%; }
}

/* Value props grid (was inline repeat(3,1fr), overflows on phones) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-card .stat-row { gap: 8px; }
  .hero-card .stat-num { font-size: 1.3rem; overflow-wrap: anywhere; }
  .hero-card .stat-label { font-size: 0.62rem; line-height: 1.25; }
}
