:root {
  --bg: #080a16;
  --bg-soft: #0e1122;
  --panel: rgba(20, 23, 44, .82);
  --panel-solid: #15182d;
  --panel-light: #1b1f38;
  --text: #f6f7fb;
  --muted: #aeb5c9;
  --line: rgba(255, 255, 255, .10);
  --violet: #8b5cf6;
  --violet-strong: #7137f3;
  --violet-light: #b69cff;
  --cyan: #4de1ff;
  --green: #5fe2a0;
  --danger: #ff7d93;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --radius: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(115, 55, 243, .15), transparent 34rem),
    radial-gradient(circle at 90% 32%, rgba(77, 225, 255, .07), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  z-index: -1;
}
html[dir="rtl"] body { font-family: Tahoma, Arial, sans-serif; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; inset-inline-start: 8px; transform: translateY(-160%); z-index: 999; background: white; color: black; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.announcement { height: 36px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #ddd9f8; background: #12152a; border-bottom: 1px solid var(--line); font-size: .78rem; letter-spacing: .03em; }
.status-dot, .live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 5px rgba(95,226,160,.10), 0 0 18px rgba(95,226,160,.5); }
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(18px); background: rgba(8, 10, 22, .74); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 1.25rem; letter-spacing: -.04em; }
.brand > span > span { font-weight: 800; }
.brand-mark { width: 34px; height: 34px; fill: none; stroke: var(--violet-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #cbd0df; font-size: .91rem; }
.nav-links a:hover { color: white; }
.nav-cta { padding: 10px 15px; border: 1px solid rgba(182,156,255,.35); border-radius: 999px; background: rgba(139,92,246,.12); }
.lang-toggle { border: 0; background: transparent; cursor: pointer; color: var(--violet-light); font-weight: 700; padding: 8px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px; background: white; border-radius: 4px; }

.hero { min-height: 780px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; padding-block: 92px 80px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .kicker { color: var(--violet-light); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 800; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; padding: 8px 13px; border: 1px solid rgba(182,156,255,.22); background: rgba(139,92,246,.08); border-radius: 999px; text-transform: none; letter-spacing: .02em; font-weight: 600; }
.eyebrow-icon { color: var(--green); font-size: .6rem; }
.hero h1 { margin: 24px 0 24px; font-size: clamp(3.5rem, 7vw, 6.9rem); line-height: .91; letter-spacing: -.075em; max-width: 780px; }
.hero h1 em { color: var(--violet-light); font-style: normal; text-shadow: 0 0 50px rgba(139,92,246,.22); }
.hero-lead { max-width: 670px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border-radius: 15px; border: 1px solid transparent; cursor: pointer; font-weight: 800; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: linear-gradient(135deg, #9b73ff, #6f35ec); box-shadow: 0 14px 35px rgba(113,55,243,.27); }
.button.secondary { color: white; background: rgba(255,255,255,.055); border-color: var(--line); }
.play-icon { font-size: .8rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 30px; color: #c8cede; font-size: .86rem; }
.hero-notes > span { display: inline-flex; align-items: center; gap: 7px; }
.hero-notes i { color: var(--green); font-style: normal; font-weight: 900; }

.hero-visual { min-height: 610px; position: relative; isolation: isolate; }
.glow { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .48; z-index: -1; }
.glow-one { width: 330px; height: 330px; background: #7029ef; top: 70px; right: 20px; }
.glow-two { width: 260px; height: 260px; background: #17597e; bottom: 80px; left: 30px; }
.floating-card { position: absolute; border: 1px solid rgba(255,255,255,.14); background: rgba(19,22,42,.82); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hardware-card { width: 72%; top: 28px; right: 2%; border-radius: 30px; overflow: hidden; transform: rotate(3deg); }
.hardware-card img { aspect-ratio: 4/3; object-fit: cover; }
.card-label { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; font-size: .75rem; font-weight: 700; background: rgba(7,9,18,.68); backdrop-filter: blur(8px); }
.phone-mockup { width: 42%; min-width: 220px; bottom: 28px; left: 0; border-radius: 38px; padding: 10px; border-width: 2px; background: #080a11; transform: rotate(-5deg); }
.phone-speaker { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 56px; height: 15px; border-radius: 20px; background: #05060b; z-index: 2; }
.phone-screen { min-height: 430px; border-radius: 30px; overflow: hidden; padding: 33px 16px 18px; background: radial-gradient(circle at 30% 10%, rgba(117,76,244,.35), transparent 35%), linear-gradient(160deg,#17102e,#090b1a 72%); }
.app-topbar { display: flex; align-items: center; justify-content: space-between; }
.app-topbar small { color: #bfc3d6; display: block; font-size: .56rem; }
.app-topbar strong { font-size: .86rem; }
.online-pill { padding: 4px 7px; border-radius: 20px; background: rgba(95,226,160,.12); color: var(--green); font-size: .5rem; }
.room-card { height: 105px; margin-top: 17px; padding: 15px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: linear-gradient(135deg,rgba(131,80,255,.28),rgba(51,34,91,.28)); position: relative; overflow: hidden; }
.room-card > span { font-size: .67rem; }
.room-card > strong { display: block; margin-top: 22px; font-size: 1.1rem; }
.room-card strong small { color: #b7b8c8; font-size: .48rem; font-weight: 500; }
.room-orb { width: 78px; height: 78px; border-radius: 50%; position: absolute; right: -15px; bottom: -20px; background: radial-gradient(circle at 35% 35%, #c8a7ff, #6633be 55%, transparent 58%); opacity: .48; }
.app-label { margin: 18px 0 10px; color: #bbbcd0; font-size: .58rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.quick { min-height: 72px; border: 1px solid rgba(255,255,255,.07); color: white; border-radius: 13px; background: rgba(255,255,255,.045); display: grid; place-content: center; gap: 6px; }
.quick.active { background: linear-gradient(145deg,#7841f7,#5630b0); }
.quick span { font-size: 1.1rem; }
.quick small { font-size: .43rem; }
.app-nav { display: flex; justify-content: space-around; margin-top: 20px; }
.app-nav i { width: 6px; height: 6px; background: #6f748a; border-radius: 50%; }
.app-nav i:first-child { background: var(--violet-light); box-shadow: 0 0 8px var(--violet); }
.signal-chip { position: absolute; display: flex; gap: 9px; align-items: center; padding: 11px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(10,12,25,.86); box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.signal-chip strong, .signal-chip small { display: block; }
.signal-chip strong { font-size: .75rem; }
.signal-chip small { color: var(--muted); font-size: .58rem; }
.signal-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--cyan); background: rgba(77,225,255,.1); }
.chip-local { top: 53%; left: 10%; }
.chip-cloud { right: 0; bottom: 7%; }

.proof-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.022); }
.proof-grid { min-height: 124px; display: grid; grid-template-columns: repeat(4,1fr); }
.proof-grid > div { padding: 25px 24px; display: flex; align-items: center; gap: 15px; border-inline-end: 1px solid var(--line); }
.proof-grid > div:last-child { border: 0; }
.proof-grid strong { font-size: 2rem; color: var(--violet-light); line-height: 1; }
.proof-grid span { color: var(--muted); font-size: .82rem; line-height: 1.35; }

.section { padding-block: 120px; }
.section-heading { max-width: 780px; margin-bottom: 55px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2 { margin: 10px 0 16px; font-size: clamp(2.35rem, 5vw, 4.3rem); letter-spacing: -.055em; line-height: 1.02; }
.section-heading p { color: var(--muted); font-size: 1.03rem; }
.demo-layout { display: grid; grid-template-columns: minmax(300px,.9fr) 1.1fr; gap: 52px; align-items: center; max-width: 1040px; margin-inline: auto; }
.video-stage { max-width: 420px; margin-inline: auto; position: relative; padding: 9px; border-radius: 34px; background: linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.035)); box-shadow: var(--shadow); }
.video-stage video { width: 100%; max-height: 720px; aspect-ratio: 9/16; object-fit: cover; border-radius: 27px; background: #000; }
.video-caption { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 13px 8px 5px; color: var(--muted); font-size: .72rem; }
.prototype-tag, .beta { padding: 4px 8px; border-radius: 99px; color: #d9cfff; background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.2); }
.demo-points { display: grid; gap: 18px; }
.demo-points article { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.025); }
.feature-number { color: var(--violet-light); font-weight: 800; font-size: 1.2rem; }
.demo-points h3 { margin: 0 0 7px; font-size: 1.25rem; }
.demo-points p { margin: 0; color: var(--muted); }

.product-section { background: linear-gradient(180deg,transparent,rgba(139,92,246,.045),transparent); }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.benefit-card { min-height: 240px; padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015)); transition: transform .25s ease, border-color .25s ease; }
.benefit-card:hover { transform: translateY(-5px); border-color: rgba(182,156,255,.25); }
.benefit-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--violet-light); border-radius: 14px; background: rgba(139,92,246,.11); font-size: 1.3rem; }
.benefit-card h3 { margin: 25px 0 10px; font-size: 1.17rem; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.title-line { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.title-line h3 { margin: 0; }
.beta { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: 27px; background: rgba(255,255,255,.022); overflow: hidden; }
.step-index { position: absolute; top: 20px; right: 22px; color: rgba(255,255,255,.17); font-size: 1.6rem; font-weight: 900; }
html[dir="rtl"] .step-index { right: auto; left: 22px; }
.step-visual { height: 220px; display: flex; align-items: center; justify-content: center; border-radius: 20px; background: radial-gradient(circle at 50% 40%,rgba(139,92,246,.17),transparent 60%),#0d1020; margin-bottom: 24px; }
.step h3 { font-size: 1.25rem; margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); }
.switch-illustration { perspective: 800px; }
.wall-plate { width: 112px; height: 150px; border-radius: 18px; background: linear-gradient(145deg,#f8f8f2,#bbbcb8); box-shadow: 0 25px 45px rgba(0,0,0,.4); display: grid; place-items: center; transform: rotateY(-12deg); }
.rocker { width: 46px; height: 82px; border-radius: 8px; background: linear-gradient(145deg,#f8f8f5,#c5c6c2); box-shadow: inset 0 -5px 10px rgba(0,0,0,.12), 0 4px 5px rgba(0,0,0,.2); }
.hidden-module { width: 94px; height: 112px; margin-left: -28px; z-index: -1; border-radius: 16px; color: #c9bddf; background: #161621; border: 1px solid #3a3549; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotateY(-12deg); font-size: .64rem; }
html[dir="rtl"] .hidden-module { margin-left: 0; margin-right: -28px; }
.hidden-module i { display: block; width: 5px; height: 5px; margin: 4px; background: #727287; border-radius: 50%; }
.pair-illustration { gap: 18px; }
.mini-phone { width: 72px; height: 128px; border-radius: 17px; padding: 13px 8px; border: 3px solid #272a3e; background: linear-gradient(155deg,#352064,#121527); display: grid; place-items: center; font-size: .7rem; }
.mini-phone span { align-self: start; color: #aaa6bf; letter-spacing: 2px; }
.mini-phone strong { color: var(--violet-light); }
.pair-lines { display: flex; gap: 6px; }
.pair-lines i { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.pair-lines i:nth-child(2){ opacity:.6 }.pair-lines i:nth-child(3){ opacity:.3 }
.mini-hub { width: 88px; height: 88px; border-radius: 20px; background: #171a2d; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #d0c7ed; box-shadow: 0 20px 35px rgba(0,0,0,.25); }
.control-illustration { gap: 8px; flex-wrap: wrap; }
.path-chip { padding: 12px 13px; border-radius: 12px; background: rgba(139,92,246,.12); border: 1px solid rgba(182,156,255,.18); color: #ddd4fa; font-size: .75rem; font-weight: 700; }
.installer-note { max-width: 900px; margin: 28px auto 0; text-align: center; color: #969db1; font-size: .78rem; }

.app-section { background: #0c0f1e; border-block: 1px solid var(--line); }
.app-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.app-copy h2 { margin: 10px 0 18px; font-size: clamp(2.5rem,5vw,4.3rem); letter-spacing: -.055em; line-height: 1.02; }
.app-copy > p { color: var(--muted); }
.check-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-inline-start: 31px; color: #d6daea; }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 7px; color: var(--green); background: rgba(95,226,160,.1); font-size: .7rem; font-weight: 900; }
.app-preview { min-height: 570px; position: relative; }
.screen-card { position: absolute; width: 330px; min-height: 500px; padding: 27px; border: 1px solid rgba(255,255,255,.13); border-radius: 35px; background: radial-gradient(circle at 10% 0%,rgba(126,67,246,.3),transparent 35%),linear-gradient(155deg,#1a1332,#0d0f1e); box-shadow: var(--shadow); }
.screen-back { top: 5px; right: 3%; transform: rotate(6deg); opacity: .68; }
.screen-front { left: 2%; bottom: 0; transform: rotate(-5deg); }
.screen-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.screen-head span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; background: rgba(139,92,246,.15); color: var(--violet-light); }
.node-row { display: flex; gap: 13px; align-items: center; padding: 13px; margin-bottom: 10px; border-radius: 14px; background: rgba(255,255,255,.05); }
.node-row i { width: 35px; height: 35px; border-radius: 11px; background: linear-gradient(135deg,#7b45ef,#3d2870); }
.node-row strong, .node-row small { display: block; }
.node-row small { color: var(--green); font-size: .65rem; }
.screen-card label { display: block; margin: 16px 0 7px; color: #b7bdd0; font-size: .72rem; }
.input-fake, .toggle-fake { min-height: 46px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.toggle-fake { display: flex; justify-content: space-between; }
.toggle-fake i { width: 38px; height: 22px; border-radius: 20px; background: var(--violet); position: relative; }
.toggle-fake i::after { content:""; position:absolute; width:16px; height:16px; top:3px; right:3px; border-radius:50%; background:white; }
.icon-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 18px; }
.icon-row button { height: 47px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); color: #ddd3ff; }
.icon-row button:first-child { background: var(--violet); }
.save-fake { width: 100%; min-height: 45px; margin-top: 24px; border: 0; border-radius: 13px; color: white; background: linear-gradient(135deg,#8c5cf7,#6330d8); }

.engineering-section { background: linear-gradient(180deg,transparent,#0a0c18 15%,#0a0c18 85%,transparent); }
.gallery { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2,310px); gap: 16px; }
.gallery-item { position: relative; padding: 0; border: 1px solid var(--line); border-radius: 24px; background: #111; overflow: hidden; cursor: zoom-in; text-align: left; }
.gallery-item.large { grid-row: 1/3; }
.gallery-item.wide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item::after { content:""; position:absolute; inset:0; background: linear-gradient(to top,rgba(5,6,13,.9),transparent 58%); }
.gallery-item > span { position: absolute; z-index: 2; bottom: 20px; left: 21px; right: 21px; }
html[dir="rtl"] .gallery-item > span { text-align: right; }
.gallery-item strong, .gallery-item small { display: block; }
.gallery-item strong { font-size: 1.05rem; }
.gallery-item small { color: #c1c5d4; }
.prototype-specs { margin-top: 22px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.025); }
.prototype-specs > div { padding: 22px; border-inline-end: 1px solid var(--line); }
.prototype-specs > div:last-child { border: 0; }
.prototype-specs small, .prototype-specs strong { display: block; }
.prototype-specs small { color: var(--muted); font-size: .7rem; }
.prototype-specs strong { margin-top: 7px; font-size: .9rem; }

.trust-section { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.trust-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; align-items: start; }
.trust-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.trust-grid article { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.026); }
.trust-grid article > span { color: var(--violet-light); font-size: .72rem; font-weight: 900; }
.trust-grid h3 { margin: 35px 0 8px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: .87rem; }

.early-access { padding-top: 100px; }
.early-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; padding: 65px; border: 1px solid rgba(182,156,255,.22); border-radius: 35px; background: radial-gradient(circle at 10% 20%,rgba(139,92,246,.22),transparent 36%),linear-gradient(145deg,#17132d,#0e1120); box-shadow: var(--shadow); }
.early-card::before { content:""; position:absolute; width:330px; height:330px; right:-130px; top:-140px; border-radius:50%; border:1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 45px rgba(255,255,255,.018),0 0 0 90px rgba(255,255,255,.012); }
.early-copy { position: relative; z-index: 2; }
.early-copy h2 { margin: 10px 0 18px; font-size: clamp(2.4rem,4.8vw,4.2rem); line-height:1.03; letter-spacing:-.055em; }
.early-copy p { color: var(--muted); }
.audience-tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 28px; }
.audience-tags span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: #d5d8e6; font-size: .72rem; background: rgba(255,255,255,.035); }
.pilot-form { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pilot-form label { display: grid; gap: 7px; color: #d4d7e3; font-size: .78rem; }
.pilot-form label:nth-of-type(4), .form-submit, .form-note, .form-status { grid-column: 1/-1; }
.pilot-form input, .pilot-form select, .pilot-form textarea { width: 100%; color: white; background: rgba(7,9,18,.6); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; padding: 13px 14px; outline: none; }
.pilot-form input:focus, .pilot-form select:focus, .pilot-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.pilot-form select option { color: black; }
.form-note { margin: -4px 0 0; color: #8f96aa; font-size: .67rem; }
.form-status { min-height: 1.2em; margin: 0; color: var(--green); font-size: .78rem; }

.footer { padding-block: 70px 35px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr 1fr; gap: 60px; }
.footer-brand { color: white; }
.footer-grid > div:first-child p { max-width: 430px; font-size: .83rem; }
.footer-links { display: grid; align-content: start; gap: 10px; font-size: .85rem; }
.footer-links a:hover { color: white; }
.footer-meta { text-align: right; font-size: .72rem; }
html[dir="rtl"] .footer-meta { text-align: left; }

.lightbox { width: min(1050px,90vw); max-height: 90vh; padding: 0; border: 0; border-radius: 20px; background: #090b15; box-shadow: 0 30px 100px rgba(0,0,0,.75); }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(7px); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(0,0,0,.65); font-size: 1.4rem; cursor: pointer; }
html[dir="rtl"] .lightbox-close { right: auto; left: 10px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-lead, .hero-notes { margin-inline: auto; }
  .hero-actions, .hero-notes { justify-content: center; }
  .hero-visual { width: min(660px,100%); margin-inline: auto; }
  .proof-grid { grid-template-columns: repeat(2,1fr); }
  .proof-grid > div:nth-child(2) { border-inline-end: 0; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .app-layout, .trust-layout, .early-card { grid-template-columns: 1fr; }
  .app-preview { width: min(660px,100%); margin-inline:auto; }
  .trust-layout { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1/-1; text-align: left; }
  html[dir="rtl"] .footer-meta { text-align: right; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px,1180px); }
  .announcement { padding-inline: 15px; text-align: center; font-size: .66rem; }
  .nav { min-height: 64px; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 100px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(12,14,29,.97); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a, .lang-toggle { padding: 10px 8px; text-align: center; }
  .hero { padding-block: 55px 65px; gap: 34px; }
  .hero h1 { font-size: clamp(3rem,15vw,5rem); }
  .hero-visual { min-height: 510px; }
  .hardware-card { width: 86%; right: 2%; }
  .phone-mockup { width: 52%; min-width: 190px; }
  .phone-screen { min-height: 360px; }
  .chip-local { top: 56%; left: 0; }
  .chip-cloud { right: 0; bottom: 4%; }
  .signal-chip { padding: 9px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 85px; }
  .demo-layout { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(3,300px); }
  .gallery-item.large { grid-row: auto; }
  .prototype-specs { grid-template-columns: repeat(2,1fr); }
  .prototype-specs > div:nth-child(2) { border-inline-end:0; }
  .prototype-specs > div:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .trust-grid { grid-template-columns: 1fr; }
  .early-card { padding: 35px 22px; gap: 38px; }
  .pilot-form { grid-template-columns: 1fr; }
  .pilot-form label, .form-submit, .form-note, .form-status { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { grid-column:auto; }
  .app-preview { min-height: 530px; transform: scale(.9); transform-origin:center top; margin-bottom:-40px; }
  .screen-card { width: 285px; }
}

@media (max-width: 430px) {
  .hero-visual { min-height: 450px; }
  .hardware-card { width: 94%; }
  .phone-mockup { width: 57%; min-width: 175px; bottom: 0; }
  .phone-screen { min-height: 320px; padding-inline:12px; }
  .quick { min-height: 58px; }
  .signal-chip { display:none; }
  .hero-notes { display:grid; justify-content:start; text-align:left; }
  html[dir="rtl"] .hero-notes { text-align:right; }
  .section-heading h2 { font-size:2.35rem; }
  .prototype-specs { grid-template-columns:1fr; }
  .prototype-specs > div { border-inline-end:0; border-bottom:1px solid var(--line); }
  .app-preview { min-height:480px; transform:scale(.78); width:125%; margin-left:-12.5%; margin-bottom:-100px; }
}

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