/* EiDU landing - built from the "Advanced" design reference (Advanced.dc.html).
   Values (colours, sizes, radii, shadows, motion) are the reference's; the markup is our own.
   Fonts are self-hosted (Tajawal, SIL OFL): no visitor's address is sent to a font CDN. */

@font-face { font-family: "Tajawal"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("fonts/tajawal-arabic-400-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("fonts/tajawal-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("fonts/tajawal-arabic-500-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("fonts/tajawal-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Tajawal"; font-style: normal; font-display: swap; font-weight: 600 900;
  src: url("fonts/tajawal-arabic-700-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC; }
@font-face { font-family: "Tajawal"; font-style: normal; font-display: swap; font-weight: 600 900;
  src: url("fonts/tajawal-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --ink: #3A424E;          /* headings */
  --body: #677284;         /* text */
  --blue: #1A78CF;  --blue-hover: #0F5FA8;  --sky: #3698EE;
  --violet: #581CCB; --purple: #903FEE; --deep: #291584;
  --coral: #F85146; --coral-ink: #C62F25;
  --mist: #F7F8F9;  --line: #E8E8E8;  --frame: #F1F1F4;
  --tint-blue: #EAF3FD; --tint-violet: #F1E9FD; --tint-coral: #FFE9E8;
  --soft: 0 3px 35px 0 rgba(158,158,158,.12);
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* .btn and friends set display, which would otherwise win */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #FFFFFF; color: var(--body); font: 16px/1.8 "Tajawal", system-ui, sans-serif; overflow-x: hidden; }
a { color: var(--blue); } a:hover { color: var(--blue-hover); }
bdi { unicode-bidi: isolate; }
h1, h2, h3 { font-family: "Tajawal", sans-serif; font-weight: 800; color: var(--ink); }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 16px; top: 16px; z-index: 100; background: #FFFFFF; padding: 8px 14px; border-radius: 5px; }

/* ---------- buttons ---------- */
.btn { display: inline-block; text-decoration: none; padding: 15px 32px; border-radius: 5px; font: inherit; font-weight: 600;
  border: none; cursor: pointer; transition: all .4s ease-out; min-height: 48px; }
.btn:hover { box-shadow: 0 5px 15px rgba(0,0,0,.2); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #FFFFFF; } .btn-blue:hover { color: #FFFFFF; }
.btn-ghost { border: 2px solid #FFFFFF; color: #FFFFFF; padding: 13px 30px; background: transparent; } .btn-ghost:hover { color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--deep); font-weight: 700; } .btn-white:hover { color: var(--deep); }
.btn-violet { background: var(--violet); color: #FFFFFF; } .btn-violet:hover { color: #FFFFFF; }
.btn-outline { background: #FFFFFF; border: 2px solid var(--sky); color: var(--blue); padding: 13px 30px; }
.btn-block { width: 100%; padding: 14px; min-height: 50px; }

/* ---------- navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(to right, #291584 0%, #5B22C9 60%, #7A2BD6 100%);
  box-shadow: 0 20px 50px 0 rgba(0,0,0,.08); }
.nav .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; font-weight: 600; font-size: 30px; letter-spacing: .5px; }
.brand:hover { color: #FFFFFF; }
.navlinks { display: flex; gap: 8px; }
.navlink { color: #FFFFFF; text-decoration: none; font-weight: 500; transition: background .3s ease-out; padding: 6px 16px; border-radius: 2px; }
.navlink:hover, .navlink.on { background: rgba(255,255,255,.14); color: #FFFFFF; }
.menu-btn { display: none; background: none; border: 0; color: #FFFFFF; padding: 8px; cursor: pointer; }
.nav-tools { display: flex; align-items: center; gap: 6px; }

/* ---------- language switcher: a frosted pill, opening a white card ---------- */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 600; color: #FFFFFF;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 14px 7px 12px;
  min-height: 40px; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .25s ease-out, border-color .25s ease-out, box-shadow .25s ease-out; }
.lang-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.lang-btn:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.lang-btn[aria-expanded="true"] { background: #FFFFFF; color: var(--violet); border-color: #FFFFFF; box-shadow: 0 8px 24px -8px rgba(0,0,0,.35); }
.lang-btn .chev { transition: transform .25s ease-out; opacity: .85; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 60; min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: #FFFFFF; border-radius: 12px; box-shadow: 0 20px 50px -12px rgba(20,8,70,.45), 0 0 0 1px rgba(41,21,132,.06);
  transform-origin: top; animation: langIn .18s ease-out; }
.lang-menu::before { content: ""; position: absolute; top: -6px; inset-inline-end: 22px; width: 12px; height: 12px; background: #FFFFFF;
  transform: rotate(45deg); border-radius: 2px; }
@keyframes langIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }
.lang-menu button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: none; border: 0; border-radius: 8px; padding: 10px 12px; cursor: pointer; text-align: start; transition: background .2s; }
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--tint-violet); outline: none; }
.lang-menu .badge { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--mist); color: var(--violet); font-size: 13px; font-weight: 700; transition: all .2s; }
.lang-menu .name { flex-grow: 1; font-weight: 600; }
.lang-menu .tick { color: var(--violet); opacity: 0; transition: opacity .2s; }
.lang-menu [aria-checked="true"] .badge { background: linear-gradient(135deg, #581CCB, #903FEE); color: #FFFFFF; }
.lang-menu [aria-checked="true"] .tick { opacity: 1; }
.lang-menu [lang="zh-CN"] { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
@media (max-width: 520px) { .lang-current { display: none; } .lang-btn { padding: 8px 10px; } }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .navlinks { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0;
    background: #3A1AA6; padding: 8px 16px 16px; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
  .navlinks.open { display: flex; }
  .navlink { padding: 12px 16px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 150px; color: #FFFFFF;
  background: linear-gradient(135deg, #291584 0%, #4F1FBF 45%, #7A2BD6 100%); }
.hero .slab { position: absolute; background: rgba(255,255,255,.06); }
.hero .slab.s1 { right: -60px; top: -120px; width: 260px; height: 420px; }
.hero .slab.s2 { left: 8%; top: 40px; width: 140px; height: 380px; background: rgba(255,255,255,.05); }
.hero .slab.s3 { right: 18%; bottom: -160px; width: 220px; height: 360px; background: rgba(255,255,255,.05); }
.hero .wedge { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; }
.dotgrid { position: absolute; background-size: 30px 30px; }
.hero .dotgrid { left: 30%; bottom: 60px; width: 150px; height: 150px; background-image: radial-gradient(#F85146 2.5px, transparent 2.5px); }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 50px; align-items: center; }
.hero h1 { margin: 0 0 22px; color: #FFFFFF; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.35; }
.hero p { margin: 0 0 36px; font-size: 18px; max-width: 540px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 18px; }

.stage { display: flex; justify-content: center; position: relative; min-height: 600px; }
.phone { width: 290px; height: 590px; background: #FFFFFF; border: 10px solid var(--frame); border-radius: 46px; overflow: hidden;
  position: relative; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(20,8,70,.45); }
.phone .notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: var(--frame); border-radius: 0 0 16px 16px; }
.phone .bar { padding: 34px 16px 0; display: flex; justify-content: space-between; align-items: center; }
.phone .row { padding: 14px 16px 0; display: flex; justify-content: space-between; align-items: baseline; }
.phone .title { font-weight: 800; font-size: 19px; }
.phone .all { color: var(--coral); font-size: 12px; }
.phone .pad { padding: 10px 16px; }
.phone .pic { height: 120px; border-radius: 10px; background: linear-gradient(135deg, #F7F8F9, #ECEEF2); }
.phone .avs { display: flex; gap: 4px; margin: 10px 0 8px; }
.phone .avs span { width: 22px; height: 22px; border-radius: 50%; }
.track { height: 7px; background: var(--line); border-radius: 9px; overflow: hidden; }
.track > div { height: 100%; border-radius: 9px; }
.phone .h { padding: 10px 16px 0; font-weight: 800; }
.phone .stages { padding: 10px 16px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.phone .stages div { background: #FFFFFF; border-radius: 8px; box-shadow: 0 3px 15px rgba(158,158,158,.2); padding: 10px 4px; text-align: center; font-size: 11px; color: var(--coral); font-weight: 700; }
.phone .tabbar { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid #EEEEEE; padding: 12px 18px; display: flex; justify-content: space-between; color: var(--body); background: #FFFFFF; }
.float { position: absolute; background: #FFFFFF; border-radius: 6px; box-shadow: 0 10px 35px rgba(20,8,70,.25); color: var(--ink); }
.float.deal { top: 170px; right: -10px; display: flex; overflow: hidden; width: 300px; }
.float.deal .thumb { width: 100px; flex-shrink: 0; background: linear-gradient(135deg, #FFE9E8, #F7F8F9); }
.float.deal .body { padding: 12px 14px; flex-grow: 1; }
.float.deal small { display: block; font-size: 11px; color: var(--body); }
.float.deal strong { display: block; font-size: 14px; margin-bottom: 6px; }
.float.deal .foot { display: flex; justify-content: space-between; align-items: center; }
.float.deal .off { color: var(--coral); font-weight: 700; font-size: 14px; }
.float.deal .join { background: var(--coral); color: #FFFFFF; font-size: 11px; padding: 5px 10px; border-radius: 3px; }
.float.ready { bottom: 120px; left: -10px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; }
.float.ready strong { display: block; font-size: 15px; }
.float.ready small { font-size: 12px; color: var(--body); }
@media (max-width: 520px) { .float.deal { right: 0; width: 250px; } .float.ready { left: 0; } }

/* ---------- section heads ---------- */
.sec { padding: 100px 0; }
.sec.mist { background: var(--mist); }
.eyebrow { color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.head h2, .sec h2 { margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.45; }
.head p { margin: 0; }

/* ---------- features ---------- */
.features { padding: 40px 0 100px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 30px; }
.card { background: #FFFFFF; border-radius: 10px; box-shadow: var(--soft); transition: all .3s ease-out; }
.card:hover { box-shadow: 0 3px 35px 0 rgba(158,158,158,.28); transform: translateY(-8px); }
.card:hover .ic { transform: rotateY(180deg); }
.ic { transition: transform .6s ease-out; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; }
.feature { padding: 44px 32px; text-align: center; }
.feature .ic { width: 80px; height: 80px; color: #FFFFFF; margin: 0 auto 24px; }
.feature h3 { margin: 0 0 10px; font-size: 22px; }
.feature p { margin: 0; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 60px; align-items: center; }
.about p { margin: 0 0 28px; }
.tiles-wrap { position: relative; display: flex; justify-content: center; }
.tiles-wrap .dotgrid { top: -20px; right: 10%; width: 110px; height: 110px; background-image: radial-gradient(#903FEE 2px, transparent 2px); background-size: 15px 15px; opacity: .4; }
.tiles { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1.1; background: #FFFFFF; border-radius: 10px; box-shadow: 0 3px 35px rgba(158,158,158,.15);
  padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.tiles > div { border-radius: 10px; padding: 18px; font-weight: 700; }
.tiles .t1 { background: var(--tint-blue); color: var(--blue); display: flex; flex-direction: column; justify-content: space-between; }
.tiles .t1 .track { height: 8px; background: #FFFFFF; }
.tiles .t2 { background: var(--tint-violet); color: var(--violet); }
.tiles .t3 { background: var(--tint-coral); color: var(--coral-ink); }
.tiles .t4 { background: var(--mist); color: var(--ink); }

/* ---------- systems ---------- */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.tab { font: inherit; font-weight: 600; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); padding: 12px 30px; border-radius: 5px;
  min-height: 48px; cursor: pointer; transition: all .3s ease-out; }
.tab[aria-selected="true"] { background: var(--blue); color: #FFFFFF; border-color: var(--blue); box-shadow: 0 8px 20px -8px rgba(26,120,207,.6); }
.panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { margin: 0 0 14px; font-size: 28px; }
.panel > div > p { margin: 0 0 26px; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.point { display: flex; gap: 12px; align-items: flex-start; }
.point .ic { width: 44px; height: 44px; background: var(--mist); }
.point strong { display: block; color: var(--ink); }
.point span { font-size: 14px; }
.panel .go { margin-top: 28px; }
.demo { background: #FFFFFF; border-radius: 10px; padding: 34px; box-shadow: 0 3px 35px rgba(158,158,158,.18); display: flex; flex-direction: column; gap: 20px; }
.demo .top { display: flex; justify-content: space-between; align-items: center; }
.demo .top strong { color: var(--ink); font-size: 19px; }
.demo .top small { font-size: 13px; }
.demo .count { display: flex; justify-content: space-between; font-size: 15px; }
.demo .count b { color: var(--ink); }
.slots { display: grid; grid-template-columns: repeat(10, minmax(0,1fr)); gap: 6px; }
.slot { aspect-ratio: 1; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.slot.on { background: var(--blue); transform: scale(1.1); }
.bar8 { height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; }
.bar8 > div { height: 100%; border-radius: 9px; transition: width .5s ease-out; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.tier { border: 1px solid var(--line); border-radius: 10px; padding: 12px 8px; text-align: center; transition: all .3s; }
.tier b { display: block; font-size: 22px; }
.tier span { font-size: 12px; }
.tier.ok { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.now { background: var(--mist); border-radius: 10px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.now b { font-size: 28px; font-weight: 800; color: var(--blue); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.step { font: inherit; border: 1px solid var(--line); background: var(--mist); color: var(--body); border-radius: 10px; padding: 10px 6px; min-height: 60px; cursor: pointer; transition: all .3s; }
.step small { display: block; font-size: 12px; opacity: .85; }
.step b { font-size: 15px; }
.step.done { background: var(--tint-blue); border-color: var(--sky); color: #1A5FA0; }
.step.cur { background: var(--violet); border-color: var(--violet); color: #FFFFFF; }
.stepnote { background: var(--mist); border-radius: 10px; padding: 20px; border-inline-start: 4px solid var(--violet); }
.stepnote small { display: block; color: var(--violet); font-size: 14px; font-weight: 600; }
.stepnote strong { display: block; color: var(--ink); font-size: 21px; font-weight: 800; margin: 4px 0 6px; }

/* ---------- screens ---------- */
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 26px; }
.shot { background: var(--frame); border-radius: 30px; padding: 9px; box-shadow: 0 0 15px rgba(54,152,238,.16); transition: transform .4s ease-out; }
.shot:hover { transform: translateY(-12px) scale(1.02); }
.shot .scr { background: #FFFFFF; border-radius: 22px; height: 400px; overflow: hidden; }
.shot .hd { color: #FFFFFF; padding: 20px 16px; font-weight: 700; }
.shot .bd { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.shot .bd.two { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.shot .blk { border-radius: 10px; }
.shot .bars { padding: 18px 14px; display: flex; align-items: flex-end; gap: 10px; height: 200px; }
.shot .bars div { flex: 1; border-radius: 6px; }

/* ---------- services ---------- */
.service { padding: 32px; display: flex; gap: 18px; }
.service .ic { width: 56px; height: 56px; }
.service h3 { margin: 0 0 6px; font-size: 19px; }
.service p { margin: 0; font-size: 15px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(to right, #291584 0%, #9133e2 100%); color: #FFFFFF; position: relative; overflow: hidden; }
.cta .dotgrid { left: 6%; top: 20%; width: 100px; height: 100px; background-image: radial-gradient(rgba(255,255,255,.45) 2px, transparent 2px); background-size: 15px 15px; }
.cta .wrap { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 30px; position: relative; }
.cta h2 { margin: 0 0 10px; color: #FFFFFF; font-size: clamp(26px, 3vw, 36px); }
.cta p { margin: 0; color: #E9DEFB; font-size: 17px; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-box { background: #FFFFFF; border-radius: 10px; box-shadow: 0 0 79px rgba(158,158,158,.16); padding: 50px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: center; }
@media (max-width: 520px) { .contact-box { padding: 28px 20px; } }
.contact-box h2 { font-size: clamp(26px, 3vw, 34px); }
.contact-lines { display: flex; flex-direction: column; gap: 8px; }
.contact-lines a { text-decoration: none; }
form { display: flex; flex-direction: column; gap: 6px; }
label { color: var(--ink); font-weight: 600; font-size: 15px; margin-top: 8px; }
input, select { font: inherit; padding: 12px 16px; border: 1px solid var(--line); border-radius: 5px; min-height: 48px; background: #FFFFFF; color: var(--ink); }
input:focus, select:focus, .btn:focus-visible, .tab:focus-visible, .step:focus-visible { outline: 2px solid var(--sky); outline-offset: 1px; }
form .btn { margin-top: 14px; }
.form-note { font-size: 13px; margin: 6px 0 0; }

/* ---------- footer ---------- */
footer { background: var(--mist); }
footer .wrap { padding-top: 50px; padding-bottom: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
footer .brand { color: var(--ink); font-weight: 700; font-size: 24px; }
footer .brand:hover { color: var(--ink); }
footer .mark { width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 18px; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .links a { text-decoration: none; }
.copy { border-top: 1px solid var(--line); text-align: center; padding: 18px 24px; font-size: 14px; }

/* ---------- languages ---------- */
/* Chinese: Tajawal has no CJK glyphs, so the system's own Chinese UI fonts (nothing to download). */
html[lang="zh-CN"] body, html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3,
html[lang="zh-CN"] input, html[lang="zh-CN"] select, html[lang="zh-CN"] button {
  font-family: "Tajawal", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
html[lang="zh-CN"] .hero h1 { line-height: 1.4; letter-spacing: .02em; }
/* Left-to-right: the decorations mirror with the layout. */
[dir="ltr"] .float.deal { right: auto; left: -10px; }
[dir="ltr"] .float.ready { left: auto; right: -10px; }
[dir="ltr"] .hero .wedge { transform: scaleX(-1); }
[dir="ltr"] .hero .dotgrid { left: auto; right: 30%; }
@media (max-width: 520px) { [dir="ltr"] .float.deal { left: 0; } [dir="ltr"] .float.ready { right: 0; } }
[dir="rtl"] #c-phone { text-align: right; }
/* A non-Arabic visit is translated before it is shown; if the script never runs, show it anyway. */
.i18n-pending body { visibility: hidden; animation: i18nShow 0s 1.2s forwards; }
@keyframes i18nShow { to { visibility: visible; } }

/* ---------- motion (from the reference) ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fadeSide { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes dots { 0% { transform: translateY(0); } 50% { transform: translateY(-50%); } 100% { transform: translateY(0); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift { 0%,100% { transform: rotate(-28deg) translateY(0); } 50% { transform: rotate(-28deg) translateY(-24px); } }
@keyframes fill { 0% { width: 15%; } 55%,85% { width: 100%; } 100% { width: 15%; } }
@keyframes pop { 0%,6% { transform: scale(0); } 14%,86% { transform: scale(1); } 96%,100% { transform: scale(0); } }
.drift { animation: drift 9s ease-in-out infinite; } .drift2 { animation: drift 11s ease-in-out -4s infinite; }
.dots { animation: dots 6s ease-out infinite; } .dots2 { animation: dots 6s ease-out -3s infinite; }
.bob { animation: bob 5s ease-in-out infinite; } .bob2 { animation: bob 6s ease-in-out -2s infinite; }
.fillbar { animation: fill 7s cubic-bezier(.6,.1,.3,1) infinite; }
.av { animation: pop 7s cubic-bezier(.3,1.5,.5,1) infinite both; }
.a1 { animation-delay: .2s; } .a2 { animation-delay: .9s; } .a3 { animation-delay: 1.6s; } .a4 { animation-delay: 2.3s; } .a5 { animation-delay: 3s; }

/* Reveal on scroll: hidden only once the script has said it will reveal them. */
.js .wow, .js .wowl { opacity: 0; }
.js .wow.in { animation: fadeUp 1s ease-out both; }
.js .wowl.in { animation: fadeSide 1.1s ease-out both; }
.d1 { animation-delay: .2s !important; } .d2 { animation-delay: .4s !important; } .d3 { animation-delay: .6s !important; }

/* "Reduce motion" (iPhone Accessibility > Motion; Android "Remove animations", sometimes switched on by
   battery saver) asks for less movement, not a dead page. What it is for is large, endless motion:
   the floating phone and cards, the drifting slabs, the bouncing dot grids, things sliding in. Those
   stop. Small feedback stays - the progress bars, the avatars joining, the demo's own transitions -
   and sections still arrive, by fading rather than sliding. */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift, .drift2, .dots, .dots2, .bob, .bob2, .lang-menu { animation: none !important; }
  .js .wow.in, .js .wowl.in { animation: fadeIn .6s ease-out both !important; }
  .btn:hover, .card:hover, .shot:hover { transform: none; }
  .card:hover .ic { transform: none; }
}
