:root{
  --bg:#0b1220;
  --card:#101a2e;
  --text:#e8eefc;
  --muted:#b7c3e3;
  --line:rgba(255,255,255,.12);
  --brand:#6aa6ff;
  --brand2:#7ff0d4;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html{
  margin:0;
  padding:0;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  margin:0;
  padding:0;
  min-width:320px;
  overflow-x:hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC","Microsoft YaHei";
  background: radial-gradient(1000px 500px at 10% 0%, rgba(106,166,255,.25), transparent 60%),
              radial-gradient(900px 450px at 90% 10%, rgba(127,240,212,.18), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height:1.6;
  -webkit-tap-highlight-color:transparent;
}

a{color:inherit;text-decoration:none}
.container{width:92%;max-width:1120px;margin:0 auto}
img{max-width:100%;height:auto;vertical-align:middle}
a,button,input,textarea,select{font:inherit;min-width:0}
p,li,h1,h2,h3,small,.badge,.pill{overflow-wrap:anywhere;word-break:break-word}
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 16px;border:1px solid var(--line);
  border-radius:14px;background:rgba(255,255,255,.06);
  box-shadow: none; transition:.2s; cursor:pointer;
  line-height:1.35;text-align:center;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.22)}
.btn.primary{
  background: linear-gradient(90deg, rgba(106,166,255,.95), rgba(127,240,212,.9));
  color:#081022;border:none;
}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border-radius:999px;
  border:1px solid var(--line); background:rgba(255,255,255,.06);
  color:var(--muted); font-size:13px;
}

header{
  position:-webkit-sticky;position:sticky;top:0;z-index:50;
  background: rgba(11,18,32,.88);
  border-bottom:1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
  header{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(11,18,32,.55);
  }
}
.nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;
  padding:14px 0;
  position:relative;
}
.nav > *,
.nav-menu > *{
  min-width:0;
}
.brand{
  display:flex;align-items:center;gap:10px;font-weight:700;
}
.brand img{width:44px;height:44px}
.nav-menu{
  display:flex;align-items:center;gap:16px;margin-left:auto;
}
.nav-toggle{
  display:none;
  width:42px;height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  color:var(--text);
  padding:10px;
  margin-left:auto;
  cursor:pointer;
}
.nav-toggle .bar{
  display:block;
  width:100%;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle .bar + .bar{margin-top:6px}
.nav.menu-open .nav-toggle .bar:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav.menu-open .nav-toggle .bar:nth-child(2){opacity:0}
.nav.menu-open .nav-toggle .bar:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.navlinks{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.navlinks a{
  padding:10px 10px;
  border-radius:10px;
  color:var(--muted);
  white-space:nowrap;
}
.navlinks a.active,.navlinks a:hover{color:var(--text);background:rgba(255,255,255,.06)}
.nav-cta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.nav-cta .btn{white-space:nowrap}
.lang-switcher{
  display:flex;align-items:center;gap:6px;
  padding:4px;border:1px solid var(--line);border-radius:999px;
  background:rgba(255,255,255,.05);
}
.lang-btn{
  min-width:42px;padding:8px 10px;border:none;border-radius:999px;
  background:transparent;color:var(--muted);cursor:pointer;
}
.lang-btn.is-active{
  background:linear-gradient(90deg, rgba(106,166,255,.95), rgba(127,240,212,.9));
  color:#081022;
}

.hero{
  padding:54px 0 26px;
}
.hero-actions,
.hero-badges,
.hero-card-head,
.section-actions,
.callout-row,
.lead-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
}
.hero-actions,
.section-actions,
.lead-toolbar{gap:12px}
.hero-badges,
.hero-card-head{gap:10px}
.hero-badges{margin-top:12px}
.section-actions{margin-top:12px}
.lead-toolbar{margin-bottom:12px}
.hero-card-head,
.callout-row{
  justify-content:space-between;
  gap:16px;
}
.panel-stack{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-grid{
  display:flex;flex-wrap:wrap;gap:26px;align-items:stretch;
  display:grid;grid-template-columns: 1.1fr .9fr;
}
.hero-grid > *{flex:1 1 320px;min-width:0}
.hero h1{font-size:44px;line-height:1.15;margin:14px 0 10px}
.hero p{color:var(--muted);font-size:16px;margin:0 0 18px}
.hero-app-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:14px;
}
.hero-app-grid .btn{
  flex:0 1 auto;
}
.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-carousel{
  position:relative;
  height:240px;
  overflow:hidden;
  background:#0c162b;
  border-bottom:1px solid var(--line);
}
.hero-carousel-slides{position:relative;height:100%}
.hero-slide{
  position:absolute;inset:0;
  background:#0c162b center/cover no-repeat;
  opacity:0;
  transform:scale(1.04);
  transition:opacity .45s ease, transform 3s ease;
}
.hero-slide.is-active{opacity:1;transform:scale(1)}
.hero-slide-label{
  position:absolute;left:14px;top:14px;z-index:2;
  padding:6px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(8,16,32,.45);
  color:#dce8ff;font-size:12px;
  max-width:calc(100% - 28px);
  line-height:1.35;
}
.hero-carousel-btn{
  position:absolute;top:50%;z-index:2;
  transform:translateY(-50%);
  width:34px;height:34px;border-radius:999px;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(8,16,32,.45);color:#e8eefc;
  font-size:18px;line-height:1;cursor:pointer;
}
.hero-carousel-btn.prev{left:10px}
.hero-carousel-btn.next{right:10px}
.hero-carousel-dots{
  position:absolute;left:50%;bottom:12px;z-index:2;
  transform:translateX(-50%);
  display:flex;gap:8px;
}
.hero-carousel-dots .hero-dot{
  width:8px;height:8px;border-radius:999px;
  border:1px solid rgba(255,255,255,.34);
  background:rgba(255,255,255,.26);
  padding:0;cursor:pointer;
}
.hero-carousel-dots .hero-dot.is-active{
  background:linear-gradient(90deg, rgba(106,166,255,.95), rgba(127,240,212,.9));
  border-color:transparent;
}
.hero-carousel.single-slide .hero-carousel-btn,
.hero-carousel.single-slide .hero-carousel-dots{
  display:none;
}
.hero-card .inner{padding:16px}
.kpis{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;
  display:grid;grid-template-columns:repeat(3,1fr);
}
.kpis > *{flex:1 1 180px;min-width:0}
.kpi{
  padding:12px;border-radius:14px;border:1px solid var(--line);
  background:rgba(255,255,255,.04)
}
.kpi b{display:block;font-size:18px}
.kpi span{color:var(--muted);font-size:12px}

.section{padding:34px 0;scroll-margin-top:90px}
.section h2{margin:0 0 10px;font-size:26px}
.section .sub{color:var(--muted);margin:0 0 18px}

.grid3{
  display:flex;flex-wrap:wrap;gap:16px;
  display:grid;grid-template-columns:repeat(3,1fr);
}
.grid3 > *{flex:1 1 280px;min-width:0}
.download-grid{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:6px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.download-grid > *{flex:1 1 260px;min-width:0}
.download-grid .btn,
.button-stack .btn{
  width:100%;
  justify-content:center;
}
.download-cards{
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.button-stack{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.page-intro-title{
  margin:0;
  font-size:38px;
  line-height:1.2;
}
.download-note{
  margin:6px 0 0;
  color:var(--muted);
}
.version-log{
  margin:6px 0 0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(5,10,18,.55);
  color:var(--muted);
  line-height:1.8;
  white-space:pre-wrap;
}
.card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  box-shadow: none;
  overflow:hidden;
}
.card .thumb{height:160px;background:#0c162b center/cover no-repeat}
.card .pad{padding:16px}
.card h3{margin:0 0 6px;font-size:18px}
.card ul{margin:10px 0 0 18px;color:var(--muted)}
#iot-devices .card ul{
  margin:10px 0 0;
  padding-left:0;
  list-style-position:inside;
}
#iot-devices .weather-feature{
  display:flex;
  flex-wrap:wrap;
  display:grid;
  grid-template-columns:minmax(280px, .95fr) minmax(0, 1.05fr);
  grid-column:span 2;
  align-items:stretch;
}
#iot-devices .weather-feature > *{flex:1 1 280px;min-width:0}
#iot-devices .weather-feature .thumb{
  height:100%;
  min-height:240px;
}
#iot-devices .weather-feature .pad{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.card .meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.pill{
  font-size:12px;color:var(--muted);
  border:1px solid var(--line);background:rgba(255,255,255,.04);
  padding:6px 10px;border-radius:999px;
}
.split{
  display:flex;flex-wrap:wrap;gap:16px;
  display:grid;grid-template-columns:1fr 1fr;
}
.split > *{flex:1 1 320px;min-width:0}
.note{
  border:1px dashed rgba(255,255,255,.25);
  background:rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;color:var(--muted)
}

.case{
  display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;
  display:grid;grid-template-columns: .9fr 1.1fr;
}
.case > *{flex:1 1 320px;min-width:0}
.case .thumb{
  min-height:240px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background:#0c162b center/cover no-repeat
}
.case .pad{border:1px solid var(--line);border-radius: var(--radius);background:rgba(255,255,255,.04);padding:16px}
.case h3{margin:0 0 8px}
.case .tags{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}
.case .tags span{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.03)}

.form{
  border:1px solid var(--line);border-radius: var(--radius);
  background:rgba(255,255,255,.04);padding:16px
}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.field label{font-size:13px;color:var(--muted)}
.field input,.field textarea, .field select{
  width:100%;
  font-size:16px;
  padding:12px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(5,10,18,.55); color:var(--text);
  outline:none;
}
.field textarea{min-height:120px;resize:vertical}
pre{max-width:100%;overflow:auto}

.product-media{
  margin:14px 0;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}
.product-media img{
  width:100%;
  height:300px;
  object-fit:cover;
  display:block;
  background:#0c162b;
}
.product-media p{
  margin:0;
  padding:8px 12px;
  color:var(--muted);
  font-size:13px;
  border-top:1px solid var(--line);
}
.honor-media-full img{
  height:260px;
  object-fit:contain;
  padding:8px;
  background:#0c162b;
}
.media-grid{
  display:flex;
  flex-wrap:wrap;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.media-grid > *{flex:1 1 280px;min-width:0}
.fert-layout{
  display:flex;
  flex-direction:column;
  display:grid;
  gap:12px;
  margin-top:14px;
}
#fertigation .fert-row{
  display:flex;
  flex-wrap:wrap;
  display:grid;
  grid-template-columns:minmax(210px,250px) minmax(0,1fr);
  gap:16px;
  align-items:stretch;
}
#fertigation .fert-row > *{flex:1 1 280px;min-width:0}
#fertigation .fert-row .machine-card{
  height:100%;
  display:flex;
  flex-direction:column;
}
#fertigation .fert-row .machine-card img{
  flex:1 1 auto;
  min-height:220px;
  padding:8px;
  object-fit:contain;
}
#fertigation .fert-row .machine-card figcaption{
  text-align:left;
}
#fertigation .fert-row .fert-detail{
  height:100%;
}
#fertigation .fert-detail h3{
  margin:0 0 6px;
  font-size:17px;
}
#fertigation .fert-detail ul{
  margin:8px 0 0 18px;
}
.media-card{
  margin:0;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
}
.media-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  background:#0c162b;
}
.media-card figcaption{
  padding:8px 10px;
  color:var(--muted);
  font-size:13px;
  border-top:1px solid var(--line);
}
.zoomable-image{
  cursor:zoom-in;
}
.zoomable-image:focus-visible{
  outline:2px solid var(--brand2);
  outline-offset:2px;
}
.image-lightbox{
  position:fixed;
  inset:0;
  z-index:1200;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(3,8,16,.92);
}
.image-lightbox.is-open{
  display:flex;
}
.image-lightbox img{
  width:auto;
  height:auto;
  max-width:96vw;
  max-width:min(96vw, 1600px);
  max-height:92vh;
  object-fit:contain;
  border-radius:12px;
  background:#0a1324;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}
.image-lightbox-close{
  position:absolute;
  top:16px;
  right:16px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.35);
  background:rgba(10,20,38,.75);
  color:#eef4ff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
.image-lightbox-close:hover{
  background:rgba(20,34,58,.88);
}
body.lightbox-open{
  overflow:hidden;
}
.machine-card img{
  object-fit:contain;
  padding:10px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
}
.machine-card figcaption{
  text-align:center;
}

.spec-table-wrap{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:auto;
  background:rgba(255,255,255,.03);
}
.spec-table{
  width:100%;
  border-collapse:collapse;
  min-width:860px;
}
.spec-table th,.spec-table td{
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
  font-size:13px;
}
.spec-table th{
  color:var(--text);
  background:rgba(255,255,255,.06);
  position:-webkit-sticky;
  position:sticky;
  top:0;
}
.spec-table td{color:var(--muted)}
.spec-table tbody tr:last-child td{border-bottom:none}

.footer{
  padding:26px 0 40px;color:var(--muted);
  border-top:1px solid var(--line); margin-top:30px;
}
.footer .row{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
small{color:var(--muted)}

@supports not (gap: 1rem){
  .brand > * + *{margin-left:10px}
  .lang-switcher > * + *{margin-left:6px}
  .navlinks,
  .nav-cta,
  .hero-app-grid,
  .hero-actions,
  .hero-badges,
  .hero-card-head,
  .section-actions,
  .callout-row,
  .lead-toolbar,
  .card .meta,
  .case .tags,
  .footer .row,
  .download-grid{
    margin-right:-10px;
    margin-bottom:-10px;
  }
  .navlinks > *,
  .nav-cta > *,
  .hero-app-grid > *,
  .hero-actions > *,
  .hero-badges > *,
  .hero-card-head > *,
  .section-actions > *,
  .callout-row > *,
  .lead-toolbar > *,
  .card .meta > *,
  .case .tags > *,
  .footer .row > *,
  .download-grid > *{
    margin:0 10px 10px 0;
  }
  .panel-stack > * + *,
  .button-stack > * + *{
    margin-top:12px;
  }
}

@media (max-width: 900px){
  .container{width:94%}
  .nav{padding:10px 0}
  .nav-toggle{display:inline-block}
  .nav-menu{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:14px;
    background:rgba(11,18,32,.96);
    box-shadow:var(--shadow);
  }
  .nav.menu-open .nav-menu{display:flex}
  .navlinks,
  .lang-switcher,
  .nav-cta{
    width:100%;
  }
  .navlinks,
  .nav-cta{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }
  .lang-switcher{justify-content:center}
  .lang-btn{flex:1 1 0}
  .navlinks a,
  .nav-cta .btn{
    width:100%;
    white-space:normal;
  }
  .hero{padding:34px 0 18px}
  .hero-grid{grid-template-columns:1fr;gap:18px}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .case{grid-template-columns:1fr}
  .section{padding:26px 0}
  .hero h1{font-size:34px !important}
  .section h2{font-size:24px}
  .hero-carousel{height:210px}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .case .thumb{min-height:210px}
  .product-media img{height:220px}
  .media-card img{height:220px}
  .media-grid{grid-template-columns:1fr}
  .image-lightbox{padding:14px}
  .image-lightbox-close{top:10px;right:10px}
  #fertigation .fert-row{grid-template-columns:1fr}
  #fertigation .fert-row .machine-card img{min-height:180px}
  #iot-devices .weather-feature{
    grid-template-columns:1fr;
    grid-column:span 1;
  }
  #iot-devices .weather-feature .thumb{min-height:200px}
  .spec-table{min-width:700px}
}

@media (max-width: 680px){
  .hero h1{font-size:30px !important}
  .hero p{font-size:15px}
  .section h2{font-size:22px}
  .hero-carousel{height:190px}
  .hero-slide-label{font-size:11px}
  .kpi b{font-size:16px}
  .case .thumb{min-height:180px}
  .product-media img{height:200px}
  .honor-media-full img{height:190px}
  .media-card img{height:200px}
  .btn{padding:11px 14px}
  .section .btn{width:100%;justify-content:center}
  .hero-actions,
  .hero-badges,
  .hero-card-head,
  .section-actions,
  .callout-row,
  .lead-toolbar{gap:10px}
  .hero-actions .btn,
  .hero-badges .btn,
  .section-actions .btn,
  .callout-row .btn,
  .lead-toolbar .btn{width:100%;justify-content:center}
  .download-grid,
  .download-cards{grid-template-columns:1fr}
  .hero-app-grid{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px !important;
  }
  .hero-app-grid .btn{
    width:100%;
    justify-content:center;
  }
}

@media (max-width: 480px){
  .container{width:96%}
  .hero{padding-top:28px}
  .hero h1{font-size:27px !important}
  .kpis{grid-template-columns:1fr}
  .card .pad,.note,.form,.case .pad{padding:14px}
  .hero-card .inner{padding:14px}
  .hero-carousel-btn{width:30px;height:30px}
  .spec-table{min-width:620px}
  .honor-media-full img{height:170px}
}
