:root {
  --green-950: #0a2e21;
  --green-900: #0d3b2a;
  --green-700: #14532d;
  --green-600: #17803d;
  --green-100: #e7f2ec;
  --green-50: #f3f8f5;
  --gold: #c9a24b;
  --ink: #16211c;
  --ink-soft: #4b5b53;
  --muted: #7d8a83;
  --line: #e4e9e6;
  --bg: #ffffff;
  --bg-soft: #f6f8f7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 59, 42, 0.08);
  --shadow-sm: 0 4px 14px rgba(13, 59, 42, 0.07);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-name {
  font-size: 20px; font-weight: 700; letter-spacing: 3px; color: var(--green-900);
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--ink-soft); transition: all .2s;
}
.main-nav a:hover { color: var(--green-700); background: var(--green-50); }
.main-nav a.active { color: var(--green-700); background: var(--green-100); font-weight: 600; }

.auth-area { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.main-nav .nav-cta { margin-left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: none; cursor: pointer; transition: all .2s; white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--green-700); border: 1.5px solid var(--green-700); }
.btn-outline:hover { background: var(--green-50); }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { background: var(--green-100); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 38, 27, .88) 0%, rgba(8, 38, 27, .62) 45%, rgba(8, 38, 27, .25) 100%);
}
.hero-content { position: relative; max-width: 640px; padding: 96px 0; }
.hero-kicker {
  display: inline-block; font-size: 13px; letter-spacing: 4px; font-weight: 600;
  color: var(--gold); text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: 48px; line-height: 1.15; font-weight: 700; letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero p { font-size: 18px; color: rgba(255, 255, 255, .88); margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  font-size: 13px; letter-spacing: 3px; font-weight: 700; color: var(--green-600);
  text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 {
  font-size: 34px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.2;
  color: var(--ink); margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--green-900); color: #fff; padding: 34px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 30px; font-weight: 700; color: #fff; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin-top: 4px; }

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

.line-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); transition: all .25s;
  display: flex; flex-direction: column;
}
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.line-card img { height: 320px; width: 100%; object-fit: cover; }
.line-card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.line-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--ink); }
.line-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; flex: 1; }
.line-card .link { color: var(--green-700); font-weight: 600; font-size: 15px; }
.line-card .link:hover { text-decoration: underline; }

.value-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .25s;
}
.value-card:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); }
.value-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.value-icon svg { width: 24px; height: 24px; stroke: var(--green-700); }
.value-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Product grid ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--ink-soft); font-size: 14.5px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.filter-tab:hover { border-color: var(--green-600); color: var(--green-700); }
.filter-tab.active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-thumb { position: relative; height: 250px; overflow: hidden; background: var(--bg-soft); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px; background: rgba(13, 59, 42, .92);
  color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  letter-spacing: 1px;
}
.product-info { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-model { font-size: 12.5px; font-weight: 700; letter-spacing: 2px; color: var(--green-600); margin-bottom: 6px; text-transform: uppercase; }
.product-info h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.35; }
.product-info p { font-size: 14px; color: var(--ink-soft); flex: 1; }
.product-tag {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--green-700);
}

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--muted);
  background: var(--bg-soft); border-radius: var(--radius);
}

/* ---------- Product modal ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(10, 30, 22, .55); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-mask.open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; max-width: 980px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
}
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px;
  border-radius: 50%; border: none; background: rgba(255, 255, 255, .92);
  font-size: 20px; cursor: pointer; z-index: 5; color: var(--ink); line-height: 1;
  box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: var(--green-100); }
.modal-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.modal-gallery { padding: 28px; background: var(--bg-soft); }
.modal-gallery .main-img { width: 100%; height: 340px; object-fit: cover; border-radius: 12px; }
.modal-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.modal-thumbs img {
  width: 72px; height: 58px; object-fit: cover; border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; transition: all .2s;
}
.modal-thumbs img.active, .modal-thumbs img:hover,
.modal-thumbs picture.active img, .modal-thumbs picture:hover img { border-color: var(--green-600); }
.modal-detail { padding: 32px 34px 36px; }
.modal-detail .product-model { margin-bottom: 4px; }
.modal-detail h2 { font-size: 26px; margin-bottom: 6px; }
.modal-detail .tagline { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }
.modal-detail .desc { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--muted); width: 40%; font-weight: 500; }
.spec-table td:last-child { color: var(--ink); }
.feature-list { list-style: none; margin-bottom: 22px; }
.feature-list li {
  position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 14.5px; color: var(--ink-soft);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314532d' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/9px no-repeat;
}
.cert-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cert-chip {
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--green-700);
  background: var(--green-100); padding: 5px 12px; border-radius: 6px;
}
.modal-note {
  margin-top: 20px; font-size: 13px; color: var(--muted); background: var(--bg-soft);
  border-radius: 8px; padding: 12px 14px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-950), var(--green-700));
  border-radius: 20px; color: #fff; padding: 64px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: 30px; margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .8); font-size: 16px; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  margin-bottom: 16px; transition: all .2s;
}
.contact-card:hover { border-color: var(--green-600); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--green-100);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--green-700); }
.contact-card h3 { font-size: 16px; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--ink-soft); word-break: break-all; }
.contact-card a:hover { color: var(--green-700); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink);
  margin-bottom: 7px;
}
.form-group label .req { color: #c0392b; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--green-600);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-hint { font-size: 13px; margin-top: 8px; }
.form-hint.error { color: #c0392b; }
.form-hint.ok { color: var(--green-600); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 60px 24px; background: var(--bg-soft); }
.auth-card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 18px;
  box-shadow: var(--shadow); padding: 40px 38px;
}
.auth-card .brand img { height: 40px; margin: 0 auto 10px; }
.auth-card h1 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 28px; }
.auth-tabs { display: flex; background: var(--bg-soft); border-radius: 10px; padding: 4px; margin-bottom: 26px; }
.auth-tab {
  flex: 1; text-align: center; padding: 9px 0; font-size: 14px; font-weight: 600;
  border-radius: 8px; cursor: pointer; color: var(--ink-soft); border: none; background: transparent;
  transition: all .2s;
}
.auth-tab.active { background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.auth-switch { text-align: center; font-size: 14px; color: var(--ink-soft); margin-top: 22px; }
.auth-switch a { color: var(--green-700); font-weight: 600; cursor: pointer; }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; }

/* ---------- Member ---------- */
.member-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.member-side {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.avatar-ring {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; overflow: hidden;
  background: var(--green-100); display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--green-100);
}
.avatar-ring img { width: 100%; height: 100%; object-fit: cover; }
.avatar-ring .avatar-fallback { font-size: 34px; font-weight: 700; color: var(--green-700); }
.member-side h2 { font-size: 19px; margin-bottom: 4px; word-break: break-all; }
.member-side .email { font-size: 13.5px; color: var(--muted); word-break: break-all; margin-bottom: 18px; }
.member-main { display: flex; flex-direction: column; gap: 24px; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.panel h3 { font-size: 17px; margin-bottom: 18px; }
.inq-item {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px;
  font-size: 14px;
}
.inq-item .inq-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.inq-item .inq-model { font-weight: 700; color: var(--green-700); font-size: 13.5px; }
.inq-item .inq-date { color: var(--muted); font-size: 12.5px; }
.inq-item .inq-msg { color: var(--ink-soft); }
.file-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.file-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px;
}
.file-item .fname { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all; }
.file-item .factions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--green-950), var(--green-800));
  color: #fff; padding: 76px 0 70px;
}
.page-hero .kicker { color: var(--gold); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; }
.page-hero h1 { font-size: 40px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 620px; }

/* ---------- About ---------- */
.about-lead { font-size: 19px; color: var(--ink-soft); line-height: 1.8; max-width: 780px; }
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-split img { border-radius: var(--radius); box-shadow: var(--shadow); height: 420px; width: 100%; object-fit: cover; }
.cert-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cert-badge {
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 22px;
  font-weight: 700; letter-spacing: 1px; font-size: 14px; color: var(--green-700); background: #fff;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .75); margin-top: 90px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .5px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 46px; margin-bottom: 16px; border-radius: 6px; background: #fff; padding: 6px; }
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0; font-size: 13px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--green-950); color: #fff; padding: 12px 22px; border-radius: 10px;
  font-size: 14.5px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 300;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #8c2f2f; }

/* ---------- Responsive ---------- */
.menu-toggle { display: none; }
@media (max-width: 960px) {
  .hero h1 { font-size: 36px; }
  .grid-2, .grid-3, .grid-4, .product-grid, .contact-grid, .about-split, .modal-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .member-grid { grid-template-columns: 1fr; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px;
  }
  .menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 30px; }
}

/* ---------- Breadcrumb (SEO landing pages) ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 20px; font-size: 13.5px; color: var(--muted); }
.breadcrumb a { color: var(--green-700); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--ink-soft); }

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

/* ---------- FAQ accordion ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px; color: var(--ink);
  list-style: none; position: relative; padding-right: 52px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--green-600); line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-answer { padding: 16px 22px 20px; }
.faq-answer p { color: var(--ink-soft); font-size: 15px; }

/* ---------- WebP <picture> wrapper must not affect layout ---------- */
picture { display: contents; }
