:root{
  --bg:#f6f8fc;
  --text:#0f172a;
  --muted:#64748b;
  --border: rgba(15, 23, 42, .10);
  --card:#ffffff;
  --shadow: 0 16px 40px rgba(15, 23, 42, .10);
  --shadow2: 0 10px 26px rgba(15, 23, 42, .08);
  --r:16px;
  --r2:22px;
  --brand:#2563eb;
  --brand2:#7c3aed;
  --ok:#16a34a;
  --danger:#ef4444;
}

*{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(900px 520px at 15% 5%, rgba(124,58,237,.12), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(37,99,235,.10), transparent 60%),
    var(--bg);
}

a{color:inherit}
.container{max-width:1160px; margin:0 auto; padding: 0 18px}

/* Topbar */
.topbar{
  position: sticky; top: 0; z-index: 30;
  background: rgba(246,248,252,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding: 14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand__mark{
  width:36px; height:36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 14px 30px rgba(37,99,235,.20);
}
.brand__text{display:flex; flex-direction:column; line-height:1.1}
.brand__name{font-weight:900; letter-spacing:-.2px}
.brand__sub{font-size:12px; color:var(--muted); font-weight:800}

.nav{display:flex; gap:14px; align-items:center; flex-wrap:wrap}
.nav a{
  text-decoration:none;
  color: var(--muted);
  font-weight:900;
  font-size:14px;
  padding:10px 12px;
  border-radius: 12px;
}
.nav a:hover{background: rgba(15,23,42,.04); color: var(--text)}
.nav__cta{border: 1px solid var(--border); background: rgba(255,255,255,.75)}

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

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  font-weight:900;
  font-size:14px;
  text-decoration:none;
  box-shadow: var(--shadow2);
  cursor:pointer;
  transition: transform .08s ease, box-shadow .12s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn--ghost{background: rgba(255,255,255,.62)}
.btn--primary{
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 16px 40px rgba(37,99,235,.22);
}
.btn--lg{padding: 12px 16px}
.w100{width:100%}
.mt8{margin-top:8px}
.mt10{margin-top:10px}
.mt12{margin-top:12px}
.mt16{margin-top:16px}

/* Hero */
.hero{
  padding: 22px 0 8px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.hero__left{padding-top:12px}
.hero__right{display:grid; gap:14px}

.chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.80);
  border-radius: 999px;
  font-weight:900;
  color: var(--muted);
  box-shadow: var(--shadow2);
}
.chip__dot{
  width:9px; height:9px; border-radius: 99px;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(22,163,74,.12);
}

h1{
  margin:12px 0 10px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -1.2px;
}
.grad{
  display:block;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead{
  margin:0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 70ch;
}

.hero__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top: 10px;
}
.kpi{
  background: rgba(255,255,255,.90);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px;
  box-shadow: var(--shadow2);
}
.kpi__t{color: var(--muted); font-weight:900; font-size:12px}
.kpi__v{font-weight:1000; font-size:16px; margin-top:6px}

.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.trust{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 14px;
  color: var(--muted);
  font-weight:900;
}

/* Sections */
.section{padding: 22px 0}
.section__head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
  margin-bottom: 12px;
}
h2{
  margin:0;
  font-size: 24px;
  letter-spacing: -0.4px;
}
.muted{color: var(--muted)}
.tiny{color: var(--muted); font-size: 12px; line-height:1.55; margin:0}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card--soft{background: rgba(255,255,255,.92)}
.card--outline{background: rgba(255,255,255,.78)}
.card__head{display:flex; align-items:flex-start; justify-content:space-between; gap:10px}
.card__title{font-weight:1000}
.card__hint{color: var(--muted); font-size:12px; font-weight:900}

.contact{display:grid; gap:10px; margin-top:10px}
.contact__row{display:flex; justify-content:space-between; gap:10px}
.contact__label{color:var(--muted); font-weight:900; font-size:12px}
.contact__value{font-weight:900}

.rule{height:1px; background: var(--border); margin: 14px 0}
.note{
  background: rgba(37,99,235,.06);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: var(--r);
  padding: 12px;
  color: #1e293b;
  font-weight:800;
}
.list{margin:10px 0 0; padding-left:18px; color: var(--muted); font-weight:800; line-height:1.7}

/* Pricing grid */
.grid{display:grid; gap:12px}
.pricing{grid-template-columns: repeat(4, 1fr)}
.priceCard{
  position:relative;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 14px;
  box-shadow: var(--shadow2);
  min-height: 108px;
}
.priceCard__name{font-weight:1000}
.priceCard__desc{color:var(--muted); font-weight:800; font-size:12px; margin-top:6px}
.priceCard__price{font-weight:1100; font-size:18px; margin-top:10px}
.priceCard--highlight{
  border-color: rgba(124,58,237,.35);
  background: linear-gradient(180deg, rgba(124,58,237,.06), rgba(255,255,255,.94));
}
.badge{
  position:absolute; top:12px; right:12px;
  font-size:11px; font-weight:1000;
  color:#4c1d95;
  background: rgba(124,58,237,.14);
  border: 1px solid rgba(124,58,237,.22);
  padding:6px 10px;
  border-radius: 999px;
}

/* Split layout */
.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}

/* Tags */
.tags{display:flex; gap:8px; flex-wrap:wrap}
.tag{
  display:inline-flex;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,.03);
  font-weight:900;
  color: var(--muted);
  font-size: 12px;
}

/* Service */
.serviceRule{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.serviceRule__title{font-weight:1100}
.serviceRule__desc{color:var(--muted); font-weight:800; margin-top:6px; line-height:1.55}
.chips{display:flex; gap:8px; flex-wrap:wrap}
.pill{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.90);
  padding: 8px 10px;
  border-radius: 999px;
  font-weight:900;
  color: var(--muted);
  font-size: 12px;
}

/* Form */
.formGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.field{display:flex; flex-direction:column; gap:7px}
label{font-weight:1000; font-size:13px}
input, textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.98);
  padding: 12px;
  font-size: 14px;
  outline:none;
}
textarea{min-height: 110px; resize: vertical}
input:focus, textarea:focus{
  border-color: rgba(37,99,235,.35);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.full{grid-column: 1 / -1}
.help{color: var(--muted); font-weight:800; font-size:12px}

.block__title{font-weight:1100}
.block__sub{color: var(--muted); font-size: 12px; font-weight:900; margin-top:6px}

.checkGrid{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
.check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.95);
  border-radius: var(--r);
  padding: 12px;
  cursor:pointer;
}
.check input{margin-top:2px; width:18px; height:18px}
.check__t{display:block; font-weight:1000}
.check__d{display:block; color: var(--muted); font-weight:800; font-size:12px; margin-top:3px}
.check__p{margin-left:auto; font-weight:1100}
.check--confirm{grid-column: 1 / -1}

.summary{
  margin-top: 12px;
  border: 1px solid var(--border);
  background: rgba(15,23,42,.02);
  border-radius: var(--r2);
  padding: 12px;
}
.summary__line{
  display:flex; align-items:center; justify-content:space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(15,23,42,.12);
}
.summary__line--big{
  font-size: 16px;
  border-bottom: none;
  padding-top: 10px;
}

.toast{
  display:none;
  margin-top: 10px;
  border-radius: var(--r);
  padding: 12px;
  font-weight:1000;
  background: rgba(22,163,74,.08);
  border: 1px solid rgba(22,163,74,.22);
}
.toast--err{
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.22);
}

.social{display:flex; gap:10px; flex-wrap:wrap}
.sbtn{
  text-decoration:none;
  font-weight:1100;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow2);
  transition: transform .08s ease;
}
.sbtn:hover{transform: translateY(-1px)}

.footer{
  margin-top: 16px;
  padding: 14px 2px 30px;
  display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap;
  border-top: 1px solid var(--border);
}

/* Chatbot UI */
.chatFab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 18px 40px rgba(37,99,235,.25);
  z-index: 60;
}

.chatWidget{
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: min(380px, calc(100vw - 36px));
  background: rgba(255,255,255,.96);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 60;
  display: none;
}
.chatHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(246,248,252,.9);
}
.chatHeader__title{
  display:flex; align-items:center; gap:10px;
  font-weight:1000;
}
.chatDot{
  width:10px; height:10px; border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 5px rgba(22,163,74,.12);
}
.chatClose{
  border:none;
  background: transparent;
  cursor:pointer;
  font-size:16px;
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 10px;
}
.chatClose:hover{background: rgba(15,23,42,.06)}

.chatBody{
  padding: 12px;
  height: 320px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.chatMsg{
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight:700;
  line-height: 1.45;
  font-size: 13px;
}
.chatMsg--bot{
  background: rgba(15,23,42,.03);
  color: var(--text);
  align-self: flex-start;
}
.chatMsg--me{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.20);
  color: #0f172a;
  align-self: flex-end;
}

.chatForm{
  border-top: 1px solid var(--border);
  padding: 10px 12px 12px;
}
.chatMini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:8px;
  margin-bottom: 8px;
}
.chatMini__input{
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 10px;
  font-size: 13px;
  outline:none;
  background: rgba(255,255,255,.98);
}
.chatRow{
  display:flex;
  gap:8px;
}
.chatInput{
  flex:1;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 10px 10px;
  font-size: 13px;
  outline:none;
  background: rgba(255,255,255,.98);
}
.chatSend{
  border:none;
  cursor:pointer;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight:1000;
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow2);
}
.chatHint{
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight:800;
  line-height: 1.35;
}

/* Responsive */
@media (max-width: 1020px){
  h1{font-size: 38px}
  .hero{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .pricing{grid-template-columns: repeat(2, 1fr)}
  .serviceRule{grid-template-columns: 1fr}
}
@media (max-width: 620px){
  h1{font-size: 32px}
  .formGrid{grid-template-columns: 1fr}
  .checkGrid{grid-template-columns: 1fr}
  .pricing{grid-template-columns: 1fr}
  .chatMini{grid-template-columns: 1fr}
}
