/* ==========================================================
   外贸商品展示站 — 自定义样式
   配色:深色高级灰 + 暖金点缀(适合外贸出口商品展示)
   ========================================================== */

:root {
  --brand: #d4a574;        /* 暖金主色 */
  --brand-dark: #b8875a;
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --text: #f5f5f5;
  --text-dim: #a0a0a0;
  --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === 背景细微纹理 === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(212,165,116,0.08), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(212,165,116,0.05), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* === 导航栏 === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.7);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav.scrolled { background: rgba(10,10,10,0.95); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--brand) 0%, #e8c89c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  padding: 0.6rem 1.5rem;
  background: var(--brand);
  color: var(--bg);
  border-radius: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* === Hero 区 === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,165,116,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,165,116,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--brand);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand) 0%, #e8c89c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.hero p.lead {
  font-size: 1.125rem;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 0 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 1rem 2rem;
  background: var(--brand);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,165,116,0.2); }
.btn-ghost {
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Hero 视觉 */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,165,116,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.hero-visual:hover .hero-img { transform: scale(1.05); }
.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-badge .label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.hero-badge .value { font-size: 1.25rem; color: var(--brand); font-weight: 600; }

/* === 数据条 === */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
  background: var(--bg-2);
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.stat .num span { font-size: 1.5rem; vertical-align: top; margin-left: 0.2rem; }
.stat .lbl {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === 通用 section === */
section.block {
  padding: 7rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.section-head .left { max-width: 600px; }
.section-eyebrow {
  font-size: 0.75rem;
  color: var(--brand);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--brand);
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === 分类标签 === */
.tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}
.tab:hover { color: var(--text); }
.tab.active {
  color: var(--brand);
  border-color: var(--brand);
  background: rgba(212,165,116,0.05);
}

/* === 商品网格 === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.product {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.product:hover {
  transform: translateY(-6px);
  border-color: rgba(212,165,116,0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.product-img {
  aspect-ratio: 1;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product:hover .product-img img { transform: scale(1.08); }
.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(8px);
  color: var(--brand);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.product-info {
  padding: 1.5rem;
}
.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
}
.product-info .sub {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.product-info .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand);
}
.price small { font-size: 0.75rem; color: var(--text-dim); margin-left: 0.3rem; font-family: Inter, sans-serif; }
.moq {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* === 特色区(about) === */
.features {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.feature-img {
  aspect-ratio: 4/5;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--bg-2));
  pointer-events: none;
}
.feature-list { display: grid; gap: 2rem; }
.feature {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; padding-bottom: 0; }
.feature .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
}
.feature h4 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === 流程区 === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}
.process-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.3s;
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg-2); }
.process-step .step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  display: block;
}
.process-step h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.process-step p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* === 全球地图(简化) === */
.global {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.global-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 2rem;
}
.markets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.market {
  padding: 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s;
}
.market:hover {
  border-color: rgba(212,165,116,0.4);
  transform: translateY(-4px);
}
.market .flag { font-size: 2rem; margin-bottom: 0.75rem; }
.market .country {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.market .region {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === 表单(询盘) === */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info {
  padding: 3rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin: 0 0 1rem;
}
.contact-info p { color: var(--text-dim); line-height: 1.7; margin: 0 0 2rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .ico {
  width: 40px; height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1rem;
}
.contact-detail .label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-detail .value { font-size: 0.95rem; color: var(--text); }

.form {
  display: grid;
  gap: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.field input, .field select, .field textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.9rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-submit {
  margin-top: 0.5rem;
  padding: 1.1rem 2rem;
  background: var(--brand);
  color: var(--bg);
  border: none;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.form-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* === Footer === */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
  max-width: 320px;
}
.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* === 动画 === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease both; }
.fade-up.d1 { animation-delay: 0.1s; }
.fade-up.d2 { animation-delay: 0.2s; }
.fade-up.d3 { animation-delay: 0.3s; }
.fade-up.d4 { animation-delay: 0.4s; }

/* === 响应式 === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { aspect-ratio: 4/3; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .features-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  section.block { padding: 5rem 1.5rem; }
}