:root{
  --bg:#040b14;
  --bg-2:#06101b;
  --panel:rgba(10,18,30,.86);
  --panel-2:rgba(12,20,34,.94);
  --line:rgba(130,160,210,.14);
  --line-strong:rgba(130,160,210,.22);
  --text:#eef3fb;
  --muted:#a9b7cc;
  --soft:#7f90a8;
  --green:#77df68;
  --green-2:#5fd15b;
  --green-dark:rgba(119,223,104,.12);
  --white-soft:rgba(255,255,255,.06);
  --white-soft-2:rgba(255,255,255,.1);
  --shadow:0 20px 50px rgba(0,0,0,.32);
  --radius:24px;
  --radius-sm:16px;
  --max:1240px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top center, rgba(53,102,190,.10) 0%, rgba(53,102,190,0) 34%),
    linear-gradient(180deg, #04101d 0%, #030914 100%);
  min-height:100vh;
  overflow-x:hidden;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  display:block;
  max-width:100%;
}

.page-shell{
  position:relative;
  min-height:100vh;
  overflow:hidden;
}

.page-shell::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(80,120,200,.05) 0, rgba(80,120,200,0) 10%, rgba(80,120,200,0) 90%, rgba(80,120,200,.05) 100%);
  z-index:0;
}

.page-shell::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size:90px 90px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,.06));
  z-index:0;
  opacity:.18;
}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
  position:relative;
  z-index:1;
}

/* ===== HEADER ===== */

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(14px);
  background:rgba(4,11,20,.72);
  border-bottom:1px solid rgba(115,145,190,.10);
  transition:background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-header.scrolled{
  background:rgba(4,11,20,.88);
  border-bottom:1px solid rgba(115,145,190,.16);
  box-shadow:0 8px 28px rgba(0,0,0,.18);
}

.header-inner{
  min-height:70px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:0 0 auto;
}

.brand-logo{
  height:34px;
  width:auto;
  object-fit:contain;
  display:block;
  flex-shrink:0;
  opacity:.97;
  transition:transform .2s ease, opacity .2s ease, height .2s ease;
}

.brand-logo:hover{
  transform:scale(1.03);
  opacity:1;
}

.site-header.scrolled .brand-logo{
  height:30px;
}

.brand-copy{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  align-items:flex-start;
  text-align:left;
}

.brand-title{
  font-weight:800;
  font-size:18px;
  letter-spacing:-.03em;
  color:#f6f9ff;
}

.brand-subtitle{
  margin-top:2px;
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
}

.nav{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-left:auto;
}

.nav a{
  font-size:14px;
  color:#c8d3e5;
  padding:10px 12px;
  border-radius:12px;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}

.nav a:hover{
  background:rgba(255,255,255,.05);
  color:#ffffff;
  transform:translateY(-1px);
}

.nav a.active{
  background:rgba(255,255,255,.08);
  color:#ffffff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}

/* ===== HERO ===== */

.hero{
  padding:64px 0 48px;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(420px, .96fr);
  align-items:center;
  gap:56px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 14px;
  border-radius:999px;
  background:var(--green-dark);
  border:1px solid rgba(119,223,104,.28);
  color:#9af68b;
  font-size:12px;
  line-height:1;
  box-shadow:0 0 0 1px rgba(119,223,104,.03) inset;
  white-space:nowrap;
  width:fit-content;
  max-width:100%;
}

.hero-title,
.hero h1{
  margin:20px 0 16px;
  font-size:clamp(44px, 5.2vw, 72px);
  line-height:.98;
  letter-spacing:-.05em;
  font-weight:820;
  color:#f1f5fb;
  max-width:680px;
}

.hero-copy,
.hero p{
  max-width:620px;
  font-size:17px;
  line-height:1.72;
  color:var(--muted);
  margin:0;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}

.system-status{
  margin-top:16px;
  font-size:12px;
  color:#8fffa3;
  display:flex;
  align-items:center;
  gap:8px;
  opacity:.85;
}

.system-status::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#5fff7a;
  box-shadow:0 0 8px #5fff7a;
}

.hero-media{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:360px;
}

.hero-media::before{
  content:"";
  position:absolute;
  inset:-40px;
  background:radial-gradient(circle, rgba(68,114,255,.17) 0%, rgba(68,114,255,.09) 24%, rgba(68,114,255,0) 72%);
  filter:blur(30px);
  z-index:0;
  pointer-events:none;
}

.hero-card{
  position:relative;
  z-index:1;
  width:min(100%, 520px);
  border-radius:26px;
  overflow:hidden;
  border:1px solid rgba(118,144,190,.18);
  box-shadow:0 24px 70px rgba(0,0,0,.34);
  background:rgba(9,14,24,.8);
}

.hero-card img,
.hero-visual img{
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 20px 60px rgba(0,0,0,.35);
  transition:transform .6s ease;
}

.hero-card:hover img,
.hero-visual:hover img{
  transform:scale(1.04);
}

/* ===== BUTTONS ===== */

.btn{
  appearance:none;
  border:none;
  cursor:pointer;
  font:inherit;
  border-radius:14px;
  padding:15px 22px;
  font-weight:700;
  font-size:16px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn:active{
  transform:translateY(0);
}

.btn-primary{
  background:linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  color:#07110b;
  box-shadow:0 10px 28px rgba(100,214,94,.18);
}

.btn-primary:hover{
  box-shadow:0 14px 34px rgba(100,214,94,.24);
  filter:saturate(1.04);
}

.btn-secondary{
  background:rgba(255,255,255,.04);
  color:#f3f7ff;
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 6px 20px rgba(0,0,0,.14);
  backdrop-filter:blur(6px);
}

.btn-secondary:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.28);
}

/* ===== GENERAL ===== */

.section{
  padding:22px 0 34px;
}

.section-title{
  font-size:24px;
  margin:0 0 10px;
  color:#ffffff;
  letter-spacing:-.03em;
}

.section-sub{
  color:#8fa2c3;
  margin:0 0 26px;
  max-width:720px;
  line-height:1.75;
}

.card{
  border-radius:20px;
  padding:24px;
  background:linear-gradient(180deg, rgba(10,16,26,.9), rgba(6,10,18,.96));
  border:1px solid rgba(120,150,210,.12);
  box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.card h2,
.card h3{
  margin:0 0 12px;
  color:#ffffff;
  letter-spacing:-.02em;
}

.card p{
  color:#b6c3d7;
  font-size:15px;
  line-height:1.8;
  margin:0 0 12px;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:26px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}

.grid-2-wide{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.signal-card{
  position:relative;
  border-radius:20px;
  padding:22px 22px 20px;
  background:linear-gradient(180deg, rgba(12,18,30,.88), rgba(6,10,18,.96));
  border:1px solid rgba(120,160,220,.12);
  transition:all .25s ease;
  overflow:hidden;
}

.signal-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 0%, rgba(80,120,255,.12), transparent 60%);
  opacity:.4;
  pointer-events:none;
}

.signal-card::before{
  content:"Signal";
  position:absolute;
  top:14px;
  right:16px;
  font-size:10px;
  color:#7f93b6;
  letter-spacing:.08em;
}

.signal-card:hover{
  transform:translateY(-4px);
  border-color:rgba(120,170,255,.28);
  box-shadow:0 14px 40px rgba(0,0,0,.35);
}

.signal-card h3{
  font-size:17px;
  line-height:1.32;
  margin-bottom:14px;
}

.signal-card p{
  color:#b7c4da;
  font-size:15px;
  line-height:1.8;
}

.image-block{
  margin:14px 0 18px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(120,150,210,.15);
}

.image-block img{
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform .5s ease;
}

.signal-card:hover .image-block img{
  transform:scale(1.05);
}

.feature-card{
  min-height:132px;
}

.panel-card{
  border-radius:20px;
  padding:20px 22px;
  background:linear-gradient(180deg, rgba(10,16,26,.9), rgba(6,10,18,.96));
  border:1px solid rgba(120,150,210,.12);
}

.about-highlight{
  margin-top:10px;
  color:#9fb3d4;
  font-size:14px;
}

.spacer-16{ height:16px; }
.spacer-24{ height:24px; }

.site-footer{
  border-top:1px solid rgba(115,145,190,.10);
  padding:22px 0 28px;
  color:rgba(220,230,245,.72);
  font-size:14px;
  opacity:.85;
  margin-top:28px;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.fade-in{ opacity:1; transform:none; }
.fade-delay-1{}
.fade-delay-2{}
.fade-delay-3{}

@media (max-width: 1080px){
  .hero-grid{
    grid-template-columns:1fr;
    gap:38px;
  }

  .hero{
    padding-top:54px;
  }

  .hero-title,
  .hero h1,
  .hero-copy,
  .hero p{
    max-width:100%;
  }

  .hero-media{
    min-height:auto;
  }

  .hero-card{
    width:min(100%, 680px);
  }
}

@media (max-width: 900px){
  .grid-2,
  .grid-3,
  .grid-2-wide{
    grid-template-columns:1fr;
  }
}

@media (max-width: 760px){
  .container{
    width:min(var(--max), calc(100% - 28px));
  }

  .header-inner{
    min-height:66px;
    align-items:flex-start;
    padding:12px 0;
    flex-direction:column;
  }

  .brand-title{
    font-size:17px;
  }

  .brand-subtitle{
    font-size:10px;
  }

  .nav{
    width:100%;
    justify-content:flex-start;
    gap:4px;
  }

  .nav a{
    padding:9px 10px;
    font-size:13px;
  }

  .brand-logo{
    height:30px;
  }

  .site-header.scrolled .brand-logo{
    height:28px;
  }

  .hero-title,
  .hero h1{
    font-size:clamp(38px, 12vw, 56px);
    line-height:1;
  }

  .hero-copy,
  .hero p{
    font-size:16px;
    line-height:1.65;
  }

  .eyebrow{
    font-size:11px;
    padding:8px 12px;
  }

  .hero-actions{
    gap:12px;
  }

  .btn{
    width:100%;
  }

  .card,
  .signal-card,
  .panel-card{
    padding:20px;
  }

  .image-block img{
    height:200px;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* ===== FINAL SIZE + FLOATING FIX ===== */

/* לוגו עליון קצת יותר גדול */
.brand-logo{
  height: 100px;
}

.site-header.scrolled .brand-logo{
  height: 100px;
}

/* שם החברה ליד הלוגו */
.brand-title{
  font-size: 15px;
}

.brand-subtitle{
  font-size: 12px;
}

/* כותרות hero קטנות יותר ויותר פרופורציונליות */
.hero-title,
.hero h1{
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 640px;
}

/* טקסט תיאור קצת יותר מאוזן */
.hero-copy,
.hero p{
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
}

/* badge / bubble שישאר ברור */
.eyebrow{
  font-size: 12px;
  padding: 10px 16px;
}

/* אזור התמונה */
.hero-media{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

/* זוהר מאחורי התמונה */
.hero-media::before{
  content: "";
  position: absolute;
  inset: -36px;
  background: radial-gradient(circle, rgba(86,132,255,.20) 0%, rgba(86,132,255,.10) 28%, rgba(86,132,255,0) 72%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

/* שכבת glow נוספת */
.hero-media::after{
  content: "";
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,78,255,.16) 0%, rgba(102,78,255,0) 70%);
  filter: blur(34px);
  z-index: 0;
  pointer-events: none;
}

/* כרטיס התמונה עצמו */
.hero-card{
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  border-radius: 26px;
  overflow: visible;
  border: 1px solid rgba(118,144,190,.18);
  box-shadow:
    0 28px 70px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.03) inset;
  background: transparent;
  animation: heroFloat 5.2s ease-in-out infinite;
}

/* התמונה */
.hero-card img,
.hero-visual img{
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
  box-shadow:
    0 22px 60px rgba(0,0,0,.36),
    0 0 28px rgba(83,119,255,.10);
  transition: transform .6s ease;
}

.hero-card:hover img,
.hero-visual:hover img{
  transform: scale(1.035);
}

/* אנימציית ציפה עדינה */
@keyframes heroFloat{
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* status שורה קטנה */
.system-status{
  margin-top: 18px;
  font-size: 12px;
}

/* Research / Demo / About – כותרות section קצת מאוזנות */
.section-title{
  font-size: 23px;
}

/* כרטיסים כלליים */
.card h3,
.signal-card h3{
  font-size: 17px;
}

/* מובייל */
@media (max-width: 760px){
  .brand-logo{
    height: 34px;
  }

  .site-header.scrolled .brand-logo{
    height: 30px;
  }

  .brand-title{
    font-size: 18px;
  }

  .brand-subtitle{
    font-size: 11px;
  }

  .hero-title,
  .hero h1{
    font-size: clamp(36px, 11vw, 52px);
    line-height: 1.03;
  }

  .hero-copy,
  .hero p{
    font-size: 15px;
    line-height: 1.68;
  }

  .hero-card{
    width: min(100%, 100%);
    animation: none;
  }

  .hero-media{
    min-height: auto;
  }
}
.feature-card{
  transition: all .25s ease;
}

.feature-card:hover{
  transform: translateY(-4px);
  border-color: rgba(120,170,255,.3);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.feature-card{
  transition: all .25s ease;
}

.feature-card:hover{
  transform: translateY(-4px);
  border-color: rgba(120,170,255,.3);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
/* DEMO UI */

.status-box{
  margin-top:12px;
  padding:10px;
  background:#0b1a2b;
  border-radius:8px;
  color:#9fb3c8;
}

.result-card{
  margin-top:20px;
  padding:16px;
  background:#0a1420;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.05);
}

.row{
  display:flex;
  justify-content:space-between;
  margin-bottom:10px;
}

.badge{
  padding:4px 10px;
  border-radius:8px;
  font-weight:bold;
}

.badge.permit{
  background:rgba(0,255,150,0.2);
  color:#00ffa3;
}

.badge.block{
  background:rgba(255,0,0,0.2);
  color:#ff4d4d;
}

.badge.defer{
  background:rgba(255,180,0,0.2);
  color:#ffb300;
}

.badge.exec{
  background:rgba(0,200,255,0.2);
  color:#00d4ff;
}

/* ===== Button Polish ===== */
.btn-toggle{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    filter .18s ease;
}

.btn-toggle:hover{
  transform: translateY(-1px);
}

.btn-toggle.is-active{
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%) !important;
  color: #07110b !important;
  border-color: rgba(100,214,94,.34) !important;
  box-shadow:
    0 12px 28px rgba(100,214,94,.22),
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 0 22px rgba(100,214,94,.16);
  filter: saturate(1.04);
}

.btn-toggle.is-idle{
  background: rgba(255,255,255,.04) !important;
  color: #f3f7ff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.14);
}

/* ===== Extra Polish ===== */
.btn-toggle{
  position: relative;
  overflow: hidden;
}

.btn-toggle.is-active{
  animation: certorPulse 2.4s ease-in-out infinite;
}

@keyframes certorPulse{
  0%   { box-shadow: 0 12px 28px rgba(100,214,94,.22), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 0 rgba(100,214,94,.00); }
  50%  { box-shadow: 0 12px 28px rgba(100,214,94,.28), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 24px rgba(100,214,94,.14); }
  100% { box-shadow: 0 12px 28px rgba(100,214,94,.22), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 0 rgba(100,214,94,.00); }
}

.btn-ripple{
  position:absolute;
  border-radius:50%;
  transform:scale(0);
  animation:rippleEffect .55s linear;
  background:rgba(255,255,255,.22);
  pointer-events:none;
}

@keyframes rippleEffect{
  to{
    transform:scale(4);
    opacity:0;
  }
}

/* Timeline */
.demo-timeline{
  margin-top:18px;
  display:grid;
  gap:10px;
}

.timeline-step{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  color:#aebcd1;
}

.timeline-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#4f607d;
  flex:0 0 auto;
}

.timeline-step.active .timeline-dot{
  background:#ffbf3f;
  box-shadow:0 0 10px rgba(255,191,63,.28);
}

.timeline-step.done .timeline-dot{
  background:#00ffa3;
  box-shadow:0 0 10px rgba(0,255,163,.22);
}

.timeline-step.error .timeline-dot{
  background:#ff5d5d;
  box-shadow:0 0 10px rgba(255,93,93,.22);
}

/* ===== Extra Polish ===== */
.btn-toggle{
  position: relative;
  overflow: hidden;
}

.btn-toggle.is-active{
  animation: certorPulse 2.4s ease-in-out infinite;
}

@keyframes certorPulse{
  0%   { box-shadow: 0 12px 28px rgba(100,214,94,.22), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 0 rgba(100,214,94,.00); }
  50%  { box-shadow: 0 12px 28px rgba(100,214,94,.28), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 24px rgba(100,214,94,.14); }
  100% { box-shadow: 0 12px 28px rgba(100,214,94,.22), 0 0 0 1px rgba(255,255,255,.05) inset, 0 0 0 rgba(100,214,94,.00); }
}

.btn-ripple{
  position:absolute;
  border-radius:50%;
  transform:scale(0);
  animation:rippleEffect .55s linear;
  background:rgba(255,255,255,.22);
  pointer-events:none;
}

@keyframes rippleEffect{
  to{
    transform:scale(4);
    opacity:0;
  }
}

/* Timeline */
.demo-timeline{
  margin-top:18px;
  display:grid;
  gap:10px;
}

.timeline-step{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.05);
  border-radius:12px;
  color:#aebcd1;
}

.timeline-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#4f607d;
  flex:0 0 auto;
}

.timeline-step.active .timeline-dot{
  background:#ffbf3f;
  box-shadow:0 0 10px rgba(255,191,63,.28);
}

.timeline-step.done .timeline-dot{
  background:#00ffa3;
  box-shadow:0 0 10px rgba(0,255,163,.22);
}

.timeline-step.error .timeline-dot{
  background:#ff5d5d;
  box-shadow:0 0 10px rgba(255,93,93,.22);
}


/* Demo cleanup polish */
.config-heading{
  margin: 18px 0 10px 0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8fa4c5;
}

select.demo-input,
.demo-input select,
select{
  background: #0f1a2b !important;
  color: #e8f1ff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}

select.demo-input option,
select option{
  background: #0f1a2b !important;
  color: #e8f1ff !important;
}

.hero-copy{
  max-width: 640px;
}

.input-help,
.approved-hint{
  line-height: 1.6;
}

button{
  font-weight: 600;
}

#statusBox{
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

