:root{
  --bg:#0b1220;
  --panel:#0f172a;
  --panel2:#0b1326;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --line:rgba(255,255,255,.08);
  --accent:#0ea5e9;
  --accent2:#7c3aed;

  --r12:12px;
  --r16:16px;
  --r20:20px;
  --shadow: 0 18px 60px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.muted{color:var(--muted)}
.wrap{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
  padding: 28px 0 40px;
}

/* Background */
.bg{position:fixed; inset:0; pointer-events:none; z-index:-1}
.bg__glow{position:absolute; width:720px; height:720px; border-radius:999px; filter: blur(70px); opacity:.30}
.bg__glow--a{left:-240px; top:-240px; background: radial-gradient(circle, var(--accent), transparent 60%)}
.bg__glow--b{right:-260px; bottom:-260px; background: radial-gradient(circle, var(--accent2), transparent 60%)}
.bg__grain{
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  opacity:.35;
  mix-blend-mode: overlay;
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(12px);
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand__name{font-weight:900; letter-spacing:.2px}
.brand__tag{
  font-size:12px;
  padding:3px 8px;
  border-radius:999px;
  border:1px solid rgba(14,165,233,.35);
  background: rgba(14,165,233,.12);
  color: var(--text);
}
.topbar__actions{display:flex; gap:10px; align-items:center}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:800;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18)}
.btn--lg{padding: 12px 16px; border-radius: 16px}
.btn--primary{
  background: rgba(14,165,233,.18);
  border-color: rgba(14,165,233,.35);
}
.btn--soft{
  background: rgba(255,255,255,.05);
}
.btn--ghost{
  background: transparent;
}

/* Hero */
.hero{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
  padding: 24px 0 10px;
}
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:800;
  font-size: 13px;
}
.hero__title{
  margin: 14px 0 12px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.6px;
}
.hero__title-accent{
  background: linear-gradient(90deg, rgba(14,165,233,.95), rgba(124,58,237,.95));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero__lead{
  margin: 0 0 16px;
  color: rgba(229,231,235,.92);
  line-height: 1.55;
  font-size: 16px;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 16px}

.hero__meta{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
  margin-top: 10px;
}
.stat{
  display:flex;
  gap:12px;
  padding: 12px;
  border-radius: var(--r16);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.stat__k{
  width:42px; height:42px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
}
.stat__t{font-weight:900}
.stat__d{color:var(--muted); font-size: 13px; margin-top:2px}

/* Mock phone */
.phone{
  position:relative;
  width: min(420px, 100%);
  margin-left:auto;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.phone__top{
  display:flex; gap:7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.dot{width:10px; height:10px; border-radius:999px; background: rgba(255,255,255,.18)}
.phone__screen{padding: 14px}
.mock{
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(11,19,38,.8);
}
.mock__header{
  display:flex; gap:10px; align-items:center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.mock__avatar{
  width:42px; height:42px;
  border-radius: 16px;
  display:grid; place-items:center;
  font-weight:900;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
}
.mock__h1{font-weight:900}
.mock__h2{color:var(--muted); font-size: 12px}
.mock__msgs{
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 240px;
}
.bubble{
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.bubble--in{align-self:flex-start; border-top-left-radius: 10px}
.bubble--out{
  align-self:flex-end;
  background: rgba(14,165,233,.10);
  border-color: rgba(14,165,233,.28);
  border-top-right-radius: 10px;
}
.bubble__time{margin-top:6px; font-size:11px; color:var(--muted); text-align:right}
.mock__composer{
  display:flex; gap:10px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.mock__input{
  flex:1;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: rgba(229,231,235,.75);
}
.mock__send{
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid rgba(14,165,233,.35);
  background: rgba(14,165,233,.18);
  font-weight:900;
}

/* Chips */
.chip{
  position:absolute;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15,23,42,.7);
  color: rgba(229,231,235,.92);
  font-size: 12px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
}
.chip--a{top: 20px; right: -8px}
.chip--b{bottom: 22px; left: -8px}

/* Sections */
.section{margin-top: 36px}
.section__head{margin-bottom: 14px}
.section__title{margin:0 0 6px; font-size: 22px; letter-spacing:-.2px}
.section__sub{margin:0; color:var(--muted); line-height:1.5}

/* Grid cards */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  padding: 14px;
  border-radius: var(--r20);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 50px rgba(0,0,0,.25);
}
.card__icon{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  margin-bottom: 10px;
}
.card__title{margin:0 0 6px; font-weight:900}
.card__text{margin:0; color:var(--muted); line-height:1.55}

/* News */
.news{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.news__item{
  padding: 14px;
  border-radius: var(--r20);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.news__badge{
  display:inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  border:1px solid rgba(14,165,233,.35);
  background: rgba(14,165,233,.12);
  font-size: 12px;
  font-weight:900;
  margin-bottom: 10px;
}
.news__badge--soft{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
}
.news__title{margin:0 0 6px; font-weight:900}
.news__text{margin:0 0 10px; color:var(--muted); line-height:1.55}
.news__meta{color:rgba(229,231,235,.55); font-size: 12px}

/* CTA */
.cta{margin-top: 30px}
.cta__box{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(14,165,233,.28);
  background: linear-gradient(90deg, rgba(14,165,233,.14), rgba(124,58,237,.10));
  box-shadow: var(--shadow);
}
.cta__title{margin:0 0 4px; font-weight:950}
.cta__text{margin:0; color: rgba(229,231,235,.8)}
.cta__right{display:flex; gap:10px; flex-wrap:wrap}

/* Footer */
.footer{
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(11,18,32,.6);
}
.footer__inner{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
  padding: 18px 0;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
}
.footer__brand{font-weight:950}
.footer__muted{color:var(--muted); font-size: 13px}

/* Responsive */
@media (max-width: 980px){
  .hero{grid-template-columns: 1fr; gap: 16px}
  .hero__right{order:-1}
  .grid{grid-template-columns: 1fr}
  .news{grid-template-columns: 1fr}
  .cta__box{flex-direction:column; align-items:flex-start}
  .footer__inner{flex-direction:column; align-items:flex-start}
}