
:root {
  --primary: #1a365d;
  --primary-2: #112846;
  --accent: #e8712b;
  --accent-2: #c95f1f;
  --ink: #17324a;
  --muted: #5d7085;
  --line: #d9e3ee;
  --bg: #f4f8fc;
  --white: #ffffff;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 16px 34px rgba(18, 40, 70, 0.1);
  --shadow-pop: 0 20px 48px rgba(14, 33, 57, 0.18);
  --container: 1180px;
  --nav-h: 78px;
  --ease: 0.35s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
section { scroll-margin-top: calc(var(--nav-h) + 16px); }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.eyebrow { display: inline-flex; align-items: center; margin-bottom: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(232, 113, 43, 0.12); color: var(--accent); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; color: var(--primary); }
h3 { font-size: 1.2rem; }
p.lead { font-size: 1.06rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; transition: transform var(--ease), background var(--ease), box-shadow var(--ease), color var(--ease); }
.btn-primary { color: var(--white); background: var(--accent); box-shadow: 0 10px 24px rgba(232, 113, 43, 0.28); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.btn-ghost:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.14); }

.site-header { position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; background: rgba(17, 40, 70, 0.82); border-bottom: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); transition: background var(--ease), box-shadow var(--ease); }
.site-header.scrolled { background: rgba(17, 40, 70, 0.95); box-shadow: 0 14px 28px rgba(8, 19, 33, 0.26); }
.nav-wrap { min-height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 800; font-size: 1.06rem; letter-spacing: 0.06em; flex-shrink: 0; white-space: nowrap; }
.logo-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), #ff9e57); display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.9rem; box-shadow: 0 10px 22px rgba(232, 113, 43, 0.28); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.06); flex-shrink: 0; }
.lang-btn { width: 46px; min-width: 46px; height: 34px; border: none; color: rgba(255, 255, 255, 0.88); background: transparent; cursor: pointer; font-weight: 700; font-size: 0.82rem; line-height: 34px; overflow: hidden; white-space: nowrap; text-align: center; transition: background var(--ease), color var(--ease); }
.lang-btn.active { background: var(--accent); color: var(--white); }
.menu-toggle { display: none; width: 46px; height: 46px; border: none; border-radius: 12px; background: rgba(255, 255, 255, 0.1); position: relative; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; left: 12px; width: 22px; height: 2px; background: #fff; transition: transform var(--ease), top var(--ease), opacity var(--ease); }
.menu-toggle span { top: 22px; }
.menu-toggle::before { top: 15px; }
.menu-toggle::after { top: 29px; }
.menu-toggle.open span { opacity: 0; }
.menu-toggle.open::before { top: 22px; transform: rotate(45deg); }
.menu-toggle.open::after { top: 22px; transform: rotate(-45deg); }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 4px; flex: 1 1 auto; justify-content: center; min-width: 0; }
.nav-menu a { min-height: 38px; padding: 0 9px; border-radius: 999px; color: rgba(255, 255, 255, 0.9); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.84rem; white-space: nowrap; transition: background var(--ease), color var(--ease); }
.nav-menu a:hover, .nav-menu a.active { background: rgba(255, 255, 255, 0.11); color: #fff; }

.hero { position: relative; overflow: hidden; color: var(--white); padding: 104px 0 54px; background: radial-gradient(1100px 560px at 78% -10%, #1b3f68 0%, rgba(27,63,104,0) 60%), linear-gradient(150deg, #0a1c33 0%, #12294a 55%, #17324f 100%); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(760px 420px at 12% 18%, rgba(232,113,43,0.14), rgba(232,113,43,0) 65%); z-index: 1; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 46px; align-items: center; }
.hero-copy .eyebrow { background: rgba(232, 113, 43, 0.2); color: #ffb680; }
.hero-copy p { margin-top: 16px; color: rgba(255, 255, 255, 0.84); max-width: 650px; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 26px 60px rgba(3,12,24,0.45); }
.hero-copy h1 { margin-top: 12px; }
.hero-cta-note { margin-top: 14px; font-size: 0.87rem; color: rgba(255,255,255,0.72); max-width: 580px; }
.vin-quick { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vin-quick-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.vin-chip { cursor: pointer; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.28); padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; color: #fff; font-family: inherit; transition: background .2s var(--ease), border-color .2s var(--ease); }
.vin-chip:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.5); }
.model-strip { position: relative; z-index: 2; margin-top: 38px; display: flex; flex-wrap: wrap; gap: 9px; }
.model-strip a { padding: 8px 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.07); color: #fff; font-size: 0.86rem; font-weight: 600; letter-spacing: .01em; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.model-strip a:hover { background: rgba(232,113,43,0.22); border-color: rgba(232,113,43,0.6); transform: translateY(-1px); }
.stat-bar { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); }
.stat-bar strong { display: block; font-size: 1.32rem; color: #fff; line-height: 1.25; }
.stat-bar span { font-size: 0.79rem; color: rgba(255,255,255,0.66); }
@media (max-width: 960px) {
  .hero { padding: 92px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-visual { order: -1; }
  .stat-bar { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .model-strip { margin-top: 26px; }
}

.hero-metrics { display: grid; gap: 14px; }
.metric { background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-md); backdrop-filter: blur(8px); padding: 20px; }
.metric strong { display: block; margin-bottom: 7px; font-size: 1.3rem; }

/* VIN Search Box - Hero Area */
.vin-search-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  max-width: 620px;
}
.vin-input-wrap {
  display: flex;
  gap: 10px;
}
#heroVinInput {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.08em;
  color: var(--ink);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
#heroVinInput:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 113, 43, 0.25);
}
#heroVinInput::placeholder {
  color: #999;
  font-family: Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}
.vin-search-btn {
  padding: 0 28px;
  font-size: 1rem;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 20px rgba(232, 113, 43, 0.35);
}
.vin-search-btn:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.vin-hint {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero-vin-hook {
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(232, 113, 43, 0.14);
  border: 1px solid rgba(255, 182, 128, 0.25);
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  font-size: 0.94rem;
  line-height: 1.6;
}
.hero-vin-hook strong { color: #ffb680; }
.hero-contact-line {
  margin-top: 16px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
}
.hero-contact-line strong { color: #ffb680; }

.about { background: linear-gradient(180deg, #fff, var(--bg)); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 500px); align-items: center; gap: 40px; }
.about-copy p + p { margin-top: 12px; }
.about-points { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.point { background: var(--white); border: 1px solid rgba(26, 54, 93, 0.1); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); padding: 16px 17px; }
.point strong { color: var(--primary); display: block; margin-bottom: 4px; }
.about-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.about-stat { background: rgba(232, 113, 43, 0.08); border: 1px solid rgba(232, 113, 43, 0.2); border-radius: var(--radius-md); padding: 18px 14px; text-align: center; }
.about-stat strong { display: block; font-size: 1.2rem; color: var(--accent); margin-bottom: 4px; }
.about-stat span { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.about-media { position: relative; }
.about-media .card-img { border-radius: 22px; overflow: hidden; border: 1px solid rgba(26, 54, 93, 0.12); box-shadow: var(--shadow-pop); background: #f4f8fc; }
.about-media .card-img img { width: 100%; height: auto; object-fit: contain; }
.about-badge { position: absolute; right: -16px; bottom: 22px; background: var(--primary); color: var(--white); width: min(220px, 60%); border-radius: 18px; box-shadow: var(--shadow-pop); padding: 16px 16px; }
.about-badge strong { display: block; margin-bottom: 5px; }

.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product { border-radius: 22px; overflow: hidden; border: 1px solid rgba(26, 54, 93, 0.1); background: #fff; box-shadow: var(--shadow-soft); transition: transform var(--ease), box-shadow var(--ease); }
.product:hover { transform: translateY(-7px); box-shadow: var(--shadow-pop); }
.product .img { height: 215px; overflow: hidden; position: relative; background: linear-gradient(140deg, #d9e3ef, #f6f9fc); }
.product .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product:hover .img img { transform: scale(1.06); }
.tag { position: absolute; left: 14px; top: 14px; background: rgba(17, 40, 70, 0.82); color: #fff; border-radius: 999px; font-size: 0.75rem; font-weight: 700; padding: 6px 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.product-body { padding: 20px; }
.product-body h3 { color: var(--primary); margin-bottom: 8px; }

.why { background: linear-gradient(180deg, var(--bg), #edf3fa); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.why-card { border-radius: 20px; border: 1px solid rgba(26, 54, 93, 0.1); background: #fff; box-shadow: var(--shadow-soft); padding: 24px 20px; transition: transform var(--ease), box-shadow var(--ease); }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.why-icon { width: 58px; height: 58px; border-radius: 16px; margin-bottom: 15px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); background: linear-gradient(140deg, rgba(26, 54, 93, 0.12), rgba(232, 113, 43, 0.15)); font-size: 1.4rem; }

.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.step { padding: 20px 18px; border-radius: 18px; border: 1px solid rgba(26, 54, 93, 0.1); background: #fff; box-shadow: var(--shadow-soft); }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--accent); font-weight: 700; margin-bottom: 10px; }

/* Inquiry Scenarios */
.scenarios-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.scenario-card { border-radius: 22px; border: 1px solid rgba(26, 54, 93, 0.1); background: #fff; box-shadow: var(--shadow-soft); padding: 28px 24px; transition: transform var(--ease), box-shadow var(--ease); }
.scenario-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.scenario-label { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(26, 54, 93, 0.08); color: var(--muted); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.scenario-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.15rem; }
.scenario-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 14px; }
.scenario-tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(232, 113, 43, 0.1); color: var(--accent-2); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; }

/* Contact - Redesigned */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 20px; }
/* Inquiry Form */
.inquiry-form-panel { background: #fff; border-radius: 22px; border: 1px solid rgba(26,54,93,0.1); box-shadow: var(--shadow-soft); padding: 32px 30px; }
.inquiry-form-panel h3 { font-size: 1.4rem; color: var(--primary); margin-bottom: 6px; }
.inquiry-form-panel > p { font-size: 0.93rem; color: var(--muted); margin-bottom: 22px; line-height: 1.6; }
.iq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .iq-grid { grid-template-columns: 1fr; } }
.iq-field { display: flex; flex-direction: column; gap: 5px; }
.iq-field.full { grid-column: 1 / -1; }
.iq-field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.iq-field input, .iq-field select, .iq-field textarea {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px;
  font-size: 0.92rem; color: var(--ink); background: #f8fafd;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; font-family: inherit; }
.iq-field input:focus, .iq-field select:focus, .iq-field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,113,43,0.12); background: #fff; }
.iq-field textarea { resize: vertical; min-height: 80px; }
.iq-submit { margin-top: 18px; }
.iq-submit button {
  width: 100%; min-height: 52px; border: none; border-radius: 14px; cursor: pointer;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 10px 28px rgba(232,113,43,0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease; }
.iq-submit button:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(232,113,43,0.38); }
.iq-submit button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.iq-msg { margin-top: 12px; padding: 12px 16px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; display: none; }
.iq-msg.success { background: rgba(37,211,102,0.1); color: #0e7a35; border: 1px solid rgba(37,211,102,0.3); }
.iq-msg.error { background: rgba(220,38,38,0.08); color: #b91c1c; border: 1px solid rgba(220,38,38,0.2); }
.iq-divider { display: flex; align-items: center; gap: 14px; margin: 24px 0 20px; }
.iq-divider span { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.iq-divider::before, .iq-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.panel { border-radius: 22px; border: 1px solid rgba(26, 54, 93, 0.1); background: #fff; box-shadow: var(--shadow-soft); padding: 36px 30px; }
.contact-main-header { margin-bottom: 24px; }
.contact-main-header h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 8px; }
.contact-main-header p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.contact-benefits { list-style: none; margin: 18px 0 28px; display: grid; gap: 10px; }
.contact-benefits li { padding: 10px 14px; border-radius: 12px; background: #f5f9fd; border: 1px solid rgba(26, 54, 93, 0.06); font-size: 0.93rem; color: var(--ink); padding-left: 38px; position: relative; }
.contact-benefits li::before { content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; border-radius: 50%; background: rgba(37, 211, 102, 0.15); border: 2px solid #25d366; }
.contact-benefits li::after { content: ""; position: absolute; left: 19px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 5px; height: 9px; border-right: 2px solid #25d366; border-bottom: 2px solid #25d366; }
.contact-primary { margin-bottom: 20px; }
.contact-primary a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; border-radius: 16px; font-weight: 700; font-size: 1.08rem; background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.3); transition: transform var(--ease), box-shadow var(--ease); text-decoration: none; }
.contact-primary a:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(37, 211, 102, 0.4); }
.contact-primary-note { margin-top: 8px; text-align: center; font-size: 0.82rem; color: var(--muted); }
.contact-secondary { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.contact-secondary a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 12px; padding: 0 18px; font-weight: 700; font-size: 0.9rem; border: 1px solid var(--line); background: #fff; transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease); text-decoration: none; cursor: pointer; }
.contact-secondary a:hover { transform: translateY(-2px); border-color: rgba(26, 54, 93, 0.25); box-shadow: var(--shadow-soft); }
.contact-secondary a.telegram { border-color: rgba(45, 147, 224, 0.35); color: #1474b7; background: rgba(45, 147, 224, 0.06); }
.contact-secondary a.email { border-color: rgba(232, 113, 43, 0.35); color: var(--accent-2); background: rgba(232, 113, 43, 0.06); }
.contact-secondary a.wechat { border-color: rgba(48, 186, 73, 0.35); color: #0e8d2b; background: rgba(48, 186, 73, 0.06); }
.contact-follow { border-top: 1px solid var(--line); padding-top: 16px; }
.contact-follow a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); font-weight: 600; text-decoration: none; transition: color var(--ease); }
.contact-follow a:hover { color: #0a7abf; }
.contact-tip { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(232, 113, 43, 0.08), rgba(232, 113, 43, 0.13)); border: 1px solid rgba(232, 113, 43, 0.16); }
.contact-tip p { font-size: 0.85rem; color: var(--primary); line-height: 1.6; }

.qr-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(9, 23, 38, 0.78); backdrop-filter: blur(10px); }
.qr-modal.active { display: flex; }
.qr-modal-inner { width: min(100%, 360px); background: rgba(255, 255, 255, 0.98); border: 1px solid rgba(26, 54, 93, 0.08); border-radius: 24px; box-shadow: 0 24px 64px rgba(8, 22, 40, 0.28); padding: 24px 24px 22px; position: relative; text-align: center; }
.qr-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: none; border-radius: 50%; background: #eef4fa; color: var(--primary); font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background var(--ease), transform var(--ease); }
.qr-close:hover { background: #dfeaf5; transform: rotate(90deg); }
.qr-modal-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(48, 186, 73, 0.12); color: #129935; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.qr-modal h3 { margin: 16px 0 8px; color: var(--primary); font-size: 1.35rem; }
.qr-modal p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.qr-image-wrap { margin: 18px auto 14px; padding: 12px; width: fit-content; border-radius: 20px; background: linear-gradient(180deg, #f8fcff 0%, #eff7f1 100%); border: 1px solid rgba(26, 54, 93, 0.08); }
.qr-image-wrap img { width: min(100%, 240px); border-radius: 14px; }
.qr-manual { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faq { border-radius: 16px; border: 1px solid rgba(26, 54, 93, 0.1); background: #fff; box-shadow: var(--shadow-soft); padding: 18px 18px; }
.faq h3 { margin-bottom: 8px; color: var(--primary); font-size: 1.04rem; }

.site-footer { background: var(--primary); color: rgba(255, 255, 255, 0.9); }
.footer-main { padding: 48px 16px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; max-width: var(--container); margin: 0 auto; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.7); max-width: 260px; line-height: 1.5; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color var(--ease); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 16px; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.float-chat { position: fixed; right: 16px; bottom: 16px; z-index: 999; display: grid; gap: 8px; }
.float-chat a, .float-chat button { width: 52px; height: 52px; border: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; box-shadow: var(--shadow-pop); font-size: 0.8rem; font-weight: 800; line-height: 1; overflow: hidden; white-space: nowrap; transition: transform var(--ease), filter var(--ease); }
.float-chat a:hover, .float-chat button:hover { transform: translateY(-2px); filter: brightness(0.96); }
.float-whatsapp { background: #1fb15d; font-size: 0.78rem; }
.float-telegram { background: #238fd8; }
.float-tg-channel { background: linear-gradient(135deg, #0088cc, #238fd8); }
.float-wechat { background: #24a83d; }
.float-email { background: var(--accent); }


  /* Most-requested parts banner */
  .mrp-banner { margin-top: 38px; display: flex; align-items: center; justify-content: space-between;
    gap: 28px; flex-wrap: wrap; background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: var(--radius-lg); padding: 30px 34px; box-shadow: var(--shadow-soft); }
  .mrp-copy { max-width: 640px; }
  .mrp-tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 800; color: #ffb27a; margin-bottom: 10px; }
  .mrp-banner h3 { color: #fff; font-size: 1.32rem; line-height: 1.28; margin-bottom: 8px; }
  .mrp-banner p { color: rgba(255,255,255,0.78); font-size: 0.92rem; line-height: 1.62; margin: 0; }
  .mrp-btn { flex: 0 0 auto; display: inline-block; background: var(--accent); color: #fff;
    font-weight: 800; font-size: 1rem; padding: 14px 30px; border-radius: var(--radius-sm);
    transition: transform var(--ease), box-shadow var(--ease); box-shadow: 0 10px 24px rgba(232,113,43,0.3); }
  .mrp-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232,113,43,0.38); }
  @media (max-width: 820px) { .mrp-banner { padding: 24px; } .mrp-btn { width: 100%; text-align: center; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .products-grid, .scenarios-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid, .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-badge { right: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --nav-h: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav-menu { position: absolute; top: calc(100% + 10px); left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 6px; border-radius: 18px; background: rgba(17, 40, 70, 0.97); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: var(--shadow-pop); padding: 12px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity var(--ease), transform var(--ease); }
  .nav-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-menu a { justify-content: flex-start; }
  .products-grid, .why-grid, .workflow-grid, .about-points, .about-stats, .scenarios-grid { grid-template-columns: 1fr; }
  .section { padding: 74px 0; }
  .panel { padding: 24px 20px; }
  .contact-secondary { flex-direction: column; }
  .contact-secondary a { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  h1 { font-size: 2.24rem; }
  h2 { font-size: 1.82rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .about-badge { position: static; width: 100%; margin-top: 14px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .vin-input-wrap { flex-direction: column; }
  .vin-search-btn { width: 100%; padding: 14px; }
  .vin-search-box { padding: 16px; }
  .hero-vin-hook { font-size: 0.88rem; padding: 10px 14px; }
  .hero-contact-line { font-size: 0.85rem; padding: 10px 14px; }
}

/* Responsive fix: keep the EPC preview section inside the viewport on narrow screens */
#epc-preview .container > div { min-width: 0; }
#epc-preview .container > div > div { min-width: 0; }
@media (max-width: 900px) {
  #epc-preview .container > div { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* Phase 2: hero responsive (authoritative) */
@media (max-width: 960px) {
  .hero { padding: 88px 0 44px; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .hero-visual { order: -1; }
  .hero-visual img { width: 100%; }
  .stat-bar { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 14px; }
  .model-strip { margin-top: 24px; }
  .vin-input-wrap { flex-direction: column; }
  .vin-search-btn { width: 100%; min-height: 48px; }
}

/* Phase 2: hero density pass */
.hero { padding: 84px 0 48px !important; }
@media (min-width: 961px) { .hero-grid { grid-template-columns: minmax(0,1.12fr) minmax(0,0.88fr); gap: 40px; } }
.hero .hero-copy h1 { font-size: clamp(1.85rem, 3.15vw, 2.7rem) !important; line-height: 1.12 !important; margin: 10px 0 0 !important; max-width: 640px; }
.hero .hero-copy p { margin-top: 14px !important; max-width: 600px; font-size: 1rem; }
.vin-search-box { margin-top: 18px !important; padding: 16px 18px !important; }
.vin-search-box .vin-hint { margin-top: 8px; }
.hero-actions { margin-top: 22px !important; }
.hero-visual img { max-width: 100%; }
/* Phase 2: mobile hero (final, must stay last) */
@media (max-width: 960px) {
  .hero { padding: 84px 0 42px !important; }
  .hero-grid { grid-template-columns: 1fr !important; gap: 22px !important; }
  .hero-visual { order: -1 !important; }
  .hero-visual img { width: 100% !important; }
  .hero .hero-copy h1 { font-size: clamp(1.6rem, 7.2vw, 2.1rem) !important; }
  .vin-input-wrap { flex-direction: column !important; }
  .vin-search-btn { width: 100% !important; }
  .stat-bar { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

.crumbs { max-width: 1180px; margin: 0 auto; padding: 14px 24px 0; font-size: 0.82rem; color: var(--muted, #64748b); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span.sep { opacity: .55; margin: 0 6px; }
.crumbs strong { font-weight: 600; color: var(--ink, #0f172a); }

/* Phase 8: centered typographic hero, no photography */
.hero--center { padding: 118px 0 58px !important; }
.hero--center::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(680px 420px at 50% 22%, #000 0%, transparent 78%);
          mask-image: radial-gradient(680px 420px at 50% 22%, #000 0%, transparent 78%);
}
.hero-center { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-center .eyebrow { display: inline-block; }
.hero-center h1 { font-size: clamp(1.9rem, 3.6vw, 3rem) !important; line-height: 1.14 !important; margin: 14px 0 0 !important; letter-spacing: -.01em; }
.hero-center > p { margin: 16px auto 0 !important; max-width: 700px; color: rgba(255,255,255,.78); }
.hero-center .vin-search-box { max-width: 660px; margin: 22px auto 0 !important; text-align: left; }
.hero-center .hero-actions { justify-content: center; margin-top: 20px !important; }
.hero-center .hero-cta-note { margin: 16px auto 0 !important; max-width: 620px; text-align: center; }
.hero--center .model-strip { justify-content: center; margin-top: 30px; }
.hero--center .vin-quick { justify-content: flex-start; }
@media (max-width: 960px) {
  .hero--center { padding: 92px 0 40px !important; }
  .hero-center h1 { font-size: clamp(1.55rem, 6.6vw, 2rem) !important; }
  .hero-center .vin-search-box { max-width: 100%; }
}


/* brand mark: use the real QIFAN logo in the header */
.logo-mark{
  width:34px;height:34px;border-radius:9px;
  background-color:#000;
  background-image:url('/assets/brand-mark-128.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  color:transparent;font-size:0;line-height:0;overflow:hidden;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.30), 0 2px 8px rgba(0,0,0,.45);
  flex:0 0 auto;
}

/* phones: floating contact buttons covered the hero CTA */
@media (max-width: 640px) {
  .float-chat { display: none !important; }
}


/* anchors must clear the fixed header */
:target { scroll-margin-top: 92px; }
#epc-index, #contact, #faq, #quote { scroll-margin-top: 92px; }
