:root{
  --bg:#050814;
  --panel:rgba(9,16,35,.72);
  --panel2:rgba(12,22,48,.72);
  --line:rgba(255,255,255,.08);
  --text:#e7eeff;
  --muted:#9fb0d6;

  --blue:#1e40af;
  --blue2:#38bdf8;
  --blue3:#0b2a6a;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background: radial-gradient(900px 600px at 20% 0%, rgba(56,189,248,.18), transparent), var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

.bg{position:relative}

/* glow blobs */
.glow{
  position:absolute;
  width:900px;
  height:520px;
  filter: blur(70px);
  opacity:.22;
  pointer-events:none;
  transform: translateZ(0);
}
.g1{
  left:-240px; top:-160px;
  background: radial-gradient(circle at 30% 30%, rgba(56,189,248,.95), transparent 60%);
}
.g2{
  right:-280px; top:140px;
  background: radial-gradient(circle at 30% 30%, rgba(30,64,175,.95), transparent 60%);
}

.header{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(5,8,20,.75), rgba(5,8,20,.35));
  border-bottom: 1px solid var(--line);
}
.nav{
  max-width:1100px;
  margin:0 auto;
  padding:18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 46px; /* lukustab headeri kõrguse */
}

.brand-logo {
  max-height: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  width: 32px !important;

  object-fit: contain;
  border-radius: 999px;
  background: #fff;
  flex-shrink: 0;
}


/* VANA LSA kast (võid soovi korral alles jätta)
   Kui sa ei kasuta enam, siis peidame ära */
.brand-mark{display:none}

.brand-title{font-weight:900;letter-spacing:.2px}
.brand-sub{font-size:12px;color:var(--muted);margin-top:2px}

.nav-actions{display:flex;align-items:center;gap:12px}
.link{color:var(--text);opacity:.9;font-weight:700;text-decoration:none}
.link:hover{opacity:1}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:12px;
  border:1px solid var(--line);
  color:var(--text);
  text-decoration:none;
  font-weight:800;
  background: rgba(255,255,255,.02);
}
.btn:hover{background: rgba(255,255,255,.04)}
.btn.primary{
  border-color: rgba(56,189,248,.22);
  background: linear-gradient(135deg, rgba(30,64,175,.95), rgba(56,189,248,.85));
}
.btn.primary:hover{filter: brightness(1.05)}
.btn.ghost{background: transparent}
.btn.big{padding:12px 16px;border-radius:14px}

.main{max-width:1100px;margin:0 auto;padding: 22px 18px 60px}

.hero{padding: 34px 0 10px}
.hero-title{
  font-size: clamp(36px, 5vw, 70px);
  line-height:1.02;
  margin: 22px 0 14px;
  font-weight: 950;
  letter-spacing:-0.8px;
}
.hero-desc{
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
  line-height:1.6;
  margin:0;
}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}

.hero-cards{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.card{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
}
.card-top{font-weight:900;margin-bottom:6px}
.card-text{color:var(--muted);line-height:1.55}

.stats{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.stat{
  background: var(--panel2);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
}
.stat-num{font-weight:950;font-size:28px}
.stat-label{color:var(--muted);margin-top:4px}

.slider-wrap{margin-top:28px}
.slider{
  position:relative;
  height: clamp(260px, 36vw, 520px);
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.slide{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
}
.slide.fade{opacity:.25}

.sbtn{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  border:1px solid var(--line);
  background: rgba(0,0,0,.35);
  color:white;
  width:42px;height:42px;
  border-radius:999px;
  cursor:pointer;
}
.sbtn:hover{background: rgba(0,0,0,.45)}
.sbtn.left{left:12px}
.sbtn.right{right:12px}

.slider-caption{
  margin-top:10px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cap-title{color:var(--text);font-weight:900}
.cap-text{max-width:720px}

.section{margin-top: 40px}
.h2{
  margin:0 0 10px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 950;
}
.p{margin:0;color:var(--muted);max-width:820px;line-height:1.65}

.grid3{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.box{
  background: rgba(255,255,255,.02);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
}
.box-title{font-weight:900;margin-bottom:6px}
.box-text{color:var(--muted);line-height:1.55}

.cta{margin-top:42px}
.cta-card{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:14px;
}
.cta-kicker{color: var(--blue2);font-weight:900;letter-spacing:.2px}
.cta-title{margin:8px 0 8px;font-size:28px;font-weight:950}
.cta-text{margin:0;color:var(--muted);line-height:1.65}
.cta-actions{margin-top:14px;display:flex;gap:12px;flex-wrap:wrap}

.cta-mini{
  background: var(--panel);
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  height:100%;
}
.mini-title{font-weight:950;margin-bottom:10px}
.mini-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.06);
  color:var(--muted);
}
.mini-row b{color:var(--text)}

.footer{
  border-top:1px solid var(--line);
  background: rgba(5,8,20,.55);
}
.foot{
  max-width:1100px;
  margin:0 auto;
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.foot-brand{font-weight:950}
.foot-sub{color:var(--muted);font-size:13px;margin-top:6px}
.foot-links{display:flex;gap:14px}
.foot-links a{color:var(--muted);text-decoration:none;font-weight:800}
.foot-links a:hover{color:var(--text)}

/* responsive */
@media (max-width: 950px){
  .hero-cards{grid-template-columns: 1fr}
  .stats{grid-template-columns: 1fr 1fr}
  .grid3{grid-template-columns: 1fr}
  .cta-card{grid-template-columns: 1fr}
}
