:root {
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --paper: #ffffff;
  --paper-warm: #f0fdf4;
  --forest: #16a34a;
  --forest-deep: #1f2937;
  --green: #16a34a;
  --green-bright: #86efac;
  --coral: #ef4444;
  --white: #ffffff;
  --line: rgba(31, 41, 55, 0.12);
  --shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
  --radius-sm: 10px;
  --radius: 12px;
  --radius-lg: 18px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

html[data-language="zh"] [data-lang-content="en"],
html[data-language="en"] [data-lang-content="zh"] { display: none !important; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.section { padding: 80px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -.025em; }
.section-heading p { margin: 20px 0 0; color: var(--ink-soft); font-size: 1.05rem; }
.section-heading .eyebrow { display: inline-flex; margin: 0 0 16px; padding: 7px 16px; border: 1px solid #9ca3af; border-radius: 8px; background: linear-gradient(90deg, #22c55e, #f87171); background-clip: text; color: transparent; }

.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; color: var(--white); background: rgba(31,41,55,.97); transition: background-color .3s ease, box-shadow .3s ease; }
.home-page .site-header:not(.is-scrolled) { background: transparent; }
.site-header.is-scrolled { background: rgba(31,41,55,.97); box-shadow: 0 8px 24px rgba(15,23,42,.18); backdrop-filter: blur(10px); }
.site-nav { position: relative; z-index: 50; height: 88px; }
.site-nav-inner { width: min(calc(100% - 40px), var(--container)); height: 100%; margin-inline: auto; display: grid; grid-template-columns: minmax(180px,1fr) auto minmax(280px,1fr); align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { max-width: 180px; max-height: 54px; object-fit: contain; }
.brand-name { font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.nav-list { display: flex; align-items: center; justify-content: center; gap: 36px; margin: 0; padding: 0; list-style: none; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 30px 0; color: rgba(255,255,255,.84); border: 0; background: none; font-size: .95rem; font-weight: 700; }
.nav-link:hover, .nav-link:focus-visible, .nav-trigger:hover, .nav-trigger:focus-visible { color: var(--green-bright); outline: none; }
.nav-arrow { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.is-open .nav-dropdown { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.nav-item.has-dropdown:hover .nav-arrow,
.nav-item.has-dropdown:focus-within .nav-arrow,
.nav-item.has-dropdown.is-open .nav-arrow { transform: rotate(225deg) translate(-1px,-1px); }
.nav-dropdown { position: absolute; top: calc(100% - 8px); left: 50%; width: max-content; min-width: 290px; max-width: 380px; padding: 10px; color: var(--ink); background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.5); border-radius: 18px; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translate(-50%, 12px); transition: .2s ease; }
.nav-dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; font-weight: 650; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: var(--paper-warm); color: var(--forest); outline: none; }
.dropdown-icon { width: 25px; height: 25px; object-fit: contain; flex: 0 0 auto; }
.dropdown-all { border-bottom: 1px solid var(--line); margin-bottom: 5px; color: var(--green); }
.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.account-links { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.account-links a:hover { color: var(--green-bright); }
.account-links > span { opacity: .45; }
.mobile-account-links { margin-top: 22px; }
.language-switch { display: inline-flex; padding: 4px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.13); border-radius: 999px; }
.language-switch button { min-width: 48px; padding: 7px 10px; color: rgba(255,255,255,.68); background: transparent; border: 0; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.language-switch button[aria-pressed="true"] { color: #111827; background: white; }
.menu-toggle { display: none; width: 44px; height: 44px; color: white; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 5px auto; content: ""; background: currentColor; transition: .2s ease; }
.mobile-panel { display: none; }

.hero { position: relative; min-height: 100vh; overflow: hidden; background-color: #22c55e; background-image: var(--hero-background-zh); background-position: center; background-size: cover; }
html[data-language="en"] .hero { background-image: var(--hero-background-en); }
.hero::before { position: absolute; inset: 0; content: ""; background: rgba(17,24,39,.16); }
.hero::after { display: none; }
.hero-track { position: relative; z-index: 2; min-height: 100vh; }
.hero-slide { display: none; min-height: inherit; align-items: center; padding: 112px 0 80px; }
.hero-slide.is-active { display: flex; animation: reveal .65s ease both; }
.hero-grid { width: min(calc(100% - 40px), 1440px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.hero-copy { max-width: 590px; }
.hero .eyebrow { color: var(--green-bright); }
.hero h1, .hero h2 { margin: 0; color: white; font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.14; letter-spacing: -.025em; }
.hero-description { max-width: 610px; margin: 26px 0 34px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 2vw, 1.18rem); }
.hero-visual { position: relative; width: 100%; }
.hero-visual::before { display: none; }
.hero-visual img { position: relative; width: 100%; max-height: min(68vh, 650px); object-fit: contain; border-radius: 12px; filter: drop-shadow(0 28px 40px rgba(0,0,0,.24)); animation: float 2s ease-in-out infinite; }
.hero-controls { position: absolute; z-index: 5; right: max(20px, calc((100vw - var(--container))/2)); bottom: 42px; display: flex; align-items: center; gap: 12px; }
.hero-arrow { width: 46px; height: 46px; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.hero-arrow:hover, .hero-arrow:focus-visible { color: var(--forest); background: var(--green-bright); outline: none; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 9px; height: 9px; padding: 0; background: rgba(255,255,255,.36); border: 0; border-radius: 50%; }
.hero-dot.is-active { width: 30px; background: var(--green-bright); border-radius: 999px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 25px; color: white; background: var(--coral); border: 1px solid var(--coral); border-radius: 12px; font-weight: 800; box-shadow: 0 15px 30px rgba(240,93,78,.23); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { color: white; background: #dc493d; box-shadow: 0 18px 34px rgba(240,93,78,.3); transform: translateY(-2px); outline: none; }
.button.secondary { color: var(--forest); background: white; border-color: white; box-shadow: none; }

.capabilities { background: linear-gradient(90deg, #eef2ff 0%, #faf5ff 100%); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.service-card { position: relative; min-height: 420px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(16,36,28,.05); transition: transform .28s ease, box-shadow .28s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card-media { height: 215px; overflow: hidden; background: var(--paper-warm); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-media img { transform: scale(1.045); }
.service-card-body { padding: 28px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--ink-soft); }

.products { position: relative; overflow: hidden; background: linear-gradient(90deg, #bbf7d0 0%, #f0fdf4 100%); color: var(--ink); }
.products::before { display: none; }
.products .container { position: relative; }
.products .section-heading p { color: var(--ink-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.product-card { display: flex; min-height: 390px; flex-direction: column; overflow: hidden; background: white; border: 1px solid rgba(31,41,55,.08); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(15,23,42,.1); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-8px); }
.product-card-media { position: relative; height: 210px; overflow: hidden; background: white; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-icon { position: absolute; right: 18px; bottom: -22px; width: 50px !important; height: 50px !important; padding: 11px; object-fit: contain !important; background: var(--green-bright); border-radius: 15px; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.product-card-body { flex: 1; padding: 30px 26px 26px; }
.product-card h3 { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.22; }
.product-card p { margin: 0; color: var(--ink-soft); }
.card-link { display: inline-flex; margin-top: 20px; color: var(--green); font-weight: 800; }

.insights { background: #fef2f2; }
.insights .post-meta { display: none; }
.post-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.post-card { overflow: hidden; background: white; border: 1px solid rgba(240,93,78,.12); border-radius: var(--radius); box-shadow: 0 14px 35px rgba(72,35,27,.06); }
.post-card-cover { display: block; height: 220px; overflow: hidden; background: #f1e8e3; }
.post-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card-cover img { transform: scale(1.04); }
.post-card-body { padding: 26px; }
.post-meta { color: var(--coral); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { margin: 12px 0; font-size: 1.2rem; line-height: 1.35; }
.post-card p { margin: 0; color: var(--ink-soft); }
.empty-state { grid-column: 1 / -1; padding: 44px; text-align: center; color: var(--ink-soft); background: rgba(255,255,255,.72); border: 1px dashed var(--line); border-radius: var(--radius); }

.partners { background: white; }
.partner-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px clamp(28px,4vw,54px); }
.partner-logo { display: flex; width: auto; min-width: 96px; max-width: 244px; min-height: 72px; flex: 0 1 auto; align-items: center; justify-content: center; padding: 8px 12px; transition: transform .22s ease; }
.partner-logo:hover { transform: translateY(-4px); }
.partner-list img { display: block; width: auto; height: auto; max-width: clamp(140px,16vw,220px); max-height: 56px; object-fit: contain; }

.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 28px; }
.faq-item { border-bottom: 1px solid #d1d5db; }
.faq-item summary { position: relative; padding: 20px 36px 20px 0; color: var(--ink); font-size: 1.05rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 18px; right: 4px; content: "+"; color: #374151; font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: -4px 0 20px; color: var(--ink-soft); font-size: .92rem; }

.cta { position: relative; overflow: hidden; padding: 86px 0; color: white; background: var(--coral); }
.cta::after { position: absolute; top: -210px; right: -80px; width: 430px; height: 430px; content: ""; border: 60px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { max-width: 720px; margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(2rem,4vw,3.6rem); line-height: 1.05; }
.cta p { max-width: 680px; margin: 18px 0 0; color: rgba(255,255,255,.8); }

.site-footer { color: rgba(255,255,255,.72); background: #1f2937; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(150px,.75fr); align-items: start; gap: 70px; padding: 76px 0 54px; }
.site-footer h2, .site-footer h3 { margin: 0 0 16px; color: white; font-family: Georgia, "Noto Serif SC", serif; }
.footer-contact p { max-width: 470px; margin: 8px 0; }
.footer-contact a:hover { color: var(--green-bright); }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 5px 0; }
.footer-links a:hover { color: white; }
.footer-qr { width: 158px; margin-top: 28px; }
.footer-qr h3 { margin-bottom: 12px; font-size: 1rem; }
.footer-qr-image { width: 138px; padding: 7px; background: white; border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.footer-qr-image img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.footer-qr p { max-width: 158px; margin: 10px 0 0; color: rgba(255,255,255,.62); font-size: .8rem; line-height: 1.45; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a:hover { color: white; }

.page-hero { position: relative; overflow: hidden; padding: 175px 0 105px; color: white; background: linear-gradient(135deg,#111827,#1f2937); }
.page-hero::before { position: absolute; inset: 0; content: ""; background: linear-gradient(120deg, rgba(17,24,39,.94), rgba(31,41,55,.72)); }
.page-hero-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .23; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(2.7rem,6vw,5.2rem); line-height: 1.02; letter-spacing: -.045em; }
.breadcrumb { margin-bottom: 16px; color: var(--green-bright); font-size: .84rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-hero { padding: 104px 0 24px; background: #183d33; }
.post-hero::before { display: none; }
.post-header-inner { position: relative; z-index: 2; width: min(calc(100% - 40px), 900px); margin-inline: auto; }
.post-hero h1 { max-width: 920px; font-size: clamp(1.85rem,3.4vw,3.15rem); line-height: 1.1; letter-spacing: -.03em; }
.post-hero .breadcrumb { margin-bottom: 8px; font-size: .75rem; }
.content-wrap { width: min(calc(100% - 40px), 900px); margin-inline: auto; padding: 80px 0 110px; }
.post-content { padding-top: 52px; }
.prose { color: #293a34; font-size: 1.05rem; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-family: Georgia, "Noto Serif SC", serif; line-height: 1.25; }
.prose h2 { margin: 2.2em 0 .8em; font-size: 2rem; }
.prose h3 { margin: 1.8em 0 .7em; font-size: 1.5rem; }
.prose img { height: auto; margin: 2rem auto; border-radius: var(--radius-sm); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2rem 0; padding: 18px 24px; background: var(--paper-warm); border-left: 4px solid var(--green); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.archive-layout { padding: 168px 0 110px; }
.archive-header { margin-bottom: 40px; }
.archive-header h1 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(2.5rem,5vw,4.5rem); }
.archive-header p { color: var(--ink-soft); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 50px; }
.pagination a, .pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 8px 14px; background: white; border: 1px solid var(--line); border-radius: 12px; font-weight: 750; }
.pagination a:hover { color: white; background: var(--green); }
.taxonomy-list { display: flex; flex-wrap: wrap; gap: 14px; }
.taxonomy-list a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 17px; background: white; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
.taxonomy-list a:hover { color: white; background: var(--green); }
.product-detail-lead { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; margin-bottom: 60px; }
.product-detail-lead img { border-radius: var(--radius); box-shadow: var(--shadow); }
.not-found { display: grid; min-height: 70vh; place-items: center; padding: 80px 20px; text-align: center; }
.not-found img { max-height: 300px; margin: 0 auto 30px; }
.not-found h1 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(3rem,8vw,6rem); }

@keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 980px) {
  .site-nav-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .nav-actions > .language-switch, .nav-actions > .account-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-panel { position: fixed; inset: 88px 0 0; display: none; padding: 24px 20px 50px; overflow: auto; color: white; background: rgba(31,41,55,.985); }
  .mobile-panel.is-open { display: block; }
  .mobile-panel .nav-list { display: block; }
  .mobile-panel .nav-link, .mobile-panel .nav-trigger { width: 100%; justify-content: space-between; padding: 16px 5px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mobile-panel .nav-dropdown { position: static; width: 100%; max-width: none; min-width: 0; margin: 6px 0 14px; visibility: visible; opacity: 1; transform: none; display: none; }
  .mobile-panel .has-dropdown.is-open .nav-dropdown { display: block; }
  .mobile-panel .language-switch { margin-top: 26px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero-description { margin-inline: auto; }
  .hero-visual img { max-height: 320px; }
  .card-grid, .product-grid, .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .faq-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-nav-inner { width: min(calc(100% - 28px), var(--container)); }
  .brand img { max-width: 142px; }
  .brand-name { font-size: 1rem; }
  .hero-slide { padding: 54px 0 112px; }
  .hero h1, .hero h2 { font-size: clamp(2.5rem,13vw,4rem); }
  .hero-controls { right: 50%; transform: translateX(50%); }
  .hero-visual { display: none; }
  .card-grid, .product-grid, .post-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .section { padding: 72px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .product-detail-lead { grid-template-columns: 1fr; gap: 30px; }
  .post-hero { padding: 94px 0 22px; }
  .post-hero h1 { font-size: clamp(1.7rem,9vw,2.45rem); }
  .post-content { padding-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
