:root{
  --text: #ffffff;
  --muted: rgba(255,255,255,.78);
  --soft: rgba(255,255,255,.62);
  --line: rgba(255,255,255,.20);
  --bronze: #b99a8f;
  --copper: #8b6a62;
  --shadow: 0 28px 80px rgba(0,0,0,.42);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  min-height:100vh;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background:#15120f;
}
body.en{
  font-family: "Montserrat", "Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    radial-gradient(circle at 76% 16%, rgba(210,158,147,.36), transparent 34%),
    linear-gradient(115deg, rgba(0,0,0,.80), rgba(16,14,12,.55) 44%, rgba(52,43,40,.74));
  pointer-events:none;
  z-index:0;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(45deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px, 42px 42px;
  opacity:.18;
  pointer-events:none;
  z-index:0;
}

.page{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.42)),
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.10), transparent 40%);
  pointer-events:none;
}

.card{
  position:relative;
  width:min(520px, 100%);
  padding: 22px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(20,18,16,.60), rgba(64,54,50,.40));
  border:1px solid rgba(255,255,255,.18);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:31px;
  background:
    radial-gradient(circle at top right, rgba(196,148,138,.22), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  pointer-events:none;
}
.card > *{ position:relative; z-index:1; }

.topBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 18px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.82);
  font-size:12px;
  letter-spacing:.5px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
}
.langToggle{
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
  background:rgba(255,255,255,.10);
  border-radius:999px;
  min-width:48px;
  height:36px;
  padding:0 13px;
  cursor:pointer;
  font-weight:700;
  letter-spacing:.4px;
  backdrop-filter: blur(12px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.langToggle:hover{
  transform: translateY(-1px);
  background:rgba(185,154,143,.25);
  border-color:rgba(185,154,143,.55);
}

.brand{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}
.logoWrap{
  width:104px;
  height:104px;
  display:grid;
  place-items:center;
  border-radius:30px;
  padding:12px;
  background:rgba(255,255,255,.11);
  border:1px solid rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 38px rgba(0,0,0,.26);
}
.logo{
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:20px;
}
.brandText h1{
  margin:0;
  font-size: clamp(28px, 6vw, 42px);
  line-height:1.1;
  font-weight:800;
  letter-spacing:.2px;
}
.brandText h2{
  margin:8px 0 0;
  font-size: clamp(14px, 3vw, 17px);
  line-height:1.8;
  color:var(--bronze);
  font-weight:700;
}
.brandText p{
  margin:8px auto 0;
  max-width:420px;
  color: var(--muted);
  line-height:1.85;
  font-size:14px;
}
body.en .brandText h1{ letter-spacing:1.5px; text-transform:uppercase; font-size: clamp(25px, 5vw, 36px); }
body.en .brandText h2{ line-height:1.5; }
body.en .brandText p{ line-height:1.75; }

.links{
  display:flex;
  flex-direction:column;
  gap:11px;
  margin-top: 16px;
  padding:14px;
  border-radius:26px;
}
.glassLinks{
  background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.17), 0 18px 45px rgba(0,0,0,.18);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.sl-btn{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:56px;
  padding: 13px 15px;
  border-radius: 18px;
  text-decoration:none;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.075));
  border:1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 24px rgba(0,0,0,.16);
  overflow:hidden;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.sl-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
html[dir="rtl"] .sl-btn::before{ transform: translateX(120%); }
.sl-btn:hover::before{ transform: translateX(120%); }
html[dir="rtl"] .sl-btn:hover::before{ transform: translateX(-120%); }
.sl-btn:hover{
  background: var(--hbg, rgba(185,154,143,.30));
  color: var(--htxt, #fff);
  border-color: rgba(255,255,255,.34);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
}
.sl-btn i{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.14);
  font-size:16px;
  flex:0 0 auto;
}
.sl-btn span{
  flex:1;
  text-align:center;
  font-weight:700;
  font-size:14px;
  letter-spacing:.15px;
}
.sl-btn .arrow{
  width:28px;
  opacity:.78;
  text-align:center;
  flex:0 0 auto;
}
html[dir="rtl"] .sl-btn .arrow{ transform: rotate(180deg); }

.footer{
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: var(--soft);
  font-size: 12px;
  text-align:center;
  line-height:1.7;
}
.footer a{
  color:#fff;
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.32);
}

@media (max-width: 520px){
  .page{ padding:18px 12px; align-items:flex-start; }
  .card{ padding:18px; border-radius:26px; }
  .card::before{ border-radius:25px; }
  .logoWrap{ width:92px; height:92px; border-radius:26px; }
  .links{ padding:11px; border-radius:22px; }
  .sl-btn{ min-height:54px; padding:12px 13px; }
  .sl-btn span{ font-size:13px; }
}
