/* ============================================================
   CANGHAN Intelligent Technology — Global Stylesheet
   Machine vision B2B showcase site
   ============================================================ */

/* ---------- Local fonts (self-hosted, no external CDN) ---------- */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  /* surfaces */
  --bg-dark: #0a1626;
  --bg-dark-2: #0e1e31;
  --bg-dark-3: #132639;
  --bg-light: #f4f6f9;
  --bg-white: #ffffff;
  /* text */
  --text-dark: #0f1c2c;
  --text-body: #3d4d5f;
  --text-muted: #67788b;
  --text-light: #e8eef5;
  --text-light-2: #9fb0c2;
  /* brand */
  --accent: #2e7cf6;
  --accent-2: #1fc3c1;
  --accent-soft: rgba(46, 124, 246, 0.12);
  --accent-2-soft: rgba(31, 195, 193, 0.14);
  /* lines */
  --line: rgba(15, 28, 44, 0.1);
  --line-dark: rgba(232, 238, 245, 0.12);
  /* status */
  --ok: #1fb27c;
  /* shadows */
  --shadow-card: 0 10px 30px rgba(10, 22, 38, 0.08);
  --shadow-card-hover: 0 18px 44px rgba(10, 22, 38, 0.14);
  /* fonts */
  --font-head: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  /* layout */
  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
}

/* ---------- Reset & base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.2; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px;
  padding: 13px 28px; border-radius: 8px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1b5fd6 100%);
  color: #fff; box-shadow: 0 8px 22px rgba(46, 124, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(46, 124, 246, 0.45); }
.btn-ghost {
  background: transparent; color: var(--text-light);
  border: 1px solid rgba(232, 238, 245, 0.35);
}
.btn-ghost:hover { background: rgba(232, 238, 245, 0.08); }
.btn-dark {
  background: var(--text-dark); color: #fff;
}
.btn-dark:hover { background: #1a2c42; }
.btn-outline-dark {
  background: transparent; color: var(--text-dark);
  border: 1.5px solid rgba(15, 28, 44, 0.25);
}
.btn-outline-dark:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section-dark {
  background: var(--bg-dark); color: var(--text-light-2);
}
.section-dark h2, .section-dark h3 { color: var(--text-light); }
.section-light-alt { background: var(--bg-light); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.kicker-center { justify-content: center; }
.section-dark .kicker { color: var(--accent-2); }
.section-dark .kicker::before { background: var(--accent-2); }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head h2 { font-size: 38px; letter-spacing: -0.01em; margin-bottom: 16px; }
.sec-head p { font-size: 17px; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .kicker { justify-content: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10, 22, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s ease;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-family: var(--font-head);
  font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(46, 124, 246, 0.4);
}
.brand-name { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 18px; letter-spacing: 0.03em; line-height: 1.15; }
.brand-name small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 0.22em; color: var(--text-light-2); text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: var(--text-light-2); font-size: 15px; font-weight: 450;
  position: relative; padding: 6px 0; transition: color 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--accent-2); transition: width 0.25s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(31, 195, 193, 0.16), transparent 60%),
    radial-gradient(800px 520px at 12% 110%, rgba(46, 124, 246, 0.22), transparent 60%),
    var(--bg-dark);
  color: var(--text-light-2);
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(232, 238, 245, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 238, 245, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}
.hero .container {
  position: relative; display: grid;
  grid-template-columns: 1.06fr 0.94fr; gap: 56px; align-items: center;
  padding-top: 120px; padding-bottom: 96px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(31, 195, 193, 0.4);
  background: rgba(31, 195, 193, 0.1);
  color: #7fe6e4; font-size: 13px; font-weight: 500;
  padding: 7px 16px; border-radius: 100px; margin-bottom: 16px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px rgba(31, 195, 193, 0.25); }
.hero h1 {
  color: #fff; font-size: 48px; line-height: 1.14; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #6ea8ff 0%, #3ee0dd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; max-width: 520px; margin-bottom: 22px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-contact {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 18px; padding: 14px 18px;
  background: linear-gradient(135deg, rgba(14, 30, 49, 0.96), rgba(19, 38, 57, 0.96));
  border: 1px solid rgba(31, 195, 193, 0.45);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 44px rgba(31, 195, 193, 0.12);
}
.hero-contact .hc-label {
  font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #7fe6e4; margin-bottom: 2px;
}
.hero-contact a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  font-family: var(--font-head); font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.hero-contact a:hover { transform: translateY(-2px); }
.hero-contact a.wa-link {
  background: #25D366; color: #06351c;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.hero-contact a.wa-link:hover { box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45); }
.hero-contact a.mail-link {
  background: linear-gradient(135deg, var(--accent) 0%, #1b5fd6 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(46, 124, 246, 0.35);
}
.hero-contact a.mail-link:hover { box-shadow: 0 14px 30px rgba(46, 124, 246, 0.45); }
.hero-contact svg { width: 20px; height: 20px; flex: none; }
.footer-contact svg.wa { color: #25D366; }
.info-item .ic.wa { color: #25D366; background: rgba(37, 211, 102, 0.12); }
.hero-stats {
  grid-column: 1 / -1;
  display: flex; justify-content: space-between; gap: 40px;
  margin-top: 32px; padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.hero-stats .stat b {
  display: block; font-family: var(--font-head); font-size: 30px; font-weight: 600;
  background: linear-gradient(90deg, #ffffff 15%, #6ea8ff 60%, #3ee0dd 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stats .stat span { font-size: 14px; color: var(--text-light-2); }
.hero-visual { position: relative; }
.hero-visual .main-img {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(232, 238, 245, 0.14);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: var(--bg-dark-2);
}
.hero-visual .main-img img { width: 100%; height: 520px; object-fit: contain; }
.hero-note {
  position: absolute; bottom: -18px; right: 6px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(14, 30, 49, 0.92);
  border: 1px solid rgba(31, 195, 193, 0.4);
  border-radius: 14px; padding: 14px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.hero-note .dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--accent-2); box-shadow: 0 0 0 4px rgba(31, 195, 193, 0.22);
}
.hero-note b {
  display: block; font-family: var(--font-head); font-size: 14px;
  font-weight: 600; color: #fff; line-height: 1.3;
}
.hero-note .note-sub { font-size: 12px; color: var(--text-light-2); line-height: 1.4; }
.hero-visual .ring {
  position: absolute; inset: -18px; border: 1px dashed rgba(31, 195, 193, 0.3);
  border-radius: 22px; z-index: -1;
}
.float-chip {
  position: absolute; background: rgba(14, 30, 49, 0.92);
  border: 1px solid rgba(232, 238, 245, 0.16); border-radius: 12px;
  padding: 12px 18px; font-size: 13px; color: var(--text-light-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  display: flex; align-items: center; gap: 10px;
}
.float-chip b { color: #fff; font-family: var(--font-head); font-weight: 500; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; }
.float-chip .ic svg { width: 18px; height: 18px; }
.chip-1 { top: 30px; left: -18px; }
.chip-1 .ic { background: var(--accent-soft); color: #6ea8ff; }
.chip-2 { bottom: 64px; right: -24px; }
.chip-2 .ic { background: var(--accent-2-soft); color: #3ee0dd; }
.chip-3 { bottom: -16px; left: 4px; }
.chip-3 .ic { background: rgba(31, 178, 124, 0.15); color: #3fd9a2; }

/* ---------- Brand strip ---------- */
.brand-strip { background: var(--bg-white); border-bottom: 1px solid var(--line); }
.brand-strip .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap;
}
.brand-strip .label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.brand-strip .logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.brand-strip .logo {
  font-family: var(--font-head); font-weight: 600; font-size: 21px; letter-spacing: 0.04em;
  color: var(--text-dark); display: flex; align-items: center; gap: 9px;
}
.brand-strip .logo .sq {
  width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center;
  font-size: 12px; color: #fff;
}
.brand-strip .logo-1 .sq { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.brand-strip .logo-2 .sq { background: #0d5bd7; }
.brand-strip .logo-3 .sq { background: #c8102e; }
.brand-strip .logo span.muted { color: var(--text-muted); font-weight: 400; font-size: 17px; }

/* ---------- Category cards (home) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.cat-card .thumb { aspect-ratio: 1/1; background: var(--bg-light); position: relative; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover .thumb img { transform: scale(1.05); }
.cat-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-card .tag {
  align-self: flex-start; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 100px;
}
.cat-card h3 { font-size: 19px; }
.cat-card p { font-size: 14px; color: var(--text-muted); }
.cat-card .more {
  margin-top: auto; padding-top: 12px; font-family: var(--font-head); font-size: 14px; font-weight: 500;
  color: var(--accent); display: inline-flex; align-items: center; gap: 6px;
}
.cat-card .more svg { width: 14px; height: 14px; transition: transform 0.2s; }
.cat-card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature / why-us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover { border-color: rgba(31, 195, 193, 0.45); transform: translateY(-4px); }
.why-card .ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 18px; background: var(--accent-soft); color: #6ea8ff;
}
.why-card:nth-child(2) .ic { background: var(--accent-2-soft); color: #3ee0dd; }
.why-card:nth-child(3) .ic { background: rgba(31, 178, 124, 0.14); color: #3fd9a2; }
.why-card:nth-child(4) .ic { background: rgba(255, 178, 66, 0.13); color: #ffc46b; }
.why-card:nth-child(5) .ic { background: rgba(190, 132, 255, 0.14); color: #c99bff; }
.why-card:nth-child(6) .ic { background: rgba(255, 122, 122, 0.13); color: #ff9b9b; }
.why-card .ic svg { width: 22px; height: 22px; }
.why-card h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.why-card p { font-size: 14.5px; color: var(--text-light-2); }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--bg-white);
  transition: box-shadow 0.2s, transform 0.2s;
}
.industry-item:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.industry-item .num {
  font-family: var(--font-head); font-size: 30px; font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.industry-item h4 { font-size: 17px; margin: 10px 0 6px; }
.industry-item p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px;
}
.testi-card .stars { display: flex; gap: 3px; color: #ffc46b; }
.testi-card .stars svg { width: 15px; height: 15px; }
.testi-card p { font-size: 15.5px; color: var(--text-light); font-style: italic; line-height: 1.7; }
.testi-card .who { display: flex; align-items: center; gap: 13px; }
.testi-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; color: #fff; font-size: 16px;
}
.testi-card .who b { color: #fff; font-size: 15px; display: block; }
.testi-card .who span { font-size: 12.5px; color: var(--text-light-2); }
.avatar-1 { background: linear-gradient(135deg, #2e7cf6, #1b5fd6); }
.avatar-2 { background: linear-gradient(135deg, #1fc3c1, #0e8f8d); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; background:
    radial-gradient(700px 340px at 85% 10%, rgba(31, 195, 193, 0.14), transparent 60%),
    radial-gradient(700px 340px at 8% 100%, rgba(46, 124, 246, 0.2), transparent 60%),
    var(--bg-dark);
  border-top: 1px solid var(--line-dark);
  text-align: center; padding: 84px 0;
}
.cta-band h2 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.cta-band p { color: var(--text-light-2); font-size: 17px; max-width: 560px; margin: 0 auto 34px; }
.cta-band .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Products page ---------- */
.page-hero {
  background:
    radial-gradient(900px 460px at 80% -20%, rgba(31, 195, 193, 0.15), transparent 60%),
    radial-gradient(800px 500px at 10% 120%, rgba(46, 124, 246, 0.2), transparent 60%),
    var(--bg-dark);
  padding: 158px 0 76px; color: var(--text-light-2); border-bottom: 1px solid var(--line-dark);
}
.page-hero h1 { color: #fff; font-size: 44px; letter-spacing: -0.015em; margin-bottom: 14px; }
.page-hero p { font-size: 17px; max-width: 640px; }
.page-hero .kicker { color: var(--accent-2); }
.page-hero .kicker::before { background: var(--accent-2); }
.breadcrumb { margin-top: 22px; font-size: 13.5px; color: var(--text-light-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }

.product-line { margin-bottom: 84px; }
.product-line:last-child { margin-bottom: 0; }
.product-line-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.product-line-head h2 { font-size: 27px; }
.product-line-head p { font-size: 14.5px; color: var(--text-muted); max-width: 480px; }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.prod-card .thumb { aspect-ratio: 1/1; background: var(--bg-light); overflow: hidden; position: relative; }
.prod-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.prod-card:hover .thumb img { transform: scale(1.05); }
.prod-card .brand-tag {
  position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: rgba(10, 22, 38, 0.82); color: #fff; backdrop-filter: blur(4px);
}
.prod-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod-card .model { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; }
.prod-card h3 { font-size: 16.5px; line-height: 1.35; }
.prod-card p.desc { font-size: 13.5px; color: var(--text-muted); flex: 1; }
.prod-card .meta { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.prod-card .price { font-family: var(--font-head); font-size: 14px; color: var(--text-dark); font-weight: 500; }
.prod-card .price small { font-size: 11.5px; color: var(--text-muted); font-weight: 400; }
.prod-card .link { font-size: 13px; font-family: var(--font-head); font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.prod-card .link svg { width: 13px; height: 13px; }

/* ---------- Product grid CTA card (fills grid, drives inquiry) ---------- */
.prod-card-cta {
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  background: var(--bg-white); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.prod-card-cta:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.prod-card-cta .thumb { aspect-ratio: 1/1; overflow: hidden; position: relative; background: var(--bg-light); }
.prod-card-cta .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.prod-card-cta:hover .thumb img { transform: scale(1.05); }
.prod-card-cta .cta-tag {
  position: absolute; top: 12px; left: 12px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  background: rgba(10, 22, 38, 0.82); color: #fff; backdrop-filter: blur(4px);
}
.prod-card-cta .body { padding: 22px 22px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; flex: 1; }
.prod-card-cta h3 { font-size: 17px; }
.prod-card-cta p { font-size: 13.5px; color: var(--text-muted); max-width: 250px; }
.prod-card-cta .btn { margin-top: 8px; padding: 10px 22px; font-size: 14px; }

.line-tabs { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.line-tab {
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line);
  background: var(--bg-white); color: var(--text-body); cursor: pointer;
  transition: all 0.2s;
}
.line-tab:hover { border-color: var(--accent); color: var(--accent); }
.line-tab.active { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.about-intro .text h2 { font-size: 34px; margin-bottom: 20px; }
.about-intro .text p { margin-bottom: 16px; font-size: 15.5px; }
.about-intro .media { position: relative; }
.about-intro .media .img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.about-intro .media .img-main img { width: 100%; height: 380px; object-fit: cover; }
.about-intro .media .img-sub {
  position: absolute; right: -20px; bottom: -26px; width: 56%;
  border-radius: var(--radius); overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-card);
}
.about-intro .media .img-sub img { width: 100%; height: 150px; object-fit: cover; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card {
  background: var(--bg-dark-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.value-card .num {
  font-family: var(--font-head); font-size: 34px; font-weight: 600;
  background: linear-gradient(135deg, #6ea8ff, #3ee0dd);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.value-card h4 { color: #fff; font-size: 16px; margin: 8px 0 6px; }
.value-card p { font-size: 13px; color: var(--text-light-2); }

.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -35px; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg-white); border: 3px solid var(--accent);
}
.tl-item h4 { font-size: 18px; margin-bottom: 6px; }
.tl-item .year { font-family: var(--font-head); font-weight: 600; color: var(--accent); font-size: 14px; letter-spacing: 0.06em; }
.tl-item p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 32px; margin-bottom: 18px; }
.contact-info > p { margin-bottom: 32px; }
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic {
  flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.info-item .ic svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 15px; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 14.5px; color: var(--text-muted); }
.info-item a:hover { color: var(--accent); }
.contact-form {
  background: var(--bg-white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 36px; box-shadow: var(--shadow-card);
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .hint { font-size: 13.5px; color: var(--text-muted); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 550; color: var(--text-dark); margin-bottom: 7px; font-family: var(--font-head); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: var(--font-body); font-size: 15px; color: var(--text-dark); background: var(--bg-light);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46, 124, 246, 0.14); background: #fff;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: 14px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 16px; border-radius: 9px;
  background: rgba(31, 178, 124, 0.1); border: 1px solid rgba(31, 178, 124, 0.35);
  color: #12855c; font-size: 14px;
}

/* ---------- Company photos strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-strip figure { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.photo-strip img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s; }
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(10, 22, 38, 0.85));
  color: #fff; font-size: 13.5px; font-family: var(--font-head);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: var(--text-light-2); border-top: 1px solid var(--line-dark); }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding: 72px 0 52px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 0.02em; }
.site-footer .about-txt { font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 14px; transition: color 0.2s; }
.site-footer ul a:hover { color: var(--accent-2); }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--accent-2); }
.footer-contact a:hover { color: var(--accent-2); }
.site-footer .bottom {
  border-top: 1px solid var(--line-dark); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
.site-footer .bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 140px; padding-bottom: 90px; }
  .hero-visual { max-width: 620px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 44px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(10, 22, 38, 0.98); padding: 20px 24px 28px; gap: 6px;
    transform: translateY(-130%); transition: transform 0.3s ease; border-bottom: 1px solid var(--line-dark);
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid var(--line-dark); }
  .nav-cta { margin: 14px 0 0; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; margin-top: 34px; padding-top: 24px; }
  .hero-badge { font-size: 11.5px; padding: 6px 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-visual .main-img img { height: auto; }
  .hero-note { right: 4px; bottom: -12px; padding: 10px 14px; }
  .hero-note b { font-size: 13px; }
  .hero-contact { margin-top: 26px; padding: 14px 16px; }
  .cat-grid, .why-grid, .prod-grid, .testi-grid, .industry-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr; gap: 36px; }
  .float-chip { display: none; }
  .sec-head h2 { font-size: 29px; }
  .product-line-head { flex-direction: column; align-items: flex-start; }
  .photo-strip { grid-template-columns: 1fr; }
  .brand-strip .logos { gap: 20px; }
}

/* ---------- Company at a glance ---------- */
.glance-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.glance-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-white); box-shadow: var(--shadow-card); }
.glance-table .row { display: grid; grid-template-columns: 190px 1fr; }
.glance-table .row + .row { border-top: 1px solid var(--line); }
.glance-table dt { padding: 15px 20px; background: var(--bg-light); font-family: var(--font-head); font-weight: 500; font-size: 13px; color: var(--text-dark); letter-spacing: 0.02em; }
.glance-table dd { padding: 15px 20px; font-size: 14px; color: var(--text-body); }

/* ---------- How we work ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-item {
  position: relative; background: var(--bg-white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 24px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.step-item .step-num {
  font-family: var(--font-head); font-size: 32px; font-weight: 600; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step-item h3 { font-size: 17px; margin: 14px 0 8px; }
.step-item p { font-size: 14px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-white); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; list-style: none;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--text-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.2s ease; flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-body); }
.faq-item .faq-body p { margin-bottom: 10px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

@media (max-width: 1024px) {
  .glance-wrap { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .glance-table .row { grid-template-columns: 1fr; }
  .glance-table dt { border-bottom: 1px solid var(--line); padding: 10px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
}
