/* Hi-De landing page — RTL Hebrew */
:root{
  --bg:#070912;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.10);
  --text:#EAF0FF;
  --muted:#B9C2DC;
  --accent:#7B61FF;
  --accent2:#33D6FF;
  --ring: rgba(123,97,255,.35);
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Heebo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% 20%, rgba(123,97,255,.20), transparent 60%),
              radial-gradient(900px 500px at 20% 10%, rgba(51,214,255,.14), transparent 55%),
              var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

.bg{position:fixed; inset:0; z-index:-1; pointer-events:none;}
.grid{
  position:absolute; inset:-2px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(600px 600px at 50% 20%, #000 35%, transparent 70%);
  opacity:.55;
}
.orb{
  position:absolute; width:540px; height:540px; border-radius:999px;
  filter: blur(40px);
  opacity:.35;
}
.orb-a{ right:-220px; top:-180px; background: radial-gradient(circle at 30% 30%, var(--accent), transparent 65%);}
.orb-b{ left:-240px; bottom:-220px; background: radial-gradient(circle at 70% 40%, var(--accent2), transparent 65%);}

.topbar{
  display:flex; align-items:center; justify-content:space-between;
  padding: 18px 22px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand{display:flex; align-items:center; gap:12px;}
.logo{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(123,97,255,.9), rgba(51,214,255,.7));
  box-shadow: 0 12px 30px rgba(123,97,255,.20);
  font-weight:800;
}
.brand-text{line-height:1.05}
.brand-name{font-weight:800; letter-spacing:.2px}
.brand-sub{font-size:12px; color:var(--muted)}

.wrap{
  max-width:1120px;
  margin: 0 auto;
  padding: 18px 22px 44px;
}

.hero{padding: 26px 0 18px;}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  color: var(--muted);
  font-size: 14px;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background: var(--accent2);
  box-shadow: 0 0 0 6px rgba(51,214,255,.12);
}

h1{
  margin: 16px 0 10px;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height:1.05;
  letter-spacing: -0.8px;
}
.accent{
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  margin: 0 0 18px;
  max-width: 740px;
  font-size: 18px;
  line-height:1.6;
  color: var(--muted);
}

.cta-row{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  margin-top: 14px;
  align-items:start;
}
.card{
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.card-title{font-weight:800; font-size:18px}
.card-sub{color:var(--muted); margin:4px 0 14px; font-size:14px}

.fields{display:grid; grid-template-columns: 1fr 1fr; gap: 12px;}
.field{display:flex; flex-direction:column; gap:6px;}
.label{font-size:12px; color:var(--muted)}
input{
  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;
}
input:focus{
  border-color: rgba(123,97,255,.55);
  box-shadow: 0 0 0 6px var(--ring);
}
.btn{
  margin-top: 12px;
  width:100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#081026;
  font-weight:800;
  cursor:pointer;
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{transform: translateY(-1px); filter: brightness(1.05);}
.btn:active{transform: translateY(0px); filter: brightness(0.98);}

.ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--text);
  text-decoration:none;
}
.ghost:hover{border-color: rgba(255,255,255,.18);}

.fineprint{margin-top:10px; font-size:12px; color: rgba(185,194,220,.85); line-height:1.4}
.toast{
  margin-top: 12px;
  font-size: 13px;
  color: var(--text);
  display:none;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
}
.toast.ok{border-color: rgba(51,214,255,.35); box-shadow: 0 0 0 6px rgba(51,214,255,.10);}
.toast.err{border-color: rgba(255,120,140,.35); box-shadow: 0 0 0 6px rgba(255,120,140,.10);}

.stats{
  display:grid;
  gap: 12px;
}
.stat{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(10px);
}
.kpi{font-weight:800; font-size:18px}
.desc{color:var(--muted); margin-top:4px; line-height:1.45}

.features{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 16px;
  display:flex;
  gap: 12px;
  align-items:flex-start;
}
.feature h3{margin:0 0 4px; font-weight:800}
.feature p{margin:0; color:var(--muted); line-height:1.5}
.icon{
  width:42px; height:42px; border-radius:16px;
  display:grid; place-items:center;
  background: rgba(123,97,255,.14);
  border: 1px solid rgba(123,97,255,.22);
}

.about{margin-top: 14px;}
.about-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 18px;
}
.about-card h2{margin:0 0 8px; font-weight:800}
.about-card p{margin:0; color:var(--muted); line-height:1.7; max-width: 880px}
.divider{height:1px; background: rgba(255,255,255,.10); margin: 14px 0;}
.contact-title{font-weight:800; margin-bottom:6px}
.contact-row{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.link{color: var(--text); text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35)}
.link:hover{border-bottom-color: rgba(51,214,255,.7)}
.sep{opacity:.6}
.muted{color: var(--muted)}

.footer{
  margin-top: 20px;
  padding: 18px 0 8px;
  color: var(--muted);
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  justify-content:space-between;
  font-size: 13px;
}
.footer-links{display:flex; gap:10px; align-items:center}

.modal{
  border: 0;
  padding: 0;
  background: transparent;
}
.modal::backdrop{background: rgba(0,0,0,.55); backdrop-filter: blur(3px);}
.modal-inner{
  width:min(640px, calc(100vw - 34px));
  margin: 10vh auto 0;
  background: rgba(10,12,22,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.modal-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.modal-title{font-weight:800}
.x{
  border: 0;
  background: rgba(255,255,255,.07);
  color: var(--text);
  border-radius: 12px;
  width:38px; height:38px;
  cursor:pointer;
}
.modal-actions{display:flex; justify-content:flex-start; margin-top: 10px}

@media (max-width: 920px){
  .cta-row{grid-template-columns: 1fr;}
  .stats{grid-template-columns: repeat(3, 1fr);}
}
@media (max-width: 720px){
  .fields{grid-template-columns: 1fr;}
  .features{grid-template-columns: 1fr;}
  .stats{grid-template-columns: 1fr;}
  .topbar{padding: 16px 16px;}
  .wrap{padding: 12px 16px 40px;}
}
