/* ============================================================
   OMA Identification Technologies Co., Ltd.
   https://inkjet.huibai.ltd
   ============================================================ */

:root {
  --navy: #0a1f3c;
  --navy-2: #10294d;
  --navy-3: #16365f;
  --accent: #e8611c;
  --accent-dark: #c74f12;
  --gold: #f0a83a;
  --ink: #1d2733;
  --muted: #5c6b7c;
  --line: #e3e8ef;
  --bg-soft: #f5f7fa;
  --bg-soft-2: #eef2f7;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 31, 60, .10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 60, .16);
  --container: 1200px;
  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

ul { list-style: none; }

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(232, 97, 28, .32); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--navy);
  color: #c7d3e4;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #c7d3e4; }
.topbar a:hover { color: #fff; }
.topbar .top-links { display: flex; gap: 22px; }
.topbar .top-note { display: flex; align-items: center; gap: 8px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(10, 31, 60, .06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; padding: 14px 0; }
.brand img { height: 40px; width: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 18px;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.active { color: var(--accent); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy);
  transition: all .25s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy) url("/img/banner.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 18, 38, .88) 0%, rgba(9, 27, 55, .62) 48%, rgba(9, 27, 55, .28) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 720px; padding: 110px 0 130px; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero .eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--gold); }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: #dbe4f0; max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero stats strip */
.hero-stats {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.hero-stat { text-align: center; border-left: 1px solid rgba(255,255,255,.14); padding: 4px 12px; }
.hero-stat:first-child { border-left: none; }
.hero-stat b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--gold); line-height: 1.2; }
.hero-stat span { font-size: 13px; color: #c4d0e2; letter-spacing: .06em; text-transform: uppercase; }

/* ---------------- Section scaffolding ---------------- */
.section { padding: 92px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section-head.left { text-align: left; margin-left: 0; }

/* ---------------- Page banner (inner pages) ---------------- */
.page-banner {
  position: relative;
  background: var(--navy) url("/img/banner.jpg") center 30% / cover no-repeat;
  color: #fff;
  padding: 96px 0 84px;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,18,38,.86), rgba(8,23,48,.74)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.01em; }
.page-banner p { color: #c9d5e6; margin-top: 12px; max-width: 680px; font-size: 17px; }
.breadcrumb { margin-top: 22px; font-size: 14px; color: #a9b8cd; }
.breadcrumb a { color: #d7e0ec; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 8px; color: #6f81a0; }

/* ---------------- Grids & cards ---------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 26px 26px 30px; }
.card-body h3 { font-size: 19px; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 15px; }
.card-body .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14px; }
.card-body .more::after { content: "→"; transition: transform .2s ease; }
.card:hover .more::after { transform: translateX(4px); }
.card-tag {
  display: inline-block;
  background: rgba(232, 97, 28, .1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ---------------- Split (about) ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split-img::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid rgba(232, 97, 28, .35);
  border-radius: var(--radius);
  z-index: -1;
}
.split h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); font-weight: 800; margin-bottom: 18px; line-height: 1.25; }
.split p { color: var(--muted); margin-bottom: 14px; }
.check-list { margin: 20px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; }
.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(232, 97, 28, .12);
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 3px;
}

/* ---------------- Value icons ---------------- */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
}
.value-card h3 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-3) 70%, #1d4372 100%);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 168, 58, .25), transparent 70%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: #c9d5e6; max-width: 640px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .25s ease; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(232,97,28,.4); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft-2);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  transition: all .25s ease;
}
.faq-item[open] summary::after { content: "−"; background: var(--accent); color: #fff; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------------- Product detail ---------------- */
.product-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.product-hero .p-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 110px;
}
.product-hero .p-img img { width: 100%; }
.p-title { font-size: clamp(26px, 3vw, 38px); color: var(--navy); font-weight: 800; line-height: 1.2; margin: 6px 0 16px; }
.p-lead { color: var(--muted); font-size: 16.5px; }
.p-highlights { display: grid; gap: 10px; margin: 26px 0 30px; }
.p-highlights li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.p-highlights li::before {
  content: "▸";
  color: var(--accent);
  font-weight: 800;
  margin-top: 1px;
}
.p-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; width: 32%; }
.spec-table td { color: var(--muted); }

.prose { max-width: 860px; }
.prose h3 { font-size: 22px; color: var(--navy); margin: 34px 0 14px; font-weight: 700; }
.prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul { margin: 0 0 14px; padding-left: 4px; display: grid; gap: 8px; }
.prose ul li { display: flex; gap: 10px; color: var(--muted); font-size: 15.5px; }
.prose ul li::before { content: "•"; color: var(--accent); font-weight: 800; }

/* ---------------- Applications strip ---------------- */
.app-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.app-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.app-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- Contact page ---------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.info-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px 36px; position: sticky; top: 110px; }
.info-panel h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.info-panel > p { color: #b7c5d9; font-size: 14.5px; margin-bottom: 28px; }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.info-row .ico {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(240,168,58,.14);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.info-row b { display: block; font-size: 14px; margin-bottom: 2px; letter-spacing: .04em; text-transform: uppercase; color: #8fa3bf; }
.info-row p { font-size: 15px; color: #e8eef7; line-height: 1.6; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 22px; color: var(--navy); font-weight: 800; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.form-field label em { color: var(--accent); font-style: normal; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 97, 28, .12);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
}
.form-status.success { display: block; background: #e8f7ee; border: 1px solid #b5e2c6; color: #17693a; }
.form-status.error { display: block; background: #fdeeee; border: 1px solid #f2c4c4; color: #a03030; }
.form-status b { display: block; font-size: 16px; margin-bottom: 4px; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------------- Footer ---------------- */
.site-footer { background: #071527; color: #93a5bd; font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding: 68px 0 48px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-brand img { height: 38px; margin-bottom: 18px; background: #fff; padding: 6px 10px; border-radius: 6px; }
.footer-brand p { line-height: 1.75; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #93a5bd; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; line-height: 1.65; }
.footer-contact .fi { color: var(--gold); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #6b7d95; }

/* ---------------- Back to top ---------------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 900;
  box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--accent); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .hero-inner { padding: 80px 0 90px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stat:nth-child(3) { border-left: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-img::before { display: none; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero .p-img { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .info-panel { position: static; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: #fff;
    box-shadow: -12px 0 40px rgba(10,31,60,.18);
    transform: translateX(105%);
    transition: transform .3s ease;
    z-index: 1200;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 84px 18px 24px; }
  .main-nav a { padding: 15px 16px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .nav-close {
    position: absolute; top: 18px; right: 18px;
    background: none; border: none;
    font-size: 30px; color: var(--navy); cursor: pointer;
    line-height: 1;
  }
  .nav-overlay {
    position: fixed; inset: 0;
    background: rgba(7, 21, 39, .55);
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1100;
  }
  .nav-overlay.show { opacity: 1; pointer-events: auto; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .topbar .top-links { display: none; }
  .topbar .container { justify-content: center; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 560px; }
  .form-card, .info-panel { padding: 30px 22px; }
}
