/* ============================================================
   XiaoOu Box — Smart Planter Global Site
   Theme: sky blue (#0EA5E9) · deep navy (#0B2440)
   ============================================================ */

:root {
  --brand: #0EA5E9;
  --brand-deep: #0284C7;
  --brand-dark: #075985;
  --brand-light: #E0F2FE;
  --brand-tint: #F0F9FF;
  --ink: #0B2440;
  --muted: #64748B;
  --green: #22C55E;
  --amber: #F59E0B;
  --pink: #F472B6;
  --radius: 20px;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-sm: 0 4px 14px rgba(14, 165, 233, .10);
  --shadow-md: 0 16px 40px rgba(11, 36, 64, .12);
  --shadow-lg: 0 30px 70px rgba(11, 36, 64, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
.container { width: min(1200px, 92%); margin: 0 auto; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h2 em, .hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 10%, #38BDF8 55%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.22,1,.36,1) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.dot--green { background: var(--green); }
.dot--amber { background: var(--amber); }

/* ==================== TOP BAR ==================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: var(--ink); color: rgba(255,255,255,.85);
  font-size: .78rem; height: 36px; display: flex; align-items: center;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; }
.topbar__right { display: flex; gap: 24px; }
.topbar a:hover { color: #7DD3FC; }

/* ==================== NAV ==================== */
.nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: top .3s ease, padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  /* the topbar is always visible — dock the nav right under it, not at top:0 */
  top: 36px;
  padding: 10px 0;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(11, 36, 64, .06), var(--shadow-sm);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo { width: 40px; height: 40px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.nav__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links > a { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; }
.nav__links > a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width .25s ease;
}
.nav__links > a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  padding: 10px 22px; border-radius: 999px; color: #fff !important;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  box-shadow: 0 8px 20px rgba(14, 165, 233, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14, 165, 233, .45); }
.nav__burger { display: none; background: none; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 28px rgba(14, 165, 233, .38);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(14, 165, 233, .48); }
.btn--ghost {
  color: var(--ink); background: rgba(255, 255, 255, .75);
  border: 1.5px solid rgba(11, 36, 64, .12);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--brand); color: var(--brand-deep); }
.btn--block { width: 100%; justify-content: center; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: 210px 0 130px;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 45%, #D9F2E3 130%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob--1 { width: 480px; height: 480px; background: #7DD3FC; top: -140px; right: -80px; animation: drift 14s ease-in-out infinite; }
.blob--2 { width: 380px; height: 380px; background: #86EFAC; bottom: -120px; left: -100px; animation: drift 18s ease-in-out infinite reverse; }
.blob--3 { width: 300px; height: 300px; background: #FBCFE8; top: 38%; left: 42%; opacity: .3; animation: drift 20s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.08); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14,165,233,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14,165,233,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600; color: var(--brand-dark);
  background: rgba(255,255,255,.75); border: 1px solid rgba(14,165,233,.3);
  padding: 8px 18px; border-radius: 999px; backdrop-filter: blur(6px);
  margin-bottom: 26px;
}
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; margin-bottom: 22px; }
.hero__sub { font-size: 1.12rem; color: #33506E; max-width: 520px; margin-bottom: 34px; }
.hero__sub strong { color: var(--brand-deep); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__meta { display: flex; gap: 40px; flex-wrap: wrap; }
.hero__meta div { font-size: .9rem; color: var(--muted); }
.hero__meta strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); display: inline-block; margin-right: 4px; }
.hero__meta span { display: block; }

.hero__visual { position: relative; }
.hero__photo {
  width: 100%; max-width: 470px; margin: 0 auto; display: block;
  aspect-ratio: 47 / 44; object-fit: cover;
  border-radius: 28px; box-shadow: 0 30px 40px rgba(11,36,64,.15);
}

.chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; color: var(--ink);
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(14,165,233,.22); border-radius: 14px;
  padding: 10px 16px; box-shadow: var(--shadow-md);
}
.chip--1 { top: 12%; left: -4%; }
.chip--2 { top: 46%; right: -6%; }
.chip--3 { bottom: 6%; left: 4%; }
.float { animation: float 5s ease-in-out infinite; }
.float--slow { animation-duration: 7s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; display: block; }

/* ==================== MARQUEE ==================== */
.marquee { background: var(--ink); padding: 18px 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 42px; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #fff; white-space: nowrap; }
.marquee__track i { color: var(--brand); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==================== STATS ==================== */
.stats { padding: 90px 0 70px; }
.stats__title { text-align: center; margin-bottom: 54px; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 34px 10px; border-radius: var(--radius); background: var(--brand-tint); border: 1px solid #E3F3FD; transition: transform .3s ease, box-shadow .3s ease; }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--brand-deep); }
.stat span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--brand); }
.stat p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

/* ==================== SECTIONS ==================== */
.section { padding: 110px 0; }
.section--tint { background: var(--brand-tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-light);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--light { color: #7DD3FC; background: rgba(56, 189, 248, .12); }

/* ==================== PRODUCT TABS ==================== */
.tabs { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; }
.tabs__btn {
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  padding: 11px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid #D6EBF8; background: #fff; color: var(--muted);
  transition: all .25s ease;
}
.tabs__btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.tabs__btn.active {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(14, 165, 233, .3);
}
/* 分类树：子分类行紧跟在主标签下面，点父分类时才出现 */
.tabs--sub { margin-top: -30px; margin-bottom: 40px; }
.tabs__btn--sub { padding: 7px 18px; font-size: .84rem; }
/* [hidden] 必须显式压掉：.tabs 是 display:flex，类选择器比属性选择器优先级高，
   光靠浏览器的 [hidden]{display:none} 藏不住 */
.tabs[hidden], .tabs__btn[hidden] { display: none; }
.product.hidden { display: none; }
.products { animation: fadein .4s ease; }
@keyframes fadein { from { opacity: .4; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ==================== PRODUCTS ==================== */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.product {
  background: #fff; border: 1px solid #E8F3FB; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.product:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product--featured { border: 2px solid var(--brand); position: relative; }
.product__media { position: relative; height: 210px; overflow: hidden; }

/* real photos inside media containers */
.product__media img, .caserow__media img, .newscard__media img,
.solrow__media img, .relprod__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.product__media img { transition: transform .5s ease; }
.product:hover .product__media img { transform: scale(1.05); }
/* dot pattern overlays only apply to gradient placeholders, not photos */
.caserow__media:has(img)::after, .newscard__media:has(img)::after, .solrow__media:has(img)::after { content: none; }
.product__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  background: rgba(255,255,255,.85); color: var(--brand-dark);
  padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.product--featured .product__tag { background: var(--brand); color: #fff; }
.product__body { padding: 28px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.product__desc { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.product__specs { list-style: none; margin-bottom: 24px; flex: 1; }
.product__specs li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed #E2EEF7; font-size: .9rem;
}
.product__specs li:last-child { border-bottom: 0; }
.product__specs span { color: var(--muted); }
.product__specs strong { font-weight: 600; }
.product__link { font-family: var(--font-display); font-weight: 700; color: var(--brand-deep); font-size: .95rem; transition: gap .2s; }
.product__link:hover { color: var(--brand); }

/* ==================== TECHNOLOGY (dark) ==================== */
.section--dark {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(14,165,233,.22), transparent 60%),
    radial-gradient(600px 400px at 5% 100%, rgba(34,197,94,.14), transparent 60%),
    var(--ink);
  color: #fff;
}
.section--dark .section__head p { color: #9FB6CC; }
.techgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 70px; }
.techcard {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 22px; padding: 30px 24px;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.techcard:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: rgba(56,189,248,.5); }
.techcard__icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(56,189,248,.25), rgba(14,165,233,.1));
  color: #38BDF8;
}
.techcard__icon svg { width: 28px; height: 28px; }
.techcard h3 { font-size: 1.12rem; margin-bottom: 10px; }
.techcard p { font-size: .88rem; color: #9FB6CC; }

.techflow {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 34px 28px;
}
.techflow__step { text-align: center; min-width: 140px; }
.techflow__step i {
  display: inline-block; font-style: normal; font-family: var(--font-display);
  font-weight: 800; font-size: .78rem; color: var(--ink);
  background: #38BDF8; border-radius: 8px; padding: 4px 10px; margin-bottom: 10px;
}
.techflow__step span { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.techflow__step p { font-size: .8rem; color: #9FB6CC; }
.techflow__arrow { color: #38BDF8; font-size: 1.4rem; }

/* ==================== APP ==================== */
.section--app { background: linear-gradient(180deg, #fff, var(--brand-tint)); }
.app__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.app__copy p { color: var(--muted); margin: 18px 0 26px; font-size: 1.05rem; }
.checklist { list-style: none; margin-bottom: 34px; }
.checklist li { position: relative; padding: 9px 0 9px 36px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand-deep);
  font-size: .8rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.phone {
  width: 300px; margin: 0 auto; border-radius: 44px; padding: 12px;
  background: var(--ink); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
  position: relative; transform: rotate(-3deg);
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.phone:hover { transform: rotate(0deg); }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 2; }
.phone__screen { background: linear-gradient(170deg, #F0F9FF, #fff); border-radius: 34px; padding: 46px 18px 22px; min-height: 540px; }
.ui { margin-bottom: 14px; }
.ui--head { display: flex; justify-content: space-between; align-items: center; }
.ui--head small { color: var(--muted); font-size: .72rem; }
.ui--head strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.ui--head img { width: 34px; height: 34px; border-radius: 9px; }
.ui--chart { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); }
.ui--chart small { color: var(--muted); font-size: .72rem; }
.ui--chart svg { width: 100%; height: 64px; margin-top: 8px; }
.chartline { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s ease forwards .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ui--chartmeta { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.ui--chartmeta strong { font-family: var(--font-display); color: var(--brand-deep); font-size: 1.1rem; }
.ui--chartmeta span { color: var(--muted); font-size: .72rem; }
.ui--row { display: flex; gap: 10px; }
.ui__pill { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: .74rem; font-weight: 600; background: #F0FDF4; color: #15803D; border-radius: 12px; padding: 10px 6px; }
.ui__pill--warn { background: #FFFBEB; color: #B45309; }
.ui--list { background: #fff; border-radius: 18px; padding: 8px 14px; box-shadow: var(--shadow-sm); }
.ui__item { display: flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; padding: 11px 0; border-bottom: 1px solid #F1F7FC; }
.ui__item:last-child { border: 0; }
.ui__item em { margin-left: auto; font-style: normal; color: var(--muted); font-weight: 500; font-size: .72rem; }
.ui__leaf { width: 12px; height: 12px; border-radius: 4px 10px 4px 10px; background: var(--green); }
.ui__leaf--b { background: var(--brand); }
.ui__leaf--c { background: var(--amber); }

/* ==================== SOLUTIONS ==================== */
.solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.solution {
  position: relative; border-radius: 26px; overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; color: #fff;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
}
.solution:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.solution::before { content: ""; position: absolute; inset: 0; transition: transform .6s ease; }
.solution:hover::before { transform: scale(1.06); }
.solution--city::before { background: linear-gradient(200deg, rgba(14,165,233,.25), rgba(11,36,64,.85)), linear-gradient(120deg, #38BDF8, #0369A1); }
.solution--mall::before { background: linear-gradient(200deg, rgba(244,114,182,.18), rgba(11,36,64,.85)), linear-gradient(120deg, #7DD3FC, #0EA5E9); }
.solution--campus::before { background: linear-gradient(200deg, rgba(34,197,94,.2), rgba(11,36,64,.85)), linear-gradient(120deg, #4ADE80, #0369A1); }
.solution--home::before { background: linear-gradient(200deg, rgba(251,191,36,.16), rgba(11,36,64,.85)), linear-gradient(120deg, #93C5FD, #0284C7); }
.solution__body { position: relative; padding: 34px; }
.solution__body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.solution__body p { color: rgba(255,255,255,.82); font-size: .95rem; max-width: 400px; margin-bottom: 14px; }
.solution__body span { font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: #7DD3FC; }

/* ==================== CASES ==================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case {
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid #E8F3FB;
  transition: transform .35s ease, box-shadow .35s ease;
}
.case:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.case__media { height: 190px; position: relative; display: flex; align-items: flex-end; padding: 16px; }
.case__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
  background-size: 22px 22px; opacity: .35;
}
.case__loc {
  position: relative; z-index: 1;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
}
.case__body { padding: 24px; }
.case__body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.case__body > p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.case__stats { display: flex; gap: 14px; }
.case__stats div { flex: 1; background: var(--brand-tint); border-radius: 14px; padding: 12px; text-align: center; }
.case__stats strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--brand-deep); }
.case__stats span { font-size: .72rem; color: var(--muted); }

/* ==================== SERVICE ==================== */
.service__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.service__copy p { color: var(--muted); margin: 18px 0 30px; font-size: 1.05rem; }
.service__list { display: flex; gap: 18px; flex-wrap: wrap; }
.service__list div {
  flex: 1; min-width: 140px; background: var(--brand-tint);
  border: 1px solid #E3F3FD; border-radius: 18px; padding: 20px;
  transition: transform .3s ease;
}
.service__list div:hover { transform: translateY(-5px); }
.service__list strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--brand-deep); }
.service__list span { font-size: .82rem; color: var(--muted); }
.service__map { display: flex; justify-content: center; }
.map { width: 100%; max-width: 520px; }
.map ellipse { transform-origin: center; }
.pulse { fill: none; stroke: var(--brand); stroke-width: 2; animation: mappulse 2.6s ease-out infinite; }
@keyframes mappulse { 0% { r: 6; opacity: .9; } 100% { r: 22; opacity: 0; } }

/* ==================== QUOTE ==================== */
.section--quote {
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(56,189,248,.25), transparent 60%),
    linear-gradient(160deg, var(--ink), #123A5E);
  color: #fff;
}
.quote__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.quote__copy h2 { margin-bottom: 18px; }
.quote__copy p { color: #B8CFE2; margin-bottom: 26px; font-size: 1.05rem; }
.quote__copy ul { list-style: none; }
.quote__copy li { padding: 8px 0; color: #D6E8F5; font-weight: 500; }
.quote__form {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border-radius: 26px; padding: 34px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: #9FC6E4; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .92rem; color: #fff;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px; padding: 13px 15px; outline: none; resize: vertical;
  transition: border-color .2s, background .2s;
}
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #38BDF8; background: rgba(255,255,255,.12); }
.quote__form .btn--block { grid-column: 1 / -1; margin-top: 6px; }
.quote__note { grid-column: 1 / -1; text-align: center; font-size: .85rem; color: #7DD3FC; min-height: 1.2em; }

/* ==================== CASE RELATED PRODUCTS ==================== */
.case__related { margin-top: 20px; padding-top: 18px; border-top: 1px solid #EAF4FB; }
.case__related > h4 {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-deep);
  margin-bottom: 14px;
}
.relprod {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto;
  column-gap: 14px; align-items: center;
  padding: 10px; border-radius: 14px; margin-bottom: 10px;
  background: var(--brand-tint); border: 1px solid #E3F3FD;
  transition: transform .25s ease, box-shadow .25s ease;
}
.relprod:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.relprod:last-child { margin-bottom: 0; }
.relprod__img { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; }
.relprod h5 { font-family: var(--font-display); font-size: .92rem; }
.relprod ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.relprod li { font-size: .74rem; color: var(--muted); }
.relprod li strong { color: var(--ink); font-weight: 600; }

/* ==================== SERVICE CARDS ==================== */
.servicecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.servicecard {
  background: #fff; border-radius: 24px; overflow: hidden;
  border: 1px solid #E8F3FB; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.servicecard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.servicecard__media {
  height: 180px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.servicecard__media svg { width: 72px; height: 72px; position: relative; z-index: 1; transition: transform .4s ease; }
.servicecard:hover .servicecard__media svg { transform: scale(1.12) rotate(-4deg); }
.servicecard__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.3) 1.5px, transparent 1.5px);
  background-size: 24px 24px; opacity: .4;
}
.servicecard__media--1 { background: linear-gradient(150deg, #38BDF8, #075985); }
.servicecard__media--2 { background: linear-gradient(150deg, #0EA5E9, #0B2440); }
.servicecard__media--3 { background: linear-gradient(150deg, #4ADE80, #0369A1); }
.servicecard__body { padding: 26px; }
.servicecard__body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.servicecard__body p { color: var(--muted); font-size: .92rem; }

/* ==================== NEWS ==================== */
.newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.newscard {
  background: #fff; border-radius: 24px; overflow: hidden;
  border: 1px solid #E8F3FB; box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.newscard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.newscard__media { height: 170px; position: relative; display: flex; align-items: flex-end; padding: 16px; overflow: hidden; }
.newscard__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
  background-size: 22px 22px; opacity: .35;
}
.newscard__date {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  background: rgba(255,255,255,.92); color: var(--ink);
  padding: 6px 14px; border-radius: 999px;
}
.newscard__body { padding: 22px 24px 26px; }
.newscard__body h3 { font-size: 1.08rem; line-height: 1.35; margin-bottom: 10px; transition: color .2s; }
.newscard:hover .newscard__body h3 { color: var(--brand-deep); }
.newscard__body p { color: var(--muted); font-size: .88rem; }

/* ==================== SIDE CONTACT ==================== */
.sidecontact {
  position: fixed; right: 0; top: 50%; z-index: 90;
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 16px 0 0 16px;
  box-shadow: -8px 8px 30px rgba(11, 36, 64, .16);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .3s ease;
}
.sidecontact.folded { transform: translate(100%, -50%); opacity: 0; pointer-events: none; }
.sidecontact__item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: 86px; padding: 15px 6px 13px;
  font-size: .72rem; font-weight: 600; color: var(--ink);
  border: 0; background: none; cursor: pointer; font-family: var(--font-body);
  border-bottom: 1px solid #F0F6FB;
  transition: background .2s ease, color .2s ease;
}
.sidecontact__item:last-child { border-bottom: 0; }
.sidecontact__item svg { width: 22px; height: 22px; }
.sidecontact__item:hover { background: var(--brand-tint); color: var(--brand-deep); }
.sidecontact__item--primary {
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  color: #fff; padding: 22px 6px 19px; font-size: .78rem;
  animation: sidepulse 2.6s ease-in-out infinite;
}
.sidecontact__item--primary svg { width: 26px; height: 26px; }
.sidecontact__item--primary:hover { background: linear-gradient(150deg, #22B0EC, var(--brand-deep)); color: #fff; animation-play-state: paused; }
/* gentle breathing glow — a box-shadow ring would be clipped by .sidecontact's overflow:hidden */
@keyframes sidepulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}
.sidecontact__fold { color: var(--muted); }
.sidecontact__fab {
  position: fixed; right: 18px; bottom: 26px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  box-shadow: 0 12px 28px rgba(14, 165, 233, .45);
  transform: scale(0); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.sidecontact__fab svg { width: 26px; height: 26px; }
.sidecontact__fab.show { transform: scale(1); }
.sidecontact__fab:hover { transform: scale(1.08); }
@media (max-width: 720px) {
  .sidecontact__item { width: 68px; padding: 12px 4px 10px; font-size: .64rem; }
  .sidecontact__item svg { width: 19px; height: 19px; }
}

/* ==================== FOOTER ==================== */
.footer { background: #07182B; color: #9FB6CC; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { font-size: .9rem; margin: 18px 0 22px; max-width: 300px; }
.footer .nav__name { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.07); color: #7DD3FC; font-weight: 700;
  transition: background .25s, transform .25s;
}
.footer__social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer__col h4 { font-family: var(--font-display); color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer__col a, .footer__col span { display: block; font-size: .9rem; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: #7DD3FC; }
.footer__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .82rem;
}
.footer__bar span:last-child { color: #38BDF8; font-family: var(--font-display); font-weight: 600; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .chip--1 { left: 0; } .chip--2 { right: 0; }
  .techgrid { grid-template-columns: repeat(2, 1fr); }
  .products, .cases, .servicecards, .newsgrid { grid-template-columns: 1fr 1fr; }
  .app__inner, .service__inner, .quote__inner { grid-template-columns: 1fr; gap: 50px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
    transform: translateY(-100%); transition: transform .4s cubic-bezier(.22,1,.36,1);
  }
  .nav__links.open { transform: none; }
  .nav__links > a { font-size: 1.3rem; font-family: var(--font-display); }
  .nav__burger { display: flex; z-index: 110; position: relative; }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats__grid, .products, .cases, .solutions, .techgrid, .servicecards, .newsgrid { grid-template-columns: 1fr; }
  .topbar { display: none; }
  /* mobile hides the topbar, so the nav (scrolled or not) goes back to top:0 */
  .nav, .nav.scrolled { top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .quote__form { grid-template-columns: 1fr; padding: 26px; }
  .hero { padding-top: 130px; }
  .hero__meta { gap: 24px; }
  .techflow__arrow { transform: rotate(90deg); }
  .footer__grid { grid-template-columns: 1fr; }
}

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


/* ============================================================
   MULTI-PAGE + PERSONALITY UPGRADE (appended)
   - page heroes & breadcrumbs
   - sticker badges + spring motion
   - spec table, solution rows, case rows, timeline, map, FAQ
   ============================================================ */

/* ---------- spring-like motion ---------- */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }

.btn { transition: transform .28s var(--spring), box-shadow .28s ease; }
.btn:active { transform: scale(.95); }
.product { transition: transform .4s var(--spring), box-shadow .4s ease; }
.solution { transition: transform .4s var(--spring), box-shadow .4s ease; }
.case, .newscard, .servicecard {
  transition: transform .4s var(--spring), box-shadow .4s ease;
}
.stat { transition: transform .35s var(--spring), box-shadow .35s ease; }
.nav__cta { transition: transform .28s var(--spring), box-shadow .28s ease; }
.tabs__btn { transition: all .28s var(--spring); }

@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  30% { transform: rotate(-7deg) scale(1.06); }
  60% { transform: rotate(1deg) scale(1.03); }
}

/* ---------- nav active state ---------- */
.nav__links > a.active { color: var(--brand-deep); font-weight: 700; }
.nav__links > a.active::after { width: 100%; }
.nav__cta.active { box-shadow: 0 0 0 3px rgba(14,165,233,.35), 0 8px 20px rgba(14,165,233,.35); }

/* ---------- page hero (subpages) ---------- */
.pagehero {
  position: relative; overflow: hidden;
  padding: 180px 0 90px;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 50%, #D9F2E3 130%);
}
.pagehero .blob--1 { width: 380px; height: 380px; top: -160px; right: -60px; }
.pagehero .blob--2 { width: 300px; height: 300px; bottom: -140px; left: -60px; }
.pagehero__inner { position: relative; max-width: 760px; }
.pagehero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 14px 0 18px; }
.pagehero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand) 10%, #38BDF8 55%, var(--green) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pagehero__sub { color: #33506E; font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.breadcrumb a { color: var(--brand-deep); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb i { font-style: normal; color: #9FC6E4; }
.pagehero__wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.pagehero__wave svg { width: 100%; height: 70px; display: block; }

/* ---------- sticker badges ---------- */
.sticker {
  display: inline-block; white-space: nowrap;
  font-family: var(--font-display); font-size: .72rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink); background: #fff;
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 7px 14px; transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(11,36,64,.9);
  transition: transform .3s var(--spring);
}
.sticker:hover { animation: wiggle .7s ease-in-out; }
.sticker--green { background: #BBF7D0; }
.sticker--pink { background: #FBCFE8; }
.sticker--amber { background: #FDE68A; }
.product__media .sticker { position: absolute; top: 14px; right: 14px; z-index: 2; }

/* ---------- CTA banner ---------- */
.ctabanner {
  position: relative; overflow: hidden;
  padding: 90px 0;
  background:
    radial-gradient(500px 260px at 12% 0%, rgba(56,189,248,.3), transparent 60%),
    linear-gradient(140deg, var(--ink), #0E3A5C 70%, #075985);
  color: #fff;
}
.ctabanner__inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.ctabanner__copy { flex: 1; min-width: 280px; }
.ctabanner__copy h2 { margin-bottom: 12px; }
.ctabanner__copy p { color: #B8CFE2; font-size: 1.05rem; max-width: 460px; }

/* ---------- spec comparison table ---------- */
.tablewrap { overflow-x: auto; border-radius: 22px; border: 1px solid #E8F3FB; box-shadow: var(--shadow-sm); background: #fff; }
.spectable { width: 100%; min-width: 860px; border-collapse: collapse; font-size: .9rem; }
.spectable th, .spectable td { padding: 16px 18px; text-align: left; border-bottom: 1px solid #EAF4FB; }
.spectable thead th {
  font-family: var(--font-display); font-size: .95rem; color: #fff;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand-dark));
  white-space: nowrap;
}
.spectable thead th:first-child { border-radius: 0; background: var(--ink); }
.spectable tbody th { font-family: var(--font-display); font-weight: 700; color: var(--brand-dark); background: var(--brand-tint); white-space: nowrap; }
.spectable tbody tr:hover td { background: #F6FBFE; }
.spectable tbody tr:last-child th, .spectable tbody tr:last-child td { border-bottom: 0; }

/* ---------- solution detail rows ---------- */
.solrows { display: flex; flex-direction: column; gap: 90px; }
.solrow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.solrow--flip .solrow__media { order: 2; }
.solrow__media {
  position: relative; border-radius: 28px; min-height: 340px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--spring), box-shadow .4s ease;
}
.solrow__media:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.solrow__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
  background-size: 24px 24px; opacity: .35;
}
.solrow__body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.solrow__body > p { color: var(--muted); margin-bottom: 22px; font-size: 1.02rem; }
.solrow__body .btn { margin-top: 8px; }

/* ---------- case full-width rows ---------- */
.caserows { display: flex; flex-direction: column; gap: 40px; }
.caserow {
  display: grid; grid-template-columns: .9fr 1.6fr 1fr; gap: 0;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 26px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--spring), box-shadow .4s ease;
}
.caserow:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.caserow__media { position: relative; min-height: 260px; display: flex; align-items: flex-end; padding: 20px; }
.caserow__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.35) 1.5px, transparent 1.5px);
  background-size: 22px 22px; opacity: .35;
}
.caserow__body { padding: 32px 30px; }
.caserow__body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.caserow__body > p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.caserow .case__related { margin-top: 0; padding: 26px 24px; border-top: 0; border-left: 1px solid #EAF4FB; background: var(--brand-tint); }

/* ---------- results strip ---------- */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.results .stat { background: #fff; }

/* ---------- service timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; position: relative; }
.step { position: relative; background: #fff; border: 1px solid #E8F3FB; border-radius: 22px; padding: 30px 24px; box-shadow: var(--shadow-sm); transition: transform .35s var(--spring), box-shadow .35s ease; }
.step:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.step i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
  font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: #fff; background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  box-shadow: 0 8px 18px rgba(14,165,233,.35);
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .88rem; }

/* ---------- world map / hub radar ---------- */
.mapwrap {
  display: flex; justify-content: center;
  background: linear-gradient(160deg, var(--brand-tint), #E0F2FE);
  border: 1px solid #E3F3FD; border-radius: 28px; padding: 40px 20px;
}
.map { width: 100%; max-width: 640px; }
.map__label { font-family: var(--font-display); font-size: 12px; font-weight: 700; fill: var(--ink); }
.map__dot { fill: var(--brand-deep); }

/* ---------- FAQ accordions ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid #E8F3FB; border-radius: 18px;
  padding: 4px 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: #BAE6FD; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; padding: 18px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-light); color: var(--brand-deep);
  font-size: 1.2rem; font-weight: 700;
  transition: transform .3s var(--spring), background .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { color: var(--muted); font-size: .94rem; padding: 0 40px 20px 0; }

/* ---------- contact info cards ---------- */
.contactcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contactcard {
  background: #fff; border: 1px solid #E8F3FB; border-radius: 22px; padding: 30px 26px;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .35s var(--spring), box-shadow .35s ease;
}
.contactcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.contactcard__icon {
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--brand-light), #fff);
  border: 1.5px solid #BAE6FD; color: var(--brand-deep);
}
.contactcard__icon svg { width: 26px; height: 26px; }
.contactcard h3 { font-size: 1.05rem; margin-bottom: 8px; }
.contactcard p, .contactcard a { color: var(--muted); font-size: .92rem; display: block; padding: 2px 0; }
.contactcard a:hover { color: var(--brand-deep); }

/* ---------- reviews (What Growers Say) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: #fff; border: 1px solid #E8F3FB; border-radius: 24px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .4s var(--spring), box-shadow .4s ease;
}
.review:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 18px; height: 18px; fill: var(--amber); }
.review__quote { font-size: .97rem; color: var(--ink); flex: 1; }
.review__person { display: flex; align-items: center; gap: 14px; }
.review__avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff;
}
.review__avatar--blue { background: linear-gradient(140deg, #38BDF8, #0369A1); }
.review__avatar--green { background: linear-gradient(140deg, #4ADE80, #15803D); }
.review__avatar--pink { background: linear-gradient(140deg, #F472B6, #BE185D); }
.review__person strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.review__person span { font-size: .8rem; color: var(--muted); }

/* ---------- community photo wall ---------- */
.ugc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ugc__item { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.ugc__item img {
  width: 100%; height: 260px; object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.ugc__item:hover img { transform: scale(1.06); }
.ugc__cta { text-align: center; margin-top: 44px; }
.ugc__cta p { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 18px; }

/* ---------- responsive additions ---------- */
@media (max-width: 1024px) {
  .pagehero { padding: 150px 0 70px; }
  .solrow, .solrow--flip .solrow__media { grid-template-columns: 1fr; order: 0; }
  .solrow { gap: 30px; }
  .caserow { grid-template-columns: 1fr; }
  .caserow .case__related { border-left: 0; border-top: 1px solid #EAF4FB; }
  .steps, .results { grid-template-columns: 1fr 1fr; }
  .contactcards { grid-template-columns: 1fr 1fr; }
  .ctabanner__inner { gap: 30px; }
  .reviews, .ugc__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pagehero { padding: 120px 0 60px; }
  .steps, .results, .contactcards { grid-template-columns: 1fr; }
  .reviews, .ugc__grid { grid-template-columns: 1fr; }
  .solrow__media { min-height: 240px; }
  .ctabanner { padding: 70px 0; }
}

/* ---------- language switch ---------- */
.langswitch { display: inline-flex; align-items: center; gap: 8px; }
.langswitch i { font-style: normal; opacity: .35; }
.topbar .langswitch a { color: rgba(255,255,255,.65); }
.topbar .langswitch a:hover { color: #7DD3FC; }
.topbar .langswitch a.active { color: #fff; font-weight: 600; }
.langswitch--nav { display: none; }
@media (max-width: 720px) {
  .langswitch--nav { display: inline-flex; font-size: 1.1rem; font-family: var(--font-display); }
  .langswitch--nav a { color: var(--ink); font-weight: 500; }
  .langswitch--nav a.active { color: var(--brand); font-weight: 700; }
}

/* ==================== DETAIL PAGES (product / article / case) ==================== */
.detail {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start;
  animation: fadein .4s ease;
}
.detail__media {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.detail__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail__badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.detail__badges .product__tag { position: static; background: var(--brand-light); }
.detail__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.detail__desc { color: var(--muted); font-size: 1.02rem; margin-bottom: 26px; }
.detail__specs { list-style: none; margin-bottom: 32px; }
.detail__specs li {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 12px 0; border-bottom: 1px dashed #E2EEF7; font-size: .95rem;
}
.detail__specs li:last-child { border-bottom: 0; }
.detail__specs span { color: var(--muted); }
.detail__specs strong { font-weight: 600; text-align: right; }
.detail__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.detail__richtext { margin-top: 70px; }

/* narrow centered column for news / case articles */
.article { max-width: 760px; margin: 0 auto; animation: fadein .4s ease; }
.article__date {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brand-deep); margin-bottom: 12px;
}
.article__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 26px; }
.article__cover { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 30px; }
.article__cover img { width: 100%; display: block; object-fit: cover; }
.article__loc { position: absolute; left: 18px; bottom: 18px; }
.article__lead { font-size: 1.08rem; color: #33506E; margin-bottom: 26px; }
.article__stats { margin-bottom: 30px; }
.article__related { margin-bottom: 30px; }
.article__back { margin-top: 36px; }

/* admin-authored rich text (news / product / case content fields) */
.richtext { color: var(--ink); font-size: .98rem; }
.richtext h2 { font-size: 1.55rem; margin: 38px 0 14px; }
.richtext h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.richtext p { color: #33506E; margin: 0 0 16px; }
.richtext ul, .richtext ol { margin: 0 0 16px 22px; color: #33506E; }
.richtext li { margin-bottom: 6px; }
.richtext a { color: var(--brand-deep); font-weight: 600; }
.richtext img { max-width: 100%; border-radius: 18px; margin: 8px 0 20px; box-shadow: var(--shadow-sm); }
.richtext blockquote {
  margin: 0 0 18px; padding: 14px 20px;
  border-left: 3px solid var(--brand); background: var(--brand-tint);
  border-radius: 0 14px 14px 0; color: #33506E;
}

/* unavailable / error state */
.detail-empty { text-align: center; padding: 60px 0; }
.detail-empty p { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.detail-loading { text-align: center; padding: 60px 0; color: var(--muted); }

@media (max-width: 1024px) {
  .detail { grid-template-columns: 1fr; gap: 36px; }
}

/* ==================== SUPPORT PAGE ==================== */
/* anchor targets must clear the fixed topbar + nav */
.supsection { scroll-margin-top: 130px; }
.supnav {
  position: sticky; top: 62px; z-index: 60;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #EAF4FB; padding: 14px 0;
}
.supnav .tabs { margin-bottom: 0; }

/* documents */
.docgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.doccard {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--spring), box-shadow .35s ease;
}
.doccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doccard__cat {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-light); padding: 5px 12px; border-radius: 999px;
}
.doccard h3 { font-size: 1.15rem; }
.doccard p { color: var(--muted); font-size: .9rem; flex: 1; }

/* videos */
.videogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.videocard {
  display: block; background: #fff; border-radius: 24px; overflow: hidden;
  border: 1px solid #E8F3FB; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--spring), box-shadow .35s ease;
}
.videocard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.videocard__media { height: 170px; position: relative; overflow: hidden; background: var(--brand-tint); }
.videocard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.videocard:hover .videocard__media img { transform: scale(1.05); }
.videocard__dur {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  background: rgba(11, 36, 64, .85); color: #fff; padding: 5px 12px; border-radius: 999px;
}
.videocard__body { padding: 20px 22px 24px; }
.videocard__body h3 { font-size: 1.05rem; line-height: 1.35; margin-bottom: 8px; transition: color .2s; }
.videocard:hover .videocard__body h3 { color: var(--brand-deep); }
.videocard__body p { color: var(--muted); font-size: .88rem; }

/* app downloads */
.appgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 26px; }
.appcard {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 24px;
  padding: 26px 28px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--spring), box-shadow .35s ease;
}
.appcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.appcard__info { display: flex; align-items: center; gap: 18px; min-width: 0; }
.appcard__icon {
  flex: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.appcard__meta h3 { font-size: 1.12rem; margin-bottom: 8px; }
.appcard__platform {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-light); padding: 4px 12px; border-radius: 999px; margin-bottom: 6px;
}
.appcard__version { display: block; color: var(--muted); font-size: .82rem; }
.appcard__side { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.appcard__qr {
  width: 84px; height: 84px; object-fit: cover;
  border-radius: 12px; border: 1px solid #E8F3FB; background: var(--brand-tint);
}
.appcard .btn { padding: 10px 24px; font-size: .88rem; }
@media (max-width: 560px) {
  .appcard { flex-direction: column; text-align: center; }
  .appcard__info { flex-direction: column; }
}

/* mini programs */
.mpgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mpcard {
  display: flex; align-items: center; gap: 22px;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--spring), box-shadow .35s ease;
}
.mpcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mpcard__qr {
  flex: none; width: 96px; height: 96px; object-fit: cover;
  border-radius: 16px; border: 1px solid #E8F3FB; background: var(--brand-tint);
}
.mpcard h3 { font-size: 1.1rem; margin-bottom: 8px; }
.mpcard p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }

/* FAQ rich-text answers (CMS) */
.faq__answer { padding: 0 40px 20px 0; font-size: .94rem; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ticket form (light variant of the quote form) */
.ticketform {
  max-width: 760px; margin: 0 auto;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 26px;
  padding: 34px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.ticketform .field label { color: var(--brand-dark); }
.ticketform .field input, .ticketform .field textarea {
  color: var(--ink); background: var(--brand-tint); border: 1px solid #D6EBF8;
}
.ticketform .field input::placeholder, .ticketform .field textarea::placeholder { color: #94A3B8; }
.ticketform .field input:focus, .ticketform .field textarea:focus { border-color: var(--brand); background: #fff; }
.ticketform .btn--block { grid-column: 1 / -1; margin-top: 6px; }
.ticketform__note { grid-column: 1 / -1; text-align: center; font-size: .85rem; color: var(--muted); min-height: 1.2em; }

/* footer legal links (privacy / terms) */
.footer__legal { display: flex; align-items: center; gap: 10px; }
.footer__legal a { color: #9FB6CC; transition: color .2s; }
.footer__legal a:hover { color: #7DD3FC; }
.footer__legal i { font-style: normal; opacity: .4; }

@media (max-width: 1024px) {
  .docgrid, .mpgrid { grid-template-columns: 1fr; }
  .videogrid, .appgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .videogrid, .appgrid { grid-template-columns: 1fr; }
  .ticketform { grid-template-columns: 1fr; padding: 26px; }
  .supsection { scroll-margin-top: 100px; }
}

/* video modal player */
.videocard[data-video] { cursor: pointer; }
.videocard__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(11, 36, 64, .25); opacity: 0; transition: opacity .3s ease;
}
.videocard[data-video]:hover .videocard__play { opacity: 1; }
.videocard__play i {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.videocard__play i::before {
  content: ''; display: block; margin-left: 4px;
  border-left: 16px solid var(--brand-deep, #0B2440);
  border-top: 10px solid transparent; border-bottom: 10px solid transparent;
}
.videomodal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.videomodal.open { display: flex; }
.videomodal__backdrop { position: absolute; inset: 0; background: rgba(4, 18, 34, .82); backdrop-filter: blur(6px); }
.videomodal__box { position: relative; width: min(960px, 92vw); }
.videomodal__box video {
  width: 100%; max-height: 80vh; display: block;
  border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.videomodal__close {
  position: absolute; top: -46px; right: 0; z-index: 1;
  width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 20px; line-height: 1;
  transition: background .2s ease;
}
.videomodal__close:hover { background: rgba(255, 255, 255, .32); }

/* ---- about page: factory gallery & contact grid ---- */
.aboutgallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aboutgallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-sm); }
.aboutcontacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.aboutcontact { background: #fff; border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.aboutcontact span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0ea5e9; margin-bottom: 8px; }
.aboutcontact p { margin: 0; font-size: 15px; line-height: 1.7; color: #334155; }
@media (max-width: 1024px) { .aboutcontacts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .aboutgallery, .aboutcontacts { grid-template-columns: 1fr; } }

/* ==================== cookie consent banner ==================== */
.xocookie {
  position: fixed; left: 18px; bottom: 18px; z-index: 1400;
  width: min(420px, calc(100vw - 36px));
  background: #fff; border: 1px solid #E8F3FB; border-radius: 18px;
  box-shadow: 0 18px 48px rgba(11, 36, 64, .18);
  padding: 18px 20px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .35s ease, transform .35s var(--spring, ease);
}
.xocookie--show { opacity: 1; transform: none; }
.xocookie__msg { margin: 0 0 14px; font-size: .86rem; line-height: 1.6; color: var(--muted, #5b6b7f); }
.xocookie__msg a { color: var(--brand, #0ea5e9); text-decoration: underline; }
.xocookie__actions { display: flex; gap: 10px; }
.xocookie__btn {
  flex: 1; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid #D7E7F3; background: #fff; color: var(--ink, #0b2440);
  font-size: .86rem; font-weight: 600; transition: background .2s ease, box-shadow .2s ease;
}
.xocookie__btn:hover { background: #F4FAFE; }
.xocookie__btn--accept {
  border: 0; color: #fff;
  background: linear-gradient(120deg, var(--brand, #0ea5e9), var(--brand-deep, #0284c7));
  box-shadow: 0 8px 20px rgba(14, 165, 233, .35);
}
.xocookie__btn--accept:hover { background: linear-gradient(120deg, var(--brand, #0ea5e9), var(--brand-deep, #0284c7)); box-shadow: 0 12px 26px rgba(14, 165, 233, .45); }

/* ==================== AI support chat panel ==================== */
.xochat {
  position: fixed; right: 18px; bottom: 18px; z-index: 1500;
  width: min(390px, calc(100vw - 36px)); height: min(600px, calc(100vh - 120px));
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 22px;
  box-shadow: 0 24px 64px rgba(11, 36, 64, .22);
  opacity: 0; transform: translateY(20px) scale(.98); pointer-events: none;
  transition: opacity .28s ease, transform .28s var(--spring, ease);
}
.xochat--open { opacity: 1; transform: none; pointer-events: auto; }
.xochat__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid #EDF5FB;
  background: linear-gradient(120deg, var(--brand, #0ea5e9), var(--brand-deep, #0284c7));
  border-radius: 22px 22px 0 0; color: #fff;
}
.xochat__head-info { display: flex; align-items: center; gap: 12px; }
.xochat__avatar {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .2); font-weight: 800; font-size: .82rem; letter-spacing: .04em;
}
.xochat__head strong { display: block; font-size: .98rem; }
.xochat__head small { display: flex; align-items: center; gap: 6px; font-size: .74rem; opacity: .85; }
.xochat__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.xochat__close {
  width: 32px; height: 32px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff; font-size: 18px; line-height: 1;
  transition: background .2s ease;
}
.xochat__close:hover { background: rgba(255, 255, 255, .32); }
.xochat__body {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: #F7FBFE;
}
.xochat__msg {
  max-width: 86%; padding: 10px 14px; border-radius: 16px;
  font-size: .88rem; line-height: 1.6; white-space: normal; word-break: break-word;
}
.xochat__msg--bot {
  align-self: flex-start; background: #fff; color: var(--ink, #0b2440);
  border: 1px solid #E8F3FB; border-bottom-left-radius: 6px;
}
.xochat__msg--user {
  align-self: flex-end; color: #fff;
  background: linear-gradient(120deg, var(--brand, #0ea5e9), var(--brand-deep, #0284c7));
  border-bottom-right-radius: 6px;
}
.xochat__msg--typing { color: var(--muted, #5b6b7f); font-style: italic; }
.xochat__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.xochat__chips-label { width: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b6b7f); }
.xochat__chip {
  border: 1px solid #CFE6F5; background: #fff; color: var(--brand-deep, #0284c7);
  padding: 7px 13px; border-radius: 999px; cursor: pointer;
  font-size: .78rem; font-weight: 600; text-align: left;
  transition: background .2s ease, border-color .2s ease;
}
.xochat__chip:hover { background: var(--brand-light, #e0f2fe); border-color: var(--brand, #0ea5e9); }
.xochat__form {
  display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid #EDF5FB;
  border-radius: 0 0 22px 22px; background: #fff;
}
.xochat__form input {
  flex: 1; border: 1px solid #D7E7F3; border-radius: 999px;
  padding: 11px 16px; font-size: .88rem; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.xochat__form input:focus { border-color: var(--brand, #0ea5e9); box-shadow: 0 0 0 3px rgba(14, 165, 233, .15); }
.xochat__form button {
  border: 0; border-radius: 999px; cursor: pointer; padding: 11px 20px;
  color: #fff; font-size: .88rem; font-weight: 700;
  background: linear-gradient(120deg, var(--brand, #0ea5e9), var(--brand-deep, #0284c7));
  box-shadow: 0 8px 18px rgba(14, 165, 233, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.xochat__form button:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(14, 165, 233, .42); }
.xochat__form button:disabled { opacity: .55; cursor: default; }
@media (max-width: 560px) {
  .xochat { right: 10px; bottom: 10px; width: calc(100vw - 20px); height: min(560px, calc(100vh - 90px)); }
  .xocookie { left: 10px; bottom: 10px; width: calc(100vw - 20px); }
}

/* ==================== pre-sales contact popover ==================== */
.xopresales {
  position: fixed; right: 100px; top: 50%; z-index: 1200;
  transform: translateY(-50%) translateX(10px);
  width: 236px; background: #fff; border: 1px solid #E8F3FB; border-radius: 18px;
  box-shadow: 0 18px 48px rgba(11, 36, 64, .2); padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--spring, ease);
}
.xopresales--show { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.xopresales__label {
  margin: 0 0 8px; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.xopresales__socials { display: flex; gap: 10px; margin-bottom: 14px; }
.xopresales__btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 4px 8px; border: 1px solid #E3F0FA; border-radius: 14px;
  color: var(--brand-dark); font-size: .62rem; font-weight: 600;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.xopresales__btn svg { width: 22px; height: 22px; }
.xopresales__btn:hover { border-color: var(--brand); background: var(--brand-tint); transform: translateY(-2px); }
.xopresales__mail {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border: 1px solid #E3F0FA; border-radius: 14px;
  color: var(--brand-dark); font-size: .78rem; font-weight: 600; word-break: break-all;
  transition: border-color .2s ease, background .2s ease;
}
.xopresales__mail svg { flex: none; width: 20px; height: 20px; }
.xopresales__mail:hover { border-color: var(--brand); background: var(--brand-tint); }
@media (max-width: 720px) {
  .xopresales { right: 82px; width: 216px; }
}

/* ==================== chat panel v4 additions ==================== */
.xochat__head-actions { display: flex; align-items: center; gap: 8px; }
.xochat__new {
  width: 32px; height: 32px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .18); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.xochat__new svg { width: 15px; height: 15px; }
.xochat__new:hover { background: rgba(255, 255, 255, .32); }

/* notice bar pinned above the input: quote button + privacy line */
.xochat__notice-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px; border-top: 1px solid #EDF5FB; background: #fff;
}
.xochat__quote {
  flex: none; border: 1.5px solid var(--brand, #0ea5e9); color: var(--brand-deep, #0284c7);
  border-radius: 999px; padding: 5px 15px; font-size: .74rem; font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.xochat__quote:hover { background: var(--brand, #0ea5e9); color: #fff; }
.xochat__privacy-line { margin: 0; font-size: .68rem; line-height: 1.5; color: var(--muted, #5b6b7f); }
.xochat__privacy-line a { color: var(--brand-deep, #0284c7); text-decoration: underline; }

/* input-row tool buttons (image / voice) — override the pill gradient of .xochat__form button */
.xochat__form { align-items: center; }
.xochat__form button.xochat__tool {
  flex: none; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  border: 1px solid #D7E7F3; background: #fff; color: var(--brand-deep, #0284c7);
  box-shadow: none; display: flex; align-items: center; justify-content: center;
}
.xochat__form button.xochat__tool:hover:not(:disabled) {
  transform: none; box-shadow: none;
  border-color: var(--brand, #0ea5e9); background: var(--brand-tint, #f0f9ff);
}
.xochat__tool svg { width: 18px; height: 18px; }
.xochat__form button.xochat__tool--rec {
  color: #DC2626; border-color: #FCA5A5; background: #FEF2F2;
  animation: xorec 1.1s ease-in-out infinite;
}
@keyframes xorec { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.xochat__rectime {
  flex: none; font-size: .76rem; font-weight: 700; color: #DC2626;
  font-variant-numeric: tabular-nums;
}

/* attachment bubbles */
.xochat__att { display: block; }
.xochat__msg > span + .xochat__att, .xochat__msg > span + .xochat__att-voice { margin-top: 8px; }
.xochat__att-img {
  max-width: 200px; max-height: 200px; border-radius: 12px; display: block;
  cursor: zoom-in;
}
.xochat__att-voice { display: block; margin-top: 2px; max-width: 220px; height: 36px; }
.xochat__msg--uploading { opacity: .75; }
.xochat__att-status { display: block; margin-top: 6px; font-size: .72rem; opacity: .9; }

/* after-sales quick action buttons (block-level, under the welcome message) */
.xochat__quick { display: flex; flex-direction: column; gap: 8px; align-self: stretch; }
.xochat__quick button {
  border: 1px solid #CFE6F5; background: #fff; color: var(--brand-deep, #0284c7);
  border-radius: 14px; padding: 12px 16px; cursor: pointer;
  font-size: .85rem; font-weight: 600; text-align: left;
  transition: background .2s ease, border-color .2s ease;
}
.xochat__quick button:hover { background: var(--brand-light, #e0f2fe); border-color: var(--brand, #0ea5e9); }

/* first-open privacy notice overlay (covers the whole panel) */
.xochat__notice {
  position: absolute; inset: 0; z-index: 5; border-radius: 22px;
  background: rgba(255, 255, 255, .97);
  display: flex; align-items: center; justify-content: center; padding: 26px;
}
.xochat__notice-box { max-width: 300px; }
.xochat__notice-box h3 {
  font-family: var(--font-display, inherit); font-size: 1.05rem;
  margin-bottom: 12px; color: var(--ink, #0b2440);
}
.xochat__notice-box p { font-size: .8rem; line-height: 1.7; color: var(--muted, #5b6b7f); margin-bottom: 10px; }
.xochat__notice-btn {
  width: 100%; margin-top: 8px; border: 0; border-radius: 999px; cursor: pointer;
  padding: 11px 20px; color: #fff; font-size: .88rem; font-weight: 700;
  background: linear-gradient(120deg, var(--brand, #0ea5e9), var(--brand-deep, #0284c7));
  box-shadow: 0 8px 18px rgba(14, 165, 233, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.xochat__notice-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(14, 165, 233, .42); }
.xochat--locked .xochat__form, .xochat--locked .xochat__notice-bar { opacity: .45; pointer-events: none; }

/* ==================== INQUIRY PAGE ==================== */
.inquiryform {
  max-width: 860px; margin: 0 auto;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 26px;
  padding: 38px; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.inquiryform .field label { color: var(--brand-dark); }
.inquiryform .field input, .inquiryform .field select, .inquiryform .field textarea {
  color: var(--ink); background: var(--brand-tint); border: 1px solid #D6EBF8;
}
.inquiryform .field input::placeholder, .inquiryform .field textarea::placeholder { color: #94A3B8; }
.inquiryform .field input:focus, .inquiryform .field select:focus, .inquiryform .field textarea:focus {
  border-color: var(--brand); background: #fff;
}
.inquiryform .btn--block { grid-column: 1 / -1; margin-top: 6px; }
.inquiry__consent {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem; color: var(--muted);
}
.inquiry__consent input { margin-top: 4px; accent-color: var(--brand); }
.inquiry__consent a { color: var(--brand-deep); text-decoration: underline; }
.inquiry__note { grid-column: 1 / -1; text-align: center; font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.inquiry__thanks {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid #E8F3FB; border-radius: 26px;
  padding: 54px 40px; box-shadow: var(--shadow-sm);
}
.inquiry__thanks-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--brand-light); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.inquiry__thanks h2 { margin-bottom: 12px; }
.inquiry__thanks p { color: var(--muted); }
@media (max-width: 720px) {
  .inquiryform { grid-template-columns: 1fr; padding: 26px; }
}

/* ==================== IMMERSIVE EXPERIENCE ==================== */
:root {
  --ease-out-expo: cubic-bezier(.23, 1, .32, 1);
  --night: #061322;
  --night-soft: #0B2440;
  --cyan-bright: #67E8F9;
}

::selection { color: #fff; background: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--cyan-bright); outline-offset: 4px; }

.page-home .hero {
  min-height: 100vh;
  padding: 176px 0 112px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(900px 620px at 82% 36%, rgba(14, 165, 233, .2), transparent 66%),
    radial-gradient(720px 520px at 4% 84%, rgba(34, 197, 94, .14), transparent 64%),
    linear-gradient(135deg, #040D18 0%, var(--night) 46%, #0B2D3A 100%);
}
.page-home .hero__inner {
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: 42px;
}
.page-home .hero__grid {
  opacity: .5;
  background-image: linear-gradient(rgba(103, 232, 249, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 232, 249, .07) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse 90% 80% at 60% 35%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 35%, #000 20%, transparent 76%);
}
.page-home .blob { opacity: .2; filter: blur(100px); }
.page-home .hero__badge {
  color: #BAE6FD;
  background: rgba(14, 165, 233, .09);
  border-color: rgba(125, 211, 252, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.page-home .hero__title {
  max-width: 720px;
  color: #F8FCFF;
  font-size: clamp(3rem, 4.7vw, 4.8rem);
  letter-spacing: -.055em;
}
.page-home .hero__title em {
  background: linear-gradient(110deg, #67E8F9 0%, #38BDF8 42%, #86EFAC 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.page-home .hero__sub { color: #B4CBDD; }
.page-home .hero__sub strong { color: #7DD3FC; }
.page-home .hero__meta div { color: #91AEC4; }
.page-home .hero__meta strong { color: #F8FCFF; }
.page-home .hero__meta div {
  position: relative;
  padding-left: 16px;
}
.page-home .hero__meta div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--brand), var(--green));
}
.page-home .hero__wave { z-index: 2; }
.hero__visual--stage { position: relative; z-index: 1; }

.page-home .nav:not(.scrolled) .nav__name,
.page-home .nav:not(.scrolled) .nav__links > a { color: #EAF6FF; }
.page-home .nav:not(.scrolled) .nav__links > a.active { color: #7DD3FC; }
.page-home .nav:not(.scrolled) .nav__links > a.nav__cta { color: #fff !important; }
.page-home .nav:not(.scrolled) .nav__burger span { background: #fff; }
.nav__burger.open span { background: var(--ink) !important; }

.product-stage {
  position: relative;
  width: min(100%, 600px);
  margin-left: auto;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 32px;
  background: linear-gradient(155deg, rgba(13, 39, 62, .86), rgba(4, 16, 29, .82));
  box-shadow: 0 42px 100px rgba(0, 0, 0, .44), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(22px) saturate(140%);
}
.product-stage::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(103, 232, 249, .28), transparent 38%, rgba(134, 239, 172, .16));
  filter: blur(16px);
}
.product-stage__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px 10px;
  color: #91B7CF;
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-stage__topline span { display: inline-flex; align-items: center; gap: 8px; }
.product-stage__topline .dot { box-shadow: 0 0 12px rgba(34, 197, 94, .85); }
.product-stage__scene {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 28px;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-stage__media {
  position: absolute;
  inset: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 24px;
  background: #E5E7EB;
  box-shadow: 0 26px 54px rgba(0, 0, 0, .34), 0 0 0 8px rgba(103, 232, 249, .035);
  transform: translateZ(18px);
}
.product-stage__media--webgl {
  border-color: rgba(103, 232, 249, .22);
  background: radial-gradient(circle at 50% 38%, #15394B 0%, #091B2A 58%, #06121F 100%);
}
.product-stage__canvas,
.product-stage__fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.product-stage__canvas { cursor: grab; touch-action: none; }
.product-stage__canvas.is-dragging { cursor: grabbing; }
.product-stage__canvas[hidden],
.product-stage__fallback[hidden],
.product-stage__loading[hidden],
.product-stage__loader[hidden] { display: none; }
.product-stage__loading {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 28px);
  padding: 8px 13px;
  border: 1px solid rgba(125, 211, 252, .2);
  border-radius: 999px;
  color: #C4E7F7;
  background: rgba(4, 16, 29, .84);
  font-size: .68rem;
  white-space: nowrap;
  transform: translateX(-50%);
}
.product-stage__loader {
  width: 15px;
  height: 15px;
  flex: none;
  border: 2px solid rgba(103, 232, 249, .22);
  border-top-color: #67E8F9;
  border-radius: 50%;
  animation: stageLoader .8s linear infinite;
}
@keyframes stageLoader { to { transform: rotate(360deg); } }
.product-stage__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(103, 232, 249, .13) 48%, transparent 64%);
  transform: translateX(-120%);
  animation: stageScan 8s linear infinite;
}
@keyframes stageScan {
  0%, 58% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}
.product-stage__halo {
  position: absolute;
  inset: 2% -8% 6%;
  pointer-events: none;
  border: 1px solid rgba(103, 232, 249, .24);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(14, 165, 233, .12), inset 0 0 32px rgba(14, 165, 233, .08);
  transform: rotateX(70deg) translateZ(-28px);
  animation: stageOrbit 18s linear infinite;
}
.product-stage__halo::after {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px dashed rgba(134, 239, 172, .25);
  border-radius: inherit;
}
@keyframes stageOrbit { to { transform: rotateX(70deg) rotateZ(360deg) translateZ(-28px); } }

.product-hotspot {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 160px;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(125, 211, 252, .32);
  border-radius: 999px;
  color: #E9F8FF;
  background: rgba(5, 24, 40, .84);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: inherit;
  transform: translateZ(46px);
  transition: transform 180ms var(--ease-out-expo), color 160ms ease, background 160ms ease, border-color 160ms ease;
}
.product-hotspot__number {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #A5F3FC;
  background: rgba(14, 165, 233, .15);
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 800;
}
.product-hotspot__label { font-size: .69rem; font-weight: 600; white-space: nowrap; }
.product-hotspot.is-active {
  color: #04131F;
  border-color: #A5F3FC;
  background: #A5F3FC;
  box-shadow: 0 0 0 5px rgba(103, 232, 249, .1), 0 12px 30px rgba(14, 165, 233, .26);
}
.product-hotspot.is-active .product-hotspot__number { color: #fff; background: var(--brand-deep); }
.product-hotspot--sense { left: -3%; top: 20%; }
.product-hotspot--water { right: -4%; top: 48%; }
.product-hotspot--solar { right: 1%; top: 8%; }
.product-hotspot--cloud { left: 3%; bottom: 5%; }

.product-stage__console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 5px 14px;
}
.product-stage__detail { min-width: 0; }
.product-stage__detail > span {
  display: block;
  margin-bottom: 4px;
  color: #67E8F9;
  font-family: var(--font-display);
  font-size: .59rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.product-stage__detail strong { display: block; color: #F5FBFF; font-family: var(--font-display); font-size: .98rem; }
.product-stage__detail p { max-width: 355px; margin-top: 4px; color: #96B3C8; font-size: .72rem; line-height: 1.55; }
.product-stage__actions { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.product-stage__toggle {
  min-width: 72px;
  padding: 8px 14px;
  border: 1px solid rgba(125, 211, 252, .3);
  border-radius: 999px;
  color: #EAF8FF;
  background: rgba(14, 165, 233, .12);
  cursor: pointer;
  font: 600 .7rem var(--font-body);
  transition: transform 140ms var(--ease-out-expo), background 160ms ease;
}
.product-stage__toggle:active { transform: scale(.96); }
.product-stage__toggle:disabled { cursor: default; opacity: .6; }
.product-stage__hint { color: #6F93AC; font-size: .62rem; }
.product-stage__telemetry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 13px;
  border-top: 1px solid rgba(125, 211, 252, .12);
}
.product-stage__telemetry div { padding: 0 12px; text-align: center; }
.product-stage__telemetry div + div { border-left: 1px solid rgba(125, 211, 252, .12); }
.product-stage__telemetry span { display: block; color: #6F93AC; font-size: .56rem; letter-spacing: .09em; text-transform: uppercase; }
.product-stage__telemetry strong { display: block; margin-top: 2px; color: #DFF8FF; font-family: var(--font-display); font-size: .82rem; }

/* Shared visual polish */
.section__head h2,
.app__copy h2,
.pagehero h1 { letter-spacing: -.045em; }
.btn {
  transition: transform 160ms var(--ease-out-expo), box-shadow 220ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(.97); }
.product,
.case,
.newscard,
.servicecard,
.stat,
.solution,
.solrow,
.caserow {
  transition: transform 240ms var(--ease-out-expo), box-shadow 240ms ease, border-color 200ms ease;
}
.product,
.case,
.newscard,
.servicecard { box-shadow: 0 1px 2px rgba(11, 36, 64, .03), 0 14px 36px rgba(11, 36, 64, .06); }
.product__media img,
.case__media img,
.newscard__media img,
.solrow__media img { transition: transform 600ms var(--ease-out-expo); }

.pagehero {
  background:
    radial-gradient(720px 360px at 84% 24%, rgba(56, 189, 248, .24), transparent 68%),
    radial-gradient(620px 340px at 4% 90%, rgba(134, 239, 172, .2), transparent 70%),
    linear-gradient(145deg, #F5FBFF 0%, #E8F5FD 52%, #EDF9F1 120%);
}
.pagehero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(14, 165, 233, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 165, 233, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 88%);
}
.pagehero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: 4%;
  top: 10%;
  pointer-events: none;
  border: 1px solid rgba(14, 165, 233, .13);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(14, 165, 233, .035), 0 0 0 108px rgba(14, 165, 233, .02);
  animation: pageheroOrbit 24s linear infinite;
}
@keyframes pageheroOrbit { to { transform: rotate(360deg); } }
.pagehero__inner { z-index: 1; }
.pagehero__sub { color: #45647F; }

.section--dark {
  background:
    radial-gradient(760px 460px at 88% 10%, rgba(14, 165, 233, .15), transparent 66%),
    radial-gradient(620px 440px at 8% 90%, rgba(34, 197, 94, .09), transparent 70%),
    var(--night);
}
.techcard {
  border-color: rgba(125, 211, 252, .16);
  background: rgba(255, 255, 255, .055);
  backdrop-filter: blur(12px);
}
.techflow { position: relative; overflow: hidden; }
.techflow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #67E8F9, transparent);
  transform: translateX(-100%);
  animation: dataStream 5s linear infinite;
}
@keyframes dataStream { to { transform: translateX(100%); } }
.techflow__step { position: relative; z-index: 1; }
.section--app {
  background:
    radial-gradient(680px 480px at 8% 48%, rgba(56, 189, 248, .11), transparent 70%),
    linear-gradient(180deg, #fff, #EFF9FD);
}
.phone { box-shadow: 0 36px 80px rgba(11, 36, 64, .22), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.ctabanner { position: relative; overflow: hidden; isolation: isolate; }
.ctabanner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(560px 260px at 82% 20%, rgba(103, 232, 249, .2), transparent 70%);
}
.footer { background: #04111F; }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { transform: translateY(-2px); }
  .product:hover,
  .case:hover,
  .newscard:hover,
  .servicecard:hover,
  .stat:hover { transform: translateY(-6px); border-color: rgba(14, 165, 233, .28); box-shadow: 0 22px 54px rgba(11, 36, 64, .12); }
  .solution:hover,
  .solrow:hover,
  .caserow:hover { transform: translateY(-5px); }
  .product-hotspot:hover { transform: translateZ(46px) translateY(-2px); }
  .product-stage__toggle:hover { background: rgba(14, 165, 233, .24); }
  .techcard:hover { border-color: rgba(103, 232, 249, .36); background: rgba(255, 255, 255, .075); }
}

@media (max-width: 1100px) {
  .page-home .hero { min-height: 0; padding-top: 158px; }
  .page-home .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .page-home .hero__copy { max-width: 780px; margin: 0 auto; text-align: center; }
  .page-home .hero__title { margin-left: auto; margin-right: auto; }
  .hero__visual--stage { width: min(100%, 650px); margin: 0 auto; }
  .product-stage { margin: 0 auto; }
}

@media (max-width: 720px) {
  .page-home .nav:not(.scrolled) .nav__links > a { color: var(--ink); }
  .page-home .nav:not(.scrolled) .nav__links > a.active { color: var(--brand-deep); }
  .page-home .nav:not(.scrolled) .nav__links > a.nav__cta { color: #fff !important; }
  .page-home .hero { padding: 118px 0 82px; }
  .page-home .hero__inner { gap: 42px; }
  .page-home .hero__title { font-size: clamp(2.55rem, 12vw, 3.65rem); }
  .page-home .hero__meta { gap: 22px; }
  .page-home .hero__meta strong { font-size: 1.42rem; }
  .product-stage { padding: 11px; border-radius: 25px; }
  .product-stage__topline { font-size: .55rem; letter-spacing: .08em; }
  .product-stage__topline > span:last-child { display: none; }
  .product-stage__scene { width: 100%; max-width: 400px; }
  .product-stage__media { inset: 14px; border-radius: 19px; }
  .product-hotspot { max-width: none; padding: 5px; transform: translateZ(28px); }
  .product-hotspot__label { display: none; }
  .product-hotspot__number { width: 27px; height: 27px; }
  .product-hotspot--sense { left: 0; }
  .product-hotspot--water { right: 0; }
  .product-hotspot--solar { right: 1%; }
  .product-hotspot--cloud { left: 2%; }
  .product-stage__console { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 2px; }
  .product-stage__detail p { font-size: .74rem; }
  .product-stage__actions { flex-direction: row; align-items: center; justify-content: space-between; }
  .product-stage__telemetry div { padding: 0 6px; }
  .product-stage__telemetry span { font-size: .52rem; }
  .product-stage__telemetry strong { font-size: .74rem; }
  .pagehero::after { width: 250px; height: 250px; right: -24%; }
}

@media (hover: none) {
  .product:hover,
  .case:hover,
  .newscard:hover,
  .servicecard:hover,
  .stat:hover,
  .solution:hover,
  .solrow:hover,
  .caserow:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .product-stage__scene { transform: none !important; }
  .product-stage__scan,
  .product-stage__halo,
  .pagehero::after,
  .techflow::before { animation: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .product-stage { background: var(--night); backdrop-filter: none; }
  .product-hotspot { background: var(--night); backdrop-filter: none; }
  .product-hotspot.is-active { color: #04131F; background: #A5F3FC; }
  .nav.scrolled { background: rgba(255, 255, 255, .96); backdrop-filter: none; }
}

/* ==================== LARGE 3D STAGE + WATERING ==================== */
.page-home .hero__inner.container {
  width: min(1500px, 94%);
  grid-template-columns: minmax(320px, .38fr) minmax(0, .62fr);
  gap: 0;
}
.page-home .hero__copy { position: relative; z-index: 4; max-width: 540px; }
.page-home .hero__visual--stage { width: calc(100% + 60px); margin-left: -60px; }
.product-stage { width: 100%; max-width: none; }
.product-stage__scene { width: min(100%, 640px); }
.product-stage__media { inset: 16px; }
.product-stage__water-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #86EFAC;
  letter-spacing: .1em;
}
.product-stage__water-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
  animation: waterStatusPulse 1.5s ease-in-out infinite;
}
.product-stage__water-status[data-active="false"] { color: #FBBF24; }
.product-stage__water-status[data-pairing="true"] { color: #67E8F9; animation: waterPairingBlink .55s ease-in-out infinite alternate; }
@keyframes waterStatusPulse { 50% { opacity: .35; transform: scale(.72); } }
@keyframes waterPairingBlink { to { opacity: .35; } }
.product-stage__toggle--water {
  color: #03202B;
  border-color: rgba(165, 243, 252, .85);
  background: linear-gradient(120deg, #A5F3FC, #4ADE80);
  box-shadow: 0 8px 24px rgba(34, 197, 94, .2);
  font-weight: 800;
}
.product-stage__toggle--water[aria-pressed="false"] {
  color: #DFF8FF;
  border-color: rgba(125, 211, 252, .32);
  background: rgba(14, 165, 233, .16);
  box-shadow: none;
}
.product-stage__toggle--water:active { transform: scale(.96); }

@media (max-width: 1100px) {
  .page-home .hero__inner.container { grid-template-columns: 1fr; }
  .page-home .hero__copy { max-width: 780px; margin: 0 auto; }
  .page-home .hero__visual--stage { width: min(100%, 850px); margin: 0 auto; }
  .product-stage__scene { width: min(100%, 620px); }
}
@media (max-width: 720px) {
  .page-home .hero__visual--stage { width: 100%; }
  .product-stage__scene { width: 100%; }
  .product-stage__media { inset: 14px; }
  .product-stage__actions { flex-wrap: wrap; gap: 7px; }
  .product-stage__hint { flex-basis: 100%; text-align: right; }
  .product-stage__water-status { letter-spacing: .04em; }
}
@media (prefers-reduced-motion: reduce) {
  .product-stage__water-status,
  .product-stage__water-status::before { animation: none !important; }
}

/* ==================== FULL-BLEED 3D + FEATURE LABELS ==================== */
.page-home .hero__copy { display: none; }
.page-home .hero__inner.container { display: block; width: min(1600px, 96%); }
.page-home .hero__visual--stage { width: 100%; margin: 0; }
.product-stage__scene { width: min(100%, 680px); }
.product-stage__actions {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 7px;
  align-items: center;
}
.product-stage__hint { grid-column: 1 / -1; text-align: right; }
.product-stage__specs {
  position: absolute;
  inset: 0;
  z-index: 4;
  list-style: none;
  pointer-events: none;
}
.product-spec {
  position: absolute;
  max-width: 180px;
  padding: 5px 9px;
  border: 1px solid rgba(125, 211, 252, .18);
  border-radius: 8px;
  color: #A8CBE0;
  background: rgba(5, 22, 36, .66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  font-size: .58rem;
  line-height: 1.35;
  letter-spacing: .025em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.product-spec::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: #67E8F9;
  box-shadow: 0 0 8px rgba(103, 232, 249, .65);
  vertical-align: 1px;
}
.product-spec--solar { right: 1%; top: 18%; }
.product-spec--standby { left: -2%; top: 16%; }
.product-spec--schedule { left: -3%; top: 43%; }
.product-spec--sampling { right: -2%; top: 64%; }
.product-spec--material { left: 3%; bottom: 15%; }
.product-spec--wifi { right: 3%; bottom: 15%; }

.product-stage:fullscreen,
.product-stage--theater {
  width: 100vw;
  height: 100vh;
  max-width: none;
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: radial-gradient(circle at 50% 32%, #15394B, #061322 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.product-stage--theater { position: fixed; inset: 0; z-index: 1000; }
.product-stage:fullscreen .product-stage__topline,
.product-stage:fullscreen .product-stage__console,
.product-stage:fullscreen .product-stage__telemetry,
.product-stage--theater .product-stage__topline,
.product-stage--theater .product-stage__console,
.product-stage--theater .product-stage__telemetry { width: min(900px, 92vw); }
.product-stage:fullscreen .product-stage__scene,
.product-stage--theater .product-stage__scene { width: min(72vh, 72vw); max-width: 760px; }
.product-stage:fullscreen .product-stage__media,
.product-stage--theater .product-stage__media { inset: 12px; }
.product-stage:fullscreen .product-stage__actions,
.product-stage--theater .product-stage__actions { grid-template-columns: repeat(4, auto); }

@media (max-width: 1100px) {
  .page-home .hero__inner.container { display: block; }
  .page-home .hero__visual--stage { width: min(100%, 900px); }
}
@media (max-width: 720px) {
  .product-stage__specs { display: none; }
  .product-stage:fullscreen,
  .product-stage--theater { padding: 12px; }
  .product-stage:fullscreen .product-stage__scene,
  .product-stage--theater .product-stage__scene { width: 100%; }
  .product-stage:fullscreen .product-stage__actions,
  .product-stage--theater .product-stage__actions { grid-template-columns: repeat(2, auto); }
}

/* ==================== SIMULATED TELEMETRY + ALERTS ==================== */
.product-stage__sensors { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.product-stage__sensors-title {
  position: absolute;
  left: 3%;
  top: 3%;
  color: #6289A3;
  font-size: .52rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.sensor {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 92px;
  padding: 6px 10px;
  border: 1px solid rgba(125, 211, 252, .16);
  border-radius: 9px;
  background: rgba(4, 20, 33, .74);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
  backdrop-filter: blur(8px);
}
.sensor small { color: #6F93AC; font-size: .5rem; letter-spacing: .08em; white-space: nowrap; }
.sensor strong { color: #D9F7FF; font-family: var(--font-display); font-size: .78rem; font-variant-numeric: tabular-nums; }
.sensor--soil-temp { left: -2%; top: 29%; }
.sensor--soil-moisture { left: -2%; top: 36%; }
.sensor--ambient-temp { right: -2%; top: 29%; }
.sensor--ambient-humidity { right: -2%; top: 36%; }
.sensor--tank { left: -2%; top: 58%; }
.product-stage__alarm {
  position: absolute;
  left: 50%;
  bottom: 1%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 88%;
  padding: 7px 12px;
  border: 1px solid #67E8F9;
  border-radius: 999px;
  color: #DFF8FF;
  background: rgba(5, 22, 36, .9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  font-size: .62rem;
  line-height: 1.35;
  transform: translateX(-50%) translateZ(50px);
  backdrop-filter: blur(10px);
}
.product-stage__alarm[hidden] { display: none; }
.product-stage__alarm-icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #061322;
  background: currentColor;
  font-size: .68rem;
  font-weight: 900;
}
.product-stage__alarm[data-alert="low"] { border-color: #FBBF24; }
.product-stage__alarm[data-alert="full"] { border-color: #67E8F9; }
.product-stage__alarm[data-alert="high"] { border-color: #FB7185; }
.product-stage__alarm[data-alert="lowtemp"] { border-color: #93C5FD; }
.product-stage__alarm[data-alert="low"] .product-stage__alarm-icon { color: #FBBF24; }
.product-stage__alarm[data-alert="full"] .product-stage__alarm-icon { color: #67E8F9; }
.product-stage__alarm[data-alert="high"] .product-stage__alarm-icon { color: #FB7185; }
.product-stage__alarm[data-alert="lowtemp"] .product-stage__alarm-icon { color: #93C5FD; }
@media (max-width: 720px) {
  .product-stage__sensors { display: none; }
  .product-stage__alarm { bottom: 2%; max-width: 92%; padding: 6px 10px; font-size: .58rem; }
}

/* Keep telemetry labels inside the visible stage and in front of the canvas. */
.product-spec { transform: translateZ(40px); }
.product-spec--standby { left: 2%; }
.product-spec--schedule { left: 2%; }
.product-spec--sampling { right: 2%; }
.sensor { transform: translateZ(48px); }
.sensor--soil-temp,
.sensor--soil-moisture,
.sensor--tank { left: 2%; }
.sensor--ambient-temp,
.sensor--ambient-humidity { right: 2%; }
.product-stage__specs,
.product-stage__sensors { z-index: 20; transform: translateZ(60px); }
