/* TAMA landing — same palette as admin.html (violet #7c3aed, navy→purple gradient, IBM Plex Sans Arabic) */
:root{
  --p:#7c3aed;--ph:#6d28d9;--pl:#c4b5fd;--pxl:#ede9fe;
  --ink:#f4f2fd;--muted:#b9b3d8;--line:rgba(167,139,250,.22);--line-strong:rgba(167,139,250,.45);
  --card:rgba(24,19,52,.78);--card-soft:rgba(255,255,255,.04);--field:rgba(10,8,28,.6);
  --ok:#34d399;--err:#fda4af;--warn:#fcd34d;
  --r:18px;--max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;min-height:100vh;font-family:'IBM Plex Sans Arabic',system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;color:var(--ink);
  background-color:#0f172a;background-image:linear-gradient(170deg,#0f172a 0%,#1e1b4b 35%,#1a1245 70%,#2a1257 100%);line-height:1.65;overflow-x:hidden}
/* one language at a time: <x data-only="en|ar"> */
html[lang=ar] [data-only=en],html[lang=en] [data-only=ar]{display:none!important}
a{color:var(--pl)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a78bfa;outline-offset:2px}
img{max-width:100%;height:auto;display:block}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.skip{position:absolute;inset-inline-start:-9999px;top:8px;background:var(--p);color:#fff;padding:8px 14px;border-radius:10px;z-index:100}
.skip:focus{inset-inline-start:8px}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;padding:12px 22px;
  font:inherit;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s,transform .05s;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-p{background:var(--p);color:#fff;box-shadow:0 8px 24px rgba(124,58,237,.35)}
.btn-p:hover{background:var(--ph)}
.btn-g{background:transparent;color:var(--ink);border-color:var(--line-strong)}
.btn-g:hover{background:rgba(124,58,237,.16)}
.btn-sm{padding:8px 14px;font-size:14px;border-radius:10px}
.btn-lg{padding:15px 28px;font-size:17px}
.btn[disabled]{opacity:.5;cursor:default}

/* ---------- header ---------- */
.hdr{position:sticky;top:0;z-index:30;background:rgba(15,13,38,.82);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;gap:14px;height:64px}
.logo{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:700;font-size:20px;letter-spacing:.06em}
.logo-mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#5b21b6);display:grid;place-items:center;font-size:16px;color:#fff;letter-spacing:0}
.gword{background:linear-gradient(90deg,#c4b5fd,#8b5cf6 55%,#a78bfa);-webkit-background-clip:text;background-clip:text;color:transparent}
.nav{display:flex;gap:4px;margin-inline-start:12px}
.nav a{color:var(--muted);text-decoration:none;font-size:14px;font-weight:600;padding:8px 10px;border-radius:8px}
.nav a:hover{color:var(--ink);background:rgba(124,58,237,.14)}
.hdr-end{margin-inline-start:auto;display:flex;align-items:center;gap:10px}
.lg{display:inline-flex;border:1px solid var(--p);border-radius:10px;overflow:hidden}
.lg button{border:0;padding:6px 12px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;background:transparent;color:var(--pl)}
.lg button[aria-pressed=true]{background:var(--p);color:#fff}
@media (max-width:960px){.nav{display:none}}
@media (max-width:560px){.hdr .start-top{display:none}.hdr .wrap{gap:8px}.logo{font-size:18px}.logo-mark{width:30px;height:30px}}

/* ---------- sections ---------- */
section{padding:84px 0;scroll-margin-top:64px}
.eyebrow{display:inline-block;color:var(--pl);font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}
html[lang=ar] .eyebrow{letter-spacing:0}
h1,h2,h3{line-height:1.25;margin:0}
h2{font-size:clamp(26px,3.2vw,38px);font-weight:700;margin-bottom:14px}
h3{font-size:20px;font-weight:700}
.lead{color:var(--muted);font-size:18px;max-width:720px;margin:0}
.center{text-align:center}.center .lead{margin-inline:auto}
.head{margin-bottom:40px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:26px;box-shadow:0 10px 34px rgba(5,2,20,.35)}

/* hero */
.hero{padding:72px 0 64px;position:relative}
.hero::before{content:"";position:absolute;inset:-64px 0 auto;height:620px;background:radial-gradient(700px 360px at 50% 0%,rgba(139,92,246,.30),transparent 70%);pointer-events:none}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(34px,4.6vw,56px);font-weight:700;letter-spacing:-.01em;margin-bottom:18px}
html[lang=ar] .hero h1{letter-spacing:0;line-height:1.35}
.hero .sub{font-size:clamp(18px,2vw,22px);color:#ddd6fe;font-weight:600;margin:0 0 30px}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0;padding:0;list-style:none}
.chips li{font-size:13px;font-weight:600;color:#ddd6fe;background:rgba(124,58,237,.14);border:1px solid var(--line);border-radius:999px;padding:5px 12px}
.hero-visual{position:relative}
.shot-frame{border-radius:16px;border:1px solid var(--line-strong);background:#120e2b;padding:8px;box-shadow:0 30px 80px rgba(5,2,20,.6),0 0 0 1px rgba(255,255,255,.03) inset;overflow:hidden}
.shot-frame .bar{display:flex;gap:6px;padding:4px 6px 10px}
.shot-frame .bar i{width:10px;height:10px;border-radius:50%;background:rgba(167,139,250,.35)}
.shot-frame img{border-radius:10px;width:100%;background:#fff}
@media (max-width:900px){.hero .wrap{grid-template-columns:1fr;gap:40px}.hero{padding-top:48px}}

/* problem */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.prob .ic{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;font-size:22px;background:rgba(124,58,237,.18);border:1px solid var(--line);margin-bottom:16px}
.prob p{color:var(--muted);margin:8px 0 0}
@media (max-width:860px){.grid3{grid-template-columns:1fr}}

/* products */
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media (max-width:860px){.grid2{grid-template-columns:1fr}}
.prod{display:flex;flex-direction:column}
.prod .tag{display:inline-block;font-size:12px;font-weight:700;color:var(--pxl);background:rgba(124,58,237,.3);border-radius:999px;padding:3px 10px;margin-bottom:12px;align-self:flex-start}
.prod h3{font-size:24px}
.prod .for{color:var(--muted);margin:6px 0 18px}
.feat{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:10px;flex:1}
.feat li{position:relative;padding-inline-start:30px}
.feat li::before{content:"";position:absolute;inset-inline-start:0;top:.45em;width:18px;height:18px;border-radius:6px;background:rgba(124,58,237,.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%23ddd6fe' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.feat b{color:#fff;font-weight:700}
.feat small{display:block;color:var(--muted);font-size:14px}
.prod .acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.prod.dev{background:linear-gradient(160deg,rgba(124,58,237,.28),rgba(24,19,52,.85) 55%)}

/* timeline */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:s;position:relative}
.steps li{position:relative;counter-increment:s}
.steps .num{width:48px;height:48px;border-radius:50%;background:var(--p);color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px;margin-bottom:16px;box-shadow:0 0 0 6px rgba(124,58,237,.2)}
.steps .when{font-size:13px;font-weight:700;color:var(--pl);margin-bottom:4px}
.steps p{color:var(--muted);margin:8px 0 0}
@media (min-width:861px){.steps::before{content:"";position:absolute;top:24px;inset-inline:16% 16%;height:2px;background:linear-gradient(90deg,transparent,var(--line-strong),transparent)}}
@media (max-width:860px){.steps{grid-template-columns:1fr}}

/* placeholders the owner must fill in */
.ph{border:2px dashed var(--warn);border-radius:12px;padding:14px 16px;color:var(--warn);background:rgba(252,211,77,.07);font-weight:600}
.ph-inline{border:1px dashed var(--warn);border-radius:6px;padding:1px 6px;color:var(--warn);font-weight:600;background:rgba(252,211,77,.07)}
.why{max-width:820px;margin:0 auto}
.why .card{padding:30px}
.why p{margin:0 0 12px}

/* screenshots */
.tabs{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:22px}
.tabs button{font:inherit;font-size:15px;font-weight:700;padding:9px 18px;border-radius:999px;border:1px solid var(--line-strong);background:transparent;color:var(--muted);cursor:pointer}
.tabs button[aria-selected=true]{background:var(--p);border-color:var(--p);color:#fff}
.gallery figure{margin:0 auto;max-width:1040px}
.gallery figcaption{color:var(--muted);text-align:center;margin-top:14px;font-size:15px}
.js .gallery figure[hidden]{display:none}
.no-shot{aspect-ratio:16/9;display:grid;place-items:center;text-align:center;border-radius:10px;background:repeating-linear-gradient(135deg,rgba(124,58,237,.10) 0 14px,rgba(124,58,237,.04) 14px 28px);color:var(--muted);font-weight:600;padding:20px}

/* final CTA */
.final .card{text-align:center;padding:52px 26px;background:radial-gradient(600px 260px at 50% 0%,rgba(139,92,246,.35),transparent 70%),var(--card)}
.final .lead{margin-inline:auto}
.final .cta-row{justify-content:center;margin-top:26px}
.contact{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 28px;margin-top:28px;color:var(--muted)}
.contact span.k{color:var(--ink);font-weight:700;margin-inline-end:6px}

/* footer */
footer{border-top:1px solid var(--line);padding:32px 0 40px;color:var(--muted);font-size:14px}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:space-between}
footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}
footer a{color:var(--pl);text-decoration:none;font-weight:600;display:inline-flex;align-items:center;min-height:44px;padding:0 4px}
footer a:hover{text-decoration:underline}
.li{display:inline-flex;align-items:center;gap:8px}
.li svg{width:18px;height:18px;fill:currentColor}

@media (max-width:560px){section{padding:60px 0}.hero{padding:40px 0 48px}.card{padding:22px}.btn-lg{padding:14px 22px;font-size:16px}
  .hero .cta-row .btn{flex:1 1 auto}.final .card{padding:38px 18px}}

/* ---------- sign-up request dialog ---------- */
.modal{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(6,4,20,.72)}
.modal[hidden]{display:none}
.dlg{width:100%;max-width:560px;max-height:calc(100vh - 32px);overflow:auto;background:#17123a;border:1px solid var(--line-strong);border-radius:20px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.6)}
.dlg-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.dlg-h h2{font-size:22px;margin:0}
.x{background:none;border:0;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;padding:4px 8px;border-radius:8px}
.x:hover{background:rgba(124,58,237,.2);color:#fff}
.dlg .intro{color:var(--muted);margin:0 0 18px;font-size:15px}
.fld{display:block;margin-bottom:14px}
.fld>span{display:block;font-size:13px;font-weight:700;color:#ddd6fe;margin-bottom:6px}
.fld em{font-style:normal;color:var(--muted);font-weight:500}
.inp{width:100%;background:var(--field);color:var(--ink);border:1px solid var(--line-strong);border-radius:10px;padding:10px 12px;font:inherit;font-size:15px}
.inp::placeholder{color:#8a84ad}
select.inp{appearance:auto}
textarea.inp{resize:vertical;min-height:84px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
@media (max-width:520px){.row2{grid-template-columns:1fr}.dlg{padding:20px 16px}}
.choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:0;padding:0;margin:0 0 14px}
.choice legend{font-size:13px;font-weight:700;color:#ddd6fe;margin-bottom:6px;padding:0}
.choice label{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line-strong);border-radius:12px;padding:10px 12px;cursor:pointer;background:var(--card-soft)}
.choice label:has(input:checked){border-color:var(--p);background:rgba(124,58,237,.22)}
.choice input{margin-top:5px;accent-color:var(--p)}
.choice b{display:block;font-size:15px}.choice small{color:var(--muted);font-size:12.5px}
@media (max-width:420px){.choice{grid-template-columns:1fr}}
.hp{position:absolute!important;inset-inline-start:-9999px;width:1px;height:1px;opacity:0}
.msg{font-size:14px;font-weight:700;margin:4px 0 12px;min-height:1px}
.msg.err{color:var(--err)}.msg.info{color:var(--pl)}
.done{text-align:center;padding:16px 4px}
.done .big{font-size:44px}
.done p{color:var(--muted)}
.fine{color:var(--muted);font-size:12.5px;margin:10px 0 0;text-align:center}

/* ---------- R48: website chat ---------- */
.tc-fab{position:fixed;bottom:20px;inset-inline-end:20px;z-index:50;display:flex;align-items:center;gap:8px;min-height:52px;padding:0 20px 0 16px;border:0;border-radius:999px;
  background:var(--p);color:#fff;font:inherit;font-weight:700;font-size:15px;cursor:pointer;box-shadow:0 10px 30px rgba(124,58,237,.45)}
.tc-fab:hover{background:var(--ph)}
.tc-ic{font-size:20px;line-height:1}
.tc-open .tc-fab{display:none}
.tc-panel{position:fixed;bottom:20px;inset-inline-end:20px;z-index:55;width:min(380px,calc(100vw - 24px));height:min(580px,calc(100vh - 40px));display:flex;flex-direction:column;
  background:#171236;border:1px solid var(--line-strong);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.55);overflow:hidden}
.tc-panel[hidden]{display:none}
.tc-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;border-bottom:1px solid var(--line);background:rgba(124,58,237,.14)}
.tc-av{flex:0 0 36px;height:36px;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#5b21b6);display:grid;place-items:center;font-weight:700;color:#fff}
.tc-ttl{flex:1;min-width:0;line-height:1.35}
.tc-ttl strong{display:block;font-size:15px}
.tc-ttl small{display:block;font-size:12px;color:var(--muted)}
.tc-x{flex:0 0 40px;height:40px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-size:18px;cursor:pointer}
.tc-x:hover{background:rgba(255,255,255,.08)}
.tc-list{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.tc-msg{max-width:88%;padding:10px 13px;border-radius:14px;font-size:14.5px;line-height:1.6;word-wrap:break-word;white-space:normal}
.tc-msg p{margin:0 0 6px}.tc-msg p:last-child{margin-bottom:0}
.tc-msg ul{margin:4px 0 6px;padding-inline-start:20px}
.tc-msg a{color:var(--pl);word-break:break-all}
.tc-u{align-self:flex-end;background:var(--p);color:#fff;border-end-end-radius:4px;white-space:pre-wrap}
.tc-a{align-self:flex-start;background:rgba(255,255,255,.07);border:1px solid var(--line);border-end-start-radius:4px}
.tc-wait{color:var(--muted);font-style:italic}
.tc-err{border-color:rgba(253,164,175,.45)}
.tc-cta{margin-top:8px}
.tc-sugg{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}
.tc-sugg[hidden]{display:none}
.tc-sugg button{border:1px solid var(--line-strong);background:transparent;color:var(--ink);border-radius:999px;padding:7px 12px;font:inherit;font-size:13px;cursor:pointer;min-height:36px}
.tc-sugg button:hover{background:rgba(124,58,237,.18)}
.tc-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid var(--line)}
.tc-form textarea{flex:1;resize:none;min-height:44px;max-height:120px;border:1px solid var(--line-strong);border-radius:12px;background:var(--field);color:var(--ink);font:inherit;font-size:15px;padding:10px 12px}
.tc-form .btn{min-height:44px}
.tc-foot{padding:0 12px 10px;text-align:center}
.tc-link{border:0;background:none;color:var(--pl);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;min-height:32px}
@media (max-width:520px){.tc-panel{inset:auto 0 0 0;width:100%;height:min(88vh,640px);border-radius:18px 18px 0 0}.tc-fab .tc-lbl{display:none}.tc-fab{padding:0 16px}}
.tc-fab[hidden],html.tc-off .tc-fab,html.tc-off .tc-panel{display:none!important}
.contact[hidden],.contact [hidden]{display:none!important}
