:root{
  --bg:#0b0d12;
  --bg2:#0f1320;
  --card:#12182a;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.55);
  --text:#ffffff;
  --line:rgba(255,255,255,.10);
  --p1:#c7a2ff;
  --p2:#7ce0ff;
  --p3:#ffd17a;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background: radial-gradient(1200px 600px at 20% 0%, rgba(124,224,255,.18), transparent 60%),
                             radial-gradient(900px 500px at 90% 20%, rgba(199,162,255,.20), transparent 55%),
                             linear-gradient(180deg, var(--bg), var(--bg2));
          color:var(--text); }
body{ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height:1.6; }

[dir="rtl"] body{ font-family: Tajawal, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{ width:min(1100px, 92vw); margin-inline:auto; }

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(10,12,18,.55);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand__name{
  font-weight:800;
  letter-spacing:.2px;
  background: linear-gradient(90deg, var(--p1), var(--p2), var(--p3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-size:18px;
}
.nav__links{ display:flex; gap:18px; align-items:center; }
.nav__links a{ color:var(--muted); font-weight:600; font-size:14px; }
.nav__links a:hover{ color:#fff; }

.nav__actions{ display:flex; align-items:center; gap:10px; }
.lang-pill{
  display:inline-flex; align-items:center; justify-content:center;
  width:40px; height:34px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#fff; font-weight:800; letter-spacing:.8px;
  background: rgba(255,255,255,.06);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  font-weight:700;
  box-shadow:none;
}
.btn--primary{
  background: linear-gradient(90deg, rgba(199,162,255,.95), rgba(124,224,255,.95));
  color:#0b0d12;
  border-color: transparent;
}
.btn--outline{
  background: rgba(255,255,255,.04);
}
.btn--ghost{
  background: transparent;
  padding:10px 10px;
}

.hero{ padding:44px 0 24px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.kicker{
  color: var(--muted2);
  font-weight:700;
  font-size:13px;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.hero__title{
  font-size: clamp(32px, 4vw, 48px);
  line-height:1.15;
  margin:10px 0 10px;
}
.hero__sub{ color: var(--muted); max-width: 54ch; margin:0 0 18px; }
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 16px; }
.hero__badges{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  background: rgba(255,255,255,.04);
  font-weight:700;
  font-size:13px;
}

.hero__media{
  position:relative;
  min-height: 420px;
}
.hero__card{
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
}
.hero__card img{ width:100%; height: 420px; object-fit: cover; }
.hero__card--mini{
  position:absolute;
  right: -10px;
  bottom: -14px;
  width: 56%;
  transform: rotate(1.5deg);
}
[dir="rtl"] .hero__card--mini{ right:auto; left:-10px; transform: rotate(-1.5deg); }
.hero__card--mini img{ height: 220px; }

.section{ padding: 56px 0; }
.section--alt{ background: rgba(255,255,255,.03); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section--contact{ padding-bottom: 70px; }

.section__head{ margin-bottom: 22px; }
.section__head h2{ margin:0 0 8px; font-size: 28px; }
.section__head p{ margin:0; color:var(--muted); max-width: 70ch; }

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px 18px 16px;
}
.card h3{ margin:0 0 6px; font-size: 18px; }
.card p{ margin:0; color:var(--muted); }

.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.p-card{
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.p-card img{ height: 170px; width:100%; object-fit: cover; }
.p-card__body{ padding:14px 14px 16px; }
.p-card__body h3{ margin:0 0 6px; font-size: 18px;}
.p-card__body p{ margin:0; color:var(--muted); }
.p-card--highlight{
  background: linear-gradient(180deg, rgba(199,162,255,.18), rgba(124,224,255,.10));
}
.p-card__badge{
  position:absolute;
  margin: 12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-weight:800;
  font-size:12px;
}
.p-card{ position:relative; }

.mini-note{
  margin-top: 18px;
  padding: 14px 16px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius:18px;
  color: var(--muted);
  display:flex; gap:10px; justify-content:space-between; align-items:center;
  flex-wrap:wrap;
}
.mini-note a{ text-decoration: underline; }

.split{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items:start;
}
.gallery{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery img{
  border-radius:18px;
  border:1px solid var(--line);
  height: 190px;
  object-fit: cover;
  background: rgba(255,255,255,.03);
}

.contact{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:stretch;
}
.contact__box{
  border-radius:26px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 22px;
  box-shadow: var(--shadow);
}
.contact__box h2{ margin:0 0 8px; }
.contact__box p{ margin:0 0 18px; color:var(--muted); }
.contact__items{ display:grid; gap: 12px; }
.contact__item{
  border:1px solid var(--line);
  border-radius:18px;
  padding: 12px 14px;
  background: rgba(255,255,255,.03);
}
.contact__label{ font-weight:800; font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted2); }
.contact__value{ margin-top:6px; color:#fff; font-weight:700; display:block; }
.contact__cta{ margin-top: 14px; display:flex; gap:10px; flex-wrap:wrap; }

.contact__side{ display:flex; }
.glass{
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  width:100%;
}
.glass img{ width:100%; height:100%; object-fit: cover; }

.footer{
  border-top:1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
}
.footer__grid{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
}
.footer__brand{ font-weight:800; color:#fff; }
.footer__muted{ color: var(--muted); font-weight:600; }

@media (max-width: 900px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__media{ min-height: 340px; }
  .hero__card img{ height: 340px; }
  .hero__card--mini{ width: 62%; }
  .cards{ grid-template-columns: 1fr; }
  .product-grid{ grid-template-columns: 1fr 1fr; }
  .split{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .nav__links{ display:none; }
}