/* =====================================================================
   O2Sender home — illustrations built in HTML/SVG (no raster images)
   ===================================================================== */
.o2 svg[fill="currentColor"]{ fill:currentColor; stroke:none; }
.sk{ display:block; height:7px; border-radius:99px; background:currentColor; opacity:.16; }
.w30{ width:30%; } .w40{ width:40%; } .w45{ width:45%; } .w50{ width:50%; } .w60{ width:60%; } .w70{ width:70%; } .w80{ width:80%; } .w90{ width:90%; }

/* ---------- hero chips (icons) ---------- */
.chip svg{ width:30px; height:30px; }
.chip--wa{ background:#25D366!important; color:#fff; border-color:rgba(255,255,255,.5)!important; }
.chip--send{ color:var(--gold-hi); }
.chip--a svg,.chip--b svg{ width:28px; height:28px; }

/* ---------- hero buttons ---------- */
.btn--glass{ background:rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.28); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.btn--glass:hover{ background:rgba(255,255,255,.2); border-color:#fff; transform:translateY(-2px); }
.hero__stores a.btn{ display:inline-flex; height:56px; padding:0 30px; font-size:16px; border-radius:15px; }
.hero__stores .btn--gold:hover{ filter:none; }

/* ---------- dashboard mockup ---------- */
.ui{ display:grid; grid-template-columns:62px 1fr; min-height:372px; background:#F5F7FB; color:var(--ink); text-align:start; }
.ui__side{ display:flex; flex-direction:column; align-items:center; gap:10px; padding:16px 0; background:linear-gradient(180deg,#1B3270,#142657); }
.ui__side img{ width:32px; height:auto; margin-bottom:8px; }
.ui__side i{ display:grid; place-items:center; width:36px; height:36px; border-radius:11px; color:#9EAFD9; }
.ui__side i.on{ background:rgba(255,255,255,.14); color:#fff; box-shadow:inset 3px 0 0 var(--gold); }
html[dir="rtl"] .ui__side i.on{ box-shadow:inset -3px 0 0 var(--gold); }
.ui__side svg{ width:18px; height:18px; }
.ui__main{ display:flex; flex-direction:column; gap:12px; padding:16px; min-width:0; }
.ui__top{ display:flex; align-items:center; gap:12px; } .ui__top .sk{ flex:none; height:9px; background:var(--ink); opacity:.5; }
.ui__pill{ flex:1; height:28px; border-radius:99px; background:#fff; border:1px solid var(--line); }
.ui__av{ width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--brand)); }
.ui__stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.ui__stat{ padding:12px 12px 8px; border-radius:12px; background:#fff; border:1px solid var(--line); box-shadow:var(--sh); }
.ui__stat b{ display:block; font:700 22px/1 var(--font); letter-spacing:-.02em; margin-bottom:8px; }
.ui__stat .sk{ margin-bottom:8px; background:var(--ink); }
.ui__stat svg{ display:block; width:100%; height:22px; stroke:var(--brand); stroke-width:2; }
.ui__stat--g svg{ stroke:#12A37A; }
.ui__grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:10px; flex:1; }
.ui__chart{ padding:12px; border-radius:12px; background:#fff; border:1px solid var(--line); box-shadow:var(--sh); display:flex; flex-direction:column; gap:8px; }
.ui__chart .sk{ background:var(--ink); } .ui__chart svg{ flex:1; width:100%; min-height:90px; fill:none; }
.ui__chart .a{ fill:url(#uiG); stroke:none; } .ui__chart .l{ stroke:var(--brand); stroke-width:2.2; stroke-dasharray:700; stroke-dashoffset:700; animation:draw 2.6s .8s ease forwards; vector-effect:non-scaling-stroke; }
.ui__chart .l2{ stroke:var(--gold); stroke-width:1.8; animation-delay:1.1s; }
@keyframes draw{ to{ stroke-dashoffset:0; } }
.ui__chats{ padding:8px 10px; border-radius:12px; background:#fff; border:1px solid var(--line); box-shadow:var(--sh); display:flex; flex-direction:column; justify-content:space-around; }
.ui__row{ display:flex; align-items:center; gap:9px; }
.ui__row u{ flex:none; width:26px; height:26px; border-radius:50%; }
.ui__row span{ flex:1; display:grid; gap:5px; } .ui__row .sk{ background:var(--ink); }
.ui__row em{ color:#12A37A; } .ui__row em svg{ width:16px; height:16px; stroke-width:2.2; }

/* ---------- phone ---------- */
.phone{ position:relative; width:250px; padding:10px; border-radius:40px; background:#0A1233; border:1px solid rgba(255,255,255,.18); box-shadow:0 50px 70px -30px rgba(0,0,0,.65),inset 0 0 0 2px #1B2A5C; }
.phone__notch{ position:absolute; top:14px; inset-inline-start:50%; width:70px; height:18px; margin-inline-start:-35px; border-radius:0 0 14px 14px; background:#0A1233; z-index:3; }
.phone__head{ display:flex; align-items:center; gap:10px; padding:34px 14px 12px; border-radius:30px 30px 0 0; background:#0F7B6C; color:#fff; }
.phone__head span:last-child{ flex:1; display:grid; gap:5px; } .phone__head .sk{ background:#fff; opacity:.7; }
.phone__av{ display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#fff; color:#25D366; } .phone__av svg{ width:22px; height:22px; }
.phone__body{ display:flex; flex-direction:column; gap:8px; min-height:300px; padding:14px 12px; background:#E8EEF7 radial-gradient(rgba(33,64,154,.07) 1px,transparent 1.4px) 0 0/16px 16px; }
.bub{ position:relative; display:grid; gap:5px; max-width:78%; padding:9px 11px; border-radius:12px; box-shadow:0 1px 1px rgba(13,24,61,.1); color:var(--ink); }
.bub--in{ align-self:flex-start; background:#fff; border-top-left-radius:3px; }
.bub--out{ align-self:flex-end; background:#D9FDD3; border-top-right-radius:3px; }
html[dir="rtl"] .bub--in{ border-top-left-radius:12px; border-top-right-radius:3px; } html[dir="rtl"] .bub--out{ border-top-right-radius:12px; border-top-left-radius:3px; }
.bub .sk{ background:var(--ink); opacity:.22; } .bub em{ justify-self:end; margin-top:-2px; color:#34B7F1; } .bub em svg{ width:15px; height:15px; stroke-width:2.4; }
.bub--btns{ align-self:flex-start; display:flex; gap:6px; padding:0; background:none; box-shadow:none; max-width:100%; }
.bub--btns span{ width:78px; height:26px; border-radius:99px; background:#fff; border:1.5px solid #2E53C2; box-shadow:0 1px 1px rgba(13,24,61,.08); }
.bub--btns span:nth-child(2){ background:#2E53C2; }
.bub--typing{ align-self:flex-start; display:flex; gap:4px; padding:11px 14px; background:#fff; border-top-left-radius:3px; }
.bub--typing b{ width:6px; height:6px; border-radius:50%; background:#9AA6C4; animation:dots 1.2s infinite; } .bub--typing b:nth-child(2){ animation-delay:.18s; } .bub--typing b:nth-child(3){ animation-delay:.36s; }
@keyframes dots{ 0%,60%,100%{ transform:none; opacity:.5; } 30%{ transform:translateY(-4px); opacity:1; } }
.phone__bar{ display:flex; align-items:center; gap:8px; padding:10px 12px 14px; border-radius:0 0 30px 30px; background:#E8EEF7; }
.phone__bar .sk{ flex:1; height:30px; border-radius:99px; background:#fff; opacity:1; }
.phone__bar i{ display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#128C7E; color:#fff; } .phone__bar svg{ width:16px; height:16px; }
html[dir="rtl"] .phone__bar svg{ transform:scaleX(-1); }

/* banner: phone peeks from below */
.banner__thumb{ inset-inline-end:7%; bottom:-175px; transform:rotate(-7deg); }
html[dir="rtl"] .banner__thumb{ transform:rotate(7deg); }
.banner__thumb .phone{ width:230px; }
.banner__logo{ top:26px; inset-inline-end:36%; width:62px; height:62px; padding:0; }
.banner__logo svg{ width:32px; height:32px; }
@media (max-width:767px){ .banner__thumb{ display:none; } .banner{ padding-bottom:40px; } }

/* ---------- flow builder (platform) ---------- */
.dark__frame{ padding:18px; }
.flow{ position:relative; width:100%; aspect-ratio:520/380; border-radius:20px; background:radial-gradient(rgba(190,205,250,.22) 1px,transparent 1.4px) 0 0/22px 22px,linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02)); color:#fff; overflow:hidden; }
.flow__lines{ position:absolute; inset:0; width:100%; height:100%; }
.flow__lines path{ fill:none; stroke:rgba(143,168,242,.75); stroke-width:2; stroke-dasharray:6 7; animation:dash 1.6s linear infinite; vector-effect:non-scaling-stroke; }
@keyframes dash{ to{ stroke-dashoffset:-26; } }
.fn{ position:absolute; display:flex; align-items:center; gap:10px; width:30%; padding:10px 11px; border-radius:14px; background:rgba(17,31,86,.92); border:1px solid rgba(255,255,255,.22); box-shadow:0 18px 30px -16px rgba(0,0,0,.6); animation:float 6s ease-in-out infinite; }
.fn > span{ flex:1; display:grid; gap:6px; min-width:0; } .fn .sk{ background:#fff; opacity:.4; }
.fn__ic{ flex:none; display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:#2E53C2; color:#fff; } .fn__ic svg{ width:17px; height:17px; }
.fn__ic--g{ background:#25D366; } .fn__ic--y{ background:var(--gold); color:var(--gold-ink); } .fn__ic--b{ background:#5A79D8; }
.fn{ animation:none; width:26%; }
.fn--a{ left:2%; top:38%; } .fn--b{ left:39%; top:38%; } .fn--c{ left:73%; top:14%; } .fn--d{ left:73%; top:62%; }

/* ---------- orbit icons ---------- */
.orbit__ring i{ color:var(--brand); } .orbit__ring i svg{ width:46%; height:46%; animation:spin 40s linear infinite reverse; }
.orbit__ring i.wa{ color:#25D366; } .orbit__ring i.gd{ color:#C78A1E; }

/* ---------- account visual ---------- */
.account__visual{ position:relative; display:grid; place-items:center; min-height:420px; }
.account__visual .phone{ z-index:2; transform:rotate(5deg); } html[dir="rtl"] .account__visual .phone{ transform:rotate(-5deg); }
.acc-blob{ position:absolute; width:78%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(90,121,216,.6),transparent 68%); filter:blur(8px); }
.statcard{ position:absolute; inset-inline-start:0; bottom:8%; z-index:3; width:190px; padding:14px; border-radius:18px; background:#fff; color:var(--ink); box-shadow:0 30px 50px -22px rgba(0,0,0,.6); animation:float 6s ease-in-out infinite; }
.statcard__top{ display:flex; align-items:center; gap:10px; margin-bottom:12px; } .statcard__top i{ display:grid; place-items:center; width:34px; height:34px; border-radius:11px; background:#DCFAE6; color:#12A37A; } .statcard__top svg{ width:18px; height:18px; stroke-width:2.2; }
.statcard__top b{ font:700 24px/1 var(--font); letter-spacing:-.02em; }
.statcard__bars{ display:flex; align-items:flex-end; gap:6px; height:46px; } .statcard__bars span{ flex:1; border-radius:5px 5px 2px 2px; background:linear-gradient(180deg,var(--accent),var(--brand)); } .statcard__bars span:nth-child(odd){ opacity:.55; }
.account .chip--wa{ inset-inline-end:2%; top:10%; z-index:3; }
@media (max-width:991px){ .account__visual{ min-height:380px; } .statcard{ inset-inline-start:4%; } }

.seal{ bottom:26px; inset-inline-end:36%; }
.nav__logo img{ height:30px; width:auto; }
.foot__logo img{ height:32px; }

.dark__frame{ padding:14px; }
.flow{ border-radius:18px; }

/* ---------- hero visual: cleaner composition ---------- */
.hero__visual{ padding:44px 28px 40px; }
.hero__visual .device{ transform:rotateY(-4deg) rotateX(2deg); border-radius:20px; box-shadow:0 60px 90px -40px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.18),0 0 0 9px rgba(255,255,255,.06); }
html[dir="rtl"] .hero__visual .device{ transform:rotateY(4deg) rotateX(2deg); }
.hero__visual:hover .device{ transform:none; }
/* chips sit on the frame corners, never on top of the UI */
.hero__visual .chip{ z-index:3; animation-duration:6s; }
.hero__visual .chip--a{ inset-inline-start:auto; inset-inline-end:-4px; top:-4px; width:66px; height:66px; padding:0; border-radius:20px; background:linear-gradient(135deg,#2FE07A,#1FB85A)!important; border:2px solid rgba(255,255,255,.55)!important; box-shadow:0 22px 36px -12px rgba(37,211,102,.65); }
.hero__visual .chip--a svg{ width:34px; height:34px; }
.hero__visual .chip--b{ inset-inline-end:auto; inset-inline-start:-6px; bottom:2px; width:58px; height:58px; padding:0; border-radius:18px; background:linear-gradient(180deg,var(--gold-hi),var(--gold)); color:var(--gold-ink); border:2px solid rgba(255,255,255,.5); box-shadow:0 22px 36px -12px rgba(231,180,90,.6); animation-delay:-2.4s; }
.hero__visual .chip--b svg{ width:26px; height:26px; stroke-width:2; }
/* orbit: concentric, subtle, behind the device */
.orbit--hero{ width:122%; inset-inline-start:-11%; top:-11%; opacity:.45; }
.orbit--hero .r2{ stroke-dasharray:none; stroke:rgba(190,205,250,.25); }
/* quieter chevrons */
.hero__chev{ opacity:.045; }
/* dashboard sidebar: tidy active marker */
.ui__side i.on{ box-shadow:none; background:rgba(255,255,255,.16); }
.ui__side img{ width:30px; }
