/* OVA Home - home page only. Dark, glowing, with motion. All motion is turned off for "reduce motion" users.
   Every product picture is a real OVA Home panel (photos or price-list drawings). */

body.home { background: var(--night); color: #dbe6ee; }
.home h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -0.8px; margin: 0 0 14px; }
.home .sub { color: #93a8b8; font-size: 1.08rem; max-width: 36em; margin: 0 0 28px; }
.home .eyebrow { color: var(--teal); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 14px; }
.section-head { text-align: center; margin: 0 auto 44px; max-width: 760px; }
.section-head .sub { margin-left: auto; margin-right: auto; }

/* reveal on scroll (home.js adds .in) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* buttons on dark */
.home .btn.glow { background: var(--teal); color: #04241b; box-shadow: 0 10px 30px rgba(35, 209, 165, 0.35); }
.home .btn.glow:hover { background: #3ee0b7; box-shadow: 0 14px 40px rgba(35, 209, 165, 0.5); }
.home .btn.ghost { background: rgba(255, 255, 255, 0.06); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.home .btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, 0.45); animation: ripple 0.65s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.tilt { transform-style: preserve-3d; transition: transform 0.5s var(--ease); will-change: transform; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ================= HERO ================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 130px; margin-top: -69px;
  background:
    radial-gradient(900px 500px at 78% 45%, rgba(16, 61, 94, 0.9), transparent 70%),
    linear-gradient(180deg, #071521 0%, var(--night) 100%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -1; opacity: 0.5; animation: drift 14s ease-in-out infinite alternate; }
.hero-glow.g1 { width: 520px; height: 520px; background: rgba(35, 209, 165, 0.3); left: -180px; top: 5%; }
.hero-glow.g2 { width: 520px; height: 520px; background: rgba(124, 196, 239, 0.25); right: 0; bottom: -200px; animation-delay: -6s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.15); } }
.hero-dots { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -2px; color: #fff; margin: 0 0 24px; font-weight: 800; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.15s; }
@keyframes lineUp { to { transform: none; } }
.glow-word {
  font-style: normal; background: linear-gradient(90deg, #23d1a5, #7cc4ef, #23d1a5); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #b8c8d4; max-width: 32em; margin: 0 0 34px; }

.hero-product { position: relative; min-height: 420px; display: grid; place-items: center; }
.hp-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(35, 209, 165, 0.35), transparent 65%); filter: blur(20px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(0.92); opacity: 0.7; } 50% { transform: scale(1.06); opacity: 1; } }
.hp-img { position: relative; width: 100%; max-width: 560px; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.float-chip {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 15px; border-radius: 14px; font-size: 0.88rem; color: #fff;
  background: rgba(13, 34, 50, 0.65); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  animation: bob 6s ease-in-out infinite;
}
.float-chip.c1 { left: -4%; top: 8%; }
.float-chip.c2 { right: -2%; top: 18%; animation-delay: -2s; }
.float-chip.c3 { right: 6%; bottom: 4%; animation-delay: -4s; }
.chip-dot { width: 10px; height: 10px; border-radius: 50%; background: #ffd66b; box-shadow: 0 0 12px #ffd66b; }
.chip-dot.wifi { background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.chip-fan { width: 16px; height: 16px; border-radius: 50%; border: 2px dashed var(--sky); animation: spin 1.2s linear infinite; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ================= STRIP ================= */
.strip { border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); background: #08161f; overflow: hidden; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 20px 0; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { color: #c9d8e2; font-weight: 600; white-space: nowrap; font-size: 0.98rem; }
.marquee-track i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= PRODUCT VIEWER ================= */
.viewer { padding: 100px 0 80px; }
.viewer-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.viewer-tabs button, .filters button {
  all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  color: #c9d8e2; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.viewer-tabs button:hover, .filters button:hover { border-color: rgba(35, 209, 165, 0.5); transform: translateY(-1px); }
.viewer-tabs button[aria-selected="true"], .filters button.on { background: var(--teal); color: #04241b; border-color: var(--teal); }
.viewer-tabs button:focus-visible, .filters button:focus-visible, .view-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.viewer-stage {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; border-radius: 32px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, #0c1f2d, #08141d);
}
.viewer-img { position: relative; display: grid; place-items: center; min-height: 440px; padding: 40px; background: radial-gradient(circle at 50% 55%, #f4f7fa 0%, #dfe7ee 55%, #c7d3dd 100%); overflow: hidden; }
.vi-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(35, 209, 165, 0.25), transparent 70%); }
.viewer-img img { position: relative; width: 100%; max-width: 560px; max-height: 360px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(6, 17, 26, 0.35)); transition: opacity 0.35s var(--ease), transform 0.6s var(--ease); }
.viewer-img img.swap { opacity: 0; transform: scale(0.94) rotate(-1.5deg); }
.view-toggle { all: unset; cursor: pointer; position: absolute; right: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--navy); background: rgba(255, 255, 255, 0.85); box-shadow: 0 6px 16px rgba(6, 17, 26, 0.15); }
.view-toggle[hidden] { display: none; }
.viewer-info { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.vi-size { color: var(--teal); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.78rem; margin: 0 0 6px; }
.viewer-info h3 { color: #fff; font-size: 2.4rem; margin: 0; letter-spacing: -1px; }
.vi-name { color: #fff; font-size: 1.15rem; margin: 2px 0 14px; }
.vi-desc { color: #93a8b8; margin: 0 0 18px; }
.vi-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.vi-list li { position: relative; padding-left: 26px; color: #c9d8e2; }
.vi-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--teal); }
.vi-list li::after { content: ""; position: absolute; left: 4px; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); }

/* ================= DEMO ================= */
.demo { padding: 90px 0; position: relative; }
.demo-stage {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 56px 64px; border-radius: 32px; overflow: hidden;
  background: radial-gradient(800px 400px at 50% 120%, rgba(16, 61, 94, 0.7), transparent 70%), linear-gradient(180deg, #0b1d2a, #08141d);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.room-light { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 340px at 78% 40%, rgba(255, 214, 140, 0.32), transparent 70%); opacity: var(--lit, 0); transition: opacity 0.8s var(--ease); }

.phone { position: relative; width: 284px; height: 600px; border-radius: 44px; padding: 12px; background: linear-gradient(145deg, #2a3a47, #0d161d); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12); }
.phone-notch { position: absolute; top: 20px; left: 50%; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #05090c; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f6f7fb; color: #12202c; padding: 44px 14px 0; font-size: 12px; }
.statusbar { position: absolute; top: 12px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-weight: 700; font-size: 11px; }
.sb-icons { display: flex; gap: 3px; align-items: center; }
.sb-icons i { display: block; width: 10px; height: 8px; border-radius: 2px; background: #12202c; }
.sb-icons i:last-child { width: 14px; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-home { font-weight: 700; font-size: 15px; display: flex; gap: 4px; align-items: center; color: var(--navy); }
.app-plus { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 17px; line-height: 1; }
.app-title { font-weight: 800; font-size: 20px; margin: 10px 0 8px; display: flex; align-items: center; gap: 7px; }
.local-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(35, 209, 165, 0.2); }
.app-pills { display: flex; gap: 6px; margin-bottom: 10px; }
.app-pills span { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #e3e8ee; font-weight: 600; font-size: 11px; }
.app-pills span:first-child { background: var(--navy); color: #fff; border-color: var(--navy); }
.weather { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #103d5e, #2b78a8); overflow: hidden; margin-bottom: 12px; }
.w-city { font-weight: 700; font-size: 13px; } .w-desc { opacity: 0.8; font-size: 11px; }
.w-temp { font-size: 26px; font-weight: 800; margin-right: 30px; }
.w-sun { position: absolute; right: -14px; top: -14px; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, #ffd66b 45%, rgba(255, 214, 107, 0.3) 46%, transparent 70%); animation: spin 18s linear infinite; }
.app-sub { font-weight: 700; font-size: 13px; margin: 0 0 8px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile, .fan-toggle {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative; overflow: hidden;
  display: grid; gap: 1px; padding: 10px 11px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 0 #e3e8ee, 0 6px 14px rgba(16, 61, 94, 0.06);
  transition: background 0.35s var(--ease), color 0.35s, transform 0.15s;
}
.tile:active, .fan-toggle:active { transform: scale(0.96); }
.tile:focus-visible, .fan-toggle:focus-visible, .key:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.fan-tile { padding: 0; display: flex; align-items: center; cursor: default; }
.fan-tile.wide { grid-column: 1 / -1; }
.fan-toggle { flex: 1; padding: 10px 11px; box-shadow: none; background: transparent; }
.t-icon { width: 26px; height: 26px; border-radius: 9px; background: #eef2f6; margin-bottom: 4px; position: relative; transition: background 0.35s; }
.t-icon.bulb::after { content: ""; position: absolute; left: 8px; top: 5px; width: 10px; height: 12px; border-radius: 50% 50% 40% 40%; border: 2px solid #8a98a6; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; }
.t-icon.fan::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dashed #8a98a6; }
.t-name { font-weight: 700; font-size: 12px; }
.t-room { color: #7d8b97; font-size: 10.5px; }
.t-state { font-weight: 700; font-size: 10.5px; color: #7d8b97; margin-top: 3px; }
.tile.on, .fan-tile.on { background: var(--navy); color: #fff; }
.tile.on .t-room { color: rgba(255, 255, 255, 0.7); }
.tile.on .t-state, .fan-tile.on .t-state { color: var(--teal); }
.tile.on .t-icon, .fan-tile.on .t-icon { background: rgba(255, 255, 255, 0.14); }
.tile.on .t-icon.bulb::after { border-color: #ffd66b; background: #ffd66b; box-shadow: 0 0 12px #ffd66b; }
.fan-tile.on .t-icon.fan::after { border-color: var(--teal); animation: spin var(--fan-s, 1s) linear infinite; }
.fan-ctl { display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.fan-ctl button { all: unset; cursor: pointer; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; background: #eef2f6; color: #12202c; }
.fan-tile.on .fan-ctl button { background: rgba(255, 255, 255, 0.14); color: #fff; }
.fan-speed { font-weight: 800; font-size: 14px; }
.app-nav { position: absolute; left: 0; right: 0; bottom: 0; height: 54px; background: var(--navy); display: flex; justify-content: space-around; align-items: center; border-radius: 22px 22px 0 0; }
.app-nav i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255, 255, 255, 0.35); }
.app-nav i.active { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.12); }

.link { width: 100%; height: 60px; align-self: center; overflow: visible; }
.link-label { position: absolute; left: 50%; top: calc(50% + 30px); transform: translateX(-50%); font-size: 0.78rem; color: #6f8596; letter-spacing: 1px; text-transform: uppercase; }
.packet { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px 4px rgba(35, 209, 165, 0.7); opacity: 0; left: 0; top: 0; pointer-events: none; }

/* glass panel - same key layout as the real 4M-2S1F (see photo in the viewer) */
.panel-wrap { display: grid; justify-items: center; gap: 14px; }
.panel {
  position: relative; width: 360px; aspect-ratio: 1.68; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, #22262b 0%, #0b0c0e 45%, #050607 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
}
.panel::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 200%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent); transform: rotate(18deg); pointer-events: none; }
.glass { display: grid; grid-template-columns: 44px 44px 10px 44px; grid-template-rows: 44px 44px; gap: 14px 16px; align-items: center; justify-items: center; }
.glass .dots { grid-row: 1 / 3; grid-column: 3; display: flex; flex-direction: column; gap: 9px; }
.glass .dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transition: background 0.3s, box-shadow 0.3s; }
.glass .dots i.on { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.key {
  all: unset; cursor: pointer; position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1.6px solid rgba(255, 255, 255, 0.82); color: #fff; transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.key:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05); }
.key > i { width: 5px; height: 5px; border-radius: 50%; background: #fff; transition: background 0.3s, box-shadow 0.3s; }
.key > b { width: 2.5px; height: 12px; border-radius: 2px; background: #fff; }
.key svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.key.fanicon svg { fill: currentColor; stroke: none; }
.key.on > i { background: #2ee06b; box-shadow: 0 0 10px #2ee06b; }
.key.on.fanicon, .key.arrow.on { color: #2ee06b; border-color: #2ee06b; box-shadow: 0 0 12px rgba(46, 224, 107, 0.45); }
.key .touch { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--teal); animation: touch 0.6s ease-out forwards; pointer-events: none; }
@keyframes touch { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.panel-caption, .demo-note { color: #6f8596; font-size: 0.85rem; margin: 0; text-align: center; }
.demo-note { margin-top: 18px; }

/* ================= INSTALLED ================= */
.installed { padding: 80px 0; }
.installed-grid { display: grid; grid-template-columns: 1fr 1.25fr 0.8fr; gap: 22px; align-items: stretch; }
.inst-copy { align-self: center; padding-right: 10px; }
.inst-photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; min-height: 360px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.inst-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inst-photo:hover img { transform: scale(1.06); }
.inst-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; color: #fff; font-size: 0.92rem; font-weight: 600; background: linear-gradient(0deg, rgba(6, 17, 26, 0.85), transparent); }

/* ================= RANGE ================= */
.range { padding: 90px 0; background: linear-gradient(180deg, transparent, #08161f 20%, #08161f 80%, transparent); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.model {
  position: relative; padding: 22px 18px 16px; border-radius: 20px; text-align: center;
  background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.45s var(--ease), border-color 0.3s, opacity 0.35s, background 0.3s;
}
.model:hover { transform: translateY(-6px); border-color: rgba(35, 209, 165, 0.45); background: rgba(255, 255, 255, 0.06); }
.model img { display: block; height: 92px; width: auto; max-width: 100%; margin: 0 auto 14px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5)); transition: transform 0.5s var(--ease); }
.model:hover img { transform: scale(1.06); }
.model h3 { color: #fff; margin: 0; font-size: 1.05rem; letter-spacing: 0.3px; }
.model p { color: #93a8b8; margin: 2px 0 0; font-size: 0.9rem; }
.model.hide { display: none; }
.model.pop { animation: pop 0.45s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.range-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* ================= LOCAL ================= */
.local { padding: 90px 0; }
.local-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.toggle-row { display: flex; align-items: center; gap: 14px; }
.net-toggle { all: unset; cursor: pointer; width: 58px; height: 32px; border-radius: 999px; background: var(--teal); position: relative; transition: background 0.3s; flex: none; }
.net-toggle .knob { position: absolute; top: 4px; left: 30px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left 0.35s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.net-toggle[aria-pressed="false"] { background: #3a4a57; }
.net-toggle[aria-pressed="false"] .knob { left: 4px; }
.net-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.net-label { color: #c9d8e2; }
.diagram { padding: 24px; border-radius: 28px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); }
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.diagram text { fill: #93a8b8; font-size: 12px; font-family: inherit; }
.wire { fill: none; stroke-width: 2; stroke-dasharray: 5 7; animation: flow 1.2s linear infinite; }
.local-wire { stroke: var(--teal); }
.cloud-wire { stroke: var(--sky); opacity: 0.7; transition: opacity 0.4s; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.d-cut { opacity: 0; transition: opacity 0.4s; }
.offline .d-cut { opacity: 1; }
.offline .cloud-wire { opacity: 0.12; animation: none; }
.offline .p-cloud { display: none; }
.offline .d-cloud { opacity: 0.4; }

/* ================= FEATURES ================= */
.features-sec { padding: 90px 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card.spot {
  position: relative; padding: 28px; border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.5s var(--ease), border-color 0.4s, opacity 0.9s var(--ease);
}
.card.spot::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(35, 209, 165, 0.16), transparent 60%); }
.card.spot:hover { border-color: rgba(35, 209, 165, 0.35); transform: translateY(-6px); }
.card.spot:hover::before { opacity: 1; }
.f-icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--teal-soft); fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.card h3 { color: #fff; margin: 0 0 6px; font-size: 1.12rem; }
.card p { color: #93a8b8; margin: 0; }

/* ================= SCENE / MOOD ================= */
.scene { position: relative; overflow: hidden; padding: 110px 0; isolation: isolate; transition: background 1.2s var(--ease); background: radial-gradient(700px 400px at 75% 50%, rgba(255, 196, 120, 0.22), transparent 70%), linear-gradient(180deg, var(--night), #0d1f2c 50%, var(--night)); }
.scene[data-scene="night"] { background: radial-gradient(700px 400px at 75% 50%, rgba(80, 110, 200, 0.18), transparent 70%), linear-gradient(180deg, var(--night), #050c12 50%, var(--night)); }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.mood { position: relative; display: grid; place-items: center; }
.mood img { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); transition: filter 1s var(--ease); }
.scene[data-scene="night"] .mood img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)) brightness(0.7); }
.mood-ring { position: absolute; left: 50%; top: 58%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 2px solid var(--teal); opacity: 0; }
.scene[data-scene="night"] .mood-ring { animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.4); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.scene-btn {
  all: unset; cursor: pointer; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px; font-weight: 700; color: #fff;
  background: rgba(13, 34, 50, 0.6); border: 1px solid rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px);
  transition: background 0.4s, box-shadow 0.4s, transform 0.25s var(--ease), opacity 0.9s var(--ease);
}
.scene-btn:hover { background: rgba(13, 34, 50, 0.85); }
.scene-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.scene-btn[aria-pressed="true"] { background: var(--navy); box-shadow: 0 0 40px rgba(124, 196, 239, 0.35); }
.moon { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset -5px -3px 0 0 #ffd66b; transform: rotate(-20deg); }

/* ================= STEPS ================= */
.steps-sec { padding: 90px 0; }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: rgba(255, 255, 255, 0.1); }
.timeline::after { content: ""; position: absolute; left: 21px; top: 10px; width: 2px; height: var(--progress, 0%); max-height: calc(100% - 20px); background: linear-gradient(var(--teal), var(--sky)); box-shadow: 0 0 10px var(--teal); }
.timeline li { position: relative; display: flex; gap: 22px; padding: 0 0 30px; }
.t-no { flex: none; position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: #0d2232; border: 2px solid rgba(255, 255, 255, 0.15); transition: background 0.4s, border-color 0.4s, color 0.4s; }
.timeline li.in .t-no { background: var(--teal); border-color: var(--teal); color: #04241b; }
.timeline b { color: #fff; font-size: 1.08rem; }
.timeline p { margin: 2px 0 0; color: #93a8b8; }

/* ================= CTA ================= */
.cta { padding: 40px 0 110px; }
.cta-inner { text-align: center; padding: 70px 24px; border-radius: 32px; position: relative; overflow: hidden; background: radial-gradient(600px 300px at 50% 0%, rgba(35, 209, 165, 0.25), transparent 70%), linear-gradient(180deg, #0d2232, #08141d); border: 1px solid rgba(255, 255, 255, 0.08); }
.cta-icon { border-radius: 22px; box-shadow: 0 20px 50px rgba(35, 209, 165, 0.3); margin-bottom: 20px; animation: bob 6s ease-in-out infinite; }
.cta-inner p { color: #93a8b8; margin: 0 0 28px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .demo-stage { grid-template-columns: 1fr 1fr; padding: 40px; gap: 32px; justify-items: center; }
  .link, .link-label, .packet { display: none; }
  .installed-grid { grid-template-columns: 1fr 1fr; }
  .inst-copy { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { padding: 110px 0 100px; }
  .hero-grid, .local-grid, .scene-grid, .viewer-stage { grid-template-columns: 1fr; }
  .hero-product { min-height: 0; }
  .float-chip.c1 { left: 0; } .float-chip.c2 { right: 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .demo-stage { grid-template-columns: 1fr; }
  .viewer-img { min-height: 300px; padding: 30px 20px; }
  .viewer-info { padding: 30px 26px; }
}
@media (max-width: 600px) {
  .hero { margin-top: 0; padding: 50px 0 90px; }
  .float-chip { font-size: 0.78rem; padding: 8px 11px; }
  .float-chip.c3 { display: none; }
  .viewer, .demo, .installed, .range, .local, .features-sec, .steps-sec { padding: 60px 0; }
  .demo-stage { padding: 28px 14px; border-radius: 24px; }
  .features { grid-template-columns: 1fr; }
  .installed-grid { grid-template-columns: 1fr; }
  .inst-photo { min-height: 300px; }
  .panel { width: 300px; }
  .glass { grid-template-columns: 40px 40px 8px 40px; gap: 12px 12px; }
  .models { grid-template-columns: 1fr 1fr; gap: 10px; }
  .model { padding: 16px 10px 12px; }
  .model img { height: 60px; }
  .viewer-info h3 { font-size: 1.9rem; }
  .scene { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* =====================================================================
   Round 4 (2026-12-01): drawn hero panel, single glass intro, app layers,
   real-glass demo panel, wording-only sections
   ===================================================================== */

/* ---------- hero: pen sketch that becomes glass ---------- */
.sketch { position: relative; width: 100%; max-width: 580px; overflow: visible; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)); animation: floaty 7s 3.2s ease-in-out infinite; }
.sketch .pen { stroke: #e8f1f6; }
.sketch .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pen 1.1s calc(0.25s + var(--i) * 0.16s) cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes pen { to { stroke-dashoffset: 0; } }
.sketch .glass-body { opacity: 0; animation: glassIn 1s 1.9s var(--ease) forwards; }
@keyframes glassIn { to { opacity: 1; } }
.sketch .pen > rect:first-child { animation: pen 1.1s 0.25s cubic-bezier(.6, 0, .3, 1) forwards, fadeEdge 0.8s 2.2s forwards; }
@keyframes fadeEdge { to { stroke-opacity: 0.18; } }
.sketch .sheen-bar { animation: sheen 6s 2.6s ease-in-out infinite; }
@keyframes sheen { 0% { transform: rotate(18deg) translateX(0); } 45%, 100% { transform: rotate(18deg) translateX(980px); } }
.sketch .mark { fill: #e8f1f6; opacity: 0; animation: glassIn 0.4s 1.9s forwards; }
.sketch .mark.k1 { animation: glassIn 0.4s 1.9s forwards, keyOn 0.5s 2.8s forwards; }
@keyframes keyOn { to { fill: #2ee06b; filter: url(#glow); } }
.sketch .speed circle { fill: rgba(255, 255, 255, 0.25); opacity: 0; animation: glassIn 0.4s 2s forwards; }
.sketch .speed circle.on { animation: glassIn 0.4s 2s forwards, keyOn 0.4s 3.1s forwards; }
.sketch .speed circle.on:nth-child(3) { animation-delay: 2s, 3.25s; }
.sketch .speed circle.on:nth-child(4) { animation-delay: 2s, 3.4s; }
.sketch .fan-blades { fill: #e8f1f6; opacity: 0; animation: glassIn 0.4s 2s forwards; }
.sketch .fan-blades path { transform-origin: 0 0; animation: spin 2.4s 3.4s linear infinite; }
.sketch .fan-ring { animation: pen 1.1s calc(0.25s + 6 * 0.16s) cubic-bezier(.6, 0, .3, 1) forwards, ringOn 0.5s 3.3s forwards; }
@keyframes ringOn { to { stroke: #2ee06b; } }
.hero-product .float-chip { opacity: 0; animation: glassIn 0.6s 3.4s forwards, bob 6s 3.4s ease-in-out infinite; }
.hero-product .float-chip.c2 { animation-delay: 3.6s, 3.6s; }
.hero-product .float-chip.c3 { animation-delay: 3.8s, 3.8s; }

/* ---------- one panel intro with a glass sheen ---------- */
.intro { padding: 100px 0 80px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.glass-photo { position: relative; display: grid; place-items: center; }
.gp-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(35, 209, 165, 0.22), transparent 65%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
.gp-frame { position: relative; width: 100%; max-width: 440px; }
.gp-frame img { display: block; width: 100%; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)); }
.gp-sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.28) 45%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; animation: gpSheen 5s 1s ease-in-out infinite;
}
@keyframes gpSheen { 0% { background-position: 150% 0; } 50%, 100% { background-position: -60% 0; } }
.intro-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.intro-points li { position: relative; padding-left: 38px; }
.intro-points li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; border: 1.6px solid rgba(255, 255, 255, 0.8); }
.intro-points li::after { content: ""; position: absolute; left: 9.5px; top: 10.5px; width: 5px; height: 5px; border-radius: 50%; background: #2ee06b; box-shadow: 0 0 8px #2ee06b; }
.intro-points b { display: block; color: #fff; }
.intro-points span { color: #93a8b8; }

/* ---------- app showcase: layers from the app screens ---------- */
.app-sec { padding: 90px 0; overflow: hidden; }
.app-stage { position: relative; width: 100%; max-width: 1060px; margin: 0 auto; aspect-ratio: 1060 / 600; }
.layer { position: absolute; display: block; will-change: transform; }
.app-stage .layer { transition: translate 0.6s var(--ease); }
.l-phone1 { left: 31%; top: 0; width: 22%; z-index: 3; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)); }
.l-phone2 { left: 51%; top: 5%; width: 21.5%; z-index: 2; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.5)) brightness(0.92); }
.l-fan { left: 1%; top: 37%; width: 33%; z-index: 4; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5)); }
.t { width: 7.6%; z-index: 4; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.45)); }
.t1 { left: 12%; top: 8%; } .t2 { left: 21.5%; top: 8%; }
.t3 { left: 12%; top: 71%; } .t4 { left: 21.5%; top: 71%; }
.t5 { left: 73%; top: 8%; } .t6 { left: 82%; top: 8%; } .t7 { left: 91%; top: 8%; }
.t8 { left: 73%; top: 71%; } .t9 { left: 82%; top: 71%; } .t10 { left: 91%; top: 71%; }
.scene-chip {
  left: 74%; top: 42%; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 1.4% 2.2%;
  font-size: clamp(0.72rem, 1.4vw, 1rem); font-weight: 600; color: #fff; border-radius: 16px;
  background: linear-gradient(135deg, #2a2d31, #151719); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 20px 30px rgba(0, 0, 0, 0.45);
}
.sc-dot { width: 10px; height: 10px; border-radius: 50%; background: #8a5cf6; box-shadow: 0 0 10px #8a5cf6; }
/* entrance: pieces fly in, then float */
.js .app-stage .layer { opacity: 0; transform: translateY(40px) scale(0.92); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease), translate 0.6s var(--ease); }
.js .app-stage.in .layer { opacity: 1; transform: none; }
.app-stage.in .l-phone2 { transition-delay: 0.1s; } .app-stage.in .l-phone1 { transition-delay: 0s; }
.app-stage.in .l-fan { transition-delay: 0.35s; }
.app-stage.in .t1 { transition-delay: 0.45s; } .app-stage.in .t2 { transition-delay: 0.5s; } .app-stage.in .t3 { transition-delay: 0.55s; } .app-stage.in .t4 { transition-delay: 0.6s; }
.app-stage.in .t5 { transition-delay: 0.5s; } .app-stage.in .t6 { transition-delay: 0.55s; } .app-stage.in .t7 { transition-delay: 0.6s; }
.app-stage.in .t8 { transition-delay: 0.65s; } .app-stage.in .t9 { transition-delay: 0.7s; } .app-stage.in .t10 { transition-delay: 0.75s; }
.app-stage.in .scene-chip { transition-delay: 0.8s; }
.app-stage.floating .t, .app-stage.floating .l-fan, .app-stage.floating .scene-chip { animation: bobT 6s ease-in-out infinite; }
.app-stage.floating .t:nth-of-type(2n) { animation-delay: -2s; } .app-stage.floating .t:nth-of-type(3n) { animation-delay: -4s; }
@keyframes bobT { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }
.app-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.ap { padding: 22px 24px; border-radius: 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); }
.ap b { display: block; color: #fff; margin-bottom: 4px; font-size: 1.05rem; }
.ap span { color: #93a8b8; }

/* ---------- demo panel: real glass look ---------- */
.panel {
  width: 380px; border-radius: 20px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 22%, transparent 40%),
    linear-gradient(160deg, #2a2f35 0%, #0f1114 40%, #040506 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.8),
    inset 1px 0 0 rgba(255, 255, 255, 0.10),
    0 0 0 1px #000,
    0 0 0 2.5px rgba(255, 255, 255, 0.09),
    0 2px 0 3px rgba(0, 0, 0, 0.6),
    0 40px 80px rgba(0, 0, 0, 0.65);
}
.panel::after { content: ""; position: absolute; inset: 7px; border-radius: 15px; border: 1px solid rgba(255, 255, 255, 0.05); pointer-events: none; }
.panel::before {
  inset: 0; width: auto; height: auto; transform: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10) 47%, transparent 58%) no-repeat;
  background-size: 260% 100%; background-position: 150% 0; animation: gpSheen 7s 1s ease-in-out infinite;
}
.key { border-color: rgba(255, 255, 255, 0.78); box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.04); }

/* ---------- wording-only cards ---------- */
.installed, .local { padding: 80px 0; }
.words { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.word {
  padding: 26px 24px; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09); transition: transform 0.45s var(--ease), border-color 0.3s;
}
.word::before { content: ""; position: absolute; left: 24px; top: 0; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.word:hover { transform: translateY(-5px); border-color: rgba(35, 209, 165, 0.4); }
.word b { display: block; color: #fff; font-size: 1.15rem; margin: 6px 0 6px; }
.word span { color: #93a8b8; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .gp-frame { max-width: 320px; }
  .app-points { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .intro, .app-sec, .installed, .local { padding: 60px 0; }
  .panel { width: 300px; }
  .app-stage { aspect-ratio: 1060 / 700; }
  .scene-chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sketch .draw { stroke-dashoffset: 0; }
  .sketch .glass-body, .sketch .mark, .sketch .speed circle, .sketch .fan-blades, .hero-product .float-chip { opacity: 1; }
  .js .app-stage .layer { opacity: 1; transform: none; }
}

/* =====================================================================
   Round 5 (2026-12-01): whole-home hero, demo phone = real app screen
   ===================================================================== */

/* ---------- hero with the whole-home picture ---------- */
.hero.house { padding: 0; margin-top: -69px; min-height: min(96vh, 920px); display: flex; align-items: center; text-align: center; background: var(--night); }
.hero.house .hero-bg { position: absolute; inset: -3%; z-index: -3; }
.hero.house .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(1.2) saturate(1.15); animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero.house::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 45% at 50% 42%, rgba(6, 17, 26, 0.55), transparent 75%),
    linear-gradient(180deg, rgba(6, 17, 26, 0.55) 0%, rgba(6, 17, 26, 0.15) 35%, rgba(6, 17, 26, 0.45) 75%, var(--night) 100%);
}
.hero-center { position: relative; max-width: 940px; margin: 0 auto; padding: 150px 24px 170px; }
.hero.house .hero-title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5); }
.hero.house .lead { margin: 0 auto 34px; color: #dbe6ee; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }
.hero.house .float-chip { animation: bob 6s ease-in-out infinite; }
.hero.house .float-chip.c1 { left: 6%; top: 30%; }
.hero.house .float-chip.c2 { right: 6%; top: 40%; animation-delay: -2s; }
.hero.house .float-chip.c3 { left: 10%; top: auto; bottom: 18%; right: auto; animation-delay: -4s; }

/* ---------- demo phone: the real OVA Home app home screen ---------- */
.phone { height: 610px; }
.screen.app-real {
  background: linear-gradient(to bottom left, #4898bb 0%, #437e9b 38%, #66807e 68%, #808473 82%, #ac8068 100%);
  color: #fff; padding: 40px 11px 0; font-size: 11px;
}
.app-real .statusbar { color: #fff; }
.app-real .sb-icons i { background: #fff; }
.ar-top { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.ar-home { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ar-actions b { margin-left: 14px; font-size: 19px; font-weight: 400; }
.ar-actions .dots3 { font-size: 16px; }
.ar-label { font-size: 11px; opacity: 0.88; margin: 7px 0 6px; }
.ar-weather, .ar-btns span, .ar-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
}
.ar-weather { display: flex; align-items: center; gap: 8px; padding: 9px 10px; }
.aw-left { flex: 1; display: grid; gap: 2px; }
.aw-left span { font-size: 11px; }
.aw-left img { width: 62px; height: auto; margin-left: 18px; }
.aw-line { width: 1.5px; align-self: stretch; background: linear-gradient(transparent, #fff, transparent); }
.aw-right { flex: 1; display: grid; gap: 1px; }
.aw-right b { font-size: 11px; font-weight: 600; }
.aw-right small { font-size: 8.5px; opacity: 0.9; }
.aw-right strong { font-size: 19px; font-weight: 600; line-height: 1.1; }
.ar-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ar-btns span { display: flex; align-items: center; gap: 7px; padding: 8px 10px; font-size: 11.5px; }
.ar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile.ar-card {
  position: relative; display: grid; align-content: end; gap: 1px; min-height: 84px; padding: 40px 10px 9px;
  color: #fff; box-shadow: none; transition: background 0.35s var(--ease), transform 0.15s;
}
.tile.ar-card.on { background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12)); color: #fff; }
.ar-card b { font-size: 12px; font-weight: 600; }
.ar-card small { font-size: 9.5px; opacity: 0.95; }
.ar-card small i { font-style: normal; opacity: 0.5; margin: 0 2px; }
.ar-card .t-state { font-style: normal; color: #e4981e; }
.ar-card.on .t-state { color: #23d1a5; }
.ar-ic { position: absolute; left: 10px; top: 9px; height: 26px; width: auto; transition: filter 0.3s; }
.ar-card.on .ar-ic { filter: drop-shadow(0 0 8px rgba(255, 220, 120, 0.95)); }
.ar-pw { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; }
.ar-fan { grid-column: 1 / -1; padding: 10px; display: block; cursor: default; }
.ar-fan.on { background: linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12)); }
.af-row { display: flex; align-items: center; gap: 10px; }
.af-row > div { flex: 1; display: grid; }
.ar-fanic { width: 26px; height: 26px; }
.ar-fan.on .ar-fanic { animation: spin var(--fan-s, 1s) linear infinite; }
.ar-pwbtn { all: unset; cursor: pointer; position: relative; width: 26px; height: 26px; flex: none; }
.ar-pwbtn .ar-pw { position: static; display: block; }
.ar-pwbtn:focus-visible, .af-slider:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 50%; }
.af-slider { margin-top: 9px; height: 20px; border-radius: 6px; background: rgba(255, 255, 255, 0.2); cursor: pointer; overflow: hidden; }
.af-fill {
  height: 100%; width: calc(var(--spd, 3) * 25%); border-radius: 6px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px; background: linear-gradient(90deg, #12b986, #23d1a5); transition: width 0.4s var(--ease), filter 0.3s;
}
.af-fill .fan-speed { font-weight: 800; font-size: 12px; }
.af-fill i { width: 2px; height: 10px; border-radius: 1px; background: rgba(255, 255, 255, 0.85); }
.ar-fan:not(.on) .af-fill { filter: grayscale(1) opacity(0.55); }
.ar-nav {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px; padding: 0 6px 8px 58px;
  display: flex; justify-content: space-around; align-items: flex-end;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16)); border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.ar-nav span { display: grid; justify-items: center; gap: 2px; font-size: 8.5px; opacity: 0.95; }
.ar-homebtn { position: absolute !important; left: 10px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid !important; place-items: center; background: rgba(255, 255, 255, 0.22); border: 1px solid rgba(255, 255, 255, 0.25); }

@media (max-width: 600px) {
  .hero.house { margin-top: 0; min-height: 0; }
  .hero-center { padding: 90px 20px 120px; }
  .hero.house .float-chip.c1 { left: 4%; top: 6%; }
  .hero.house .float-chip.c2 { right: 4%; top: auto; bottom: 9%; }
  .hero.house .float-chip.c3 { display: none; }
}

/* =====================================================================
   Round 6 (2026-12-01): live room in the demo, real fan LEDs, voice + IR, inquiry
   ===================================================================== */

/* ---------- live room behind the phone and the panel ---------- */
.demo-stage { background: #05090d; }
.demo-stage > .phone, .demo-stage > .panel-wrap, .demo-stage > .link, .demo-stage > .link-label, .demo-stage > .packet { position: relative; z-index: 2; }
.demo-stage > .link-label, .demo-stage > .packet { position: absolute; }
.room { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-dark { filter: brightness(0.32) saturate(0.75); }
.room-lit { filter: brightness(1.15) saturate(1.15); opacity: calc(var(--l1, 0) * 0.62 + var(--l2, 0) * 0.28); transition: opacity 0.9s var(--ease); }
.lamp-glow { position: absolute; left: 8%; top: 30%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 196, 110, 0.45), transparent 65%); opacity: var(--l2, 0); transition: opacity 0.9s var(--ease); }
.ceiling-fan { position: absolute; top: 0; left: 50%; width: 300px; transform: translateX(-50%); fill: rgba(225, 220, 210, 0.85); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.cf-blades { transform-origin: 100px 24px; animation: fanTurn var(--fan-s, 0.6s) linear infinite; animation-play-state: paused; }
.demo-stage.fan-on .cf-blades { animation-play-state: running; }
@keyframes fanTurn { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
.room-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 13, 0.55) 0%, rgba(5, 9, 13, 0.05) 40%, rgba(5, 9, 13, 0.05) 60%, rgba(5, 9, 13, 0.6) 100%), linear-gradient(0deg, rgba(5, 9, 13, 0.6), transparent 40%); }

/* ---------- glass panel: real 4M-2S1F layout and fan LEDs ---------- */
.glass { grid-template-columns: 46px 18px 46px 16px 46px; grid-template-rows: 46px 46px; gap: 16px 10px; }
.glass .key[data-key="1"] { grid-area: 1 / 1; }
.glass .sensor { grid-area: 1 / 2; width: 16px; height: 16px; align-self: center; justify-self: center; background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0.9px, transparent 1.2px) 0 0 / 4px 4px; }
.glass .key[data-fan="1"] { grid-area: 1 / 3; }
.glass .leds { grid-area: 1 / 4 / 3 / 5; display: flex; flex-direction: column; justify-content: space-between; align-items: center; height: 100%; padding: 4px 0; }
.glass .leds i { width: 9px; height: 3.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.24); transition: background 0.3s, box-shadow 0.3s; }
.glass .leds i.on { background: #42f592; box-shadow: 0 0 6px #42f592, 0 0 12px rgba(66, 245, 146, 0.6); }
.glass .key[data-key="all"] { grid-area: 1 / 5; }
.glass .key[data-key="2"] { grid-area: 2 / 1; }
.glass .key[data-fan="-1"] { grid-area: 2 / 3; }
.glass .key[data-key="fan"] { grid-area: 2 / 5; }
.key { width: 44px; height: 44px; border-radius: 13px; border: 1.8px solid rgba(235, 240, 245, 0.8); }
.key > i { width: 6px; height: 6px; }
.key.on > i { background: #42f592; box-shadow: 0 0 8px #42f592, 0 0 14px rgba(66, 245, 146, 0.6); }
.key.on.fanicon, .key.arrow.on { color: #42f592; border-color: rgba(235, 240, 245, 0.8); box-shadow: none; }
.key.on.fanicon svg, .key.arrow.on svg { filter: drop-shadow(0 0 5px rgba(66, 245, 146, 0.9)); }
.key.press { box-shadow: 0 0 0 5px rgba(66, 245, 146, 0.18); }

/* ---------- voice + IR remote ---------- */
.ways { padding: 90px 0; }
.ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.way-big { padding: 28px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(255, 255, 255, 0.09); }
.way-big h3 { color: #fff; font-size: 1.35rem; margin: 18px 0 6px; }
.way-big p { color: #93a8b8; margin: 0; }
.way-big p b { color: #dbe6ee; }
.vw-visual, .ir-visual { height: 180px; border-radius: 18px; background: radial-gradient(circle at 50% 60%, rgba(16, 61, 94, 0.9), #08141d 75%); display: grid; place-items: center; position: relative; overflow: hidden; }
.wave { display: flex; gap: 6px; align-items: center; height: 70px; }
.wave i { width: 7px; height: 100%; border-radius: 4px; background: linear-gradient(var(--teal), var(--sky)); transform: scaleY(0.25); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: -0.9s; } .wave i:nth-child(3) { animation-delay: -0.7s; } .wave i:nth-child(4) { animation-delay: -0.5s; }
.wave i:nth-child(5) { animation-delay: -0.3s; } .wave i:nth-child(6) { animation-delay: -0.15s; } .wave i:nth-child(7) { animation-delay: -0.05s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
.say { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; }
.say-text { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; font-size: 0.92rem; transition: opacity 0.4s, transform 0.4s; }
.say-text.out { opacity: 0; transform: translateY(6px); }
.ir-visual { grid-template-columns: auto 1fr auto; gap: 10px; padding: 0 34px; }
.remote { width: 46px; height: 124px; border-radius: 16px; background: linear-gradient(160deg, #3a4048, #15181c); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2); display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 26px 9px 12px; position: relative; transform: rotate(-12deg); }
.remote i { height: 9px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); }
.remote i:first-of-type { animation: btnPress 2.4s infinite; }
@keyframes btnPress { 0%, 8% { background: var(--teal); } 12%, 100% { background: rgba(255, 255, 255, 0.25); } }
.r-led { position: absolute; top: 9px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #ff5a5a; animation: irLed 2.4s infinite; }
@keyframes irLed { 0%, 14% { box-shadow: 0 0 10px #ff5a5a; opacity: 1; } 20%, 100% { box-shadow: none; opacity: 0.35; } }
.beam { position: relative; height: 80px; }
.beam i { position: absolute; left: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 2px solid rgba(255, 110, 110, 0.7); border-left-color: transparent; border-bottom-color: transparent; border-top-color: transparent; opacity: 0; animation: irBeam 2.4s infinite; }
.beam i:nth-child(2) { animation-delay: 0.12s; } .beam i:nth-child(3) { animation-delay: 0.24s; }
@keyframes irBeam { 0% { transform: translateX(0) scale(0.6); opacity: 0; } 8% { opacity: 1; } 40% { transform: translateX(130px) scale(1.4); opacity: 0; } 100% { opacity: 0; } }
.mini-panel { width: 92px; height: 58px; border-radius: 10px; background: linear-gradient(160deg, #2a2f35, #050607); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 30px rgba(0, 0, 0, 0.5); display: flex; gap: 8px; align-items: center; justify-content: center; }
.mini-panel span { width: 18px; height: 18px; border-radius: 6px; border: 1.4px solid rgba(255, 255, 255, 0.75); position: relative; }
.mini-panel span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: #fff; }
.mini-panel span.lit::after { animation: panelLit 2.4s infinite; }
@keyframes panelLit { 0%, 30% { background: #fff; box-shadow: none; } 36%, 90% { background: #42f592; box-shadow: 0 0 6px #42f592; } 100% { background: #fff; } }
.ways-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 18px; }
.way { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); display: grid; gap: 4px; transition: transform 0.4s var(--ease), border-color 0.3s; }
.way:hover { transform: translateY(-5px); border-color: rgba(35, 209, 165, 0.4); }
.way svg { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--teal-soft); fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.way b { color: #fff; }
.way span { color: #93a8b8; font-size: 0.92rem; }

/* ---------- inquiry ---------- */
.inquiry { padding: 90px 0 40px; }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.inq-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inq-card { display: grid; gap: 2px; padding: 18px; border-radius: 18px; text-decoration: none; color: #93a8b8; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); transition: transform 0.35s var(--ease), border-color 0.3s; }
a.inq-card:hover { transform: translateY(-4px); border-color: rgba(35, 209, 165, 0.45); color: #93a8b8; }
.inq-card b { color: #fff; }
.inq-card span:last-child { font-size: 0.92rem; }
.ic { width: 34px; height: 34px; border-radius: 11px; margin-bottom: 8px; background: var(--teal-soft) center / 18px no-repeat; }
.ic.call { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323d1a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ic.wa { background-color: rgba(37, 211, 102, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325d366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.7-5A8.5 8.5 0 1 1 8 19.3z'/%3E%3Cpath d='M9 9.5c0 3 2.5 5.5 5.5 5.5l1-1.5-2-1-1 .8a4 4 0 0 1-1.8-1.8l.8-1-1-2z'/%3E%3C/svg%3E"); }
.ic.mail { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323d1a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ic.pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323d1a5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ic.sm { width: 20px; height: 20px; margin: 0; border-radius: 6px; background-color: rgba(4, 36, 27, 0.15); background-size: 14px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304241b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.7-5A8.5 8.5 0 1 1 8 19.3z'/%3E%3C/svg%3E"); }
.inq-form { padding: 28px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 14px; }
.inq-form h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.inq-form label { display: grid; gap: 6px; color: #c9d8e2; font-size: 0.92rem; font-weight: 600; }
.inq-form input, .inq-form select, .inq-form textarea {
  font: inherit; font-weight: 400; color: #fff; padding: 12px 14px; border-radius: 12px; resize: vertical;
  background: rgba(6, 17, 26, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); transition: border-color 0.2s, box-shadow 0.2s;
}
.inq-form select option { color: #12202c; }
.inq-form input:focus, .inq-form select:focus, .inq-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35, 209, 165, 0.2); }
.inq-form .btn { justify-content: center; border: 0; cursor: pointer; font-size: 1rem; }
.inq-error { margin: 0; color: #ff8a8a; font-size: 0.9rem; }
.inq-note { margin: 0; color: #6f8596; font-size: 0.82rem; }

@media (max-width: 860px) {
  .ways-grid, .inq-grid { grid-template-columns: 1fr; }
  .ways-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ways, .inquiry { padding: 60px 0; }
  .inq-cards { grid-template-columns: 1fr; }
  .glass { grid-template-columns: 40px 14px 40px 12px 40px; grid-template-rows: 40px 40px; gap: 14px 8px; }
  .key { width: 40px; height: 40px; }
  .ceiling-fan { width: 200px; }
}
