
:root{
  --bg1:#07121b;
  --bg2:#0b1a25;
  --card:rgba(255,255,255,.08);
  --card2:rgba(255,255,255,.10);
  --text:#eef6ff;
  --muted:#b7c6dd;
  --line:rgba(255,255,255,.12);
  --shadow:0 18px 55px rgba(0,0,0,.35);
  --radius:18px;

  /* UAE accents */
  --green:#00732F;
  --red:#CE1126;
  --black:#0b0f14;

  /* Primary = UAE green with depth */
  --primary:#00a35b;
  --primary2:#007f47;
  --danger:#ff5a5f;
  --ok:#39d98a;
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(0,115,47,.25), transparent 55%),
    radial-gradient(900px 500px at 85% 5%, rgba(206,17,38,.22), transparent 55%),
    radial-gradient(900px 700px at 50% 100%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* =========================================================
   Mobile stability / anti horizontal-scroll (no visual redesign)
   ========================================================= */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Media elements must never exceed viewport */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

/* Prevent long strings/urls from forcing side-scroll */
.policy-box, .hero-sub, .trust-item span, .mini-hint, .err {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Topbar can overflow on small screens — allow wrapping */
.topbar .row{
  max-width:1120px;
  margin:0 auto;
  padding:14px 22px;
  flex-wrap:wrap;
}
.topbar .nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* iOS: stop auto-zoom on inputs (keep layout the same) */
@media (max-width: 560px){
  input, textarea, select{
    font-size:16px;
  }
  .container{padding:16px}
}

a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:22px}

.topbar{position:sticky;top:0;z-index:20;background:rgba(7,18,27,.75);backdrop-filter: blur(10px);border-bottom:1px solid var(--line)}
.topbar .row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.brand{display:flex;align-items:center;gap:10px}
.brand .logo{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, rgba(0,163,91,.35), rgba(206,17,38,.25));
  border:1px solid rgba(255,255,255,.16);
  display:grid;place-items:center;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.brand .logo svg{width:22px;height:22px}
.brand .txt{display:flex;flex-direction:column;line-height:1.1}
.brand .txt b{font-size:14px}
.brand .txt span{font-size:11px;color:var(--muted)}
.lang{display:flex;gap:8px}
.lang a{padding:8px 10px;border-radius:12px;border:1px solid var(--line);font-size:12px;color:var(--muted)}
.lang a.active{color:var(--text);background:rgba(255,255,255,.06)}

.hero{padding-bottom:18px}
.hero-grid{display:grid;grid-template-columns: 1.05fr .95fr;gap:18px;align-items:start}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}}
.hero-copy{padding-top:6px}
.hero-kicker{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}
.uae-flag svg{width:38px;height:auto;display:block}
.hero-title{margin:10px 0 10px;font-size:34px;letter-spacing:-.02em}
@media(max-width:560px){.hero-title{font-size:28px}}
.hero-sub{margin:0;color:var(--muted);max-width:58ch;line-height:1.6}

.trust-row{margin-top:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
@media(max-width:980px){.trust-row{grid-template-columns:1fr}}
.trust-item{
  padding:12px 12px;border-radius:16px;background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  display:flex;gap:10px;align-items:flex-start
}
.trust-item b{display:block;font-size:13px}
.trust-item span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.dot{width:10px;height:10px;border-radius:50%;margin-top:4px;background:rgba(255,255,255,.3)}
.dot.ok{background: radial-gradient(circle at 30% 30%, #bfffe0, var(--ok))}

.steps{margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.step{
  display:flex;gap:10px;align-items:center;
  padding:10px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.15)
}
.step .n{
  width:26px;height:26px;border-radius:999px;display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(0,163,91,.55), rgba(0,127,71,.35));
  border:1px solid rgba(255,255,255,.12);
  font-weight:800;font-size:12px
}
.step .t{font-size:12px;color:var(--muted)}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card .head{
  padding:14px 16px;
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap
}
.card .head strong{font-size:14px}
.card .head .note{font-size:12px;color:var(--muted)}
.card .body{padding:16px}

.form-shell{position:relative}
.field{margin-bottom:12px}
label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px;resize:vertical;line-height:1.55}
input::placeholder,textarea::placeholder{color:rgba(183,198,221,.75)}
input:focus,select:focus,textarea:focus{
  border-color: rgba(0,163,91,.6);
  box-shadow: 0 0 0 4px rgba(0,163,91,.12);
}
select.pulse{animation:pulse 650ms ease}
@keyframes pulse{0%{transform:scale(1)}45%{transform:scale(1.02)}100%{transform:scale(1)}}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:560px){.row2{grid-template-columns:1fr}}
.mini-hint{margin-top:7px;color:var(--muted);font-size:12px}

.consent{display:flex;gap:10px;align-items:flex-start;margin-top:6px}
.consent input{width:auto;margin-top:2px}
.consent label{margin:0;color:var(--text);font-size:12.5px}

.err{margin-top:6px;color:#ffd0d3;font-size:12px}

.actions{margin-top:12px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform: translateY(-1px);background: rgba(255,255,255,.09)}
.btn:active{transform: translateY(0)}
.btn-primary{
  border-color: rgba(0,163,91,.35);
  background: linear-gradient(135deg, rgba(0,163,91,.95), rgba(0,127,71,.92));
  box-shadow: 0 18px 40px rgba(0,163,91,.18);
}
.btn-primary:hover{box-shadow:0 22px 48px rgba(0,163,91,.24)}
.actions .note{color:var(--muted);font-size:12px}

.policy-card{margin-top:12px}
.policy-box{
  margin-top:10px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(0,0,0,.18);
  border:1px dashed rgba(255,255,255,.16);
  color:var(--muted);
  font-size:12.5px;
  line-height:1.6;
}

.types-wrap{margin-top:18px}
.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap;margin:0 0 10px}
.section-title h2{margin:0;font-size:18px}
.section-title .hint{color:var(--muted);font-size:12px}

.quick-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
}
@media(max-width:980px){.quick-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.quick-grid{grid-template-columns:1fr}}
.quick-card{
  text-align:inherit;
  width:100%;
  cursor:pointer;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  display:flex;gap:12px;align-items:flex-start;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.quick-card:hover{transform: translateY(-2px);background: rgba(255,255,255,.09);border-color: rgba(0,163,91,.25)}
.quick-card:active{transform: translateY(0)}
.quick-card .icon{
  width:40px;height:40px;border-radius:14px;flex:0 0 auto;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(0,163,91,.18), rgba(206,17,38,.10));
  border:1px solid rgba(255,255,255,.12);
}
.quick-card .icon svg{width:22px;height:22px}
.quick-card .meta .t{margin:0;font-weight:800;font-size:13px}
.quick-card .meta .d{margin:6px 0 0;color:var(--muted);font-size:12px}

.reveal{opacity:0;transform: translateY(10px);transition: opacity .6s ease, transform .6s ease}
.reveal.is-in{opacity:1;transform:none}

.sticky-cta{
  position:fixed;
  left:0;right:0;bottom:0;
  padding:12px 16px;
  background: rgba(7,18,27,.78);
  backdrop-filter: blur(10px);
  border-top:1px solid rgba(255,255,255,.10);
  display:none;
  align-items:center;
  justify-content:center;
  gap:12px;
  z-index:30;
}
.sticky-cta .sticky-note{font-size:12px;color:var(--muted)}
@media(max-width:720px){
  .sticky-cta{display:flex}
  body{padding-bottom:76px}
}

footer{
  border-top:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  margin-top:22px;
}
footer .container{padding-top:18px;padding-bottom:24px}

/* =========================================================
   Mobile stability / anti horizontal-scroll (no visual redesign)
   ========================================================= */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* Prevent any child from forcing the page wider */
img, video, canvas, svg{max-width:100%;height:auto}

/* Long text should wrap instead of pushing layout */
.policy-box, .hero-sub, .trust-item span, .mini-hint, .actions .note{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Topbar can overflow on small screens if text is long */
.topbar .row{
  max-width:1120px;
  margin:0 auto;
  padding:14px 22px;
  flex-wrap:wrap;
}
.topbar .nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}

/* iOS: stop zooming when focusing inputs */
@media (max-width: 768px){
  input, textarea, select{font-size:16px}
  .container{padding-left:14px;padding-right:14px}
}

@media (max-width: 420px){
  .topbar .row{padding-left:14px;padding-right:14px}
}
