:root {
  --ink: #08121f;
  --navy: #0b1726;
  --navy-soft: #112437;
  --green: #36d792;
  --green-dark: #18a96c;
  --mint: #e7fff4;
  --paper: #f6f8f7;
  --line: #dce5e2;
  --muted: #65727d;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(8, 18, 31, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Fira GO", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; transition: .3s; }
.site-header.scrolled { background: rgba(8,18,31,.92); backdrop-filter: blur(16px); box-shadow: 0 8px 35px rgba(0,0,0,.12); }
.nav-wrap { height: 82px; display: flex; align-items: center; gap: 30px; }
.brand { color: white; font-weight: 800; font-size: 21px; display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.5px; user-select: none; caret-color: transparent; cursor: pointer; }
.brand em { color: var(--green); font-style: normal; }
.brand-logo { display: block; width: 178px; height: auto; filter: drop-shadow(0 0 10px rgba(54,215,146,.08)); user-select: none; }
.footer-brand .brand-logo { width: 205px; }
.brand-mark { width: 32px; height: 32px; border: 2px solid var(--green); border-radius: 9px 9px 12px 12px; display: grid; place-items: center; transform: rotate(45deg); position: relative; }
.brand-mark::before { content: ""; width: 13px; height: 13px; border: 2px solid var(--green); border-radius: 50%; }
.brand-mark span { position: absolute; width: 8px; height: 8px; background: var(--green); border-radius: 50%; transform: rotate(-45deg); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.75); font-size: 14px; transition: .2s; }
.main-nav a:hover { color: white; }
.cart-button { height: 43px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.07); color: white; display: flex; align-items: center; gap: 8px; padding: 0 12px; cursor: pointer; }
.cart-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count { min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 8px; background: var(--green); color: var(--ink); font-size: 12px; }
.menu-toggle { display: none; background: none; border: 0; }

.hero { min-height: 780px; padding: 180px 0 105px; color: white; background: var(--navy); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(54,215,146,.5), transparent); }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .2; }
.hero-glow-one { width: 480px; height: 480px; right: -140px; top: 40px; background: var(--green); }
.hero-glow-two { width: 320px; height: 320px; left: 20%; bottom: -240px; background: #3478ff; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 80px; position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow span { width: 25px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--green); }
.hero h1 { margin: 24px 0 28px; font-size: clamp(52px, 6vw, 82px); line-height: .99; letter-spacing: -4px; }
.hero h1 span { color: var(--green); }
.hero-copy > p { color: #b5c0c9; line-height: 1.8; font-size: 17px; max-width: 610px; }
.hero-actions { display: flex; gap: 13px; margin-top: 36px; }
.btn { border: 0; min-height: 52px; padding: 0 23px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--ink); box-shadow: 0 12px 35px rgba(54,215,146,.18); }
.btn-primary:hover { background: #4de7a5; box-shadow: 0 15px 40px rgba(54,215,146,.28); }
.btn-ghost { border: 1px solid rgba(255,255,255,.22); color: white; background: rgba(255,255,255,.04); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; color: #9ca9b3; font-size: 12px; }
.hero-notes i { color: var(--green); font-style: normal; margin-right: 5px; }

.home-visual { height: 510px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(54,215,146,.18); border-radius: 50%; }
.orbit-one { width: 420px; height: 420px; }
.orbit-two { width: 540px; height: 540px; opacity: .5; }
.device-card { border: 1px solid rgba(255,255,255,.12); background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); backdrop-filter: blur(18px); box-shadow: 0 35px 90px rgba(0,0,0,.35); }
.main-device { width: 330px; min-height: 420px; border-radius: 35px; padding: 29px; transform: rotate(2deg); position: relative; z-index: 3; }
.device-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.device-top b { font-size: 10px; color: var(--green); background: rgba(54,215,146,.12); padding: 6px 8px; border-radius: 20px; }
.temperature { padding: 36px 0 25px; }
.temperature span { display: block; font-size: 66px; font-weight: 300; letter-spacing: -5px; }
.temperature small { color: #91a1ad; }
.room-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.room-row > div { background: rgba(255,255,255,.07); padding: 15px; border-radius: 15px; }
.room-row i { display: block; margin-bottom: 14px; }
.room-row span, .room-row b { display: block; font-size: 10px; }
.room-row b { margin-top: 4px; color: var(--green); }
.bulb-icon { width: 17px; height: 17px; border: 2px solid var(--green); border-radius: 50%; position: relative; }
.bulb-icon::after { content: ""; position: absolute; width: 7px; height: 4px; left: 3px; bottom: -6px; border-top: 2px solid var(--green); border-bottom: 2px solid var(--green); }
.lock-icon { width: 16px; height: 14px; border: 2px solid var(--green); border-radius: 4px; position: relative; }
.lock-icon::before { content: ""; width: 8px; height: 8px; position: absolute; left: 2px; top: -9px; border: 2px solid var(--green); border-bottom: 0; border-radius: 7px 7px 0 0; }
.energy-row { display: flex; justify-content: space-between; margin-top: 26px; font-size: 10px; color: #91a1ad; }
.energy-row b { color: white; }
.energy-chart { height: 65px; display: flex; align-items: flex-end; gap: 6px; margin-top: 10px; }
.energy-chart i { flex: 1; height: 40%; border-radius: 4px; background: rgba(54,215,146,.22); }
.energy-chart i:nth-child(2), .energy-chart i:nth-child(6) { height: 62%; }
.energy-chart i:nth-child(3) { height: 47%; }
.energy-chart i:nth-child(4), .energy-chart i:nth-child(7) { height: 82%; background: var(--green); }
.energy-chart i:nth-child(5) { height: 70%; }
.floating-card { position: absolute; z-index: 5; display: flex; gap: 14px; align-items: center; border: 1px solid rgba(255,255,255,.13); background: rgba(12,29,44,.9); backdrop-filter: blur(15px); padding: 16px 18px; border-radius: 16px; box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.floating-card > i { flex: 0 0 auto; }
.floating-card span { font-size: 11px; font-weight: 600; }
.floating-card small { display: block; color: var(--green); margin-top: 3px; font-size: 9px; }
.float-lock { left: 2px; top: 90px; animation: float 4s ease-in-out infinite; }
.float-light { right: -12px; bottom: 84px; animation: float 4.5s ease-in-out .6s infinite; }
.signal-dot { width: 7px; height: 7px; position: absolute; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 7px rgba(54,215,146,.08); }
.dot-one { left: 25px; bottom: 110px; }.dot-two { right: 35px; top: 110px; }.dot-three { right: 70px; bottom: 10px; }
@keyframes float { 50% { transform: translateY(-10px); } }

.trust-strip { background: #0e1c2b; color: white; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { display: flex; gap: 17px; align-items: center; min-height: 125px; padding: 20px 40px; border-right: 1px solid rgba(255,255,255,.08); }
.trust-grid > div:first-child { padding-left: 0; }.trust-grid > div:last-child { border: 0; }
.trust-grid b { color: var(--green); font-size: 12px; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { font-size: 13px; margin-bottom: 5px; }.trust-grid small { color: #8796a2; font-size: 11px; }

.products { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.section-head h2, .install-copy h2, .contact-cta h2 { margin: 16px 0 0; font-size: clamp(34px, 4.3vw, 55px); line-height: 1.08; letter-spacing: -2px; }
.section-head > p { max-width: 470px; margin: 0; line-height: 1.7; color: var(--muted); font-size: 14px; }
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 34px; }
.filters button { border: 1px solid var(--line); background: white; padding: 10px 16px; border-radius: 10px; color: var(--muted); font-size: 12px; cursor: pointer; transition: .2s; }
.filters button.active, .filters button:hover { background: var(--ink); color: white; border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.catalog-loading { grid-column: 1 / -1; padding: 55px; text-align: center; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid #e6ecea; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }
.product-visual { height: 245px; position: relative; display: grid; place-items: center; overflow: hidden; }
.product-visual::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: rgba(255,255,255,.45); filter: blur(1px); }
.product-photo { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; background: white; }
.product-visual.has-photo::before { display: none; }
.cam-visual { background: linear-gradient(145deg, #e8efef, #d6e1df); }
.bulb-visual { background: linear-gradient(145deg, #e7f6ee, #d1eadf); }
.hub-visual { background: linear-gradient(145deg, #e3e9f1, #cdd8e5); }
.sensor-visual { background: linear-gradient(145deg, #f1eee6, #e2dbcc); }
.stock-label { position: absolute; z-index: 3; left: 16px; top: 16px; padding: 6px 8px; background: rgba(255,255,255,.8); border-radius: 7px; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.camera-shape { width: 96px; height: 120px; position: relative; z-index: 2; border-radius: 47px 47px 25px 25px; background: #f8fafa; box-shadow: 0 20px 35px rgba(19,46,49,.18), inset -8px -10px 22px rgba(0,0,0,.04); }
.camera-shape::before { content: ""; position: absolute; width: 62px; height: 62px; border-radius: 50%; background: #111d28; left: 17px; top: 17px; box-shadow: inset 0 0 0 10px #263949; }
.camera-shape::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #5085a0; left: 39px; top: 39px; box-shadow: inset 0 0 0 5px #101820; }
.camera-shape i { position: absolute; width: 120px; height: 15px; border-radius: 50%; background: rgba(6,19,25,.15); bottom: -24px; left: -12px; filter: blur(8px); }
.smart-bulb { position: relative; z-index: 2; width: 95px; height: 105px; border-radius: 50px 50px 40px 40px; background: radial-gradient(circle at 35% 30%, #fff, #d5ffe8 55%, #8be2b7); box-shadow: 0 0 55px rgba(54,215,146,.55); }
.smart-bulb::after { content: ""; position: absolute; width: 49px; height: 37px; left: 23px; bottom: -24px; background: repeating-linear-gradient(#8d9994 0 5px,#cad2cf 5px 9px); border-radius: 0 0 17px 17px; }
.smart-bulb i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: white; top: 24px; left: 28px; opacity: .9; }
.hub-shape { position: relative; z-index: 2; width: 145px; height: 145px; border-radius: 38px; background: linear-gradient(145deg,#f8fafb,#bac8d4); box-shadow: 20px 24px 35px rgba(25,45,67,.2), inset 1px 1px 4px white; transform: perspective(400px) rotateX(55deg) rotateZ(-15deg); display: flex; gap: 10px; align-items: center; justify-content: center; }
.hub-shape::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(0,0,0,.08); border-radius: 31px; }
.hub-shape i { width: 8px; height: 8px; border-radius: 50%; background: var(--green-dark); box-shadow: 0 0 10px var(--green); }
.sensor-shape { position: relative; z-index: 2; width: 130px; height: 130px; border-radius: 30px; background: linear-gradient(145deg,#fff,#d9d7d0); box-shadow: 16px 20px 30px rgba(56,52,42,.18), inset 1px 1px 4px white; display: grid; place-content: center; text-align: center; }
.sensor-shape b { font-size: 27px; font-weight: 500; }.sensor-shape small { color: var(--muted); margin-top: 4px; }
.product-info { padding: 20px; }
.product-meta { display: flex; justify-content: space-between; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.product-meta b { color: var(--muted); background: var(--paper); border-radius: 6px; padding: 4px 6px; }
.product-info h3 { font-size: 17px; margin: 12px 0 9px; }
.product-info h3 a:hover { color: var(--green-dark); }
.product-info p { color: var(--muted); line-height: 1.55; font-size: 11px; min-height: 51px; }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; }
.price-row strong { font-size: 19px; }
.price-row strong del { display: block; color: #98a39f; font-size: 11px; font-weight: 500; }
.add-cart { width: 38px; height: 38px; border: 0; border-radius: 11px; background: var(--ink); color: white; font-size: 24px; cursor: pointer; transition: .2s; }
.add-cart:hover { background: var(--green-dark); }
.add-cart.added { background: var(--green); color: var(--ink); }
.out-of-stock { width: 38px; height: 38px; border: 0; border-radius: 11px; background: #edf1ef; color: #9aa49f; font-size: 10px; }
.switch-visual { background: linear-gradient(145deg, #eff3f4, #d4dcdf); }
.switch-shape { position: relative; z-index: 2; width: 125px; height: 145px; border-radius: 19px; background: linear-gradient(145deg,#fff,#ccd4d6); box-shadow: 17px 22px 35px rgba(20,40,50,.2), inset 1px 1px 4px #fff; display: grid; place-items: center; }
.switch-shape::before { content: ""; width: 60px; height: 60px; border: 1px solid #b7c2c3; border-radius: 50%; box-shadow: inset 0 0 0 7px #edf2f1; }
.switch-shape i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); bottom: 19px; }
.door-visual { background: linear-gradient(145deg, #eef0e8, #daddca); }
.door-shape { position: relative; z-index: 2; width: 130px; height: 80px; display: flex; align-items: center; gap: 10px; transform: rotate(-8deg); }
.door-shape::before, .door-shape::after { content: ""; display: block; height: 62px; border-radius: 14px; background: linear-gradient(145deg,#fff,#d4d7ce); box-shadow: 12px 16px 25px rgba(35,45,25,.17); }
.door-shape::before { width: 78px; }.door-shape::after { width: 28px; }
.catalog-note { display: flex; align-items: center; gap: 13px; margin-top: 22px; color: var(--muted); font-size: 11px; }
.catalog-note > span { width: 24px; height: 24px; flex: 0 0 auto; border: 1px solid var(--line); background: white; display: grid; place-items: center; border-radius: 50%; font-weight: 700; }

.installation { background: var(--navy); color: white; position: relative; overflow: hidden; }
.installation::before { content: ""; position: absolute; width: 650px; height: 650px; left: -400px; top: -100px; border-radius: 50%; background: rgba(54,215,146,.08); filter: blur(30px); }
.install-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; position: relative; }
.install-copy > p { color: #9cabb6; line-height: 1.7; font-size: 14px; max-width: 560px; margin: 25px 0 35px; }
.install-steps { list-style: none; padding: 0; margin: 0; }
.install-steps li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.install-steps li > b { color: var(--green); font-size: 11px; margin-top: 3px; }
.install-steps strong, .install-steps small { display: block; }.install-steps strong { font-size: 14px; margin-bottom: 7px; }.install-steps small { color: #84939e; font-size: 11px; }
.quote-form { background: white; color: var(--ink); padding: 36px; border-radius: 25px; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.form-heading span { color: var(--green-dark); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.form-heading h3 { margin: 10px 0 24px; font-size: 22px; line-height: 1.3; }
.quote-form label { display: block; margin-bottom: 14px; font-size: 10px; font-weight: 600; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line); background: #f9fbfa; outline: 0; font-size: 12px; transition: .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(54,215,146,.12); }
.quote-form textarea { resize: vertical; }
.submit-btn { width: 100%; margin-top: 5px; }
.form-note { display: block; color: #95a09c; margin-top: 12px; text-align: center; font-size: 9px; }
.form-success { display: none; margin-top: 14px; padding: 12px; background: var(--mint); color: #087047; border-radius: 10px; font-size: 11px; line-height: 1.5; }
.form-success.show { display: block; }
.checkout-summary { margin: 0 0 16px; padding: 17px; border: 1px solid #cce8dc; border-radius: 14px; background: #f2fbf7; }
.delivery-fields { margin: 0 0 16px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #f9fbfa; }
.delivery-heading { margin-bottom: 14px; }.delivery-heading strong, .delivery-heading small { display: block; }.delivery-heading strong { font-size: 13px; }.delivery-heading small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.purchase-notice { margin-bottom: 16px; padding: 13px; border-radius: 10px; background: #fff7e8; border: 1px solid #f0ddb7; }
.purchase-notice strong { display: block; color: #79551a; font-size: 11px; line-height: 1.5; }
.purchase-notice p { margin: 6px 0 0; color: #8b744f; font-size: 9px; line-height: 1.6; }
.quote-form .installation-choice { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 0; padding: 13px; border-radius: 10px; background: #eef9f4; cursor: pointer; }
.quote-form .installation-choice input { width: auto; margin: 2px 0 0; }
.installation-choice span strong, .installation-choice span small { display: block; }
.installation-choice span strong { font-size: 10px; }
.installation-choice span small { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.checkout-summary-head, .checkout-summary-total, .checkout-summary-items > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.checkout-summary-head { padding-bottom: 12px; border-bottom: 1px solid #d9ebe3; }
.checkout-summary-head strong { font-size: 13px; }
.edit-cart { border: 0; background: none; color: var(--green-dark); font-size: 10px; font-weight: 700; cursor: pointer; }
.checkout-summary-items > div { padding: 10px 0; border-bottom: 1px solid #e0eee8; font-size: 10px; }
.checkout-summary-items span b { color: var(--green-dark); }
.checkout-summary-items strong { white-space: nowrap; }
.checkout-cost-row { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; font-size: 10px; color: var(--muted); }
.checkout-cost-row strong { color: var(--ink); }
.checkout-summary-total { padding-top: 13px; font-size: 12px; }
.checkout-summary-total strong { font-size: 17px; }

.how { background: white; }
.apps-section { background: var(--paper); }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: auto; }
.app-card { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 35px rgba(8,18,31,.05); }
.app-logo { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 19px; background: linear-gradient(145deg,#2da8ff,#3671e8); color: white; font-weight: 800; font-size: 22px; }
.app-logo.tuya { background: linear-gradient(145deg,#ff8b35,#ef473f); }
.app-card>div>span { color: var(--green-dark); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.app-card h3 { margin: 7px 0 9px; font-size: 19px; }
.app-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.app-downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.app-downloads a { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); font-size: 9px; font-weight: 700; }
.app-downloads a:hover { border-color: var(--green-dark); color: var(--green-dark); }
.section-head.centered { display: block; text-align: center; max-width: 720px; margin: 0 auto 70px; }
.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered > p { margin: 22px auto 0; }
.ecosystem { display: grid; grid-template-columns: 1fr 120px 220px 120px 1fr; align-items: center; max-width: 900px; margin: auto; }
.eco-card, .eco-center { text-align: center; }
.eco-card { padding: 35px 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.eco-card strong, .eco-card small, .eco-center b, .eco-center small { display: block; }
.eco-card strong { margin: 15px 0 7px; font-size: 14px; }.eco-card small { color: var(--muted); font-size: 10px; }
.eco-icon { width: 48px; height: 48px; margin: auto; border-radius: 14px; display: grid; place-items: center; background: white; color: var(--green-dark); font-size: 25px; font-style: normal; box-shadow: 0 8px 25px rgba(8,18,31,.08); }
.eco-center { position: relative; }
.eco-center .brand-mark { margin: auto auto 20px; width: 62px; height: 62px; background: var(--ink); border-radius: 18px; box-shadow: 0 15px 35px rgba(8,18,31,.2); }
.eco-center b { font-size: 17px; }.eco-center small { color: var(--muted); font-size: 10px; margin-top: 5px; }
.eco-line { height: 1px; background: repeating-linear-gradient(90deg, var(--green-dark) 0 5px, transparent 5px 10px); }
.scenario-bar { max-width: 900px; margin: 38px auto 0; padding: 20px 24px; background: var(--ink); border-radius: 16px; color: white; display: flex; align-items: center; gap: 24px; }
.scenario-bar > span { font-size: 12px; font-weight: 700; white-space: nowrap; }.scenario-bar > span i { width: 8px; height: 8px; display: inline-block; margin-right: 9px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(54,215,146,.1); }
.scenario-bar p { margin: 0 auto 0 0; color: #92a1ac; font-size: 10px; }
.scenario-bar button { flex: 0 0 auto; border: 0; width: 45px; height: 25px; background: #374452; border-radius: 30px; padding: 3px; cursor: pointer; transition: .2s; }
.scenario-bar button i { display: block; width: 19px; height: 19px; border-radius: 50%; background: white; transition: .25s; }
.scenario-bar button.active { background: var(--green); }.scenario-bar button.active i { transform: translateX(20px); }

.contact-cta { background: var(--green-dark); color: white; }
.contact-cta .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.cta-side p { margin: 0 0 25px; color: rgba(255,255,255,.78); line-height: 1.7; font-size: 13px; }.btn-white { background: white; color: var(--ink); }
footer { background: #07101b; color: white; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 60px; padding-bottom: 55px; }
.footer-brand { margin-bottom: 20px; }.footer-grid p { color: #7f8d98; line-height: 1.7; font-size: 11px; max-width: 270px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 11px; }.footer-grid strong { font-size: 11px; margin-bottom: 7px; }.footer-grid a, .footer-grid span { color: #83919c; font-size: 10px; }.footer-grid a:hover { color: var(--green); }.footer-grid small { color: #53616c; font-size: 9px; }
.footer-bottom { min-height: 65px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; color: #52606b; font-size: 9px; }

.cart-drawer { position: fixed; z-index: 100; right: 0; top: 0; width: min(420px, 100%); height: 100%; background: white; transform: translateX(105%); transition: .35s ease; display: flex; flex-direction: column; padding: 26px; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.cart-drawer.open { transform: translateX(0); }.cart-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; }.cart-head h2 { margin: 0; font-size: 23px; }.cart-close { border: 0; background: var(--paper); width: 38px; height: 38px; border-radius: 50%; font-size: 24px; cursor: pointer; }
.cart-items { overflow: auto; }.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }.cart-item strong { font-size: 13px; }.cart-item span { color: var(--muted); font-size: 11px; }.cart-remove { align-self: start; border: 0; background: none; color: #a35757; cursor: pointer; font-size: 10px; }.cart-quantity { display: inline-flex; width: max-content; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }.cart-quantity button { width: 31px; height: 29px; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 16px; }.cart-quantity span { min-width: 30px; text-align: center; color: var(--ink); font-weight: 700; }.cart-line-price { font-weight: 700; color: var(--ink) !important; text-align: right; }
.cart-empty { text-align: center; margin: auto; color: var(--muted); }.cart-empty span { display: block; font-size: 45px; color: var(--green-dark); }.cart-empty h3 { color: var(--ink); }.cart-empty p { font-size: 12px; }.cart-empty.hidden { display: none; }
.cart-footer { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; }.cart-footer > div { display: flex; justify-content: space-between; margin-bottom: 16px; }.cart-footer .btn { width: 100%; }.cart-footer small { display: block; text-align: center; margin-top: 11px; color: var(--muted); font-size: 9px; }
.overlay { position: fixed; z-index: 90; inset: 0; background: rgba(4,10,16,.65); opacity: 0; pointer-events: none; transition: .3s; }.overlay.show { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s, transform .7s; }.reveal.visible { opacity: 1; transform: none; }

/* Product detail */
.product-page { background: var(--paper); }
.product-cart-button { flex: 0 0 auto; }
.product-checkout { width: 100%; }
.product-detail-wrap { padding: 125px 0 90px; min-height: 75vh; }
.product-loading, .product-error { min-height: 55vh; display: grid; place-items: center; color: var(--muted); }
.product-error a { color: var(--green-dark); text-decoration: underline; }
.product-breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 11px; margin-bottom: 28px; }
.product-breadcrumb b { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-hero { display: grid; grid-template-columns: 1fr .9fr; gap: 75px; align-items: center; }
.detail-visual { min-height: 520px; border-radius: 30px; position: relative; display: grid; place-items: center; overflow: hidden; }
.detail-visual::before { width: 360px; height: 360px; }
.detail-visual .camera-shape, .detail-visual .smart-bulb, .detail-visual .hub-shape, .detail-visual .sensor-shape, .detail-visual .switch-shape { transform: scale(1.55); }
.detail-visual .door-shape { transform: rotate(-8deg) scale(1.55); }
.detail-brand { position: absolute; left: 25px; top: 25px; background: rgba(255,255,255,.8); padding: 8px 11px; border-radius: 9px; font-size: 10px; font-weight: 700; }
.detail-gallery { min-width: 0; }
.detail-main-image { position: relative; height: 520px; border-radius: 30px; overflow: hidden; background: white; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 22px; }
.detail-main-image > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-thumbnails { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 2px 2px 7px; scroll-snap-type: x mandatory; }
.detail-thumbnails button { padding: 0; aspect-ratio: 1; border: 2px solid transparent; border-radius: 11px; overflow: hidden; background: white; cursor: pointer; }
.detail-thumbnails button { flex: 0 0 82px; scroll-snap-align: center; }
.detail-thumbnails button.active { border-color: var(--green-dark); }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 1px solid rgba(8,18,31,.12); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 30px; line-height: 1; box-shadow: 0 8px 25px rgba(8,18,31,.12); }
.gallery-prev { left: 15px; }.gallery-next { right: 15px; }.gallery-arrow:hover { background: var(--green); }
.detail-copy h1 { margin: 18px 0; font-size: clamp(38px, 5vw, 64px); letter-spacing: -2.8px; line-height: 1.05; }
.detail-short { color: var(--muted); font-size: 15px; line-height: 1.75; }
.detail-price { margin: 30px 0 17px; }.detail-price del { display: block; color: #98a39f; font-size: 14px; }.detail-price strong { font-size: 32px; }
.availability { display: flex; align-items: center; gap: 9px; color: #a05c5c; font-size: 11px; margin-bottom: 24px; }.availability i { width: 8px; height: 8px; background: currentColor; border-radius: 50%; }.availability.in-stock { color: var(--green-dark); }
.detail-add { min-width: 230px; }.detail-add:disabled { background: #dfe5e2; color: #86918c; cursor: not-allowed; box-shadow: none; }
.detail-assurances { margin-top: 23px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 10px; }
.detail-assurances span::first-letter { color: var(--green-dark); }
.detail-information { display: grid; grid-template-columns: 1fr .75fr; gap: 90px; padding-top: 100px; }
.detail-information h2, .product-video h2 { font-size: 36px; letter-spacing: -1.5px; margin: 15px 0 20px; }.detail-information article p, .product-video p { color: var(--muted); line-height: 1.9; font-size: 14px; }
.detail-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-information aside { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 30px; }.detail-information aside h3 { margin: 0 0 20px; }
.detail-information dl { margin: 0; }.detail-information dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 11px; }.detail-information dt { color: var(--muted); }.detail-information dd { margin: 0; font-weight: 600; text-align: right; }
.product-video { display: grid; grid-template-columns: .65fr 1.35fr; gap: 65px; align-items: center; padding-top: 100px; }.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; object-fit: cover; }
.detail-help { background: var(--navy); color: white; padding: 60px 0; }.detail-help .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }.detail-help span { color: var(--green); font-size: 11px; }.detail-help h2 { margin: 8px 0 0; font-size: 32px; }.product-page .footer-grid { grid-template-columns: 2fr 1fr; }

@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; left: 20px; right: 20px; top: 74px; padding: 18px; background: #102031; border-radius: 15px; flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }.menu-toggle { display: flex; margin-left: auto; flex-direction: column; gap: 4px; padding: 10px; }.menu-toggle span { width: 22px; height: 2px; background: white; }
  .hero-grid { grid-template-columns: 1fr; }.hero-copy { text-align: center; }.hero-copy .eyebrow, .hero-actions, .hero-notes { justify-content: center; }.hero-copy > p { margin-inline: auto; }.home-visual { height: 480px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }.install-grid { grid-template-columns: 1fr; gap: 60px; }.contact-cta .container { grid-template-columns: 1fr; gap: 35px; }.app-cards { grid-template-columns: 1fr; }
  .trust-grid > div { padding: 20px; }.footer-grid { grid-template-columns: 2fr 1fr 1fr; }.footer-grid > div:last-child { grid-column: 1 / -1; }
  .detail-hero, .detail-information, .product-video { grid-template-columns: 1fr; gap: 45px; }.detail-visual { min-height: 430px; }.product-nav { display: flex; position: static; padding: 0; background: none; flex-direction: row; }.product-page .menu-toggle { display: none; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }.section { padding: 78px 0; }.site-header .cart-button span { display: none; }.nav-wrap { height: 70px; }.brand { font-size: 18px; }.brand-logo { width: 145px; }.brand-mark { width: 27px; height: 27px; }
  .hero { padding: 130px 0 70px; }.hero h1 { letter-spacing: -2.5px; }.hero-actions { flex-direction: column; }.hero-actions .btn { width: 100%; }.hero-notes { gap: 10px; }.home-visual { height: 410px; margin-top: 10px; }.main-device { width: 270px; min-height: 365px; padding: 23px; }.temperature { padding: 25px 0 18px; }.temperature span { font-size: 55px; }.orbit-one { width: 330px; height: 330px; }.orbit-two { width: 410px; height: 410px; }.float-lock { left: -5px; top: 55px; }.float-light { right: -4px; bottom: 38px; }.floating-card { padding: 12px; }
  .trust-grid { grid-template-columns: 1fr; padding: 15px 0; }.trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); min-height: 90px; padding: 20px 5px; }.trust-grid > div:first-child { padding-left: 5px; }
  .section-head { display: block; }.section-head > p { margin-top: 20px; }.product-grid { grid-template-columns: 1fr; }.product-visual { height: 220px; }.quote-form { padding: 26px 20px; }.ecosystem { grid-template-columns: 1fr; gap: 18px; }.eco-line { width: 1px; height: 35px; margin: auto; background: repeating-linear-gradient(0deg,var(--green-dark) 0 5px,transparent 5px 10px); }.scenario-bar { align-items: flex-start; flex-wrap: wrap; }.scenario-bar button { margin-left: auto; }.scenario-bar p { width: calc(100% - 70px); order: 3; }.footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }.footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }.footer-bottom { gap: 20px; }
  .product-page .product-nav { display: none; }.product-detail-wrap { padding-top: 100px; }.detail-visual { min-height: 350px; }.detail-copy h1 { font-size: 38px; }.detail-information { padding-top: 70px; }.detail-help .container { align-items: flex-start; flex-direction: column; }.product-page .footer-grid { grid-template-columns: 1fr; }.app-card { grid-template-columns: 52px 1fr; padding: 21px; }.app-logo { width: 52px; height: 52px; border-radius: 15px; font-size: 17px; }.gallery-arrow { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 980px) { .detail-main-image { height: 430px; } }
@media (max-width: 760px) { .detail-main-image { height: 350px; padding: 14px; } }
