/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1vw, 17px);
  color: #3B444D;
  line-height: 1.6;
  background: #FAFAF7;
  -webkit-font-smoothing: antialiased;
  /* -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; */
}
a, button, .btn, .faq-question, .navbar-toggle {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
body.menu-open { overflow: hidden; }

/* ===== Design Tokens ===== */
:root {
  --primary: #B3DD00;
  --primary-hover: #9EC400;
  --primary-rgb: 179, 221, 0;
  --secondary: #B9ADD7;
  --secondary-hover: #C7B1FF;
  --text: #3B444D;
  --text-black: #181B1C;
  --text-blue: #4C667D;
  --gray: #F4F5F6;
  --white: #FFFFFF;
  --stock-light: #DDE7EB;
  --stock-dark: #E6EAEE;
  --bg-warm: #FAFAF7;
  --radius-card: clamp(16px, 1.5625vw, 1.5625vw);
  --radius-btn: 20em;
  --shadow-card: 0px 4px 12px 0px rgba(0,0,0,0.04);
  --font-heading: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --font-body: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --header-total: 94px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-black); line-height: 1.2; }
h1 { font-size: clamp(32px, 3vw, 48px); font-weight: 700; }
h2 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; }
h3 { font-size: clamp(20px, 1.6vw, 24px); font-weight: 600; }
.emphasis { font-weight: 800; letter-spacing: -0.01em; }

/* ===== Container ===== */
.container { max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }
.section { padding: clamp(60px, 5vw, 100px) 0; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(11px, 0.7vw, 13px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-blue);
  margin-bottom: 12px;
  position: relative;
}
.section-label::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary);
  margin-top: 6px;
  border-radius: 2px;
}
.section-desc { font-size: clamp(15px, 1vw, 17px); color: var(--text-blue); max-width: 680px; line-height: 1.7; }
.bg-white { background: var(--white); }
.bg-gray { background: var(--gray); }
.bg-warm { background: var(--bg-warm); }

/* ===== Top Bar ===== */
.top-bar {
  background: linear-gradient(90deg, #E7E8E9 0%, #F1FFB3 62.02%, #F9F8FC 100%);
  padding: 6px 0;
  text-align: center;
  font-size: clamp(11px, 0.65vw, 13px);
  color: var(--text-blue);
  font-weight: 500;
}
.top-bar strong { color: var(--text-black); font-weight: 700; }

/* ===== Navigation ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stock-light);
  transition: border-color .3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px; max-width: 1600px; margin: 0 auto;
  padding: 0;
}
.nav-logo { font-family: var(--font-heading); font-size: clamp(18px, 1.2vw, 22px); font-weight: 700; color: var(--text-black); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo .logo-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: inline-block; }

/* ===== Navbar Header (replaces nav-logo) ===== */
.navbar-header { display: flex; align-items: center; gap: 12px; }
.navbar-brand { flex-shrink: 0; }
.navbar-brand img { height: 36px; width: auto; display: block; }
.logoTips { display: flex; flex-direction: column; justify-content: center; }
.logoTips p { font-size: 13px; color: var(--text-blue); line-height: 1.4; margin: 0; }
.logoTips p:first-child { font-weight: 600; color: var(--text-black); font-size: 14px; }
.navbar-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.navbar-toggle .icon-bar { width: 22px; height: 2px; background: var(--text-black); border-radius: 2px; transition: .3s; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.5vw, 28px); list-style: none; }
@media (min-width: 769px) {
  .nav-links { max-height: none !important; overflow: visible !important; }
}
.nav-links a { text-decoration: none; font-size: clamp(13px, 0.8vw, 14px); font-weight: 500; color: var(--text); transition: color .3s; font-family: var(--font-heading); }
.nav-links a:hover { color: var(--text-black); }

/* ===== Hero ===== */
.hero { padding: clamp(50px, 5vw, 80px) 0; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 60%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(179,221,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(179,221,0,0.12); color: #5F7A00;
  font-size: clamp(11px, 0.65vw, 13px); font-weight: 600;
  padding: 5px 14px; border-radius: var(--radius-btn);
  margin-bottom: 16px; font-family: var(--font-heading);
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .highlight {
  background: linear-gradient(99.06deg, #B098ED 26.81%, #896DCF 73.19%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(18px, 1.4vw, 22px);
}
.hero p { font-size: clamp(15px, 1vw, 17px); color: var(--text-blue); line-height: 1.7; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-family: var(--font-heading); font-weight: 500; font-size: clamp(14px, 0.9vw, 16px); padding: clamp(14px, 0.9vw, 16px) clamp(24px, 1.4vw, 28px); border-radius: var(--radius-btn); transition: all .3s; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: var(--text-black); font-weight: 600; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--stock-dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--text-black); }
.btn-dark { background: var(--text); color: var(--white); }
.btn-dark:hover { background: #2C353D; transform: translateY(-1px); }
.hero-stats { display: flex; gap: clamp(20px, 2.5vw, 40px); padding-top: 24px; border-top: 1px solid var(--stock-light); }
.hero-stat .num { font-family: var(--font-heading); font-size: clamp(24px, 2vw, 32px); font-weight: 700; color: var(--text-black); line-height: 1; }
.hero-stat .label { font-size: clamp(11px, 0.65vw, 13px); color: var(--text-blue); margin-top: 4px; }
.hero-image { position: relative; }
.hero-image img { width: 100%; border-radius: var(--radius-card); box-shadow: 0 12px 40px rgba(0,0,0,0.06); display: block; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.hero-trust span { font-size: clamp(11px, 0.6vw, 12px); color: var(--text-blue); font-weight: 500; }
.hero-trust .trust-badge { display: inline-flex; align-items: center; gap: 4px; background: var(--gray); padding: 4px 12px; border-radius: var(--radius-btn); font-size: clamp(10px, 0.55vw, 11px); font-weight: 600; color: var(--text-black); font-family: var(--font-heading); }

/* ===== Brand Quote ===== */
.brand-quote {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(30px, 3vw, 50px) 0;
}
.brand-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 500;
  color: var(--text-black);
  line-height: 1.5;
  position: relative;
  padding: 0 20px;
}
.brand-quote blockquote::before {
  content: '"';
  font-size: 60px;
  color: var(--primary);
  position: absolute;
  left: -10px;
  top: -20px;
  font-family: var(--font-heading);
  line-height: 1;
  opacity: 0.3;
}

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.5vw, 24px); }
.card {
  background: rgba(250,250,250,0.6);
  border: 1px solid var(--stock-light);
  border-radius: var(--radius-card);
  padding: clamp(20px, 2vw, 32px);
  box-shadow: var(--shadow-card);
  transition: all .4s;
}
.card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.06); }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(var(--primary-rgb), 0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--primary); }
.card-icon svg { display: block; }
.card h3 { font-size: clamp(17px, 1.2vw, 20px); margin-bottom: 8px; }
.card p { font-size: clamp(14px, 0.85vw, 15px); color: var(--text-blue); line-height: 1.7; }

/* ===== Capabilities Section ===== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.5vw, 24px); }
.cap-card {
  background: var(--white);
  border: 1px solid var(--stock-light);
  border-radius: var(--radius-card); 
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all .4s;
}
.cap-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.06); }
.cap-card img { width: 100%; height: 160px; object-fit: cover; display: block; border-bottom: 1px solid var(--stock-light); }
.cap-card-body { padding: clamp(16px, 1.2vw, 24px); }
.cap-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.cap-card-body .cap-num { font-family: var(--font-heading); font-size: clamp(18px, 1.3vw, 22px); font-weight: 700; color: var(--secondary); line-height: 1.2; flex-shrink: 0; }
.cap-card-body h3 { font-size: clamp(15px, 1vw, 18px); margin: 0; }
.cap-card-body ul { list-style: none; padding: 0; }
.cap-card-body ul li { font-size: clamp(13px, 0.78vw, 14px); color: var(--text-blue); line-height: 1.6; padding: 3px 0; display: flex; gap: 6px; align-items: center; }
.cap-card-body ul li::before { content: '•'; color: var(--primary); font-weight: 700; font-size: 16px; }
.cap-card-full { grid-column: 1 / -1; }
.cap-card-full .cap-card-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2vw, 32px); }
/* Two-column row in cap grid */
.cap-row-two { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: clamp(16px, 1.5vw, 24px); }
.cap-row-two > .cap-card:first-child { padding: clamp(16px, 1.2vw, 24px); }
.cap-row-two > .cap-card:first-child img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; border-bottom: none; }
.cap-row-two > .cap-card:first-child .cap-card-body { padding: clamp(16px, 1.2vw, 24px) 0 0 0; }
/* Card top row: text left, image right */
.cap-card-top { display: flex; gap: clamp(16px, 1.5vw, 24px); }
.cap-card-top .cap-text { flex: 1; min-width: 0; }
.cap-card-top .cap-img { width: 40%; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.cap-card-top .cap-img img { width: 100%; height: 100%; object-fit: cover; border-bottom: none; display: block; }

/* ===== Matrix Table ===== */
.matrix-wrap { margin-top: 20px; }
.matrix-table { width: 100%; border-collapse: collapse; font-size: clamp(13px, 0.78vw, 14px); }
.matrix-table thead th { padding: 8px 12px; text-align: left; font-weight: 600; font-size: clamp(12px, 0.7vw, 13px); color: var(--text-blue); border-bottom: 2px solid var(--stock-dark); background: var(--gray); line-height: 1.4; }
.matrix-table thead th:not(:first-child) { text-align: center; }
.matrix-table tbody td { padding: 6px 12px; border-bottom: 1px solid var(--stock-light); height: 36px; overflow: hidden; }
.matrix-table tbody td:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; cursor: default; }
.matrix-table tbody td:not(:first-child) { text-align: center; }
.tooltip-custom { visibility: hidden; opacity: 0; position: fixed; background: #2c3e50; color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; max-width: 280px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); z-index: 9999; pointer-events: none; transition: opacity 0.2s ease, visibility 0.2s ease; }
.tooltip-custom.show { visibility: visible; opacity: 1; }
.tooltip-custom::after { content: ''; position: absolute; bottom: 100%; left: 20px; border: 6px solid transparent; border-bottom-color: #2c3e50; }
.chk { color: var(--primary); font-weight: 700; font-size: 16px; }
.x { color: var(--stock-dark); font-size: 16px; }

/* ===== Steps (V5: checkimage.cn it-number-line / it-number-bullet) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: start;
}
.step-card {
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  box-shadow: none;
  position: relative;
  transition: none;
}
.step-card:hover { transform: none; box-shadow: none; border-color: transparent; }
/* Number badge row */
.step-top {
  display: flex;
  align-items: center;
  position: relative;
  height: 28px;
  gap: 6px;
}
.step-top::before,
.step-top::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--secondary);
  opacity: 0.3;
  margin: 0;
}
.step-card:first-child .step-top::before { opacity: 0; }
.step-card:last-child .step-top::after { opacity: 0; }
/* Purple filled circle badge */
.step-num {
  width: 28px; height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: 0px 4px 40px 0px rgba(206,180,249,0.03) inset,
              0px 4px 12px 0px rgba(0,0,0,0.04);
}
/* Vertical connector — purple line from circle to content */
.step-vline {
  width: 2px;
  height: 36px;
  background: var(--secondary);
  opacity: 0.3;
  margin: 8px auto 8px;
}
.step-card h3 {
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-black);
  font-family: var(--font-heading);
}
.step-card p {
  font-size: clamp(13px, 0.8vw, 15px);
  color: var(--text-blue);
  line-height: 1.7;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Use Cases ===== */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.5vw, 24px); }
.use-card {
  background: var(--white);
  border: 1px solid var(--stock-light);
  border-radius: var(--radius-card);
  padding: clamp(28px, 2.5vw, 36px) clamp(24px, 2vw, 32px);
  box-shadow: var(--shadow-card);
  transition: all .4s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.use-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity .4s;
}
.use-card::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(100,150,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, 30%);
}
.use-card:hover::before { opacity: 1; }
.use-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.use-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.use-icon img { display: block; }
.use-card:nth-child(1) .use-icon { background: linear-gradient(135deg, rgba(99,130,255,0.08), rgba(99,130,255,0.03)); }
.use-card:nth-child(2) .use-icon { background: linear-gradient(135deg, rgba(206,180,249,0.10), rgba(206,180,249,0.04)); }
.use-card:nth-child(3) .use-icon { background: linear-gradient(135deg, rgba(99,130,255,0.08), rgba(99,130,255,0.03)); }
.use-card h3 { font-size: clamp(17px, 1.1vw, 19px); margin-bottom: 12px; color: var(--text-black); font-family: var(--font-heading); }
.use-card p { font-size: clamp(14px, 0.85vw, 15px); color: var(--text-blue); line-height: 1.8; }
.use-card p strong { color: #6B8200; font-weight: 600; }

/* ===== Comparison Table ===== */
.compare-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.compare-table thead th { padding: 16px 20px; font-weight: 600; font-size: clamp(14px, 0.85vw, 15px); text-align: left; }
.compare-table thead th:first-child { background: var(--gray); color: var(--text-black); }
.compare-table thead th:nth-child(2) { background: rgba(var(--primary-rgb), 0.08); color: var(--text-black); }
.compare-table thead th:nth-child(3) { background: #F8F8FA; color: var(--text-blue); }
.compare-table tbody td { padding: 14px 20px; font-size: clamp(13px, 0.8vw, 14px); border-bottom: 1px solid var(--stock-light); }
.compare-table tbody td:first-child { font-weight: 600; color: var(--text-black); background: var(--gray); }
.compare-table tbody td:nth-child(2) { background: rgba(var(--primary-rgb), 0.03); }
.compare-table tbody td:nth-child(3) { background: #F8F8FA; color: var(--text-blue); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 1.5vw, 24px); }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--stock-light);
  border-radius: var(--radius-card);
  padding: clamp(24px, 2.5vw, 36px);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all .4s;
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.06); }
.pricing-card.recommended { border-color: var(--primary); }
.pricing-card.recommended .pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--text-black); font-size: clamp(11px, 0.65vw, 12px);
  font-weight: 700; padding: 4px 16px; border-radius: var(--radius-btn);
  font-family: var(--font-heading); white-space: nowrap;
}
.pricing-name { font-family: var(--font-heading); font-size: clamp(13px, 0.8vw, 14px); font-weight: 500; color: var(--text-blue); margin-bottom: 4px; }
.pricing-price { font-family: var(--font-heading); font-size: clamp(32px, 2.5vw, 40px); font-weight: 700; color: var(--text-black); margin-bottom: 4px; }
.pricing-unit { font-size: clamp(13px, 0.8vw, 14px); color: var(--text-blue); margin-bottom: 16px; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 20px; }
.pricing-features li { font-size: clamp(13px, 0.78vw, 14px); color: var(--text-blue); padding: 5px 0; display: flex; gap: 8px; align-items: flex-start; }
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.pricing-note { font-size: clamp(12px, 0.7vw, 13px); color: var(--text-blue); font-style: italic; margin-top: 16px; text-align: center; }

/* ===== Detection Example ===== */
.example-wrap { text-align: center; }
.example-wrap img { max-width: 100%; border-radius: var(--radius-card); box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.example-caption { font-size: clamp(13px, 0.8vw, 14px); color: var(--text-blue); margin-top: 12px; font-style: italic; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--stock-light);
  border-radius: clamp(6px, 0.3vw, 8px);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all .3s;
}
.faq-item.active { border-color: var(--secondary); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 1.2vw, 20px) clamp(18px, 1.5vw, 24px);
  cursor: pointer; font-weight: 600; font-size: clamp(14px, 0.85vw, 15px);
  color: var(--text-black); background: var(--white);
  transition: background .3s; font-family: var(--font-heading);
  user-select: none;
}
.faq-question:hover { background: var(--gray); }
.faq-question .faq-icon { font-size: 18px; color: var(--secondary); transition: transform .3s; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  height: 0; overflow: hidden;
  box-sizing: border-box;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 clamp(18px, 1.5vw, 24px);
  font-size: clamp(14px, 0.85vw, 15px); color: var(--text-blue); line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(107.23deg, #101E2B 0.08%, #20364D 99.92%);
  color: rgba(255,255,255,0.7);
  padding: clamp(80px, 6vw, 120px) 0 0;
  position: relative;
  margin-top: 0;
}
.footer::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0;
  height: clamp(20px, 3.4vw, 66px);
  background: var(--bg-warm);
  border-radius: 0 0 clamp(20px, 3.4vw, 66px) clamp(20px, 3.4vw, 66px);
}
.footer-inner { max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.footer-brand p { font-size: clamp(13px, 0.78vw, 14px); line-height: 1.7; margin: 12px 0 16px; color: rgba(255,255,255,0.55); }
.footer-logo { font-family: var(--font-heading); font-size: clamp(18px, 1.1vw, 22px); font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 8px; }
.footer-logo .logo-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; display: inline-block; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { background: rgba(255,255,255,0.06); padding: 4px 12px; border-radius: var(--radius-btn); font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7); font-family: var(--font-heading); }
.footer-col h4 { font-family: var(--font-heading); font-size: clamp(14px, 0.85vw, 15px); font-weight: 600; color: var(--white); margin-bottom: 14px; }
.footer-col a { display: block; font-size: clamp(13px, 0.75vw, 14px); color: rgba(255,255,255,0.5); text-decoration: none; padding: 4px 0; transition: color .3s; }
.footer-col a:hover { color: var(--primary); }
.footer-subscribe { display: flex; gap: 8px; margin-bottom: 16px; }
.footer-subscribe input { flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-btn); padding: 10px 16px; color: var(--white); font-size: 14px; font-family: var(--font-body); outline: none; }
.footer-subscribe input::placeholder { color: rgba(255,255,255,0.3); }
.footer-subscribe button { background: var(--primary); color: var(--text-black); border: none; border-radius: var(--radius-btn); padding: 10px 20px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--font-heading); transition: background .3s; }
.footer-subscribe button:hover { background: var(--primary-hover); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); margin-top: clamp(30px, 3vw, 50px); padding: clamp(16px, 1.2vw, 20px) 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: clamp(12px, 0.7vw, 13px); color: rgba(255,255,255,0.35); }
.footer-social { display: flex; gap: 12px; align-items: center; }
.footer-social a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color .3s; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; }
.footer-social a:hover { color: var(--primary); }
.footer-social a svg { width: 20px; height: 20px; fill: currentColor; }

/* ===== Brand Carousel ===== */
.brand-carousel-wrap { position: relative; }
.brandSwiper { overflow: hidden; }
.brandSwiper .swiper-slide { width: auto; }
.brand-logo {
  display: block; width: 180px; height: 60px;
  object-fit: contain; object-position: center;
  filter: grayscale(1) opacity(0.55);
  transition: filter .4s;
  border-radius: 6px;
  background: #F4F5F6;
}
.brand-logo:hover { filter: grayscale(0) opacity(1); }
.brand-swiper-nav { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.brand-swiper-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--stock-light); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s; color: var(--text);
}
.brand-swiper-btn:hover { border-color: var(--primary); color: var(--text-black); background: rgba(var(--primary-rgb), 0.06); }
.brand-swiper-btn.swiper-button-disabled { opacity: 0.3; cursor: default; }

/* ===== QR Code Modal ===== */
.qr-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.qr-overlay.show { opacity: 1; visibility: visible; }
.qr-modal {
  background: var(--white); border-radius: 16px;
  padding: 24px; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  transform: scale(0.9); transition: transform .3s;
  max-width: 90vw;
}
.qr-overlay.show .qr-modal { transform: scale(1); }
.qr-modal img { width: 200px; height: 200px; display: block; border-radius: 8px; }
.qr-modal p { margin-top: 12px; font-size: 14px; color: var(--text-blue); }

/* ===== Back to Top (V5: matching checkimage.cn circle-css) ===== */
.back-top {
  position: fixed;
  bottom: clamp(30px, 1.25vw, 1.25vw);
  right: clamp(30px, 1.25vw, 1.25vw);
  width: 40px; height: 40px;
  z-index: 99;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s;
}
.back-top.is--show { opacity: 1; visibility: visible; transform: translateY(0); }
/* Inner circle — light background */
.back-top-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  color: var(--text-black);
  font-size: 16px; font-weight: 700;
  line-height: 1;
  transition: background .3s, transform .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 1;
}
.back-top-inner:hover { background: var(--gray); transform: scale(1.05); }
/* Outer progress ring — green conic-gradient */
.back-top-inner::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) var(--ring-progress, 0deg), rgba(179,221,0,0.18) var(--ring-progress, 0deg));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #fff calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #fff calc(100% - 4px));
  pointer-events: none;
  z-index: -1;
}

/* ===== Scroll Animation (V5: staggered delays) ===== */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.anim-fade.show {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered card entry */
.card-grid .anim-fade:nth-child(1),
.cap-grid .anim-fade:nth-child(1),
.use-grid .anim-fade:nth-child(1),
.steps .anim-fade:nth-child(1) { transition-delay: 0s; }
.card-grid .anim-fade:nth-child(2),
.cap-grid .anim-fade:nth-child(2),
.use-grid .anim-fade:nth-child(2),
.steps .anim-fade:nth-child(2) { transition-delay: 0.1s; }
.card-grid .anim-fade:nth-child(3),
.cap-grid .anim-fade:nth-child(3),
.use-grid .anim-fade:nth-child(3),
.steps .anim-fade:nth-child(3) { transition-delay: 0.2s; }
.cap-grid .anim-fade:nth-child(4),
.steps .anim-fade:nth-child(4) { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 500px; margin: 0 auto; }
  .hero-text { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-trust { justify-content: center; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-card-full .cap-card-body { grid-template-columns: 1fr; }
  .cap-row-two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* ===== Mobile Nav ===== */
  .navbar-header { padding-left: 20px; }
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stock-light);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links li { width: 100%; line-height: 0; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px clamp(20px, 3vw, 40px);
    line-height: 1.5;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background .2s, color .2s;
  }
  .nav-links a:active { background: rgba(179,221,0,0.08); }
  .navbar-toggle { display: flex; }
  /* Hamburger active state */
  .navbar-toggle.active .icon-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .navbar-toggle.active .icon-bar:nth-child(2) { opacity: 0; }
  .navbar-toggle.active .icon-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  /* ===== Hero ===== */
  .hero { padding: clamp(30px, 6vw, 50px) 0; }
  .hero h1 { font-size: clamp(24px, 5vw, 32px); }
  .hero h1 .highlight { font-size: clamp(14px, 3vw, 18px); }
  .hero p { font-size: 15px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stat { flex: 1 1 auto; min-width: 80px; }

  /* ===== Section ===== */
  .section { padding: clamp(40px, 6vw, 60px) 0; }

  /* ===== Cards ===== */
  .card-grid { grid-template-columns: 1fr; }
  .card { padding: clamp(16px, 4vw, 24px); display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; }
  .card .card-icon { margin-bottom: 0; flex-shrink: 0; }
  .card h3 { width: auto; flex: 1; margin-bottom: 4px; }
  .card p { flex: 0 0 100%; }

  /* ===== Capabilities ===== */
  .cap-grid { grid-template-columns: 1fr; }
  .cap-row-two { grid-template-columns: 1fr; }
  .cap-card-full .cap-card-body { grid-template-columns: 1fr; }
  .cap-card-top { flex-direction: column; }
  .cap-card-top .cap-img { width: 100%; max-height: 200px; }
  .cap-card img { height: auto; max-height: 180px; }

  /* ===== Steps ===== */
  .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .step-card p { max-width: 100%; font-size: 14px; }
  .step-vline { height: 24px; }
  .step-top::before,
  .step-top::after { display: none; }
  .step-top { justify-content: center; }

  /* ===== Brand Carousel ===== */
  .brand-logo { width: 140px; height: 50px; }
  .brandSwiper .swiper-slide { width: auto; }
  .brand-swiper-nav { margin-top: 16px; }

  /* ===== Use Cases ===== */
  .use-grid { grid-template-columns: 1fr; }
  .use-card { padding: clamp(20px, 4vw, 28px); }

  /* ===== Pricing ===== */
  .pricing-grid { grid-template-columns: 1fr; }

  /* ===== Tables ===== */
  .compare-wrap { border-radius: 0; }
  .compare-table { border-radius: 0; }
  .compare-table thead th,
  .compare-table tbody td { padding: 12px 14px; font-size: 13px; }
  .matrix-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px; }
  .matrix-table { min-width: 500px; }

  /* ===== Footer ===== */
  .footer { padding: clamp(50px, 8vw, 80px) 0 0; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-subscribe { flex-direction: column; }
  .footer-subscribe button { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-brand p { font-size: 14px; }
  .footer-col a { padding: 8px 0; }

  /* ===== FAQ ===== */
  .faq-question { padding: 14px 16px; font-size: 14px; }
  .faq-answer { font-size: 14px; }

  /* ===== Back to Top ===== */
  .back-top { bottom: 20px; right: 20px; width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  /* ===== Hero ===== */
  .hero { padding: clamp(24px, 5vw, 36px) 0; }
  .hero h1 { font-size: clamp(22px, 6vw, 28px); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-image { max-width: 100%; }
  .hero-stats { justify-content: space-around; }

  /* ===== Section ===== */
  .section { padding: clamp(32px, 5vw, 48px) 0; }
  .section-label { font-size: 12px; }
  h2 { font-size: clamp(22px, 5vw, 28px); }

  /* ===== Steps ===== */
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step-top { height: 24px; }
  .step-num { width: 24px; height: 24px; min-width: 24px; font-size: 12px; }
  .step-vline { height: 20px; margin: 6px auto; }

  /* ===== Cards ===== */
  .card { padding: clamp(14px, 4vw, 20px); }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14px; }

  /* ===== Use Cases ===== */
  .use-card { padding: clamp(18px, 4vw, 24px); }
  .use-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }

  /* ===== Tables ===== */
  .compare-table thead th,
  .compare-table tbody td { padding: 10px 12px; font-size: 12px; }

  /* ===== FAQ ===== */
  .faq-question { padding: 12px 14px; font-size: 13px; }
  .faq-answer { font-size: 13px; }

  /* ===== Footer ===== */
  .footer { padding: clamp(40px, 6vw, 60px) 0 0; }
  .footer::before { height: clamp(16px, 5vw, 30px); border-radius: 0 0 clamp(16px, 5vw, 30px) clamp(16px, 5vw, 30px); }
  .footer-logo { font-size: 18px; }
  .footer-subscribe input { padding: 12px 14px; font-size: 14px; }
  .footer-subscribe button { padding: 12px 20px; font-size: 14px; }

  /* ===== Back to Top ===== */
  .back-top { bottom: 16px; right: 16px; width: 32px; height: 32px; }
  .back-top-inner { font-size: 14px; }
  .back-top-inner::before { inset: -4px; }
}
