:root{
  --bg:#0b1020;
  --bg2:#0f1730;
  --card:#0f1a36;
  --card2:#101c3b;
  --text:#e8eefc;
  --muted:#a9b5d6;
  --line:rgba(255,255,255,.10);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 24px;
  --primary:#6ea8ff;
  --primary2:#8b5cf6;
  --good:#34d399;
  --warn:#fbbf24;
  --bad:#fb7185;
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(110,168,255,.22), transparent 55%),
    radial-gradient(900px 600px at 90% 30%, rgba(139,92,246,.20), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{color:inherit; text-decoration:none}
.container{width:min(1100px, calc(100% - 40px)); margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(9,14,30,.65);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px}
.brand__mark{
  width:42px; height:42px; border-radius:12px;
  background: linear-gradient(135deg, rgba(110,168,255,.25), rgba(139,92,246,.25));
  border:1px solid var(--line);
  object-fit:cover;
}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__tag{display:block; margin-top:2px; font-size:12px; color:var(--muted)}

.nav{display:flex; gap:14px}
.nav__link{
  font-size:14px; color:var(--muted);
  padding:8px 10px; border-radius:12px;
}
.nav__link:hover{color:var(--text); background:rgba(255,255,255,.06)}

.actions{display:flex; align-items:center; gap:10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; border-radius:14px;
  padding:10px 14px; font-weight:700;
  border:1px solid var(--line);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  cursor:pointer;
}
.btn--lg{padding:12px 16px; border-radius:16px}
.btn--primary{
  background: linear-gradient(135deg, rgba(110,168,255,.95), rgba(139,92,246,.92));
  border-color: rgba(255,255,255,.14);
}
.btn--primary:hover{transform: translateY(-1px)}
.btn--ghost{
  background: rgba(255,255,255,.03);
}
.btn--ghost:hover{background: rgba(255,255,255,.06)}
.btn--soft{
  background: linear-gradient(135deg, rgba(110,168,255,.18), rgba(139,92,246,.14));
}
.btn--soft:hover{background: linear-gradient(135deg, rgba(110,168,255,.22), rgba(139,92,246,.18))}

.lang{position:relative}
.lang__btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:14px;
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  color:var(--text);
}
.lang__btn:hover{background: rgba(255,255,255,.06)}
.lang__dot{
  width:10px;height:10px;border-radius:999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}
.lang__chev{width:18px;height:18px; opacity:.9}
.lang__menu{
  position:absolute; right:0; top:46px;
  min-width:190px;
  background: rgba(12,18,40,.95);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow: var(--shadow);
  padding:8px;
  display:none;
}
.lang__item{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  color:var(--text);
  padding:10px 10px;
  border-radius:12px;
  cursor:pointer;
}
.lang__item:hover{background: rgba(255,255,255,.06)}

.burger{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  align-items:center; justify-content:center;
  gap:5px; flex-direction:column;
}
.burger span{display:block; width:18px; height:2px; background:rgba(255,255,255,.85); border-radius:999px}

.mobile{
  display:none;
  border-top:1px solid var(--line);
  padding:10px 0 14px;
}
.mobile__link{
  display:block;
  padding:10px 0;
  color:var(--muted);
}
.mobile__link:hover{color:var(--text)}
.mobile__link--login{font-weight:800; color:var(--text)}

.main{padding-bottom:40px}

.hero{padding:42px 0 10px}
.hero__grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:26px; align-items:center}
.pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:700;
  font-size:12px;
}
.hero__title{
  margin:14px 0 0;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height:1.05;
  letter-spacing:-.8px;
}
.hero__subtitle{
  margin:12px 0 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:56ch;
}
.hero__cta{display:flex; gap:12px; margin-top:18px; flex-wrap:wrap}

.stats{
  margin-top:18px;
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.stat{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:12px 12px;
}
.stat__k{font-weight:800}
.stat__v{font-size:12px;color:var(--muted); margin-top:4px}

.hero__shot{display:flex; flex-direction:column; gap:10px}
.shot__frame{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.shot__bar{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.dot{width:10px;height:10px;border-radius:999px}
.dot--r{background:var(--bad)}
.dot--y{background:var(--warn)}
.dot--g{background:var(--good)}
.shot__title{margin-left:6px; color:var(--muted); font-size:13px; font-weight:700}
.shot__img{width:100%; display:block; height:310px; object-fit:cover; background:rgba(255,255,255,.02)}
.shot__placeholder{height:310px; display:flex; align-items:center; justify-content:center; padding:22px}
.shot__phInner{max-width:420px; text-align:center}
.shot__phIcon{
  width:62px;height:62px;border-radius:18px;
  margin:0 auto 10px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(110,168,255,.22), rgba(139,92,246,.18));
  border:1px solid var(--line);
}
.shot__phText{color:var(--muted); font-size:14px; line-height:1.5}
.hero__note{color:var(--muted); font-size:12px; padding-left:2px}

.section{padding:46px 0}
.section--soft{background: rgba(255,255,255,.02); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section__head{max-width:760px}
.section__title{margin:0; font-size:26px; letter-spacing:-.4px}
.section__subtitle{margin:10px 0 0; color:var(--muted); line-height:1.6}

.grid3{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:16px 16px 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.card__icon{font-size:24px}
.card__title{margin:10px 0 0; font-size:16px}
.card__text{margin:8px 0 0; color:var(--muted); line-height:1.55; font-size:14px}

.steps{margin-top:18px; display:grid; gap:12px}
.step{
  display:flex; gap:12px; align-items:flex-start;
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:14px;
}
.step__n{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(110,168,255,.24), rgba(139,92,246,.20));
  border:1px solid var(--line);
}
.step__t{font-weight:900}
.step__d{color:var(--muted); margin-top:6px; line-height:1.55; font-size:14px}
.how__cta{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}

.commentBox{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
.form{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:16px;
}
.form__row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
.field{display:flex; flex-direction:column; gap:8px}
.label{font-size:13px; color:var(--muted); font-weight:700}
.input,.textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,30,.5);
  color:var(--text);
  padding:10px 12px;
  outline:none;
}
.input:focus,.textarea:focus{border-color: rgba(110,168,255,.55); box-shadow: 0 0 0 4px rgba(110,168,255,.12)}
.textarea{resize:vertical; min-height:120px}

.form__actions{display:flex; align-items:center; gap:12px; margin-top:12px; flex-wrap:wrap}
.form__hint{color:var(--muted); font-size:12px}

.commentBox__aside .asideCard{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  padding:16px;
  height:100%;
}
.asideCard__t{font-weight:900; margin-bottom:10px}
.asideCard__list{margin:0; padding-left:18px; color:var(--muted); line-height:1.7}
.asideCard__foot{margin-top:12px; display:flex; gap:8px; flex-wrap:wrap}
.badge{
  display:inline-flex; align-items:center; justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.badge--soft{
  background: linear-gradient(135deg, rgba(110,168,255,.18), rgba(139,92,246,.14));
  color:var(--text);
}

.footer{padding:20px 0; border-top:1px solid var(--line)}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:10px}
.footer__left{display:flex; align-items:center; gap:10px; color:var(--muted)}
.footer__brand{font-weight:900; color:var(--text)}
.footer__sep{opacity:.5}
.footer__right{display:flex; gap:12px}
.footer__link{color:var(--muted)}
.footer__link:hover{color:var(--text)}

.toast{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display:none;
}
.toast__inner{
  max-width:min(360px, calc(100vw - 32px));
  background: rgba(12,18,40,.95);
  border:1px solid var(--line);
  border-radius: 16px;
  padding:12px 14px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight:800;
}

@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:16px}
  .shot__img,.shot__placeholder{height:280px}
  .grid3{grid-template-columns: 1fr 1fr}
  .commentBox{grid-template-columns: 1fr}
}
@media (max-width: 760px){
  .nav{display:none}
  .burger{display:inline-flex}
  .mobile{display:none}
  .stats{grid-template-columns: 1fr; gap:10px}
  .grid3{grid-template-columns: 1fr}
  .form__row{grid-template-columns: 1fr}
}

/* --- Dashboard preview screenshot fit (safe) --- */
.hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}


/* --- Demo search overlay (ZerobbixRF) --- */
.hero-preview__frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.hero-preview__frame > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-preview__toolbar {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
}

.demo-search {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 14, 22, 0.70);
  backdrop-filter: blur(8px);
}

.demo-search__label {
  font-size: 12px;
  opacity: 0.9;
  white-space: nowrap;
}

.demo-search__select,
.demo-search__input {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: inherit;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.demo-search__select {
  min-width: 120px;
}

.demo-search__input {
  flex: 1;
  min-width: 140px;
}

.demo-search__btn {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: inherit;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}

.demo-search__btn:hover {
  background: rgba(255,255,255,0.16);
}

.hero-preview__results {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(10, 14, 22, 0.65);
  backdrop-filter: blur(8px);
}

.demo-results__title {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.demo-results__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.demo-results__item {
  display: grid;
  grid-template-columns: 110px 110px 1fr 80px;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  font-size: 12px;
}

.demo-results__empty {
  font-size: 12px;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .demo-search {
    flex-wrap: wrap;
  }
  .demo-search__label {
    width: 100%;
  }
  .demo-results__item {
    grid-template-columns: 1fr 1fr;
  }
}
