:root {
  --green: #24ac00;
  --green-deep: #178005;
  --green-soft: #a6d69a;
  --text: #333;
  --muted: #777;
  --line: #e6e6e6;
  --bg: #f8f8f8;
  --card: #fff;
  --footer: #444;
  --shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font: 14px/1.8 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, p, h1, h2, h3, h4 { margin: 0; padding: 0; }
ul { list-style: none; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 24px)); margin: 0 auto; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; transition: .2s ease; cursor: pointer;
}
.button:hover { transform: translateY(-2px); }
.button--white { background: #fff; color: var(--green-deep); box-shadow: 0 10px 20px rgba(0,0,0,.12); }
.button--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.button--green { background: linear-gradient(180deg, #3cc01c, #229704); color: #fff; }

.top-header { background: #fff; border-bottom: 1px solid #efefef; }
.top-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 94px;
}
.brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand img { width: min(100%, 460px); height: auto; max-height: 72px; max-width: 100%; object-fit: contain; }
.header-contact { display: flex; align-items: center; gap: 14px; color: #666; }
.header-contact img { width: 150px; }
.header-contact__text { display: grid; gap: 2px; text-align: right; }
.header-contact__text strong { color: var(--green); font-size: 22px; line-height: 1.2; }

.site-nav { position: relative; z-index: 10; background: linear-gradient(180deg, #31b713, #1d9704); }
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent; color: #fff; font-size: 24px;
}
.nav-list { display: flex; align-items: center; }
.nav-list a {
  display: flex; align-items: center; justify-content: center; min-width: 150px; min-height: 56px; padding: 0 24px; color: #fff;
}
.nav-list a:hover, .nav-list a.is-active { background: rgba(255,255,255,.12); }
.nav-search {
  display: flex; align-items: center; gap: 8px; width: 220px; height: 34px; padding: 0 5px 0 10px; border-radius: 4px; background: #fff;
}
.nav-search input { flex: 1; min-width: 0; border: 0; outline: 0; color: #666; }
.nav-search button {
  width: 28px; height: 24px; border: 0; border-radius: 4px; background: linear-gradient(180deg, #5dca46, #2aa90a); color: #fff;
}

.hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12,72,5,.9), rgba(20,120,8,.78) 45%, rgba(26,145,11,.3)),
    url("../images/about-banner.jpg") center/cover no-repeat;
}
.hero__inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; min-height: 430px; padding: 46px 0;
}
.hero__content { display: grid; gap: 18px; }
.hero__eyebrow {
  display: inline-flex; width: fit-content; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 13px;
}
.hero h1 { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.15; letter-spacing: -0.02em; }
.hero p { color: rgba(255,255,255,.92); font-size: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__panel {
  padding: 26px; border-radius: 18px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); box-shadow: 0 20px 40px rgba(0,0,0,.16);
}
.hero__panel h2 { margin-bottom: 10px; font-size: 24px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.hero__stats li { padding: 16px 14px; border-radius: 14px; background: rgba(255,255,255,.12); }
.hero__stats strong { display: block; font-size: 26px; line-height: 1.1; }

.page-banner { position: relative; }
.page-banner img { width: 100%; height: 260px; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.32)); }
.page-banner__copy {
  position: absolute; left: 50%; bottom: 34px; z-index: 1; width: min(var(--container), calc(100% - 24px)); transform: translateX(-50%); color: #fff;
}
.page-banner__copy h1 { font-size: clamp(30px, 3.4vw, 44px); }

.breadcrumb {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; margin-top: 16px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
.breadcrumb h2 { color: var(--green); font-size: 18px; }
.section { padding: 26px 0 0; }
.section--gray { margin-top: 20px; padding: 20px 0 42px; background: #ececec; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px;
}
.section-head__title {
  display: inline-block; padding-right: 16px; border-bottom: 2px solid var(--green); color: var(--green); font-size: 28px; line-height: 1.2;
}
.section-head__desc { max-width: 620px; color: var(--muted); }
.section-head__plus {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--green-soft); color: #fff; font-size: 24px;
}

.panel {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
.panel__body { padding: 22px; }
.home-grid { display: grid; grid-template-columns: 1fr 1.08fr .92fr; gap: 24px; }
.summary-card p, .summary-card li, .video-card p, .copy p, .adv-grid p, .contact-card p { color: #666; }
.summary-card ul { display: grid; gap: 10px; margin-top: 14px; }
.summary-card li { position: relative; padding-left: 18px; }
.summary-card li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--green-soft);
}

.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px dotted #ccc; }
.news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.news-date { height: 68px; border-radius: 8px; background: var(--green-soft); color: #fff; text-align: center; }
.news-date strong { display: block; padding-top: 8px; font-size: 30px; line-height: 1; }
.news-date span { display: block; margin-top: 6px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.45); font-size: 12px; }
.news-item h3 { margin-bottom: 6px; font-size: 18px; line-height: 1.4; }
.news-item p { color: #8c8c8c; }

.video-card figure { overflow: hidden; border-radius: 12px; background: #f4f4f4; }
.video-card figure img { width: 100%; height: 234px; object-fit: cover; }
.video-card h3 { margin: 14px 0 8px; font-size: 22px; color: var(--green); }
.tags, .product-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.tag, .product-filter button {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: #eef6ec; color: var(--green-deep);
}
.product-filter button { border: 1px solid #d9e7d4; background: #fff; color: #5d5d5d; cursor: pointer; }
.product-filter button.is-active { border-color: transparent; background: linear-gradient(180deg, #40c01f, #239804); color: #fff; }

.feature-grid, .adv-grid, .site-map__grid { display: grid; gap: 18px; }
.feature-grid, .adv-grid { grid-template-columns: repeat(3, 1fr); }
.site-map__grid { grid-template-columns: repeat(4, 1fr); }
.feature-card, .adv-card { padding: 22px 20px; }
.feature-card h3, .adv-card h4 { margin-bottom: 8px; font-size: 20px; color: var(--green); }

.product-tools {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.product-tools p { max-width: 640px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid--devices { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); }
.product-card { overflow: hidden; border: 1px solid #dedede; border-radius: 10px; background: #fff; transition: .24s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(0,0,0,.1); }
.product-card__media { padding: 16px; background: linear-gradient(180deg, #fefefe, #f3f3f3); }
.product-card__media img { width: 100%; height: 170px; object-fit: contain; }
.product-card__body { display: grid; gap: 10px; padding: 18px; }
.product-card__body h3 { min-height: 84px; font-size: 18px; line-height: 1.4; }
.product-card__body p { color: #777; font-size: 13px; }
.product-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.product-card__meta span { min-height: 26px; padding: 0 10px; border-radius: 999px; background: #f1f7ef; color: var(--green-deep); font-size: 12px; }

@media (min-width: 721px) {
  body[data-page="products"] .product-card__body h3 {
    min-height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 17px;
    line-height: 1.35;
  }

  body[data-page="products"] .product-card__body h3.product-title--long { font-size: 15px; }
  body[data-page="products"] .product-card__body h3.product-title--xlong { font-size: 14px; }
  body[data-page="products"] .product-card__body h3.product-title--xxlong { font-size: 13px; letter-spacing: -0.03em; }
}

.page-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; margin-top: 18px; padding-bottom: 46px; }
.page-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
  align-self: start;
}
.sidebar, .content-card {
  border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow);
}
.sidebar h3, .content-card h3 { color: var(--green); }
.sidebar h3 { padding: 14px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fefefe, #f5f5f5); font-size: 18px; }
.sidebar-links { padding: 10px; }
.sidebar-links a, .sidebar-links button {
  display: block; width: 100%; padding: 12px 14px; border: 0; border-radius: 8px; background: transparent; color: #555; text-align: left;
}
.sidebar-links a:hover, .sidebar-links a.is-active, .sidebar-links button:hover, .sidebar-links button.is-active {
  background: #eef6ec; color: var(--green);
}
.sidebar-note {
  padding: 18px;
}
.sidebar-note p + p {
  margin-top: 10px;
}
.sidebar-note strong {
  display: block;
  color: #2f2f2f;
  font-size: 16px;
  line-height: 1.4;
}
.content-stack { display: grid; gap: 18px; }
.content-card { padding: 24px; }
.content-card h3 { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid #ececec; font-size: 24px; }

.copy {
  display: grid; grid-template-columns: minmax(300px, .86fr) 1fr; gap: 22px; align-items: start;
}
.copy figure { overflow: hidden; border-radius: 12px; background: #f3f3f3; }
.copy p + p { margin-top: 14px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric-card { padding: 20px 16px; border-radius: 12px; background: #f7fbf5; text-align: center; }
.metric-card strong { display: block; color: var(--green); font-size: 28px; line-height: 1; }
.timeline { display: grid; gap: 14px; }
.timeline-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 12px; background: #f8f8f8;
}
.timeline-item strong {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 10px; background: linear-gradient(180deg, #4ac729, #209705); color: #fff; font-size: 22px;
}
.timeline-item h4 { margin-bottom: 6px; font-size: 20px; }
.contact-card { display: grid; grid-template-columns: 1fr 280px; gap: 18px; }
.contact-box { display: grid; gap: 14px; padding: 18px; border-radius: 12px; background: #eef6ec; }
.future-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.future-card {
  padding: 22px;
  border: 1px solid #dbead7;
  border-radius: 12px;
  background: #eef6ec;
}
.future-card h4 {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 20px;
}
.future-card p { color: #666; }
.license-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.license-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.license-card__media {
  padding: 14px;
  background: #fff;
}
.license-card__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ececec;
}
.license-card__body {
  padding: 18px;
}
.license-card__body h4 {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 20px;
}
.license-card__body p {
  color: #666;
}

.site-map { padding: 34px 0 20px; }
.site-map__group h3 {
  margin-bottom: 12px; padding-left: 22px; color: #2e2e2e; font-size: 18px; background: linear-gradient(90deg, var(--green) 0 10px, transparent 10px) no-repeat left center;
}
.site-map__group a, .site-map__group p { display: block; margin-bottom: 8px; color: #666; }
.site-footer { margin-top: 24px; padding: 14px 0; background: var(--footer); color: #fff; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #fff; }

.floating-bar {
  position: fixed; right: 0; top: 44%; z-index: 40; display: grid; gap: 2px;
}
.floating-bar a, .floating-bar button {
  width: 52px; min-height: 52px; border: 0; border-radius: 8px 0 0 8px; background: #ffbe33; color: #fff;
  writing-mode: vertical-rl; text-orientation: mixed; display: flex; align-items: center; justify-content: center; letter-spacing: .08em;
}
.floating-bar a:nth-child(2) { background: var(--green); }
.floating-bar button { background: #616161; cursor: pointer; }
.is-hidden { display: none !important; }

@media (max-width: 1080px) {
  .hero__inner, .home-grid, .page-layout, .copy, .contact-card { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .adv-grid, .site-map__grid, .metric-grid, .license-grid, .future-grid { grid-template-columns: repeat(2, 1fr); }
  .page-sidebar { position: static; }
}

@media (min-width: 1081px) {
  .hero h1 { white-space: nowrap; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-list {
    position: absolute; left: 0; top: 100%; display: none; width: 100%; padding: 8px 12px 14px;
    background: linear-gradient(180deg, #2cae0f, #188304); box-shadow: 0 14px 28px rgba(0,0,0,.12);
  }
  .nav-list.is-open { display: block; }
  .nav-list a { justify-content: flex-start; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 8px; }
  .nav-search { width: min(100%, 240px); margin-left: auto; }
}

@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 16px)); }
  .top-header__inner { min-height: auto; gap: 10px; padding: 10px 0 12px; justify-content: center; }
  .brand { width: 100%; justify-content: center; gap: 10px; }
  .brand img { width: min(100%, 280px); max-height: 54px; max-width: 280px; }
  .header-contact__text span { font-size: 12px; }
  .header-contact img { display: none; }
  .header-contact { width: 100%; justify-content: center; }
  .header-contact__text { text-align: center; }
  .header-contact__text strong { font-size: 18px; }
  .hero__inner { min-height: 0; padding: 36px 0; }
  .hero p, .section-head__desc { font-size: 14px; }
  .hero__stats, .feature-grid, .adv-grid, .site-map__grid, .product-grid, .metric-grid, .license-grid, .future-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .panel__body, .content-card { padding: 18px; }
  .page-sidebar { gap: 12px; }
  .timeline-item { grid-template-columns: 1fr; }
  .floating-bar { top: auto; right: 8px; bottom: 14px; }
  .floating-bar a, .floating-bar button { width: 44px; min-height: 44px; font-size: 12px; }
}
