:root {
  --bg: #06100a;
  --bg2: #0b1810;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eaf3ec;
  --mute: #93a89a;
  --green: #7cf03d;
  --green2: #2fae1f;
  --glow: rgba(124, 240, 61, .28);
  --radius: 20px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 8px; }
section { padding: 120px 6vw; max-width: var(--max); margin: 0 auto; }
.eyebrow { color: var(--green); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.sub, .lead { color: var(--mute); font-size: 19px; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 20; background: linear-gradient(90deg, var(--green2), var(--green)); transform-origin: 0 50%; transform: scaleX(0); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; gap: 28px; padding: 18px 6vw; transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(6, 16, 10, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 10px 6vw; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--green); margin-left: 4px; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: var(--mute); }
.links a { position: relative; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--green); transform: scaleX(0); transition: transform .3s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); }
.lang { background: var(--card); border: 1px solid var(--line); color: var(--mute); border-radius: 99px; padding: 7px 14px; font: 600 13px/1 inherit; cursor: pointer; letter-spacing: .08em; }
.lang .on { color: var(--green); }
.lang .sep { opacity: .4; margin: 0 4px; }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 99px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn.primary { background: var(--green); color: #061404; box-shadow: 0 8px 30px var(--glow); }
.btn.primary:hover { box-shadow: 0 12px 44px rgba(124, 240, 61, .45); }
.btn.ghost { border-color: var(--line); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn.ghost:hover { border-color: var(--green); }
.btn.small { padding: 10px 18px; font-size: 14px; }

.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124, 240, 61, .6); } 70% { box-shadow: 0 0 0 10px rgba(124, 240, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 240, 61, 0); } }

/* hero */
.hero { position: relative; height: 100vh; min-height: 640px; max-height: 1100px; max-width: none; padding: 0; overflow: hidden; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; background: center 60% / cover no-repeat; will-change: transform; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.14); filter: brightness(.4); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 16, 10, .7) 0%, transparent 18%), linear-gradient(90deg, rgba(6, 16, 10, .94) 0%, rgba(6, 16, 10, .55) 45%, rgba(6, 16, 10, 0) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-text { position: relative; padding: 0 6vw; width: 100%; max-width: 920px; }
.hero-text > * { animation: rise 1.1s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: .12s; }
.hero-text > :nth-child(3) { animation-delay: .24s; }
.hero-text > :nth-child(4) { animation-delay: .36s; }
.hero-text > :nth-child(5) { animation-delay: .5s; }
.hero-text .lead { margin: 24px 0 36px; max-width: 560px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-live { display: inline-flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 34px; padding: 10px 18px; border-radius: 99px; background: rgba(6, 16, 10, .55); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 14px; color: var(--mute); }
.hero-live .hl b { color: var(--text); font-variant-numeric: tabular-nums; }
.hero-live small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; background: var(--green); border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.stat { border-top: 1px solid var(--line); padding-top: 22px; }
.stat b { display: block; font-size: 46px; color: var(--green); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--mute); font-size: 15px; }

/* demo */
.tabs { display: flex; justify-content: center; gap: 6px; margin: 0 auto 26px; padding: 6px; width: max-content; max-width: 100%; overflow-x: auto; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.tab { background: none; border: 0; padding: 10px 20px; border-radius: 99px; color: var(--mute); cursor: pointer; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .25s, color .25s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--green); color: #061404; }
.panes { border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(ellipse at 30% 0%, rgba(124, 240, 61, .07), transparent 60%), var(--bg2); padding: 28px; min-height: 440px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); }
.pane { display: none; }
.pane.on { display: grid; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
.pane[data-pane="water"] { grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; }
.sim { width: 100%; height: auto; }
.sim .glass { fill: rgba(255, 255, 255, .035); stroke: rgba(255, 255, 255, .22); stroke-width: 2; }
.sim .glass-hl { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.sim .lbl { fill: var(--mute); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.sim .val { fill: var(--text); font-size: 18px; font-weight: 700; }
.sim .dev { fill: #18221d; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.sim .rotor { fill: #0d1411; stroke: rgba(255, 255, 255, .3); stroke-width: 2; }
.sim .rotor-x { stroke: var(--green); stroke-width: 3; stroke-linecap: round; }
.sim .led { fill: #34413a; transition: fill .3s; }
.sim .led.on { fill: var(--green); filter: drop-shadow(0 0 4px var(--green)); }
.sim .pipe { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.sim .flow { fill: none; stroke: #5cc8ff; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 14; opacity: 0; transition: opacity .4s; filter: drop-shadow(0 0 3px rgba(92, 200, 255, .8)); }
.sim .drop { fill: #7fd6ff; }
.sim .stem { fill: none; stroke: #3f9d2c; stroke-width: 4; stroke-linecap: round; }
.sim .plant { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 1.2s var(--ease), filter 1.2s; }
.sim .leaf { stroke: rgba(0, 0, 0, .2); stroke-width: 1; }
.sim .probe { stroke: #b7c2bc; stroke-width: 3; }
.sim .probe-head { fill: var(--green); transition: fill .3s; }
.sim .probe-head.warn { fill: #ffb347; }
.sim .gauge-bg { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 8; }
.sim .gauge { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transition: stroke .4s; }
.sim .gval { fill: var(--text); font-size: 20px; font-weight: 700; }
.sim-side { display: grid; gap: 12px; align-content: start; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-size: 14px; }
.kv span { color: var(--mute); }
.kv b { text-align: right; font-variant-numeric: tabular-nums; }
.log { list-style: none; display: grid; gap: 6px; font: 13px/1.4 Consolas, "SF Mono", monospace; color: var(--mute); min-height: 90px; }
.log li { animation: fadeIn .4s var(--ease); }
.log time { color: var(--green); margin-right: 10px; }

/* climate */
.climate { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.fanbox { position: relative; display: grid; place-items: center; }
.fan { width: min(100%, 300px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.fan-frame { fill: #111a15; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.fan-ring { fill: #070c0a; stroke: rgba(255, 255, 255, .1); stroke-width: 2; }
.hub { fill: #1d2823; stroke: rgba(255, 255, 255, .2); }
.hub-led { fill: var(--green); filter: drop-shadow(0 0 5px var(--green)); }
.screw { fill: #2a3530; }
.airflow { position: absolute; right: -6%; top: 20%; bottom: 20%; width: 34%; pointer-events: none; transition: opacity .6s; }
.airflow i { position: absolute; left: 0; height: 2px; width: 60%; border-radius: 2px; background: linear-gradient(90deg, rgba(180, 230, 255, 0), rgba(180, 230, 255, .6), rgba(180, 230, 255, 0)); animation: air var(--spd, 1.5s) linear infinite; }
.airflow i:nth-child(1) { top: 10%; animation-delay: 0s; }
.airflow i:nth-child(2) { top: 30%; animation-delay: -.4s; }
.airflow i:nth-child(3) { top: 50%; animation-delay: -.8s; }
.airflow i:nth-child(4) { top: 70%; animation-delay: -1.1s; }
.airflow i:nth-child(5) { top: 90%; animation-delay: -.2s; }
@keyframes air { from { transform: translateX(-30%); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(110%); opacity: 0; } }
.controls { display: grid; gap: 18px; }
.controls.inline { margin-top: 22px; grid-template-columns: 1.4fr auto 1.6fr; align-items: center; }
.slider { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; font-size: 15px; }
.slider span { color: var(--mute); }
.slider b { min-width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; min-width: 0; width: 100%; height: 6px; padding: 0; border: 0; border-radius: 3px; background: linear-gradient(90deg, var(--green) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(124, 240, 61, .35), 0 4px 10px rgba(0, 0, 0, .4); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(124, 240, 61, .35); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.switch input { display: none; }
.switch i { width: 44px; height: 24px; border-radius: 12px; background: rgba(255, 255, 255, .15); position: relative; transition: background .25s; flex-shrink: 0; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .25s var(--ease); }
.switch input:checked + i { background: var(--green2); }
.switch input:checked + i::after { left: 23px; }
.meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.meters div { padding: 12px 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.meters small { display: block; color: var(--mute); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.meters b { font-size: 20px; font-variant-numeric: tabular-nums; }
.hint { color: var(--mute); font-size: 14px; }

/* light */
.lightsim { --led: .7; position: relative; height: 300px; border-radius: 20px; overflow: hidden; background: #050806; }
.sky { --day: .7; --warm: 0; position: absolute; inset: 0 0 0 0; background:
  linear-gradient(180deg, rgba(255, 150, 80, calc(var(--warm) * var(--day) * .6)), transparent 80%),
  linear-gradient(180deg, rgba(70, 140, 220, var(--day)), rgba(160, 210, 240, var(--day))), #060a14; transition: background .2s; }
.stars { position: absolute; inset: 0; opacity: calc(1 - var(--day) * 1.6); background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 20%, #fff, transparent), radial-gradient(1px 1px at 80% 40%, #fff, transparent), radial-gradient(1.5px 1.5px at 35% 12%, #fff, transparent), radial-gradient(1px 1px at 90% 15%, #fff, transparent); }
.sun { position: absolute; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: radial-gradient(circle, #fff6d8, #ffcf6b 60%, rgba(255, 180, 60, 0) 72%); box-shadow: 0 0 60px 20px rgba(255, 200, 90, .35); transition: opacity .4s; }
.panel { --led: .7; position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: 240px; height: 22px; border-radius: 6px; background: #1a221e; border: 1px solid rgba(255, 255, 255, .15); display: flex; justify-content: space-around; align-items: center; padding: 0 10px; z-index: 2; }
.panel i { width: 18px; height: 8px; border-radius: 3px; background: rgb(calc(60 + 195 * var(--led)), calc(50 + 140 * var(--led)), calc(70 + 185 * var(--led))); box-shadow: 0 0 calc(14px * var(--led)) rgba(255, 170, 255, var(--led)); }
.beam { position: absolute; left: 50%; top: 40px; width: 420px; height: 260px; transform: translateX(-50%); background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(255, 190, 245, .45), transparent 75%); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); pointer-events: none; z-index: 1; }
.lplant { position: absolute; left: 50%; bottom: 0; width: 240px; transform: translateX(-50%); z-index: 2; filter: brightness(calc(.45 + var(--led) * .6)); }
.lplant .stem { fill: none; stroke: #3f9d2c; stroke-width: 4; stroke-linecap: round; }

/* camera */
.cam { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8; background: #000; }
.cam img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.9); animation: camZoom 18s ease-in-out infinite alternate; }
@keyframes camZoom { to { transform: scale(1.12) translate(-3%, 2%); } }
.scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px); pointer-events: none; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(124, 240, 61, .08), transparent); animation: sweep 4s linear infinite; }
@keyframes sweep { from { top: -30%; } to { top: 100%; } }
.grain { position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); pointer-events: none; }
.hud { position: absolute; font: 600 13px/1.3 Consolas, "SF Mono", monospace; color: #e9ffe0; text-shadow: 0 1px 3px #000; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px); }
.hud.tl { top: 14px; left: 14px; display: flex; align-items: center; gap: 8px; }
.hud.tr { top: 14px; right: 14px; }
.hud.bl { bottom: 14px; left: 14px; max-width: 55%; font-weight: 400; }
.hud.br { bottom: 14px; right: 14px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: blinkRec 1.2s steps(2) infinite; }
@keyframes blinkRec { 50% { opacity: .2; } }
.box { position: absolute; left: 58%; top: 12%; width: 26%; height: 44%; border: 2px solid var(--green); border-radius: 6px; transition: transform 1.6s var(--ease); box-shadow: 0 0 20px rgba(124, 240, 61, .25), inset 0 0 20px rgba(124, 240, 61, .1); }
.box span { position: absolute; top: -28px; left: -2px; white-space: nowrap; background: var(--green); color: #061404; font: 700 12px/1 Consolas, monospace; padding: 6px 8px; border-radius: 4px 4px 4px 0; }

/* agent */
.agent { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.agent-stage { position: relative; }
.robot { width: 100%; max-width: 470px; overflow: visible; --lx: 0px; --ly: 0px; }
.robot .halo { fill: rgba(124, 240, 61, .05); stroke: rgba(124, 240, 61, .12); stroke-dasharray: 2 8; animation: spin 60s linear infinite; transform-origin: 200px 205px; }
@keyframes spin { to { transform: rotate(360deg); } }
.robot .shadow { fill: rgba(0, 0, 0, .45); animation: shadow 4s ease-in-out infinite; transform-origin: 195px 412px; }
.robot .bot { animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes shadow { 50% { transform: scaleX(.88); opacity: .7; } }
.robot .head { transform-box: view-box; transform-origin: 192px 260px; transition: transform .6s var(--ease); }
.robot.writing .head { transform: rotate(5deg) translate(4px, 3px); }
.robot.thinking .head { transform: rotate(-4deg); }
.robot.happy .head { animation: nod .45s ease-in-out 2; }
@keyframes nod { 50% { transform: translateY(5px) rotate(2deg); } }
.robot .sprout { transform-box: view-box; transform-origin: 192px 112px; animation: sway 3.4s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
.robot .sstem { fill: none; stroke: #3faf26; stroke-width: 6; stroke-linecap: round; }
.robot .ear { fill: #c9d3ce; } .robot .ear-in { fill: #8f9c96; }
.robot .visor-hl { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 5; stroke-linecap: round; }
.robot .eyes { transform: translate(var(--lx), var(--ly)); transition: transform .3s ease-out; }
.robot .eye { fill: none; stroke: var(--green); stroke-width: 9; stroke-linecap: round; transform-box: fill-box; transform-origin: 50% 70%; transition: transform .08s; }
.robot.blink .eye { transform: scaleY(.15); }
.robot.happy .eye { stroke: #c8ff8a; }
.robot.thinking .eyes { animation: think 1s ease-in-out infinite; }
@keyframes think { 50% { transform: translate(6px, -4px); } }
.robot .mouth { fill: var(--green); opacity: .85; transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 4px var(--green)); }
.robot.talking .mouth { animation: talk .18s ease-in-out infinite alternate; }
@keyframes talk { from { transform: scale(1, 1); } to { transform: scale(.7, 3.4); } }
.robot .core { fill: var(--green); filter: drop-shadow(0 0 6px var(--green)); animation: corePulse 2.4s ease-in-out infinite; }
@keyframes corePulse { 50% { opacity: .45; } }
.robot .paper { fill: #f4f7f2; stroke: #c9d2cc; }
.robot .clip { fill: #9aa7a0; }
.robot .ln { fill: none; stroke: #2e6b2a; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.robot .tick { fill: none; stroke: var(--green2); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.robot .armline { fill: none; stroke: #c9d3ce; stroke-width: 14; stroke-linecap: round; }
.robot .hand { fill: #dfe6e3; }
.robot .pen { will-change: transform; }
.robot.writing .pen > g { animation: scribble .12s ease-in-out infinite alternate; }
@keyframes scribble { to { transform: rotate(-38deg) translateY(-3px); } }
.robot .penbody { fill: #1c2621; stroke: var(--green); stroke-width: 1.5; }
.robot .pentip { fill: #2e6b2a; }
.bubble { position: absolute; left: 4%; top: -4%; max-width: 300px; padding: 16px 20px; border-radius: 22px 22px 22px 6px; background: rgba(255, 255, 255, .96); color: #10200f; font-size: 15px; line-height: 1.45; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 0 100%; transition: opacity .4s, transform .4s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble p { min-height: 1.45em; }
.bubble p:empty { display: none; }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing[hidden] { display: none; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #4e8f3f; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }
.notes { margin-top: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.notes-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; letter-spacing: .04em; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
#noteList { list-style: none; min-height: 250px; padding: 8px; }
.note { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; font-size: 14px; opacity: 0; transform: translateX(-16px); transition: opacity .5s var(--ease), transform .5s var(--ease), background .5s; }
.note.in { opacity: 1; transform: none; }
.note:first-child { background: rgba(124, 240, 61, .06); }
.note .nt { flex: 1; min-width: 180px; font-variant-numeric: tabular-nums; }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--mute); }
.note.observe .tag { background: rgba(92, 200, 255, .14); color: #8fd8ff; }
.note.ask .tag { background: rgba(255, 179, 71, .16); color: #ffc477; }
.note.act .tag { background: rgba(124, 240, 61, .14); color: var(--green); }
.approve { border: 1px solid rgba(124, 240, 61, .5); background: none; color: var(--green); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; cursor: default; transition: transform .15s, background .3s, color .3s; }
.approve.press { transform: scale(.9); }
.approve.done { background: var(--green); color: #061404; }

/* feature cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.card::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 240, 61, .12), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(124, 240, 61, .4); }
.card:hover::before { opacity: 1; }
.card .ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: rgba(124, 240, 61, .09); margin-bottom: 18px; transition: transform .4s var(--ease); }
.card:hover .ic { transform: rotate(-6deg) scale(1.08); }
.card .ic svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--mute); font-size: 15px; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps li { position: relative; padding: 32px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #061404; font-weight: 800; margin-bottom: 20px; box-shadow: 0 0 0 8px rgba(124, 240, 61, .08); }
.steps p { color: var(--mute); }

/* hardware */
.hw { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.tilt { position: relative; border-radius: var(--radius); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.tilt img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .1), transparent 45%); pointer-events: none; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; margin-top: 10px; }
.specs dt { color: var(--mute); font-size: 14px; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.specs dd { border-bottom: 1px solid var(--line); padding-bottom: 14px; }

/* garden */
.garden { position: relative; max-width: none; min-height: min(90vh, 900px); display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.garden-img { position: absolute; inset: -10% 0; background: center / cover no-repeat; will-change: transform; }
.garden-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 16, 10, .95) 0%, rgba(6, 16, 10, .25) 50%, var(--bg) 100%); }
.garden-text { position: relative; padding: 0 6vw 110px; max-width: 720px; }
.garden-text p { color: #c5d4cc; font-size: 19px; }

/* app */
.app { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.phone { width: 300px; padding: 12px; border-radius: 44px; background: linear-gradient(145deg, #1c2622, #0a0f0d); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 80px rgba(124, 240, 61, .08); animation: phoneFloat 6s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: translateY(-12px) rotate(-1deg); } }
.screen { border-radius: 34px; background: #0b1411; padding: 26px 18px; display: grid; gap: 12px; align-content: start; }
.ph-top { font-weight: 700; display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 6px; }
.ph-top img, .ph-ai img { border-radius: 6px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-grid div, .ph-chart { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.ph-grid small, .ph-chart small { color: var(--mute); display: block; font-size: 12px; }
.ph-grid b { font-size: 24px; font-variant-numeric: tabular-nums; }
.ph-chart svg { width: 100%; height: 60px; display: block; margin-top: 6px; }
.ph-chart .line { fill: none; stroke: var(--green); stroke-width: 2; }
.ph-row { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 14px; }
.ph-row span:first-child { flex: 1; }
.ph-row em { font-style: normal; color: var(--mute); font-size: 13px; }
.bar { flex: 1.2 !important; height: 6px; background: rgba(255, 255, 255, .08); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); transition: width .4s; }
.tog { width: 40px; height: 22px; border-radius: 11px; background: rgba(255, 255, 255, .15); position: relative; }
.tog::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.tog.on { background: var(--green2); }
.tog.on::after { left: 21px; }
.ph-ai { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #dfeedd; background: rgba(124, 240, 61, .08); border: 1px solid rgba(124, 240, 61, .25); border-radius: 16px; padding: 14px; }

/* faq */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; font-size: 19px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--mute); margin-top: 12px; animation: fadeIn .4s var(--ease); }

/* contact */
.contact { text-align: center; }
.contact > div { background: radial-gradient(ellipse at top, rgba(124, 240, 61, .14), transparent 70%), var(--bg2); border: 1px solid var(--line); border-radius: 32px; padding: 70px 30px 80px; }
.contact-logo { margin: 0 auto 10px; width: 150px; height: auto; filter: drop-shadow(0 10px 30px rgba(124, 240, 61, .25)); animation: float 5s ease-in-out infinite; }
.contact p { color: var(--mute); margin-bottom: 30px; }
form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
input[type=email] { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 99px; padding: 14px 22px; color: var(--text); font: inherit; min-width: 280px; outline: none; }
input[type=email]:focus { border-color: var(--green); }
.ok { color: var(--green) !important; font-weight: 600; }

footer { display: flex; justify-content: space-between; align-items: center; padding: 40px 6vw; color: var(--mute); font-size: 14px; border-top: 1px solid var(--line); }
.fbrand { display: flex; align-items: center; gap: 10px; }
.fbrand img { border-radius: 6px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* responsive */
@media (max-width: 980px) {
  .links { display: none; }
  .lang { margin-left: auto; flex-shrink: 0; }
  .btn { padding: 13px 20px; font-size: 15px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hw, .agent, .app, .climate, .pane[data-pane="water"] { grid-template-columns: 1fr; gap: 40px; }
  .app { justify-items: center; text-align: center; }
  .agent-stage { max-width: 440px; margin: 0 auto; width: 100%; }
  .controls.inline { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 80px 6vw; }
  .panes { padding: 18px; }
  .hero-shade { background: linear-gradient(0deg, rgba(6, 16, 10, .97) 10%, rgba(6, 16, 10, .5) 60%, rgba(6, 16, 10, .2)); }
  .hero { align-items: flex-end; padding-bottom: 100px; }
  .hero-img { background-position: 68% 40%; }
  .cam { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  input[type=email] { min-width: 0; width: 100%; }
  footer { flex-direction: column; gap: 6px; }
  .brand span { font-size: 16px; }
  .tabs { width: 100%; justify-content: flex-start; }
  .bubble { max-width: 240px; font-size: 14px; }
  .hud.bl { display: none; }
  .slider { grid-template-columns: 1fr auto; }
  .slider input { grid-column: 1 / -1; grid-row: 2; }
}

/* ======================================================== garden builder (arcade) */
.builder { max-width: 1320px; }
.gb-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.gb {
  background: #050a07; border: 3px solid #1d3a24; padding: 14px;
  box-shadow: 0 0 0 6px #0a140d, 0 0 0 8px #1d3a24, 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(124,240,61,.10);
}
.gb-hud, .gb-ctrl, .gb-panel h4, .gb-kind, .pbtn, .gb-port, .gb-cap h4, .gb-cap td {
  font-family: "Cascadia Mono", Consolas, "Courier New", monospace; text-transform: uppercase; letter-spacing: .06em;
}
.gb-hud { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; color: #93a89a; padding: 2px 2px 10px; }
.gb-hud b { color: #7cf03d; text-shadow: 0 0 8px rgba(124,240,61,.6); font-weight: 700; }
.gb-hud i { font-style: normal; } .gb-hud i.ok { color: #7cf03d; } .gb-hud i.bad { color: #ff5d6c; text-shadow: 0 0 8px rgba(255,93,108,.6); }
.gb-screen { position: relative; overflow-x: auto; border: 2px solid #12301a; background: #000; }
.gb-screen canvas { display: block; width: 100%; aspect-ratio: 400 / 170; image-rendering: pixelated; cursor: pointer; }
.gb-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(rgba(0,0,0,.16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.35));
}
.gb-ctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 12px; }
.gb-lbl { font-size: 11px; color: #93a89a; margin-right: 2px; }
.gb-sp { flex: 1; }
.gb-tip { flex-basis: 100%; font: 13px/1.4 "Segoe UI", system-ui, sans-serif; color: #93a89a; text-transform: none; letter-spacing: 0; margin-top: 2px; }
.pbtn {
  background: #12301a; color: #d9ffd0; border: 0; padding: 8px 11px; font-size: 11px; cursor: pointer;
  box-shadow: inset -3px -3px 0 #0a1c10, inset 3px 3px 0 #2c6b38; transition: filter .15s;
}
.pbtn:hover { filter: brightness(1.25); }
.pbtn:active { transform: translate(1px, 1px); box-shadow: inset 3px 3px 0 #0a1c10, inset -3px -3px 0 #2c6b38; }
.pbtn:disabled { opacity: .35; cursor: not-allowed; filter: none; }
.pbtn.danger { background: #3a1216; color: #ffd0d4; box-shadow: inset -3px -3px 0 #220a0c, inset 3px 3px 0 #6b2c33; margin-top: 14px; }
.gb-panel { background: #07110b; border: 2px solid #1d3a24; padding: 18px; font-size: 14px; }
.gb-kind { display: inline-block; font-size: 10px; padding: 3px 7px; background: #12301a; color: #7cf03d; margin-bottom: 8px; }
.gb-kind.pl { background: #2e2a12; color: #ffd84a; }
.gb-ph h3 { font-size: 22px; margin-bottom: 4px; }
.gb-ph p { color: #93a89a; font-size: 13px; line-height: 1.45; }
.gb-mode { color: #cfe9c8 !important; margin-top: 6px; }
.gb-panel h4 { font-size: 11px; color: #93a89a; margin: 16px 0 8px; display: flex; justify-content: space-between; }
.gb-panel h4 span { color: #7cf03d; }
.sq { display: inline-block; width: 9px; height: 9px; background: var(--c); box-shadow: 0 0 6px var(--c); flex: none; }
.gb-inst { list-style: none; display: grid; gap: 4px; }
.gb-inst li { display: flex; align-items: center; gap: 8px; background: #0b1810; padding: 6px 8px; }
.gb-inst li.empty { color: #ffb347; font-size: 13px; }
.gb-inst .nm { flex: 1; min-width: 0; line-height: 1.2; }
.gb-inst small, .sbtn small { display: block; color: #6d8174; font-size: 11px; }
.gb-inst .val { font-family: "Cascadia Mono", Consolas, monospace; font-size: 12px; white-space: nowrap; }
.gb-inst em { font-style: normal; font-size: 10px; padding: 1px 4px; margin-left: 4px; }
em.ok { background: #12301a; color: #7cf03d; } em.warn { background: #3a2a10; color: #ffb347; }
em.bad { background: #3a1216; color: #ff5d6c; } em.info { background: #10263a; color: #5cc8ff; }
.gb-inst .x { background: none; border: 0; color: #6d8174; font-size: 18px; cursor: pointer; line-height: 1; padding: 0 2px; }
.gb-inst .x:hover { color: #ff5d6c; }
.gb-add { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sbtn {
  display: flex; align-items: flex-start; gap: 7px; flex-wrap: wrap; text-align: left; background: #0b1810; border: 1px solid #16301e;
  padding: 6px 8px; cursor: pointer; font-size: 12.5px; line-height: 1.25; color: var(--text);
}
.sbtn .sq { margin-top: 3px; }
.sbtn small { flex-basis: 100%; padding-left: 16px; }
.sbtn:hover { border-color: #7cf03d; }
.sbtn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.sbtn[aria-disabled="true"]:hover { border-color: #ff5d6c; }
.gb-ports { display: grid; gap: 5px; }
.gb-port { display: grid; grid-template-columns: 1fr auto 34px; gap: 8px; align-items: center; font-size: 10.5px; color: #93a89a; }
.gb-port b { color: #cfe9c8; text-align: right; }
.slots { display: flex; gap: 2px; }
.slots i { width: 9px; height: 9px; background: #16261a; box-shadow: inset 0 0 0 1px #22402a; }
.slots i.on { background: #7cf03d; box-shadow: 0 0 6px rgba(124,240,61,.7); }
.gb-sys { margin-top: 14px; font-size: 12px; color: #93a89a; }
.shake { animation: gbshake .35s; }
@keyframes gbshake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.gb-cap { margin-top: 28px; background: #07110b; border: 2px solid #1d3a24; padding: 22px; }
.gb-cap h3 { margin-bottom: 14px; }
.gb-capg { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 24px; }
.gb-cap h4 { font-size: 12px; color: #93a89a; margin-bottom: 8px; display: flex; justify-content: space-between; }
.gb-cap h4 b { color: #7cf03d; font-size: 18px; }
.gb-cap table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gb-cap td { padding: 4px 0; border-bottom: 1px dashed #1d3a24; font-size: 11px; }
.gb-cap td:last-child { text-align: right; color: #7cf03d; font-size: 13px; }
.gb-cap p { font-size: 13px; color: #93a89a; margin-top: 10px; line-height: 1.45; }
.gb-cap .gb-big { font-family: "Cascadia Mono", Consolas, monospace; font-size: 20px; color: #cfe9c8; margin: 0 0 10px; }
.gb-cap .gb-big b { color: #7cf03d; text-shadow: 0 0 10px rgba(124,240,61,.6); }
.gb-cap ul { padding-left: 18px; color: #93a89a; font-size: 13px; line-height: 1.5; display: grid; gap: 4px; }
@media (max-width: 1080px) { .gb-wrap { grid-template-columns: 1fr; } .gb-capg { grid-template-columns: 1fr 1fr; } .gb-capg > div:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .gb { padding: 8px; } .gb-screen canvas { min-width: 640px; } .gb-capg { grid-template-columns: 1fr; } .gb-add { grid-template-columns: 1fr; } }

/* ======================================================== log in + app install */
.navlogin { margin-left: 6px; }
.dl { margin-top: 26px; }
.dl-row { display: flex; flex-wrap: wrap; gap: 12px; }
#installBtn { display: inline-flex; align-items: center; gap: 9px; }
#installBtn:disabled { opacity: .7; cursor: default; box-shadow: none; }
.dl-state { color: var(--mute); font-size: 14px; margin: 12px 0 18px; min-height: 1.4em; }
.dl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.45; color: var(--mute); }
.dl-card b { display: block; color: var(--text); margin-bottom: 3px; font-size: 14.5px; }
.dl-card em { font-style: normal; color: var(--text); }
.dl-card.cur { border-color: rgba(124,240,61,.55); background: rgba(124,240,61,.06); }
.dl-card.pulse { animation: dlpulse 1.2s var(--ease) 2; }
@keyframes dlpulse { 50% { box-shadow: 0 0 0 6px rgba(124,240,61,.25); } }
.stores { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 7px 16px; opacity: .6; line-height: 1.25; }
.store b { font-size: 14px; } .store small { font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
dialog.login {
  margin: auto; width: min(460px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 24px;
  background: #0b1810; color: var(--text); box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(124,240,61,.08);
}
dialog.login[open] { animation: lgin .35s var(--ease); }
@keyframes lgin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
dialog.login::backdrop { background: rgba(2,6,4,.72); backdrop-filter: blur(6px); }
dialog.login img { margin-bottom: 12px; }
dialog.login h3 { font-size: 24px; }
dialog.login p { color: var(--mute); font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; }
dialog.login label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
dialog.login input {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.05);
  color: var(--text); font: 16px/1.2 inherit; outline: none;
}
dialog.login input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--glow); }
.lg-hint { display: block; color: var(--mute); font-size: 12.5px; margin-top: 8px; line-height: 1.45; }
.lg-err { display: block; color: #ff5d6c; font-size: 13px; min-height: 1.3em; margin-top: 4px; }
.lg-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
dialog.login .lg-note { font-size: 12.5px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.lg-x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--mute); font-size: 26px; cursor: pointer; line-height: 1; }
.lg-x:hover { color: var(--text); }
@media (max-width: 980px) { .dl-cards { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .navlogin { padding: 8px 14px; font-size: 13px; } }
@media (max-width: 1280px) { .links { gap: 18px; font-size: 14px; } .nav { gap: 20px; } }
@media (max-width: 1100px) { .links a[href="#garden"], .links a[href="#features"] { display: none; } }
@media (max-width: 980px) { .navlogin { margin-left: auto; } }
