/* Uni-Way Website — Professional Landing (Light/Dark + RTL/LTR)
   Author: generated by ChatGPT
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root{
  --primary:#0b5594;
  --accent:#3BC1C6;

  /* Light theme (default) */
  --bg:#f6f8fb;
  --bg2:#eef3f9;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#4b5563;
  --border:#e6eaf2;

  --shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --shadow2: 0 10px 25px rgba(15, 23, 42, .08);

  --radius:20px;
  --radius2:14px;
  --max:1120px;

  --font-ar:"Tajawal", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-en:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --header-h:72px;
}

/* Dark theme overrides */
:root[data-theme="dark"]{
  --bg:#071522;
  --bg2:#0a1a2a;
  --card:rgba(255,255,255,.06);
  --text:#f6fbff;
  --muted:rgba(246,251,255,.78);
  --border:rgba(255,255,255,.12);

  --shadow: 0 18px 55px rgba(0,0,0,.35);
  --shadow2: 0 12px 30px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 15% 0%, rgba(59,193,198,.25), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(11,85,148,.25), transparent 55%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  font-family: var(--font-en);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* RTL font */
html[lang="ar"] body{ font-family: var(--font-ar); }

img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
button{font-family:inherit}
::selection{background: rgba(59,193,198,.25)}

/* Layout */
.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}
.section{padding:72px 0}
.section.compact{padding:48px 0}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.55);
  box-shadow:var(--shadow2);
  color:var(--muted);
  font-weight:600;
}
:root[data-theme="dark"] .kicker{ background:rgba(255,255,255,.05); }

h1,h2,h3{line-height:1.2; margin:0 0 12px}
h1{font-size:clamp(34px, 4.4vw, 54px); letter-spacing:-.4px}
h2{font-size:clamp(24px, 2.4vw, 34px); letter-spacing:-.2px}
h3{font-size:18px}
p{margin:0 0 14px; color:var(--muted)}
.lead{font-size:clamp(16px, 1.6vw, 18px)}
.small{font-size:14px; color:var(--muted)}
.u{ text-decoration:underline; text-underline-offset:3px; }

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:50;
  height:var(--header-h);
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--border);
  background: rgba(246,248,251,.70);
  backdrop-filter: blur(14px);
}
:root[data-theme="dark"] .header{
  background: rgba(7,21,34,.55);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:190px;
}
.brand img{
  width:42px; height:42px;
  border-radius:12px;
  box-shadow:var(--shadow2);
}
.brand .brand-text{display:flex; flex-direction:column; gap:2px}
.brand .brand-name{font-weight:800; letter-spacing:-.2px}
.brand .brand-tag{font-size:12px; color:var(--muted)}

.links{
  display:flex;
  align-items:center;
  gap:18px;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:999px;
  background:rgba(255,255,255,.55);
  box-shadow:var(--shadow2);
}
:root[data-theme="dark"] .links{background:rgba(255,255,255,.05)}
.links a{
  font-weight:700;
  font-size:14px;
  color:var(--muted);
  transition: color .15s ease;
}
.links a:hover{color:var(--text)}

.actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  background:transparent;
  font-weight:800;
  font-size:13px;
  color:var(--muted);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.pill:hover{transform: translateY(-1px); color:var(--text); background:rgba(59,193,198,.10)}

.icon-btn{
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid var(--border);
  background:transparent;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.icon-btn:hover{transform: translateY(-1px); color:var(--text); background:rgba(59,193,198,.10)}
.icon-btn svg{width:20px; height:20px}
/* Theme icon swap */
[data-theme-toggle] .sun{display:none}
:root[data-theme="dark"] [data-theme-toggle] .moon{display:none}
:root[data-theme="dark"] [data-theme-toggle] .sun{display:block}

.burger{display:none}

/* Mobile nav backdrop */
.nav-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition: opacity .2s ease;
  z-index:40;
}
body.nav-open .nav-backdrop{opacity:1; pointer-events:auto}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid var(--border);
  background:transparent;
  font-weight:800;
  color:var(--text);
  box-shadow:var(--shadow2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); background:rgba(59,193,198,.10); border-color:rgba(59,193,198,.45)}
.btn.primary{
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color:white;
}
.btn.primary:hover{filter: brightness(1.03)}
.btn.small{padding:10px 14px; font-size:13px}

.store-row{display:flex; flex-wrap:wrap; gap:12px; margin-top:18px}
.store{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.65);
  box-shadow:var(--shadow2);
  min-width:220px;
  transition: transform .15s ease, background .15s ease;
}
:root[data-theme="dark"] .store{background:rgba(255,255,255,.05)}
.store:hover{transform: translateY(-2px)}
.store .s-ico{
  width:42px; height:42px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(59,193,198,.12);
  border:1px solid rgba(59,193,198,.30);
}
.store .s-ico svg{width:22px; height:22px}
.store .s-txt{display:flex; flex-direction:column; line-height:1.1}
.store .s-txt span{font-size:12px; color:var(--muted); font-weight:700}
.store .s-txt strong{font-size:14px; color:var(--text)}
.store.disabled{opacity:.65; cursor:not-allowed}
.store.disabled:hover{transform:none}

/* Hero */
.hero{
  padding:62px 0 36px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:28px;
  align-items:center;
}
.hero h1{margin-top:10px}
.hero .sub{max-width:58ch}
.hero-card{
  position:relative;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow);
  overflow:hidden;
}
:root[data-theme="dark"] .hero-card{ background: rgba(255,255,255,.05); }
.hero-card .hero-shot{
  width:100%;
  height:auto;
  aspect-ratio: 9/16;
  object-fit:cover;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-40% -40% auto -40%;
  height:260px;
  background: radial-gradient(closest-side, rgba(59,193,198,.35), transparent 70%);
  transform: rotate(10deg);
  pointer-events:none;
}

/* Highlights */
.highlights{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:20px;
}
.hi{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  padding:14px 14px;
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow2);
  display:flex;
  gap:12px;
}
:root[data-theme="dark"] .hi{ background: rgba(255,255,255,.05); }
.hi .i{
  width:42px; height:42px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(59,193,198,.30);
  background: rgba(59,193,198,.12);
  flex:0 0 auto;
}
.hi .i svg{width:20px; height:20px}
.hi .t strong{display:block; font-weight:900; margin-bottom:2px}
.hi .t span{font-size:13px; color:var(--muted); font-weight:650}

/* Feature grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px 18px;
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow2);
  transition: transform .18s ease;
}
:root[data-theme="dark"] .card{ background: rgba(255,255,255,.05); }
.card:hover{transform: translateY(-3px)}
.card .icon{
  width:46px; height:46px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(11,85,148,.12);
  border:1px solid rgba(11,85,148,.22);
  margin-bottom:10px;
}
.card .icon svg{width:22px; height:22px}
.card h3{margin:0 0 6px}
.card p{margin:0}

/* Screens */
.tabs{
  display:flex;
  gap:10px;
  margin-top:14px;
  margin-bottom:14px;
}
.tab{
  border:1px solid var(--border);
  background:rgba(255,255,255,.55);
  box-shadow: var(--shadow2);
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
  color:var(--muted);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
:root[data-theme="dark"] .tab{ background: rgba(255,255,255,.05); }
.tab:hover{transform: translateY(-1px); color:var(--text)}
.tab.active{
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color:white;
}

.carousel{
  position:relative;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow);
  overflow:hidden;
}
:root[data-theme="dark"] .carousel{ background: rgba(255,255,255,.05); }
.track{
  display:flex;
  gap:14px;
  overflow:auto;
  padding:18px;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
}
.track::-webkit-scrollbar{height:10px}
.track::-webkit-scrollbar-thumb{background:rgba(59,193,198,.25); border-radius:99px}
:root[data-theme="dark"] .track::-webkit-scrollbar-thumb{background:rgba(246,251,255,.16)}

.shot{
  flex:0 0 auto;
  width:220px;
  scroll-snap-align:center;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--border);
  background: rgba(0,0,0,.02);
  box-shadow: var(--shadow2);
  transform: translateZ(0);
  transition: transform .16s ease;
}
.shot:hover{transform: translateY(-3px)}
.shot img{
  width:100%;
  height:auto;
  aspect-ratio: 9/16;
  object-fit:cover;
}

.car-btn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow2);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease;
}
:root[data-theme="dark"] .car-btn{ background: rgba(7,21,34,.55); }
.car-btn:hover{transform: translateY(-50%) scale(1.03)}
.car-btn.prev{left:12px}
.car-btn.next{right:12px}
.car-btn svg{width:20px; height:20px}

/* FAQ */
.faq{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
  margin-top:18px;
}
.qa{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px 16px;
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow2);
}
:root[data-theme="dark"] .qa{ background: rgba(255,255,255,.05); }
.qa strong{display:block; margin-bottom:6px}
.qa p{margin:0}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.contact .box{
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:18px;
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow2);
}
:root[data-theme="dark"] .contact .box{ background: rgba(255,255,255,.05); }
.contact .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px dashed rgba(128,128,128,.25);
}
.contact .row:last-child{border-bottom:none}
.contact .label{font-weight:900}
.contact .value a{color:var(--text)}
.socials{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.social{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow2);
  font-weight:850;
  color:var(--muted);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
:root[data-theme="dark"] .social{ background: rgba(255,255,255,.05); }
.social:hover{transform: translateY(-1px); color:var(--text); background: rgba(59,193,198,.10)}
.social svg{width:18px; height:18px}

/* Footer */
.footer{
  padding:26px 0 34px;
  border-top:1px solid var(--border);
  background: rgba(255,255,255,.25);
}
:root[data-theme="dark"] .footer{ background: rgba(255,255,255,.03); }
.footer .foot{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.footer .legal{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-weight:800;
}
.footer .legal a:hover{color:var(--text)}

/* Page */
.page{
  padding-top:28px;
}
.page .paper{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow);
  padding:22px;
}
:root[data-theme="dark"] .page .paper{ background: rgba(255,255,255,.05); }
.page ul{margin:0 0 14px; color:var(--muted)}
.page li{margin:6px 0}

/* Reveal animation */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in{opacity:1; transform:none}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(0,0,0,.72);
  z-index:80;
}
.lightbox.open{display:flex}
.lightbox .frame{
  max-width:min(980px, 100%);
  max-height:90vh;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 60px rgba(0,0,0,.5);
  border:1px solid rgba(255,255,255,.16);
  background:#000;
  position:relative;
}
.lightbox img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.lightbox .close{
  position:absolute;
  top:10px;
  inset-inline-end:10px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color:#fff;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.lightbox .close svg{width:20px; height:20px}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; }
  .highlights{grid-template-columns:1fr; }
  .grid{grid-template-columns:1fr; }
  .faq{grid-template-columns:1fr; }
  .contact{grid-template-columns:1fr; }
  .links{display:none}
  .burger{display:inline-flex}
  body.nav-open .links{
    display:flex;
    position:fixed;
    top:calc(var(--header-h) + 14px);
    inset-inline-start:16px;
    inset-inline-end:16px;
    flex-direction:column;
    gap:12px;
    padding:16px;
    border-radius:22px;
    background: rgba(255,255,255,.92);
    z-index:60;
  }
  :root[data-theme="dark"] body.nav-open .links{
    background: rgba(7,21,34,.90);
  }
  .track{padding:16px}
  .shot{width: 62vw; max-width: 260px;}
}
