/* fcbmt.com — China Sourcing Platform */

:root {
  --blue: #1a56db;
  --blue-hover: #1648c0;
  --blue-light: #ebf0fa;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --text: #1a1a2e;
  --text-secondary: #5a6070;
  --text-muted: #9098a5;
  --border: #e2e5ea;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --radius: 10px;
  --max-width: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky; top: 0; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); z-index: 100;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; row-gap: 8px; }
.site-logo { font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; flex-shrink: 0; }
.site-logo span { color: var(--blue); }
.site-nav { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.site-nav a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--blue); text-decoration: none; }
.site-nav a.cta-nav {
  background: var(--blue); color: #fff; padding: 8px 18px; border-radius: 6px;
  font-weight: 600;
}
.site-nav a.cta-nav:hover { background: var(--blue-hover); }

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; }
.hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 12px; }
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Category Cards */
.categories { padding: 16px 0 64px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: left; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative; overflow: hidden; display: block; color: var(--text);
  text-decoration: none;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  text-decoration: none;
}
.cat-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  transition: height 0.2s;
}
.cat-card:nth-child(1)::after { background: var(--blue); }
.cat-card:nth-child(2)::after { background: #7c3aed; }
.cat-card:nth-child(3)::after { background: #059669; }
.cat-card:hover::after { height: 4px; }

.cat-card .cat-icon { font-size: 36px; margin-bottom: 16px; }
.cat-card .cat-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.cat-card .cat-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.cat-card .cat-link { font-size: 14px; font-weight: 600; color: var(--blue); }

/* Why Section */
.why { padding: 72px 0; background: var(--bg-alt); }
.section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 44px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-item { text-align: center; }
.why-item .why-icon { font-size: 32px; margin-bottom: 14px; }
.why-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* How It Works */
.how { padding: 72px 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 28px; }
.step .step-num {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 20px;
  align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-secondary); }

/* CTA */
.cta-section { padding: 64px 0; text-align: center; background: var(--blue-light); }
.cta-section h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { font-size: 16px; color: var(--text-secondary); margin-bottom: 24px; }
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 14px 32px; border-radius: 8px; font-weight: 600; font-size: 16px; }
.btn:hover { background: var(--blue-hover); color: #fff; text-decoration: none; }

/* Page Header */
.page-hero { padding: 48px 0 32px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-hero .breadcrumb { font-size: 13px; color: var(--text-muted); }
.page-hero .breadcrumb a { color: var(--text-muted); }
.page-hero p { font-size: 17px; color: var(--text-secondary); max-width: 680px; margin-top: 8px; }

/* Content area */
.content { max-width: 780px; margin: 0 auto 64px; }
.content h2 { font-size: 24px; font-weight: 700; margin: 36px 0 16px; }
.content h3 { font-size: 18px; font-weight: 600; margin: 24px 0 12px; color: var(--text-secondary); }
.content p { margin-bottom: 16px; }
.content ul, .content ol { margin: 12px 0 20px 24px; }
.content li { margin-bottom: 8px; }
.content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.content th { text-align: left; padding: 10px 14px; background: var(--bg-alt); color: var(--text-secondary); font-weight: 600; border-bottom: 2px solid var(--border); }
.content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 32px 0; }
.product-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow 0.2s; }
.product-card:hover { box-shadow: var(--shadow-hover); }
.product-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); }
.product-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
.product-card .spec { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; text-align: center; }
.site-footer p { font-size: 13px; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 10px; }
  .site-nav { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .cat-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}
