@font-face{font-family:"Noto Kufi Arabic";src:url(/assets/kufi-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Noto Kufi Arabic";src:url(/assets/kufi-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
:root{--teal:#0E5A6B;--deep:#0B3F4B;--sand:#F6EFE6;--coral:#FF7A59;--ink:#12303a;--mut:#4d6b73}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Kufi Arabic",system-ui,sans-serif;background:var(--sand);color:var(--ink);line-height:1.8}
body{min-height:100vh;display:flex;flex-direction:column}
main{flex:1 0 auto}
a{color:var(--teal)}
.wrap{max-width:1040px;margin:0 auto;padding:0 20px}
header{position:sticky;top:0;background:rgba(246,239,230,.94);backdrop-filter:blur(6px);z-index:5;border-bottom:1px solid #e3d8c9}
header .wrap{display:flex;align-items:center;justify-content:flex-start;gap:12px;min-height:60px}
header .lang{margin-inline-start:auto;flex:none}
.brand{font-weight:700;font-size:1.25rem;color:var(--teal);text-decoration:none;display:flex;align-items:center;gap:8px}
nav{display:flex;gap:16px;flex-wrap:wrap;align-items:center;font-size:.95rem}
nav a{text-decoration:none;color:var(--ink)}nav a:hover{color:var(--teal)}
.lang{border:1px solid var(--teal);border-radius:999px;padding:2px 12px;color:var(--teal)}
.hero{background:linear-gradient(160deg,var(--teal),var(--deep));color:#fff;padding:56px 0 64px;position:relative;overflow:hidden}
.hero .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center}
.hero h1{font-size:clamp(1.8rem,4.5vw,2.8rem);line-height:1.4;margin:0 0 16px}
.hero p{font-size:1.1rem;opacity:.92;margin:0 0 24px}
.btn{display:inline-block;background:var(--coral);color:#12303a;font-weight:700;text-decoration:none;padding:12px 26px;border-radius:12px}
.btn:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.stack{perspective:900px;display:grid;place-items:center;min-height:240px}
.stack .layers{position:relative;width:220px;height:150px;transform-style:preserve-3d;transform:rotateX(55deg) rotateZ(-30deg);transition:transform .4s ease}
.stack .layers i{position:absolute;inset:0;border-radius:14px;display:block;box-shadow:0 10px 24px rgba(0,0,0,.25)}
.stack .layers i:nth-child(1){background:var(--sand);transform:translateZ(0)}
.stack .layers i:nth-child(2){background:#5fa3b0;transform:translateZ(22px)}
.stack .layers i:nth-child(3){background:#e9dccb;transform:translateZ(44px)}
.stack .layers i:nth-child(4){background:var(--teal);border:2px solid rgba(255,255,255,.35);transform:translateZ(66px)}
.stack.tilt .layers{transform:rotateX(calc(55deg + var(--ty,0deg))) rotateZ(calc(-30deg + var(--tx,0deg)))}
.static-img{display:none}
.waves{position:absolute;inset:auto 0 0 0;height:40px;opacity:.12;background:repeat-x bottom/120px 40px url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='40'><path d='M0 24 Q30 4 60 24 T120 24' fill='none' stroke='white' stroke-width='3'/></svg>")}
section{padding:56px 0}
h2{color:var(--teal);font-size:1.7rem;margin:0 0 12px}
.lead{color:var(--mut);max-width:60ch}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;margin-top:24px}
.card{background:#fff;border-radius:16px;padding:20px;border-top:4px solid var(--teal);text-decoration:none;color:var(--ink);display:block}
.card.soon{border-top-color:#c9d6d9;color:var(--mut)}
.card h3{margin:0 0 6px;color:var(--teal);font-size:1.15rem}
.card p{margin:0 0 10px;font-size:.95rem}
.tag{display:inline-block;font-size:.8rem;padding:1px 12px;border-radius:999px;background:#e4f2ee;color:var(--teal)}
.soon .tag{background:#eef1f2;color:var(--mut)}
.trust{background:#fff}
.trust .grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.trust .card{background:var(--sand)}
.cta{margin:20px 0 0}
.cta-mail{color:var(--mut);font-size:.95rem;margin:6px 0 0}
.prod{padding:56px 0}.prod h1{color:var(--teal);margin:0 0 8px}
footer{background:var(--deep);color:#cfe3e7;padding:28px 0;font-size:.9rem}
footer a{color:#fff}
@media(max-width:760px){.hero .wrap{grid-template-columns:1fr}.stack{min-height:180px}}
@media(prefers-reduced-motion:reduce){.stack .layers{transition:none}}
.legal .wrap{max-width:760px}.legal h2{margin-top:32px}.legal h3{color:var(--teal);margin:24px 0 4px}.legal ul{padding-inline-start:22px}.legal hr{border:0;border-top:1px solid #d9ccb9;margin:32px 0}.legal p{margin:10px 0}
a[href^="mailto:"]{unicode-bidi:isolate;direction:ltr}

/* about: two balanced columns, smaller 3D panel on the far side */
.about{display:grid;grid-template-columns:1.25fr .75fr;gap:36px;align-items:center}
.about .lead{max-width:none}
.stack.small{min-height:210px;background:linear-gradient(160deg,var(--teal),var(--deep));border-radius:20px}
.stack.small .layers{width:160px;height:108px}
.stack.small .layers i{border-radius:10px}
@media(max-width:760px){.about{grid-template-columns:1fr;gap:20px}.stack.small{min-height:170px}.stack.small .layers{width:140px;height:95px}}
/* a lone product card should not rattle around a wide row */
.grid.single{grid-template-columns:minmax(0,620px);justify-content:center}
.grid.single .card{padding:26px}
/* mobile header: brand + language pill on one row, links on the next */
@media(max-width:760px){
  header .wrap{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding-block:6px}
  header .brand{grid-column:1;grid-row:1}
  header .lang{grid-column:2;grid-row:1;justify-self:end;margin:0;padding:2px 10px;font-size:.85rem}
  header nav{grid-column:1/-1;grid-row:2;display:flex;justify-content:space-between;gap:8px;flex-wrap:nowrap;font-size:.85rem}
}

/* contact block: keep the heading and the paragraph on the same column */
#contact .wrap{max-width:760px;margin-inline:auto}
#contact h2{margin-bottom:8px}
/* four how-cards get cramped between the phone layout and a wide desktop: two per row there */
@media(min-width:761px) and (max-width:1280px){.trust .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
