:root{
  --bg:#070b18;
  --bg2:#0b1020;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:#eef2ff;
  --muted:rgba(238,242,255,.72);
  --primary:#5b7cfa;
  --primary2:#8b5cf6;
  --accent:#22c55e;
  --danger:#ef4444;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:26px;
  --container: 1140px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html[data-theme="light"]{
  --bg:#f7f8ff;
  --bg2:#eef2ff;
  --card:rgba(11,16,32,.04);
  --card2:rgba(11,16,32,.06);
  --border:rgba(11,16,32,.14);
  --text:#0b1020;
  --muted:rgba(11,16,32,.70);
  --shadow: 0 20px 55px rgba(0,0,0,.12);
}
body{
  margin:0;
  font-family:"Cairo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(139,92,246,.35), transparent 55%),
              radial-gradient(900px 500px at 85% 0%, rgba(91,124,250,.32), transparent 55%),
              radial-gradient(900px 500px at 80% 90%, rgba(34,197,94,.18), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
  line-height:1.7;
}

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

.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}

.muted{color:var(--muted)}
.tiny{font-size:.92rem}
.sr-only{
  position:absolute !important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

.skip-link{
  position:absolute;
  top:.75rem;
  right:.75rem;
  padding:.6rem .9rem;
  background:rgba(0,0,0,.75);
  border:1px solid var(--border);
  border-radius:999px;
  transform:translateY(-200%);
  transition:transform .2s ease;
  z-index:9999;
}
.skip-link:focus{transform:translateY(0)}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 11, 24, .55);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding: .9rem 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
  min-width: 220px;
}
.brand-mark{
  width:40px;height:40px;
  border-radius:14px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 12px 25px rgba(91,124,250,.25);
  position:relative;
  overflow:hidden;
}
.brand-mark::after{
  content:"";
  position:absolute; inset:-40%;
  background:conic-gradient(from 0deg, rgba(255,255,255,.0), rgba(255,255,255,.35), rgba(255,255,255,.0));
  animation:spin 5s linear infinite;
  opacity:.55;
}
@keyframes spin{to{transform:rotate(360deg)}}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-weight:800; letter-spacing:.2px}
.brand-text .muted{font-size:.9rem}

.nav{display:flex; align-items:center; gap:1rem}
.nav-menu{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.nav-link{
  padding:.55rem .85rem;
  border-radius:999px;
  border:1px solid transparent;
  color:rgba(238,242,255,.85);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.nav-link:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
}
.nav-link.is-active{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
}
.nav-link-cta{
  background:linear-gradient(135deg, rgba(91,124,250,.95), rgba(139,92,246,.95));
  border-color:rgba(255,255,255,.12);
  color:var(--text);
}
.nav-link-cta:hover{transform:translateY(-1px)}

.theme-toggle{
  appearance:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(238,242,255,.92);
}
.theme-toggle:hover{background:rgba(255,255,255,.06); transform:translateY(-1px)}

.nav-toggle{
  display:none;
  background:transparent;
  border:1px solid rgba(255,255,255,.14);
  color:var(--text);
  border-radius:12px;
  width:44px;height:44px;
}
.nav-toggle-bars{
  display:block;
  width:18px;height:2px;
  background:rgba(238,242,255,.85);
  margin-inline:auto;
  position:relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background:rgba(238,242,255,.85);
}
.nav-toggle-bars::before{top:-6px}
.nav-toggle-bars::after{top:6px}

/* Hero */
.hero{
  position:relative;
  padding: 4rem 0 2.8rem;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:-20% -10% auto -10%;
  height:520px;
  background:
    radial-gradient(220px 220px at 20% 35%, rgba(34,197,94,.25), transparent 60%),
    radial-gradient(320px 240px at 62% 35%, rgba(91,124,250,.28), transparent 62%),
    radial-gradient(280px 220px at 85% 60%, rgba(139,92,246,.25), transparent 62%);
  filter: blur(30px);
  opacity:.9;
  pointer-events:none;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.4rem;
  align-items:stretch;
}
.chip{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.35rem .7rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(238,242,255,.85);
  font-size:.95rem;
  margin:0 0 .8rem;
}
h1{
  margin:.2rem 0 .7rem;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height:1.2;
  letter-spacing:.2px;
}
.lead{
  margin:0 0 1.2rem;
  color:rgba(238,242,255,.78);
  font-size:1.1rem;
}
.cta-row{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  align-items:center;
  margin: 1rem 0 1.2rem;
}

.btn{
  border:1px solid transparent;
  border-radius:999px;
  padding:.8rem 1.05rem;
  font-weight:800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  transition: transform .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  user-select:none;
}
.btn:active{transform:translateY(0)}
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:var(--text);
  border-color:rgba(255,255,255,.14);
  box-shadow: 0 18px 30px rgba(91,124,250,.18);
}
.btn-primary:hover{filter:brightness(1.04); transform:translateY(-1px)}
.btn-secondary{
  background:rgba(255,255,255,.10);
  color:var(--text);
  border-color:rgba(255,255,255,.14);
}
.btn-secondary:hover{transform:translateY(-1px)}
.btn-ghost{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.12);
  color:rgba(238,242,255,.92);
}
.btn-ghost:hover{background:rgba(255,255,255,.06); transform:translateY(-1px)}
.btn-whatsapp{
  background: linear-gradient(135deg, rgba(34,197,94,.95), rgba(34,197,94,.75));
  border-color:rgba(255,255,255,.12);
}
.btn-whatsapp:hover{filter:brightness(1.02); transform:translateY(-1px)}

.trust-row{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:.7rem;
}
.trust{
  display:flex;
  flex-direction:column;
  gap:.15rem;
  padding:.65rem .85rem;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
}
.trust-num{font-weight:900}
.trust-text{font-size:.9rem; color:rgba(238,242,255,.75)}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-2px -2px auto -2px;
  height:180px;
  background: linear-gradient(135deg, rgba(91,124,250,.35), rgba(139,92,246,.25), rgba(34,197,94,.18));
  filter: blur(20px);
  opacity:.75;
}
.hero-card-inner{
  position:relative;
  padding:1.2rem;
}
.speed{
  display:flex;
  align-items:center;
  gap:1rem;
  padding: 1rem;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px;
}
.speed-ring{
  width:56px;height:56px;border-radius:50%;
  background: conic-gradient(from 0deg, rgba(34,197,94,.95), rgba(91,124,250,.95), rgba(139,92,246,.95), rgba(34,197,94,.95));
  position:relative;
  box-shadow: 0 18px 25px rgba(0,0,0,.35);
}
.speed-ring::after{
  content:"";
  position:absolute; inset:6px;
  border-radius:50%;
  background: linear-gradient(180deg, rgba(7,11,24,.85), rgba(11,16,32,.85));
  border:1px solid rgba(255,255,255,.08);
}
.speed-text{display:flex;flex-direction:column;line-height:1.2}
.speed-text strong{font-size:1.35rem}

.checklist{
  list-style:none;
  padding:0;
  margin:1rem 0 1.2rem;
  display:grid;
  gap:.65rem;
}
.checklist li{
  padding-right:1.25rem;
  position:relative;
  color:rgba(238,242,255,.82);
}
.checklist li::before{
  content:"";
  position:absolute;
  right:0;
  top:.55rem;
  width:.55rem; height:.55rem;
  border-radius:50%;
  background:rgba(34,197,94,.95);
  box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}

/* Sections */
.section{
  padding: 3.3rem 0;
}
.section.alt{
  background: rgba(255,255,255,.02);
  border-block:1px solid rgba(255,255,255,.06);
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: 1.3rem;
}
.section-head h2{margin:0; font-size:1.9rem; letter-spacing:.2px}
.section-head p{margin:0; max-width: 46ch}

.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:1rem;
}
.feature{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:1.1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.feature .icon{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  margin-bottom:.75rem;
}
.feature h3{margin:.1rem 0 .35rem}
.feature p{margin:0}

.providers{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:1rem;
}
.provider{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1.1rem 1.1rem;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
}
.provider h3{margin:0}
.provider p{margin:.25rem 0 0}
.provider-badge{
  width:56px;height:56px;border-radius:18px;
  display:grid;place-items:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(91,124,250,.85), rgba(139,92,246,.65));
  border:1px solid rgba(255,255,255,.12);
}
.provider-badge-alt{
  background: linear-gradient(135deg, rgba(34,197,94,.85), rgba(91,124,250,.55));
}
.provider-badge-zain{
  background: linear-gradient(135deg, rgba(34,197,94,.65), rgba(17,24,39,.65));
}
.provider-badge-mobily{
  background: linear-gradient(135deg, rgba(139,92,246,.70), rgba(91,124,250,.70));
}

/* Light theme overrides (keep design, improve contrast) */
html[data-theme="light"] body{
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(139,92,246,.18), transparent 55%),
    radial-gradient(900px 500px at 85% 0%, rgba(91,124,250,.16), transparent 55%),
    radial-gradient(900px 500px at 80% 90%, rgba(34,197,94,.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
html[data-theme="light"] .site-header{
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(11,16,32,.08);
}
html[data-theme="light"] .nav-link{
  color: rgba(11,16,32,.86);
}
html[data-theme="light"] .nav-link:hover{
  background: rgba(11,16,32,.05);
  border-color: rgba(11,16,32,.10);
}
html[data-theme="light"] .nav-link.is-active{
  background: rgba(11,16,32,.06);
  border-color: rgba(11,16,32,.12);
}
html[data-theme="light"] .nav-toggle{
  border-color: rgba(11,16,32,.14);
}
html[data-theme="light"] .nav-toggle-bars,
html[data-theme="light"] .nav-toggle-bars::before,
html[data-theme="light"] .nav-toggle-bars::after{
  background: rgba(11,16,32,.86);
}
html[data-theme="light"] .chip{
  background: rgba(11,16,32,.04);
  border-color: rgba(11,16,32,.10);
  color: rgba(11,16,32,.80);
}
html[data-theme="light"] .lead{color: rgba(11,16,32,.74)}
html[data-theme="light"] .btn-ghost{
  background: rgba(11,16,32,.04);
  border-color: rgba(11,16,32,.12);
  color: rgba(11,16,32,.90);
}
html[data-theme="light"] .btn-secondary{
  background: rgba(11,16,32,.06);
  border-color: rgba(11,16,32,.12);
}
html[data-theme="light"] .theme-toggle{
  background: rgba(11,16,32,.04);
  border-color: rgba(11,16,32,.12);
  color: rgba(11,16,32,.90);
}
html[data-theme="light"] .trust{
  background: rgba(11,16,32,.04);
  border-color: rgba(11,16,32,.10);
}
html[data-theme="light"] .hero-card,
html[data-theme="light"] .why-panel,
html[data-theme="light"] .card,
html[data-theme="light"] .feature,
html[data-theme="light"] .provider{
  background: rgba(255,255,255,.72);
  border-color: rgba(11,16,32,.12);
  box-shadow: 0 20px 55px rgba(0,0,0,.10);
}
html[data-theme="light"] .speed{
  background: rgba(255,255,255,.55);
  border-color: rgba(11,16,32,.10);
}
html[data-theme="light"] .checklist li,
html[data-theme="light"] .bullets li{
  color: rgba(11,16,32,.82);
}
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea{
  background: rgba(255,255,255,.85);
  border-color: rgba(11,16,32,.14);
  color: rgba(11,16,32,.95);
}
html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder{
  color: rgba(11,16,32,.40);
}
html[data-theme="light"] .site-footer{
  background: rgba(255,255,255,.65);
  border-top: 1px solid rgba(11,16,32,.08);
}
html[data-theme="light"] .footer-col a{color: rgba(11,16,32,.82)}

.why{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:1rem;
  align-items:stretch;
}
.why-copy h2{margin:0 0 .6rem}
.bullets{
  margin:.9rem 0 1.2rem;
  padding:0;
  list-style:none;
  display:grid;
  gap:.55rem;
}
.bullets li{
  padding-right:1.25rem;
  position:relative;
  color:rgba(238,242,255,.82);
}
.bullets li::before{
  content:"";
  position:absolute; right:0; top:.55rem;
  width:.55rem; height:.55rem;
  border-radius:50%;
  background:rgba(91,124,250,.95);
  box-shadow: 0 0 0 4px rgba(91,124,250,.16);
}
.why-panel{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius2);
  padding:1.1rem;
  box-shadow: var(--shadow);
}
.divider{
  height:1px;
  background:rgba(255,255,255,.10);
  margin:1rem 0;
}
.stat-title{font-weight:900}
.stat-desc{margin-top:.25rem}

/* Cards / Forms */
.card{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius2);
  padding:1.2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}
.form-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.field{
  display:flex;
  flex-direction:column;
  gap:.4rem;
}
.field span{font-weight:800; color:rgba(238,242,255,.88)}
.field input,
.field select,
.field textarea{
  width:100%;
  padding:.85rem .95rem;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.22);
  color:rgba(238,242,255,.95);
  outline:none;
}
.field input::placeholder,
.field textarea::placeholder{color:rgba(238,242,255,.45)}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(91,124,250,.65);
  box-shadow: 0 0 0 4px rgba(91,124,250,.18);
}
.field-full{grid-column: 1 / -1}
.form-actions{
  display:flex;
  gap:.7rem;
  flex-wrap:wrap;
  margin-top:1rem;
  align-items:center;
}

/* Footer */
.site-footer{
  padding: 2.4rem 0 1.2rem;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap:1rem;
  align-items:start;
}
.footer-col h3{margin:.2rem 0 .7rem}
.footer-col a{display:block; color:rgba(238,242,255,.85); padding:.25rem 0}
.footer-col a:hover{color:rgba(255,255,255,.95)}
.footer-brand{margin-bottom:.7rem}
.footer-bottom{
  margin-top:1.2rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* Floating WhatsApp */
.wa-float{
  position:fixed;
  left: 1rem;
  bottom: 1rem;
  z-index:60;
  padding:.85rem 1rem;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(34,197,94,.98), rgba(34,197,94,.74));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
  font-weight:900;
}
.wa-float:hover{filter:brightness(1.02); transform:translateY(-1px)}

.call-float{
  position:fixed;
  right: 1rem;
  bottom: 1rem;
  z-index:60;
  padding:.85rem 1rem;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(91,124,250,.98), rgba(139,92,246,.74));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 38px rgba(0,0,0,.35);
  font-weight:900;
}
.call-float:hover{filter:brightness(1.02); transform:translateY(-1px)}

/* Mobile nav */
@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr; }
  .grid-4{grid-template-columns: repeat(2, 1fr)}
  .providers{grid-template-columns: 1fr}
  .why{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
}

@media (max-width: 780px){
  .nav-toggle{display:inline-flex; align-items:center; justify-content:center}
  .nav-menu{
    display:none;
    position:absolute;
    top:72px;
    right:1rem;
    left:1rem;
    padding:.75rem;
    flex-direction:column;
    align-items:stretch;
    background: rgba(7,11,24,.75);
    border:1px solid rgba(255,255,255,.10);
    border-radius:20px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open{display:flex}
  .nav-link{width:100%; text-align:center}
}

@media (max-width: 560px){
  h1{font-size:2.05rem}
  .form-grid{grid-template-columns: 1fr}
  .grid-4{grid-template-columns: 1fr}
  .wa-float{left: .75rem; bottom:.75rem}
  .call-float{right: .75rem; bottom:.75rem}
}
