@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --page: #0c0c0c;
  --card: #111112;
  --text: #fafafa;
  --muted: #aaaab2;
  --line: #ffffff16;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); font: 16px/1.6 "Instrument Sans", Arial, sans-serif; }
[lang="ar"] body { font-family: Tahoma, Arial, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #a8caff; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
[id] { scroll-margin-top: 90px; }

.header { position: fixed; inset: 8px 0 auto; z-index: 20; pointer-events: none; }
.nav-shell, .nav-actions, .brand, .language { display: flex; align-items: center; }
.nav-shell {
  justify-content: space-between;
  min-height: 42px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 30px;
  pointer-events: auto;
  transition: width .42s cubic-bezier(.22,.61,.36,1), background-color .35s, border-color .35s, box-shadow .35s;
}
.header.compact .nav-shell {
  width: min(1000px, calc(100% - 48px));
  background: #77777b75;
  border-color: #ffffff26;
  backdrop-filter: blur(24px) saturate(130%);
  box-shadow: 0 12px 34px #0004;
}
.brand { gap: .4rem; font-size: 1.2rem; line-height: 1; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-actions { gap: .6rem; }
.nav-github { padding: .2rem .65rem; text-decoration: none; border-radius: 30px; border: 1px solid #ffffff32; font-size: .84rem; }
.nav-github:hover, .language button:hover { background: #ffffff23; }
.language { gap: 2px; padding: 2px; border-radius: 30px; border: 1px solid #ffffff22; }
.language button { border: 0; border-radius: 20px; background: transparent; color: #dedee4; font-size: .77rem; min-width: 32px; padding: .18rem .4rem; }
.language button[aria-pressed="true"] { color: white; background: #ffffff35; }
.pill { display: inline-block; white-space: nowrap; border-radius: 100px; background: #fbfbfc; color: #111114; padding: .58rem 1.18rem; text-decoration: none; font-size: .94rem; font-weight: 600; transition: background-color .2s, transform .2s; }
.pill:hover { background: #dce9ff; transform: translateY(-2px); }
.nav-download { padding: .28rem .75rem; font-size: .84rem; }

.hero { position: relative; isolation: isolate; overflow: clip; }
.aurora, .aurora::before { position: absolute; pointer-events: none; }
.aurora {
  z-index: -1; inset: 0 0 auto; height: min(1180px, 100%); overflow: hidden;
  background: #122033;
  mask-image: linear-gradient(black 0 45%, #000a 70%, transparent 100%);
}
.aurora::before {
  content: ""; inset: -12%;
  background:
    radial-gradient(ellipse at 80% 9%, #90a3bb 0%, #8195ac38 24%, transparent 55%),
    radial-gradient(ellipse at 52% 22%, #345b8d 0%, #263e61 37%, transparent 71%),
    radial-gradient(ellipse at 18% 45%, #070e18 9%, transparent 54%),
    linear-gradient(140deg, #163858, #304965 60%, #0d161e);
  filter: blur(38px);
  animation: drift 17s ease-in-out infinite alternate;
}
.hero-inner { text-align: center; padding-top: clamp(115px, 12vw, 172px); }
.platform { color: #c1cddd; font-size: .73rem; letter-spacing: .19em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4vw, 2.78rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.24; margin-top: 1.2rem; }
h1 span { display: block; margin-top: .55rem; }
[dir="rtl"] h1, [dir="rtl"] .platform { letter-spacing: normal; }
.intro { max-width: 625px; margin: 2.2rem auto 0; color: #d4dce8; }
.hero-actions { margin-top: 2.25rem; }
.note { margin-top: .7rem; font-size: .76rem; color: #d0d8e5; }
.hero-copy > * { animation: rise .68s both; }
.hero-copy > :nth-child(2) { animation-delay: .07s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .21s; }
.hero-copy > :nth-child(5) { animation-delay: .28s; }

.preview { max-width: 1024px; margin: 2.4rem auto 0; text-align: start; background: #151517; border-radius: 17px; overflow: hidden; border: 1px solid #ffffff25; box-shadow: 0 30px 85px #0007; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .5rem .8rem; border-bottom: 1px solid var(--line); }
.window-dots, .demo-controls { display: flex; gap: .3rem; }
.window-dots i { width: 9px; height: 9px; background: #ff665e; border-radius: 50%; }
.window-dots i:nth-child(2) { background: #ffbe4d; }
.window-dots i:nth-child(3) { background: #43c967; }
.demo-bar button { padding: .25rem .55rem; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font-size: .82rem; }
.demo-bar button:hover, .demo-bar button[aria-pressed="true"] { background: #303036; color: white; }
.demo-stage { overflow: hidden; background: #0c111b; }
.demo-stage img { display: block; width: 100%; height: auto; }
.demo-stage img[hidden] { display: none; }
.is-entering { animation: demo-in .55s cubic-bezier(.22,.61,.36,1) both; }
.demo-timeline { height: 2px; background: #292933; }
.demo-timeline span { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: #a8bdff; }
[dir="rtl"] .demo-timeline span { transform-origin: right; }
figcaption { color: var(--muted); font-size: .78rem; padding: .55rem .85rem; }

.section { padding-top: clamp(5rem, 12vw, 12rem); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.45rem); line-height: 1.26; font-weight: 600; margin-bottom: clamp(1.6rem, 5vw, 4.25rem); }
.centered { text-align: center; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 32px); }
.feature, .setup-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature { display: flex; flex-direction: column; }
.card-copy, .setup-card { padding: clamp(1.2rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.23rem; line-height: 1.35; font-weight: 600; }
.card-copy p, .setup-card p, .final-panel p { margin-top: .65rem; color: var(--muted); }
.device-chip { padding: .55rem .8rem; background: #212836; border: 1px solid #ffffff28; border-radius: 12px; }
.device-chip small { display: block; color: #c0c8d8; }
.package { margin-block: 1.3rem 1rem; background: #1b1b1d; border: 1px solid var(--line); border-radius: 9px; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem .75rem; font-size: .84rem; }
.package .pill { padding: .35rem .65rem; font-size: .82rem; }
summary { cursor: pointer; }
code { display: block; color: var(--muted); overflow-wrap: anywhere; font-size: .8rem; margin-top: .4rem; }
.final-panel { text-align: center; padding-bottom: clamp(3rem, 9vw, 8rem); }
.final-panel .section-title { margin-bottom: 1rem; }
.final-panel .pill { margin-top: 1.4rem; }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; min-height: 75px; color: var(--muted); }
footer a { text-decoration: none; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes demo-in { from { opacity: .45; transform: translateY(9px) scale(1.012); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(-2%, -1%) scale(1); } to { transform: translate(3%, 2%) scale(1.1); } }
@media (max-width: 620px) {
  .wrap, .header.compact .nav-shell { width: calc(100% - 26px); }
  .grid { grid-template-columns: 1fr; }
  .nav-actions { gap: .3rem; }
  .nav-shell { padding-inline: 5px; }
  .nav-github, .nav-download { padding-inline: .45rem; font-size: .76rem; }
  .brand { font-size: 1rem; }
  .brand img { width: 24px; }
}
@media (max-width: 370px) { .nav-github { display: none; } }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.demo-stage { aspect-ratio: 3 / 2; background: radial-gradient(ellipse at 50% 54%, #173957, #091321 72%); }
.demo-stage img { height: 100%; object-fit: contain; }
.demo-stage img[data-frame="android"] { object-position: center; }
.preview figcaption { min-height: 3.6rem; }
@media (max-width: 620px) {
  .demo-stage { aspect-ratio: 4 / 5; }
  .demo-bar { padding-inline: .45rem; }
  .demo-bar button { padding-inline: .32rem; font-size: .76rem; }
}
/* Soft light and signal waves echo the AirPad mark. */
.hero-light { position:absolute; inset:-25% -28% 8%;
  background:radial-gradient(ellipse at 52% 42%,#99ccff45,#3774b529 30%,transparent 59%);
  filter:blur(36px); mix-blend-mode:screen; animation:light-sweep 14s ease-in-out infinite alternate; }
.signal-rings { position:absolute; inset:235px 0 auto; height:clamp(280px,55vw,730px);
  display:grid; place-items:center; mask-image:linear-gradient(transparent,black 20%,black 70%,transparent); }
.signal-rings i { grid-area:1 / 1; width:min(82vw,900px); aspect-ratio:1.8;
  border:1px solid #9ed3ff6b; border-radius:50%; box-shadow:0 0 28px #67acfb24,inset 0 0 26px #67acfb1c;
  opacity:0; animation:signal-wave 10s cubic-bezier(.2,.52,.48,1) infinite; }
.signal-rings i:nth-child(2) { animation-delay:-3.33s; }
.signal-rings i:nth-child(3) { animation-delay:-6.66s; }
@keyframes signal-wave {
  from { transform:scale(.32); opacity:0; }
  24% { opacity:.43; }
  60% { opacity:.23; }
  to { transform:scale(1.4); opacity:0; }
}
@keyframes light-sweep {
  from { transform:translate(-14%,-4%) scale(.92); opacity:.48; }
  to { transform:translate(13%,9%) scale(1.13); opacity:.87; }
}
@media (prefers-reduced-motion:reduce) {
  .signal-rings { display:none; }
  .hero-light { opacity:.35; }
}
.feature-playback { display:flex; justify-content:center; margin:-1rem 0 1.1rem; }
.feature-playback button { border:1px solid #ffffff30; background:#191c25; color:var(--text); border-radius:999px; padding:.3rem .72rem; font-size:.8rem; }
.feature-demo {
  position:relative;
  isolation:isolate;
  min-height:clamp(190px,23vw,275px);
  margin:auto clamp(1.2rem,3.4vw,2.5rem) 0;
  overflow:hidden;
  border:1px solid #9dbff52b;
  border-bottom:0;
  border-radius:14px 14px 0 0;
  background:radial-gradient(ellipse at 58% 110%,#345081,#16223a 56%,#0b1324);
  color:#e9f3ff;
}
.feature-demo * { animation-play-state:paused; }
.feature.in-view .feature-demo * { animation-play-state:running; }
.features-paused .feature.in-view .feature-demo * { animation-play-state:paused; }
.relay-demo { display:grid; grid-template-rows:auto auto; align-content:center; gap:14px; padding:1rem; }
.route-labels { display:grid; justify-items:center; }
.route-labels span { grid-area:1 / 1; padding:.24rem .64rem; border-radius:100px; border:1px solid #a4c7ff57;
  font-size:.76rem; background:#243b60; }
.route-local { animation:route-local 7s ease infinite; }
.route-internet { opacity:0; animation:route-internet 7s ease infinite; }
.route-devices { display:flex; align-items:center; justify-content:center; }
.route-devices .device-chip { font-size:.78rem; padding:.45rem .55rem; }
.route-line { position:relative; width:clamp(28px,16vw,120px); height:2px; background:#607aab; overflow:hidden; }
.route-line i { position:absolute; top:0; bottom:0; width:25%; border-radius:8px; background:#cfebff; animation:relay-flow 1.8s linear infinite; }
.route-line i:nth-child(2) { animation-delay:-.9s; }
@keyframes route-local { 0%,43%,100%{opacity:1} 51%,93%{opacity:0} }
@keyframes route-internet { 0%,43%,100%{opacity:0} 51%,93%{opacity:1} }
@keyframes relay-flow { from{left:-25%} to{left:100%} }
@media (max-width:450px) { .webcam-status { font-size:.54rem; } .demo-stage { overflow:hidden; } }

.touch-demo,.webcam-demo {
  min-height:clamp(216px,24vw,310px);
  background:
    radial-gradient(ellipse at 10% 104%,#517fce80,transparent 57%),
    radial-gradient(ellipse at 93% 15%,#786fcb6b,transparent 55%),
    #0c1426;
}
.touch-monitor {
  position:absolute; inset:12% 13% 12% 6%;
  display:flex; flex-direction:column; overflow:hidden;
  border:1px solid #bfceff69; border-radius:12px; background:#0d1626;
  box-shadow:0 26px 46px #040911b0, inset 0 1px #d7e5ff43;
}
.desk-chrome {
  display:flex; align-items:center; gap:8px; min-height:25px;
  padding-inline:10px; background:#1e2b42; border-bottom:1px solid #a8b5d124;
  color:#dbe7ff; font-size:.68rem;
}
.desk-chrome .window-dots i { width:5px; height:5px; }
.desk-window { display:grid; grid-template-columns:16% 1fr; flex:1; min-height:0; }
.desk-sidebar { padding:18% 20%; background:#142036; display:flex; flex-direction:column; gap:10px; }
.desk-sidebar i { height:4px; border-radius:10px; background:#577298; }
.desk-sidebar i:nth-child(2) { background:#9fc3ff; }
.desk-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; align-content:center; padding:8%; }
.desk-tile { padding:4px; border:1px solid #9faeff2b; border-radius:7px; background:#1d2a43; }
.desk-tile i { display:block; width:64%; height:3px; border-radius:3px; background:#7b9ccb; margin:5px 1px 2px; }
.tile-art { display:block; aspect-ratio:1.12; border-radius:4px; }
.art-one { background:linear-gradient(145deg,#1c315f,#819cff); }
.art-two { background:radial-gradient(ellipse at 65% 30%,#c3e8ff 3%,#5f8bdb 36%,#292b64 71%); }
.art-three { background:linear-gradient(128deg,#6b79b5,#472e62 58%,#c98eae); }
.active-tile { animation:desktop-select 6s infinite; }
.desktop-cursor { z-index:2; position:absolute; top:38%; left:38%; width:17px; height:22px; background:#fff;
  clip-path:polygon(0 0,100% 54%,56% 58%,75% 92%,60% 100%,42% 64%,11% 87%);
  animation:desktop-point 6s cubic-bezier(.32,.12,.3,1) infinite; }
.cursor-ripple { position:absolute; left:57%; top:53%; z-index:1; width:27px; aspect-ratio:1; margin:-13px;
  border:2px solid #a4d7ff; border-radius:50%; opacity:0; animation:desktop-ripple 6s ease-out infinite; }
.touch-phone {
  position:absolute; z-index:3; right:4%; bottom:4%; width:27%; height:68%;
  border:2px solid #99aed9; border-radius:15px; background:#101a2b; overflow:hidden;
  box-shadow:0 11px 28px #030711cf, inset 0 0 0 2px #080e19;
}
.phone-chrome { display:flex; align-items:center; justify-content:center; gap:4px; padding:10px 2px 4px;
  color:#dce9ff; font-size:clamp(.47rem,1.1vw,.65rem); }
.touch-surface { position:absolute; inset:28% 9% 23%; border:1px solid #90aef248; border-radius:7px;
  background:radial-gradient(circle,#7babe57d 1px,transparent 1.5px) 0 0/9px 9px,#1d3050; }
.finger-dot { position:absolute; left:24%; top:29%; width:14px; height:14px; border-radius:50%;
  background:#c8eaff; box-shadow:0 0 0 6px #8dc9ff49,0 0 15px #9bbfff; animation:finger-path 6s cubic-bezier(.32,.12,.3,1) infinite; }
.touch-buttons { position:absolute; inset:auto 9% 9%; display:flex; gap:4px; height:9%; }
.touch-buttons i { flex:1; border-radius:4px; background:#283c5a; }
.touch-buttons i:first-child { animation:pad-click 6s infinite; }

@keyframes desktop-select {
  0%,45%,82%,100% { border-color:#9faeff2b; }
  51%,74% { border-color:#a8d3ff; box-shadow:0 0 14px #77bbff7a; }
}
@keyframes desktop-point { 0%,12%,100% { left:38%; top:38%; } 46%,72% { left:57%; top:53%; }
}
@keyframes desktop-ripple {
  0%,46%,63%,100% { opacity:0; transform:scale(.4); }
  50% { opacity:.9; transform:scale(.8); }
  61% { opacity:0; transform:scale(1.35); }
}
@keyframes finger-path {
  0%,12%,100% { transform:translate(0,0); }
  46%,72% { transform:translate(1.35vw,1vw); }
  50% { transform:translate(1.35vw,1vw) scale(.77); }
}
@keyframes pad-click { 0%,45%,57%,100% { background:#283c5a; } 49%,54% { background:#84bdff; } }


/* The same camera framing on both devices makes the handoff visible. */
.webcam-demo {
  display:grid;
  place-items:center;
  padding:clamp(10px,2vw,20px);
  background:radial-gradient(ellipse at 64% 120%,#2c6a9b 0%,#142d4d 42%,#0b1628 82%);
}
.camera-devices {
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(18px,.3fr) minmax(0,2.25fr);
  align-items:center;
  gap:clamp(4px,1vw,12px);
}
.source-camera,.receiver-camera { display:grid; justify-items:center; min-width:0; gap:8px; }
.source-camera-screen {
  position:relative;
  width:92%;
  max-width:104px;
  aspect-ratio:9 / 16;
  border:2px solid #a4b9d7;
  border-radius:clamp(9px,1.3vw,17px);
  background:#080e18;
  box-shadow:0 16px 25px #0007,0 0 0 3px #25384d;
  overflow:hidden;
}
.source-camera-screen img { width:100%; height:100%; display:block; object-fit:cover; object-position:center 42%; }
.source-camera-island { position:absolute; inset:5px 30% auto; height:5px; border-radius:12px; background:#0b101a; }
.source-camera-shutter { position:absolute; inset:auto 0 8px; margin:auto; width:13px; height:13px; border:1px solid #fff; border-radius:50%; background:#ffffffe8; box-shadow:0 0 0 3px #1119; }
.device-label { font-size:clamp(.56rem,1.2vw,.76rem); color:#d1e5ff; text-align:center; }
.camera-stream { position:relative; height:2px; margin-top:-18px; overflow:hidden; background:#9bc8ff3b; border-radius:100px; }
.camera-stream i { position:absolute; width:40%; inset:0 auto 0 -40%; background:#a9e4ff; box-shadow:0 0 8px #51bfff; opacity:0; animation:camera-handshake 7s linear infinite; }
.camera-stream i:nth-child(2) { animation-delay:.23s; }
.camera-stream i:nth-child(3) { animation-delay:.46s; }
.receiver-camera-screen {
  width:100%;
  border:1px solid #8aafe0aa;
  border-radius:10px;
  box-shadow:0 16px 30px #020a186e;
  background:#101b2e;
  overflow:hidden;
}
.receiver-title { display:flex; align-items:center; gap:5px; min-height:23px; padding-inline:5px; font-size:clamp(.49rem,1vw,.65rem); color:#e0ecff; }
.receiver-title img { flex:none; }
.receiver-feed { position:relative; aspect-ratio:16 / 10; overflow:hidden; background:#111f34; }
.receiver-picture { display:block; width:100%; height:100%; object-fit:cover; object-position:center 43%; animation:receiver-connect 7s ease-in-out infinite; }
.receiver-wait { position:absolute; inset:0; display:grid; align-content:center; justify-items:center; gap:6px; padding:5px; color:#dbeaff; text-align:center; font-size:clamp(.48rem,.95vw,.68rem); background:#152a45; opacity:0; animation:receiver-wait 7s ease-in-out infinite; }
.receiver-wait span:first-child { width:16px; aspect-ratio:1; border:1px solid #7ab3ee57; border-top-color:#b7d9ff; border-radius:50%; animation:camera-spinner .8s linear infinite; }
.receiver-live { position:absolute; inset:6px 6px auto auto; display:flex; align-items:center; gap:3px; padding:2px 5px;
  color:#fff; background:#101820db; border-radius:6px; font-size:clamp(.45rem,.9vw,.65rem); animation:receiver-connect 7s ease-in-out infinite; }
.receiver-live i { width:5px; height:5px; border-radius:50%; background:#85f5b7; }
@keyframes camera-spinner { to { transform:rotate(360deg); } }
@keyframes camera-handshake {
  0%,13% { left:-40%; opacity:0; }
  16% { opacity:1; }
  29% { opacity:1; }
  35%,100% { left:100%; opacity:0; }
}
@keyframes receiver-connect { 0%,23% { opacity:0; } 32%,94% { opacity:1; } 100% { opacity:0; } }
@keyframes receiver-wait { 0%,22%,100% { opacity:1; } 33%,93% { opacity:0; } }
.feature:not(.in-view) .receiver-wait,.features-paused .receiver-wait { animation:none; opacity:0; }
.feature:not(.in-view) :is(.receiver-picture,.receiver-live),.features-paused :is(.receiver-picture,.receiver-live) { animation:none; opacity:1; }

.file-demo {
  display:grid;
  place-items:center;
  min-height:clamp(216px,24vw,310px);
  padding:clamp(9px,1.6vw,18px);
  background:radial-gradient(ellipse at 24% 103%,#365ba1,transparent 67%),radial-gradient(ellipse at 90% 5%,#3e326c,transparent 64%),#101728;
}
.file-devices { display:grid; width:100%; grid-template-columns:minmax(0,1.65fr) minmax(18px,.3fr) minmax(0,1fr); align-items:center; gap:6px; }
.file-desktop,.file-phone { overflow:hidden; background:#111c30; border:1px solid #9cb8ea81; border-radius:10px; box-shadow:0 14px 28px #050914a0; }
.file-desktop .desk-chrome { font-size:clamp(.49rem,1vw,.68rem); padding-inline:5px; white-space:nowrap; gap:5px; }
.file-desktop-body { display:flex; align-items:center; gap:7px; padding:clamp(8px,2vw,16px) 6px; background:#15233b; }
.file-desktop-details { flex:1; min-width:0; }
.file-demo strong { display:block; font-size:clamp(.54rem,1vw,.74rem); overflow-wrap:anywhere; }
.file-document { position:relative; flex:none; width:clamp(15px,3vw,25px); aspect-ratio:4 / 5; display:grid; align-content:center; gap:3px;
  padding:3px; border-radius:4px; background:linear-gradient(160deg,#b8daff,#5384ce); }
.file-document i { display:block; height:1px; width:70%; background:#15335a9c; border-radius:5px; }
.file-document i:last-child { width:56%; }
.file-progress { height:3px; margin-block:5px 3px; background:#657da65f; border-radius:7px; overflow:hidden; }
.file-progress span { display:block; height:100%; background:#9ad5ff; border-radius:7px; transform-origin:left; animation:file-fill 8s linear infinite; }
.file-steps,.file-phone-steps { display:grid; }
.file-steps span,.file-phone-steps span { grid-area:1 / 1; }
.file-steps { color:#abc0df; font-size:clamp(.43rem,.9vw,.63rem); }
.file-offered,.file-accept { animation:file-offer 8s ease infinite; }
.file-sending,.file-saving { opacity:0; animation:file-in-flight 8s ease infinite; }
.file-sent,.file-saved { opacity:0; animation:file-complete 8s ease infinite; }
.file-phone { width:100%; max-width:104px; justify-self:center; min-height:clamp(116px,12vw,166px); border-radius:12px; }
.file-phone-app { display:flex; align-items:center; justify-content:center; gap:4px; padding:7px 2px; background:#1b2a43; font-size:.66rem; }
.file-phone-body { display:grid; justify-items:center; gap:5px; padding:9px 3px; text-align:center; }
.file-phone-steps { width:100%; font-size:clamp(.43rem,.85vw,.6rem); line-height:1.2; }
.file-phone-steps span { padding:4px 2px; border-radius:7px; }
.file-accept { background:#91c4ff; color:#07182d; }
.file-saving { background:#273d62; color:#dbeaff; }
.file-saved { background:#1e493f; color:#a6f7cc; }
.file-link { height:2px; position:relative; background:#81aaf477; overflow:hidden; }
.file-link i { position:absolute; top:0; left:-35%; width:35%; height:2px; background:#c5e8ff; opacity:0; animation:file-signal 8s linear infinite; }
@keyframes file-offer { 0%,27%,100% { opacity:1; } 32%,94% { opacity:0; } }
@keyframes file-in-flight { 0%,27%,64%,100% { opacity:0; } 32%,60% { opacity:1; } }
@keyframes file-complete { 0%,60%,100% { opacity:0; } 66%,94% { opacity:1; } }
@keyframes file-fill { 0%,29%,100% { transform:scaleX(0); } 64%,94% { transform:scaleX(1); } }
@keyframes file-signal { 0%,29% { left:-35%; opacity:0; } 32%,56% { opacity:1; } 62%,100% { left:100%; opacity:0; } }

.scanner-feature { grid-column:1 / -1; }
.scanner-demo { display:flex; align-items:center; justify-content:center; gap:clamp(14px,5vw,55px); min-height:260px; padding:18px; background:radial-gradient(ellipse at 35% 100%,#3c6099,transparent 60%),radial-gradient(ellipse at 80% 20%,#4d3974,transparent 55%),#0d1829; }
.scan-phone { width:118px; padding:7px; border:1px solid #b0c9ed91; border-radius:18px; background:#111d31; box-shadow:0 15px 30px #050914a0; }
.scan-phone-top { display:flex; justify-content:space-between; padding:4px 3px 7px; color:#dceaff; font-size:.59rem; }
.scan-view { height:132px; position:relative; display:grid; place-items:center; overflow:hidden; border-radius:8px; background:linear-gradient(145deg,#334967,#18283e); }
.scan-page { width:67px; height:94px; display:flex; flex-direction:column; gap:6px; padding:19px 10px; background:#ecf3fa; border-radius:2px; transform:rotate(-5deg); box-shadow:0 6px 14px #09132188; }
.scan-page i { height:3px; border-radius:4px; background:#a3b9cc; }
.scan-page i:first-child { width:58%; height:5px; background:#6588aa; }
.scan-page i:last-child { width:65%; }
.scan-corners { position:absolute; inset:12px 14px; border:2px solid #8ad9ff; border-radius:5px; opacity:.8; }
.scan-beam { position:absolute; left:14px; right:14px; top:12px; height:2px; background:#b9f2ff; box-shadow:0 0 13px 3px #72cfff; animation:scan-sweep 4s ease-in-out infinite; }
.scan-shutter { width:19px; height:19px; margin:8px auto 2px; border:3px solid #dcefff; border-radius:50%; }
.scan-flow { width:clamp(30px,10vw,100px); height:2px; position:relative; background:#84a9dc66; overflow:hidden; }
.scan-flow i { position:absolute; top:0; width:25%; height:100%; background:#c6edff; animation:scan-transfer 2.4s linear infinite; }
.scan-flow i:nth-child(2) { animation-delay:-.8s; }.scan-flow i:nth-child(3) { animation-delay:-1.6s; }
.scan-result { display:grid; justify-items:center; gap:6px; min-width:110px; font-size:.72rem; color:#b5c9e3; }
.scan-result strong { color:#f0f6ff; font-size:.8rem; }
.scan-result-icon { width:65px; height:80px; display:grid; place-items:end center; padding-bottom:12px; border:1px solid #c3dcff; border-radius:8px; color:#112744; background:linear-gradient(145deg,#e2f2ff,#8dbaf1); box-shadow:0 12px 26px #080e1b88; animation:scan-ready 4s ease-in-out infinite; }
.scan-result-icon span { padding:3px 6px; border-radius:4px; background:#243d65; color:white; font-size:.7rem; font-weight:700; }
@keyframes scan-sweep { 0%,100% { transform:translateY(0); } 50% { transform:translateY(105px); } }
@keyframes scan-transfer { from { left:-30%; } to { left:100%; } }
@keyframes scan-ready { 0%,35%,100% { transform:translateY(3px); } 55%,85% { transform:translateY(-4px); } }
@media (prefers-reduced-motion:reduce) { .scanner-demo * { animation:none !important; } .scan-beam { top:50%; } }
