/* ============================================================
   NONWEE — Security Cameras | English single-page site
   Dark technical visual system, isolated from MAMICAM
   ============================================================ */

:root {
  --ink: #0d1b2a;
  --ink-2: #14273b;
  --ink-3: #1c3449;
  --steel: #5b7085;
  --line: #dfe5ea;
  --paper: #ffffff;
  --mist: #f4f7f9;
  --white-dim: #a8b8c6;
  --accent: #f08a24;       /* 琥珀橙 — 工业/警示感 */
  --accent-dk: #d9741a;
  --ok: #1f9d6b;
  --err: #e2492f;
  --radius: 14px;
  --wrap: 1160px;
  --shadow: 0 12px 36px rgba(13, 27, 42, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(calc(100% - 44px), var(--wrap)); margin: 0 auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(13, 27, 42, .97);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; position: relative; }
.brand-mark { width: 22px; height: 22px; border: 2px solid var(--accent); border-radius: 6px; position: relative; transform: rotate(45deg); }
.brand-mark::after { content: ''; position: absolute; inset: 5px; background: var(--accent); border-radius: 50%; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: 2px; }
.brand-sub { font-size: 9px; letter-spacing: 2px; color: var(--white-dim); border-left: 1px solid rgba(255,255,255,.2); padding-left: 10px; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; color: #cfdae3; font-weight: 500; transition: color .2s; }
.nav a:hover { color: #fff; }
.nav .nav-cta { background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 8px; font-weight: 700; }
.nav .nav-cta:hover { background: var(--accent-dk); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- common ---------- */
.eyebrow { display: inline-block; color: var(--accent-dk); font-weight: 800; letter-spacing: 2.4px; font-size: 12px; text-transform: uppercase; margin-bottom: 14px; }
.section { padding: 92px 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.22; margin: 0 0 14px; letter-spacing: -.5px; }
.section-head p { color: var(--steel); margin: 0; font-size: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 9px; font-weight: 700; font-size: 15px; cursor: pointer; border: 0; transition: transform .18s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(240,138,36,.26); }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-dk); font-weight: 700; cursor: pointer; font-size: 14px; }
.link-btn:hover { text-decoration: underline; }
.note { color: var(--steel); font-size: 14px; margin-top: 30px; }
.note a { color: var(--accent-dk); text-decoration: underline; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, #0d1b2a 0%, #13293e 62%, #1a3348 100%); color: #fff; padding: 74px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border: 1px solid rgba(240,138,36,.15); border-radius: 50%; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-bottom: 62px; }
.hero-copy h1 { font-size: clamp(34px, 5vw, 57px); line-height: 1.12; letter-spacing: -1.4px; margin: 0 0 20px; font-weight: 800; }
.hero-copy h1 em { color: var(--accent); font-style: normal; }
.lead { font-size: 17px; color: #c2d0dc; max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-points li { font-size: 13px; color: #9fb2c2; padding-left: 18px; position: relative; }
.hero-points li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img-wrap { width: min(100%, 460px); aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fff 0%, #e9eef2 62%, #cfd8df 100%); border-radius: 50%; display: grid; place-items: center; box-shadow: 0 30px 70px rgba(0,0,0,.34); }
.hero-img-wrap img { width: 88%; height: 88%; object-fit: contain; }
.hero-tag { position: absolute; bottom: 6px; right: 4%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; padding: 9px 14px; border-radius: 6px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.trust-strip div { padding: 24px 10px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { display: block; font-size: 20px; color: #fff; }
.trust-strip span { display: block; font-size: 12px; color: #93a8b9; margin-top: 3px; }

/* ---------- products ---------- */
.products { background: var(--mist); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(13,27,42,.15); }
.product-img { background: #fff; position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.product-img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.6px; padding: 6px 10px; border-radius: 4px; }
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-title { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.product-title h3 { font-size: 21px; margin: 0; letter-spacing: .5px; }
.product-title span { font-size: 13px; color: var(--steel); }
.spec { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.spec li { position: relative; padding-left: 16px; font-size: 13.5px; color: #42576a; margin-bottom: 8px; }
.spec li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--accent); border-radius: 2px; }
.product-foot { border-top: 1px solid var(--line); padding-top: 14px; }
.product-more { background: var(--ink); border-color: var(--ink); justify-content: center; }
.product-more .more-inner { padding: 34px 28px; }
.product-more h3 { color: #fff; font-size: 22px; margin: 0 0 12px; }
.product-more p { color: #b7c6d3; font-size: 14px; margin: 0 0 24px; }

/* ---------- capabilities ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature { border-top: 3px solid var(--ink); padding-top: 22px; }
.feature-ico { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; background: var(--ink); color: var(--accent); font-weight: 800; font-size: 14px; border-radius: 8px; margin-bottom: 16px; }
.feature h3 { font-size: 18px; margin: 0 0 8px; }
.feature p { color: var(--steel); font-size: 14px; margin: 0; }

/* ---------- applications ---------- */
.applications { background: var(--ink); color: #fff; }
.applications .eyebrow { color: var(--accent); }
.applications .section-head p { color: #9fb2c2; }
.app-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.app-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 26px 20px; transition: background .2s, border-color .2s; }
.app-card:hover { background: rgba(240,138,36,.09); border-color: rgba(240,138,36,.35); }
.app-num { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 1px; }
.app-card h3 { font-size: 16px; margin: 12px 0 8px; }
.app-card p { color: #9fb2c2; font-size: 13px; margin: 0; }

/* ---------- OEM ---------- */
.oem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.oem-copy h2 { font-size: clamp(27px, 3.5vw, 38px); line-height: 1.22; margin: 0 0 16px; letter-spacing: -.4px; }
.oem-copy > p { color: var(--steel); margin: 0 0 22px; }
.oem-list { list-style: none; padding: 0; margin: 0 0 26px; }
.oem-list li { padding: 8px 0 8px 26px; position: relative; font-size: 14.5px; color: #3c5164; border-bottom: 1px solid var(--line); }
.oem-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-dk); font-weight: 800; }
.oem-card { background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 34px; }
.oem-card-kicker { color: var(--accent-dk); font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.oem-card h3 { font-size: 22px; margin: 12px 0; }
.oem-card p { color: var(--steel); font-size: 14px; margin: 0; }

/* ---------- inquiry ---------- */
.inquiry { background: var(--mist); }
.inquiry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.inquiry-intro h2 { font-size: clamp(27px, 3.5vw, 38px); line-height: 1.22; margin: 0 0 16px; }
.inquiry-intro > p { color: var(--steel); margin: 0 0 28px; }
.contact-block { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.contact-block span { display: block; font-size: 11px; letter-spacing: 1.5px; color: var(--steel); text-transform: uppercase; margin-bottom: 4px; }
.contact-block a { color: var(--ink); font-weight: 700; word-break: break-all; }
.inquiry-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.form-row input, .form-row select, .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd9e1; border-radius: 8px; background: #fff; color: var(--ink); font-size: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240,138,36,.12); }
.form-tip { font-size: 13.5px; min-height: 20px; margin: 12px 0 0; text-align: center; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: #091622; color: #8fa3b4; padding: 50px 0 30px; font-size: 13px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-brand { color: #fff; font-weight: 800; letter-spacing: 2px; font-size: 20px; margin-bottom: 8px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover, .footer-meta a:hover { color: var(--accent); }
.footer-meta { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-meta a { color: #b9c7d3; }
.back-top { position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow); z-index: 50; }
.back-top.show { opacity: 1; pointer-events: auto; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-grid, .inquiry-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 74px; left: 0; right: 0; background: #0d1b2a; flex-direction: column; align-items: stretch; padding: 14px 18px 20px; gap: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav .nav-cta { text-align: center; margin-top: 12px; border: 0; }
  .hero { padding-top: 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { order: -1; }
  .hero-img-wrap { width: min(88%, 340px); }
  .hero-tag { right: 6%; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .section { padding: 66px 0; }
  .product-grid, .feature-grid, .app-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .inquiry-form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .app-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
