/* ===== Base ===== */
:root{
  --bg: #0b0c10;
  --card: #12141c;
  --card2:#0f1118;
  --text: #eef0f6;
  --muted:#a9afc3;
  --line: rgba(255,255,255,.10);

  --accent:#ffffff;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;

  --max: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% 10%, rgba(255,255,255,.08), transparent 55%),
              radial-gradient(900px 600px at 85% 20%, rgba(255,255,255,.06), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
.container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

/* ===== Header ===== */
.header{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,12,16,.55);
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  padding: 6px 8px;
  border-radius: 14px;
}
.brand__logo{
  width:28px; height:28px;
  border-radius: 999px;
  background:#000;
}
.brand__name{
  font-weight: 700;
  letter-spacing: .3px;
}

.nav{
  display:flex;
  gap: 18px;
  align-items:center;
}
.nav__link{
  color: var(--muted);
  font-size: 14px;
}
.nav__link:hover{ color: var(--text); }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.btn:active{ transform: translateY(0); }

.btn--primary{
  background: var(--accent);
  color: #0b0c10;
  border-color: rgba(255,255,255,.35);
}
.btn--primary:hover{
  background: rgba(255,255,255,.92);
}
.btn--secondary{
  background: rgba(255,255,255,.06);
}
.btn--ghost{
  background: transparent;
}
.btn--full{ width: 100%; }

/* ===== Hero ===== */
.hero{
  padding: 56px 0 28px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 28px;
  align-items: start;
}

.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.hero__title{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.hero__text{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 56ch;
}
.hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.hero__note{
  margin: 0;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}
.mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: rgba(255,255,255,.75);
}

/* ===== Card / Mock chat ===== */
.card{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  padding: 18px;
}
.card__top{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 12px;
}
.card__logo{
  width: 38px; height: 38px;
  border-radius: 999px;
  background:#000;
  border: 1px solid rgba(255,255,255,.12);
}
.card__title{ font-weight: 800; letter-spacing: .2px; }
.card__subtitle{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.chat{
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 12px;
  margin: 14px 0 14px;
}
.bubble{
  width: fit-content;
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  margin: 8px 0;
  border: 1px solid rgba(255,255,255,.08);
}
.bubble--in{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.bubble--out{
  margin-left: auto;
  background: rgba(255,255,255,.88);
  color: #0b0c10;
  border-color: rgba(255,255,255,.2);
}

/* ===== Sections ===== */
.section{
  padding: 44px 0;
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__title{
  margin: 0 0 8px;
  font-size: 26px;
  letter-spacing: -.01em;
}
.section__lead{
  margin: 0 0 22px;
  color: var(--muted);
}

/* ===== Features grid ===== */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 16px;
}
.feature__icon{ font-size: 18px; margin-bottom: 10px; }
.feature__title{ font-weight: 800; margin-bottom: 6px; }
.feature__text{ color: var(--muted); font-size: 14px; }

/* ===== Steps ===== */
.steps{
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display:grid;
  gap: 12px;
}
.steps__item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.steps__num{
  width: 30px; height: 30px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  background: rgba(255,255,255,.9);
  color: #0b0c10;
  flex: 0 0 auto;
}
.steps__title{ font-weight: 800; margin-bottom: 2px; }
.steps__text{ color: var(--muted); font-size: 14px; }

/* ===== CTA ===== */
.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.cta__title{ font-weight: 900; }
.cta__sub{ color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== Footer ===== */
.footer{
  padding: 22px 0 30px;
  color: rgba(255,255,255,.6);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
}
.footer__left{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer__logo{
  width: 22px; height: 22px;
  border-radius: 999px;
  background:#000;
}
.footer__link{
  color: rgba(255,255,255,.7);
  border-bottom: 1px dashed rgba(255,255,255,.25);
}
.footer__link:hover{ color: rgba(255,255,255,.95); }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .hero__grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .nav{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .cta{ flex-direction: column; align-items: stretch; }
  .btn{ width: 100%; }
}
