:root{
  --bg:#070A12;
  --bg2:#0B1022;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:#EAF0FF;
  --muted:rgba(234,240,255,.72);
  --muted2:rgba(234,240,255,.56);
  --primary:#7C5CFF;
  --primary2:#23D5FF;
  --shadow:0 24px 80px rgba(0,0,0,.55);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 800px at 10% 0%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(35,213,255,.28), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}

.skip{
  position:absolute;
  left:-999px;
  top:12px;
  background:#fff;
  color:#111;
  padding:10px 12px;
  border-radius:10px;
  z-index:1000;
}
.skip:focus{left:12px}

.container{max-width:1120px; margin:0 auto; padding:0 20px}

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background:rgba(7,10,18,.62);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.brand__mark{
  width:14px; height:14px; border-radius:6px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 0 0 6px rgba(124,92,255,.15);
}
.brand--footer .brand__mark{box-shadow:none}
.brand__name{letter-spacing:.2px}

.nav{display:none; gap:18px; align-items:center}
.nav a{color:var(--muted); font-weight:500}
.nav a:hover{color:var(--text)}

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

.btn{
  appearance:none;
  border:1px solid var(--border);
  background:var(--card);
  color:var(--text);
  padding:10px 14px;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); background:var(--card2)}
.btn:active{transform: translateY(0)}

.btn--primary{
  border-color:transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#081018;
}
.btn--ghost{background:transparent}
.btn--lg{padding:12px 16px; border-radius:14px}

.hero{padding:56px 0 28px}
.hero__grid{display:grid; grid-template-columns:1fr; gap:24px; align-items:start}
.hero__copy h1{font-size: clamp(34px, 4vw, 52px); line-height:1.05; margin:14px 0 12px}
.lead{color:var(--muted); font-size:16px; max-width:56ch}

.pill{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
}
.pill__dot{
  width:8px; height:8px; border-radius:999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 0 0 6px rgba(35,213,255,.10);
}

.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 18px}

.trust{
  display:flex; gap:14px; align-items:center; flex-wrap:wrap;
  color:var(--muted2);
}
.trust__item{display:flex; flex-direction:column; gap:2px}
.trust__item strong{color:var(--text); font-size:15px}
.trust__item span{font-size:13px}
.trust__sep{width:1px; height:24px; background:rgba(255,255,255,.14)}

.hero__card{display:flex; flex-direction:column; gap:14px}

.preview{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.preview__top{
  display:flex; align-items:center; gap:12px;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.preview__status{width:12px; height:12px; border-radius:999px; background:rgba(35,213,255,.85); box-shadow:0 0 0 6px rgba(35,213,255,.10)}
.preview__title{font-weight:700}
.preview__subtitle{color:var(--muted2); font-size:12px}
.preview__chat{padding:14px; display:flex; flex-direction:column; gap:10px; min-height:220px}

.bubble{max-width:85%; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.12)}
.bubble--bot{background:rgba(255,255,255,.05); align-self:flex-start; color:var(--muted)}
.bubble--user{background:rgba(124,92,255,.18); align-self:flex-end}

.preview__input{
  display:flex;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.fake-input{
  flex:1;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  color:rgba(234,240,255,.55);
  background:rgba(0,0,0,.18);
}
.send{
  padding:10px 12px;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(124,92,255,.9), rgba(35,213,255,.85));
  color:#071019;
  font-weight:800;
}

.code{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.22);
  border-radius: var(--radius);
  overflow:hidden;
}
.code__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-weight:600;
}
.copy{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
  font-weight:700;
}
.copy:hover{background:rgba(255,255,255,.09)}
pre{margin:0; padding:12px; overflow:auto}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size:12.5px; color:rgba(234,240,255,.88)}
.code__toast{padding:0 12px 12px; color:rgba(35,213,255,.9); font-weight:600; min-height:18px}

.section{padding:56px 0}
.section--alt{background:rgba(255,255,255,.03); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06)}
.section__head{display:flex; flex-direction:column; gap:8px; margin-bottom:18px}
.section__head h2{margin:0; font-size:28px}
.section__head p{margin:0; color:var(--muted)}

.grid{display:grid; grid-template-columns:1fr; gap:12px}
.card{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
}
.card h3{margin:0 0 6px; font-size:16px}
.card p{margin:0 0 12px; color:var(--muted); font-size:14px}
.chip{
  display:inline-flex;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  padding:7px 10px;
  border-radius:999px;
  color:var(--muted2);
  font-weight:600;
  font-size:12px;
}

.steps{display:grid; grid-template-columns:1fr; gap:12px}
.step{display:flex; gap:14px; padding:16px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.04)}
.step__num{
  width:32px; height:32px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(124,92,255,.9), rgba(35,213,255,.8));
  color:#081018; font-weight:900;
  flex:0 0 auto;
}
.step h3{margin:0 0 6px}
.step p{margin:0; color:var(--muted)}

.cta{
  margin-top:18px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  padding:16px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
}
.cta h3{margin:0 0 6px}
.cta p{margin:0; color:var(--muted)}

.pricing{display:grid; grid-template-columns:1fr; gap:12px}
.price{
  position:relative;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:16px;
}
.price--featured{
  border-color: rgba(35,213,255,.35);
  box-shadow: 0 24px 70px rgba(35,213,255,.08);
}
.badge{
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  color:#071019;
  background:linear-gradient(135deg, rgba(124,92,255,.95), rgba(35,213,255,.85));
}
.price__top{display:flex; flex-direction:column; gap:6px; margin-bottom:12px}
.price__tag{font-size:28px; font-weight:900; letter-spacing:-.6px}
.price__sub{color:var(--muted); font-size:13px}

.list{margin:0 0 14px; padding-left:18px; color:var(--muted)}
.list li{margin:8px 0}

.faq{display:grid; grid-template-columns:1fr; gap:10px}
summary{
  cursor:pointer;
  list-style:none;
  font-weight:700;
}
summary::-webkit-details-marker{display:none}
details{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding:14px 16px;
}
details p{margin:10px 0 0; color:var(--muted)}

.footer{padding:22px 0 0}
.footer__inner{display:flex; align-items:center; justify-content:space-between; gap:10px; border-top:1px solid rgba(255,255,255,.10); padding:16px 0}
.footer__meta{display:flex; gap:10px; align-items:center; color:var(--muted2); font-weight:600; font-size:13px}
.dot{width:4px; height:4px; border-radius:999px; background:rgba(255,255,255,.25)}

.modal{position:fixed; inset:0; display:none; align-items:center; justify-content:center; padding:18px; z-index:100}
.modal.is-open{display:flex}
.modal__backdrop{position:absolute; inset:0; background:rgba(0,0,0,.65)}
.modal__panel{
  position:relative;
  width:min(520px, 100%);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(12,16,30,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal__head{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 16px; border-bottom:1px solid rgba(255,255,255,.10)}
.modal__head h2{margin:0; font-size:18px}
.iconbtn{border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.06); color:var(--text); border-radius:12px; width:36px; height:36px; cursor:pointer; font-size:18px; font-weight:900}

.form{display:flex; flex-direction:column; gap:12px; padding:16px}
label{display:flex; flex-direction:column; gap:6px; font-weight:700; color:var(--muted)}
input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
input:focus{border-color:rgba(35,213,255,.55); box-shadow:0 0 0 4px rgba(35,213,255,.10)}
.form__hint{margin:0; color:var(--muted2); font-weight:600; font-size:13px}

.success{padding:16px}
.success h3{margin:0 0 8px}
.success p{margin:0 0 12px; color:var(--muted)}

.widget{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
}

.widget__fab{
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(35,213,255,.85));
  color:#071019;
  font-weight:900;
  padding:12px 14px;
  border-radius:999px;
  cursor:pointer;
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
}

.widget__panel{
  position:absolute;
  right:0;
  bottom:58px;
  width:min(380px, calc(100vw - 36px));
  height:520px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(12,16,30,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.widget__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.widget__title{font-weight:900}
.widget__sub{color:var(--muted2); font-size:12px; margin-top:2px}
.widget__close{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--text);
  border-radius:12px;
  width:36px;
  height:36px;
  cursor:pointer;
  font-size:18px;
  font-weight:900;
}

.widget__messages{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:auto;
  flex:1;
}

.msg{
  max-width:86%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  white-space:pre-wrap;
  word-break:break-word;
}
.msg--bot{align-self:flex-start; background:rgba(255,255,255,.05); color:var(--muted)}
.msg--user{align-self:flex-end; background:rgba(124,92,255,.18)}
.msg--meta{align-self:flex-start; background:transparent; border-color:transparent; color:var(--muted2); font-weight:700; font-size:12px; padding:0}

.widget__form{
  display:flex;
  gap:10px;
  padding:12px;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
}

.widget__input{
  flex:1;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}

.widget__input:focus{border-color:rgba(35,213,255,.55); box-shadow:0 0 0 4px rgba(35,213,255,.10)}

.widget__send{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(35,213,255,.85));
  color:#071019;
  font-weight:900;
  cursor:pointer;
}

.widget__send:disabled{opacity:.6; cursor:not-allowed}

@media (min-width: 900px){
  .nav{display:flex}
  .hero{padding:70px 0 34px}
  .hero__grid{grid-template-columns: 1.05fr .95fr; gap:26px; align-items:start}
  .grid{grid-template-columns: repeat(3, 1fr)}
  .steps{grid-template-columns: repeat(3, 1fr)}
  .step{flex-direction:column}
  .pricing{grid-template-columns: repeat(3, 1fr)}
}

@media (max-width: 520px){
  .header__cta .btn--ghost{display:none}
  .cta{flex-direction:column; align-items:flex-start}
  .footer__inner{flex-direction:column; align-items:flex-start}
}
