/* ozon大麦家 demo-v2 — 跨境实操风 · 反 AI slop */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #1a1d26;
  --text-muted: #5c6370;
  --border: #e2e5eb;
  --ozon: #005bff;
  --ozon-hover: #0047cc;
  --brand-orange: #e8912d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(26, 29, 38, 0.06), 0 8px 24px rgba(26, 29, 38, 0.06);
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ozon); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ozon); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 17px; font-weight: 700; }
.brand-text small { font-size: 12px; color: var(--text-muted); }

/* 双产品切换（批量铺货 ↔ 跟卖助手） */
.product-switch {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px;
}
.product-switch a {
  font-size: 13px; font-weight: 600; text-decoration: none;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text-muted); background: var(--surface);
}
.product-switch a:hover { color: var(--text); border-color: #c8cdd6; }
.product-switch a.is-active {
  color: #fff; background: var(--ozon); border-color: var(--ozon);
}
.product-switch a.is-service {
  border-color: #f0dcc0; background: #fffaf3;
}
.product-switch a.is-service.is-active {
  color: #fff; background: var(--brand-orange); border-color: var(--brand-orange);
}

/* 陪跑 / 坑点库 */
.coaching-theme-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.coaching-theme-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.coaching-theme-card h3 { margin: 0 0 8px; font-size: 17px; }
.coaching-theme-card .theme-pain {
  margin: 0 0 10px; font-size: 14px; color: var(--text-muted); line-height: 1.55; flex: 1;
}
.coaching-theme-card .theme-tip {
  margin: 0 0 14px; padding: 10px 12px; font-size: 13px; line-height: 1.5;
  background: #f8fbff; border-radius: 8px; border: 1px solid #dbeafe;
}
.coaching-theme-card .btn { width: 100%; margin-top: auto; font-size: 13px; padding: 10px 12px; }
.coaching-cta-box {
  padding: 28px 24px; background: linear-gradient(135deg, #fff8ee 0%, #fff 100%);
  border: 1px solid #f0dcc0; border-radius: var(--radius); box-shadow: var(--shadow);
  text-align: center;
}
.coaching-cta-box h2 { margin: 0 0 8px; }
.coaching-cta-box p { margin: 0 0 16px; color: var(--text-muted); max-width: 36em; margin-left: auto; margin-right: auto; }
.tool-funnel {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px;
}
.tool-funnel-step {
  padding: 16px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center; font-size: 14px;
}
.tool-funnel-step strong { display: block; margin-bottom: 4px; font-size: 15px; }
.tool-funnel-step span { color: var(--text-muted); font-size: 12px; }
.tool-funnel-arrow { display: none; }

.knowledge-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.article-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.article-card:hover {
  border-color: #c8daf8; box-shadow: 0 8px 28px rgba(0, 91, 255, 0.08);
}
.article-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--text); }
.article-card p { margin: 0 0 12px; font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.article-tag {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 8px;
  border-radius: 999px; background: #eef3ff; color: var(--ozon);
}
.article-layout { max-width: 720px; margin: 0 auto; }
.article-layout h1 { font-size: 28px; line-height: 1.25; margin: 0 0 12px; }
.article-meta {
  margin: 0 0 24px; font-size: 14px; color: var(--text-muted);
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.article-body h2 { font-size: 20px; margin: 28px 0 10px; }
.article-body p, .article-body li { font-size: 16px; line-height: 1.7; color: var(--text); }
.article-body ul { padding-left: 1.2em; }
.article-body .callout {
  margin: 20px 0; padding: 16px 18px; background: #fff8ee;
  border-left: 4px solid var(--brand-orange); border-radius: 0 8px 8px 0;
}
.breadcrumb {
  margin: 0 0 16px; font-size: 13px; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ozon); }

.official-ref {
  margin: 24px 0 0; padding: 14px 16px; font-size: 13px; line-height: 1.6;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  color: var(--text-muted);
}
.official-ref strong { color: var(--text); font-weight: 600; }

.theme-read-more {
  margin: 0 0 12px; font-size: 13px;
}
.theme-read-more a { font-weight: 600; }

@media (max-width: 900px) {
  .coaching-theme-grid, .tool-funnel, .knowledge-grid { grid-template-columns: 1fr; }
}

.site-nav {
  display: flex; align-items: center; gap: 20px;
}
.site-nav a {
  text-decoration: none; color: var(--text-muted);
  font-size: 14px; font-weight: 500;
}
.site-nav a:hover { color: var(--text); }
@media (min-width: 901px) {
  .site-nav {
    gap: 14px;
    flex-wrap: nowrap;
  }
  .site-nav a:not(.btn) {
    white-space: nowrap;
    font-size: 13px;
  }
  .brand-text small { white-space: nowrap; }
}
.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--ozon); color: #fff; }
.btn-primary:hover { background: var(--ozon-hover); color: #fff; }
/* 导航/全局 a 色会盖掉主按钮白字，需更高优先级 */
a.btn-primary,
button.btn-primary,
.site-nav a.btn-primary,
.site-nav button.btn-primary,
.hero-actions a.btn-primary,
.contact-card a.btn-primary,
.article-layout a.btn-primary,
.coaching-theme-card a.btn-primary {
  color: #fff;
}
a.btn-primary:hover,
button.btn-primary:hover,
.site-nav a.btn-primary:hover {
  color: #fff;
}
.product-switch a.is-active,
.product-switch a.is-service.is-active {
  color: #fff;
}
.product-switch a.is-active:hover,
.product-switch a.is-service.is-active:hover {
  color: #fff;
}
.btn-secondary {
  background: var(--surface); color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: #c8cdd6; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero { padding: 48px 0 64px; background: var(--surface); border-bottom: 1px solid var(--border); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 40px; align-items: center;
}
.eyebrow {
  margin: 0 0 12px; font-size: 13px; font-weight: 600;
  color: var(--brand-orange); letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0 0 16px; font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; line-height: 1.2; max-width: 14em;
}
.lead { margin: 0 0 20px; font-size: 17px; color: var(--text-muted); max-width: 36em; }
.hero-points {
  margin: 0 0 24px; padding-left: 1.2em; color: var(--text-muted); font-size: 15px;
}
.hero-points li { margin-bottom: 6px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-meta { margin: 0; font-size: 13px; color: var(--text-muted); }
.hero-shot {
  margin: 0; background: #eef0f4; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-shot figcaption {
  padding: 10px 14px; font-size: 12px; color: var(--text-muted);
  background: #fafbfc; border-top: 1px solid var(--border);
}

/* Answer summary (GEO citability) */
.answer-summary {
  padding: 20px 0; background: #eef3ff;
  border-bottom: 1px solid var(--border);
}
.answer-summary p {
  margin: 0; font-size: 15px; line-height: 1.65; color: var(--text);
  max-width: 52em;
}

/* Pain points（Obsidian → 卖家语言） */
.pain-list {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: grid; gap: 12px;
}
.pain-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--surface);
}
.pain-before, .pain-after { padding: 16px 18px; }
.pain-before {
  background: #fafafa; border-right: 1px solid var(--border);
}
.pain-after { background: #f8fbff; }
.pain-label {
  display: inline-block; margin-bottom: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  color: #888; text-transform: uppercase;
}
.pain-label-ok { color: var(--ozon); }
.pain-row p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text); }

.search-insight {
  padding: 20px 22px; background: var(--surface);
  border-left: 4px solid var(--brand-orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.search-insight h3 { margin: 0 0 10px; font-size: 17px; }
.search-insight p { margin: 0 0 10px; font-size: 14px; color: var(--text-muted); max-width: 52em; }
.search-insight-note { margin: 0 !important; font-size: 12px !important; color: #999 !important; }

@media (max-width: 720px) {
  .pain-row { grid-template-columns: 1fr; }
  .pain-before { border-right: none; border-bottom: 1px solid var(--border); }
}

/* FAQ */
.faq-list { margin: 0; }
.faq-item {
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item dt {
  margin: 0 0 8px; font-size: 17px; font-weight: 700;
}
.faq-item dd {
  margin: 0; color: var(--text-muted); font-size: 15px; max-width: 52em;
}
.faq-item-compare dt { color: var(--brand); }

/* Showcase */
.showcase-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 28px;
}
.showcase-stat {
  padding: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center;
}
.showcase-stat strong { display: block; font-size: 20px; color: var(--ozon); margin-bottom: 4px; }
.showcase-stat span { font-size: 12px; color: var(--text-muted); }

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 28px;
}
.showcase-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
}
.showcase-card-featured {
  border-color: #c8daf8;
  box-shadow: 0 8px 28px rgba(0, 91, 255, 0.1);
}
.showcase-thumb {
  position: relative; aspect-ratio: 1 / 1; background: #f0f2f5;
  display: flex; align-items: center; justify-content: center;
}
.showcase-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.showcase-thumb-contain {
  background: #f0f2f5;
}
.showcase-thumb-contain img {
  object-fit: contain;
  padding: 8px;
}
.score-badge {
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.94); border: 1px solid #d4edda;
  color: #1e7e34; font-size: 12px; font-weight: 700;
}
.score-perfect {
  background: #eef8ee; border-color: #28a745; color: #155724;
}
.showcase-body { padding: 14px 16px 18px; }
.showcase-body h3 { margin: 0 0 4px; font-size: 16px; }
.showcase-ru {
  margin: 0; font-size: 12px; color: var(--text-muted);
  line-height: 1.4; font-style: italic;
}
.showcase-note {
  margin: 8px 0 0; font-size: 12px; color: var(--brand-orange); font-weight: 600;
}
.showcase-panel {
  margin: 0 0 16px; border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow);
}
.showcase-panel img { width: 100%; display: block; }
.showcase-panel figcaption {
  padding: 12px 16px; font-size: 13px; color: var(--text-muted);
  border-top: 1px solid var(--border); background: #fafbfc;
}
.showcase-disclaimer {
  margin: 0; font-size: 12px; color: #888; max-width: 52em;
}

@media (max-width: 900px) {
  .showcase-stats { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .showcase-grid { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 72px 0; }
.section-muted { background: var(--bg); }
.section-title {
  margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 700;
}
.section-desc { margin: 0 0 32px; color: var(--text-muted); max-width: 40em; }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px;
}
.steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  padding: 20px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #eef3ff; color: var(--ozon);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.steps h3 { margin: 0 0 4px; font-size: 17px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* Advantages */
.advantage-list { display: grid; gap: 16px; }
.advantage-card {
  padding: 24px 28px; background: var(--surface);
  border-left: 4px solid var(--ozon);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}
.advantage-card h3 { margin: 0 0 8px; font-size: 18px; }
.advantage-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Video */
.video-block {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start;
}
.video-frame {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); background: #000;
  box-shadow: var(--shadow);
}
.video-frame video { width: 100%; display: block; }
.text-link { font-weight: 600; }

/* Compare table */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.compare-table th { background: #fafbfc; font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px;
  background: #eef3ff; color: var(--ozon); border-radius: 999px;
  font-size: 11px; font-weight: 700;
}

/* Guide */
.guide-steps {
  margin: 0; padding-left: 1.2em; max-width: 52em;
}
.guide-steps li { margin-bottom: 12px; color: var(--text-muted); }
.guide-steps strong { color: var(--text); }

/* Download */
.download-section { background: var(--surface); }
.download-card {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px; border: 1px solid var(--border);
  border-radius: 12px; background: var(--bg);
}
.download-body h2 { margin: 0 0 8px; font-size: 24px; }
.download-body p { margin: 0 0 12px; color: var(--text-muted); }
.download-meta { margin: 0 0 20px; padding: 0; list-style: none; font-size: 14px; }
.download-meta li { margin-bottom: 4px; }
.note { font-size: 12px; color: #888; margin-top: 12px !important; }
.mono { font-family: ui-monospace, Consolas, monospace; }

/* Footer */
.site-footer {
  padding: 32px 0; border-top: 1px solid var(--border);
  text-align: center; font-size: 13px; color: var(--text-muted);
}

/* CS float */
.cs-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; }
.cs-btn {
  border: none; background: var(--ozon); color: #fff;
  padding: 12px 18px; border-radius: 999px; font-weight: 600;
  cursor: pointer; box-shadow: var(--shadow);
}
.cs-popup {
  position: absolute; bottom: 52px; right: 0; width: 240px;
  padding: 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); text-align: center;
}
.cs-popup.hidden { display: none; }
.cs-popup h4 { margin: 0 0 12px; font-size: 15px; }
.cs-popup p { margin: 8px 0 0; font-size: 12px; color: var(--text-muted); }
.cs-id { font-size: 14px !important; color: var(--text) !important; }
.cs-close {
  position: absolute; top: 8px; right: 10px; border: none;
  background: none; font-size: 20px; cursor: pointer; color: #999;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px;
}
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 22px 20px; box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 10px; font-size: 18px; }
.contact-card p { margin: 0 0 16px; font-size: 14px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .video-block { grid-template-columns: 1fr; }
  .hero-shot { order: -1; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 16px 20px;
  }
  .site-nav.open { display: flex; }
  .download-card { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
