/* Smartwatch Export Site — V1 shared styles
   Design language grounded in a REAL competitor audit, not invented from scratch.
   Source: outputs/competitor-visual-audit/audit-report.json (2026-09-13),
   5 real Shenzhen smartwatch B2B sites (Starmax / Galax / iSmarch / IWO / Naviforce)
   captured live via headless Chrome + CDP, computed styles extracted programmatically.

   Findings applied here:
   - White page background: 5/5 sites.
   - Black (#000000) top nav bar: 4/5 sites.
   - System/sans-serif body fonts (Open Sans, Source Sans Pro, system-ui): 5/5 sites.
   - Solid black CTA buttons: 4/5 sites (one red, one blue outlier — we keep black as
     the dominant pattern and add a single accent color for links/highlights only).
   - Hero is dominated by large real product photography, not a text-only gradient
     panel — all 5 sites. Our hero therefore reserves a real image slot, and until
     real product photos exist it is honestly labeled as a placeholder (no fake
     photography, per this workspace's content guardrails). */

:root {
  --ink-black: #0a0a0a;
  --steel: #1d6fd6;        /* single accent color for links/highlights only */
  --steel-light: #eaf2fd;
  --white: #ffffff;
  --ink: #1a1a1a;
  --muted: #5b6b7c;
  --border: #e2e6eb;
  --surface: #f5f6f8;
  --radius: 8px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar (contact strip above nav — seen on iSmarch/Naviforce) ---------- */
.topbar {
  background: var(--ink-black);
  color: #d8d8d8;
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #d8d8d8; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .contact-links { display: flex; gap: 16px; }

/* ---------- Header / Nav — black bar, white text, matches 4/5 audited sites ---------- */
header.site-header {
  background: #fff;
  color: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
header.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.logo { font-weight: 800; font-size: 21px; letter-spacing: 0.01em; color: var(--ink-black); text-decoration: none; }
.logo .tag { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
nav.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
nav.main-nav a { color: #333; text-decoration: none; font-size: 14px; font-weight: 600; }
nav.main-nav a:hover { color: var(--ink-black); }
.header-cta {
  background: var(--ink-black);
  color: #fff;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: #2a2a2a; }
.nav-toggle { display: none; }

/* ---------- Hero — image-led layout, matching the audited pattern ---------- */
.hero {
  background: var(--surface);
  padding: 0;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: none;
  padding: 0;
}
.hero-copy { padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow {
  display: inline-block;
  background: var(--steel-light);
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  width: fit-content;
}
.hero h1 { font-size: 38px; line-height: 1.2; margin: 0 0 18px; font-weight: 800; color: var(--ink-black); }
.hero h1 span { color: var(--steel); }
.hero p.lead { font-size: 16px; color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary { background: var(--ink-black); color: #fff; }
.btn-primary:hover { background: #2a2a2a; }
.btn-outline { border-color: var(--ink-black); color: var(--ink-black); }
.btn-outline:hover { background: var(--ink-black); color: #fff; }

/* Hero image slot — honestly labeled placeholder until real product photos exist */
.hero-image-slot {
  background: repeating-linear-gradient(45deg, #e9edf2, #e9edf2 12px, #f2f4f7 12px, #f2f4f7 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
  border-left: 1px solid var(--border);
}
.hero-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--border);
}
.hero-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.hero-image-slot .slot-label {
  background: #fff;
  border: 1px dashed #b9c2cd;
  border-radius: 6px;
  padding: 16px 20px;
  max-width: 280px;
}
.placeholder-badge {
  display: inline-block;
  background: #fdf1d6;
  color: #916a08;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Section shell ---------- */
section { padding: 64px 0; }
section.alt { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head .kicker { color: var(--steel); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; display: block; }
.section-head h2 { font-size: 30px; margin: 0 0 12px; color: var(--ink-black); }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Product grid — real sites show product photo cards, we mirror that layout ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.product-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.08); transform: translateY(-2px); }
.product-thumb {
  aspect-ratio: 4/3;
  background: repeating-linear-gradient(45deg, #eef0f3, #eef0f3 10px, #f6f7f9 10px, #f6f7f9 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}
.product-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.oem-subhead {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-black);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.oem-subhead:first-of-type { margin-top: 8px; }
.product-card-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px dashed #b9c2cd;
}
.product-card-more .product-body { text-align: center; }
.product-body { padding: 18px; }
.product-body h3 { margin: 0 0 8px; font-size: 17px; color: var(--ink-black); }
.product-body p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.product-body a.link { color: var(--steel); font-weight: 700; font-size: 13px; text-decoration: none; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.spec-tag { background: var(--surface); color: #33465a; font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: 600; border: 1px solid var(--border); }

/* ---------- Honest positioning callout ---------- */
.callout {
  background: #fff7e6;
  border: 1px solid #f1d38a;
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 14px;
  color: #5a4a1c;
}
.callout strong { color: #423418; }

/* ---------- FAQ / trade terms ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h4 { margin: 0 0 8px; font-size: 16px; color: var(--ink-black); }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }
.faq-item .status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.step .step-no { font-size: 13px; font-weight: 800; color: var(--steel); margin-bottom: 8px; }
.step h4 { margin: 0 0 8px; font-size: 16px; color: var(--ink-black); }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Contact section ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { margin-top: 0; color: var(--ink-black); }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 14px; }
.contact-info dt { color: var(--muted); font-weight: 600; }
.contact-info dd { margin: 0; }
.inquiry-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.inquiry-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #33465a; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: inherit;
}
.inquiry-form textarea { min-height: 96px; resize: vertical; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--muted); margin-top: -8px; margin-bottom: 16px; }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25D366;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 60;
}

/* ---------- Footer — dark like the audited nav bars ---------- */
footer.site-footer { background: var(--ink-black); color: #b5b5b5; padding: 48px 0 24px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b5b5b5; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.legal-placeholder { color: #f0b93d; }
.legal-note { color: var(--muted, #8a8a92); font-size: 0.9em; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-image-slot { border-left: none; border-top: 1px solid var(--border); min-height: 260px; }
  nav.main-nav { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}
