:root{
  --bg0:#070818;
  --bg1:#070818;
  --ink:#ffffff;
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --stroke: rgba(255,255,255,.16);
  --stroke2: rgba(255,255,255,.10);
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.04);
  --blue:#4f6bff;
  --blue2:#2f49ff;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 22% 20%, rgba(79,107,255,.25), transparent 60%),
    radial-gradient(900px 600px at 76% 40%, rgba(163,86,255,.20), transparent 62%),
    linear-gradient(180deg, #070818, #050615);
}

/* Promo bar */
.promo{
  background:#2f49ff;
  color:#fff;
}
.promo__inner{
  max-width: var(--max);
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.promo__left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 0;
}
.promo__text{
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.promo__link{ font-weight:700; text-decoration: underline; }
.promo__arrow{ opacity:.9; }
.promo__close{
  background:transparent;
  border:0;
  color:#fff;
  font-size:18px;
  cursor:pointer;
  opacity:.9;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,8,24,.80), rgba(7,8,24,.55));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner{
  max-width: var(--max);
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 160px;
}
.brand__logo{
  width:18px; height:18px;
  border-radius:4px;
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.25));
  transform: rotate(12deg);
}
.brand__name{
  font-weight:800;
  letter-spacing: -0.2px;
}
.nav{
  display:flex;
  gap:18px;
  flex:1;
}
.nav__link{
  color: rgba(255,255,255,.72);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
}
.nav__link:hover{ color:#fff; }
.nav__pill{
  margin-left:6px;
  font-size:12px;
  padding:2px 8px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.header__login{
  color: rgba(255,255,255,.80);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  border: 1px solid transparent;
  white-space:nowrap;
}
.btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color:#fff;
}
.btn--primary{
  background: linear-gradient(180deg, var(--blue), var(--blue2));
  color:#fff;
  box-shadow: 0 16px 50px rgba(47,73,255,.30);
}

/* Hero */
.hero{
  padding: 86px 0 40px;
}
.hero__inner{
  max-width: var(--max);
  margin:0 auto;
  padding:0 16px;
  text-align:center;
}
.hero__title{
  margin:0;
  font-size:64px;
  letter-spacing:-1.2px;
  font-weight:800;
}
.hero__subtitle{
  margin:14px 0 22px;
  color: rgba(255,255,255,.70);
  font-size:18px;
  font-weight:500;
}

/* Chat box */
.chat{
  display:flex;
  justify-content:center;
}
.chat__box{
  width: min(780px, 100%);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  border-radius:20px;
  padding:16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.chat__input{
  width:100%;
  height: 92px;
  resize:none;
  border:0;
  outline:none;
  background:transparent;
  color:#fff;
  font-size:16px;
  font-weight:500;
}
.chat__input::placeholder{ color: rgba(255,255,255,.55); }

.chat__footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:12px;
}
.chat__icon{
  width:40px;height:40px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
  color:#fff;
  font-size:20px;
  cursor:pointer;
}
.chat__right{
  display:flex;
  align-items:center;
  gap:10px;
}
.chat__mic {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.chat__mic:hover {
  background: rgba(255,255,255,0.10);
}

.mic-icon {
  width: 18px;
  height: 18px;
  fill: rgba(255,255,255,0.85);
}

/* Optional: recording state */
.chat__mic.is-listening {
  border-color: #4f6bff;
  box-shadow: 0 0 0 4px rgba(79,107,255,0.25);
}

.chat__mic.is-listening .mic-icon {
  fill: #ffffff;
}

.chat__btn{
  border:0;
  cursor:pointer;
  padding:10px 18px;
  border-radius:14px;
  font-weight:800;
  color:#fff;
  background: linear-gradient(180deg, var(--blue), var(--blue2));
}

.hero__mini{ margin-top:18px; }
.mini{
  display:flex;
  justify-content:center;
  gap:10px;
  color: rgba(255,255,255,.62);
  font-size:14px;
}
.mini__dot{ opacity:.55; }

.status{
  margin-top: 14px;
  color: rgba(255,255,255,.70);
  font-size:14px;
}

.result{
  margin: 16px auto 0;
  width: min(780px, 100%);
  text-align:left;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.16);
  border-radius:16px;
  padding:14px 16px;
}
.result a{ color:#b9c6ff; word-break: break-all; }

/* Tiles */
.tiles{
  margin-top: 34px;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.tiles__inner{
  max-width: var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
}
.tile{
  padding: 34px 24px;
  text-align:center;
  border-right:1px solid rgba(255,255,255,.08);
}
.tile:last-child{ border-right:0; }
.tile__icon{
  width:44px;height:44px;
  margin:0 auto 12px;
  display:flex;align-items:center;justify-content:center;
  border-radius:14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-weight:700;
}
.tile__title{
  font-size:20px;
  font-weight:700;
  margin:0 0 10px;
}
.tile__text{
  margin:0;
  color: rgba(255,255,255,.62);
  font-size:14px;
  line-height:1.55;
}

/* Inspired */
.inspired{
  background:#fff;
  color:#0b0c14;
  padding: 56px 0 70px;
}
.inspired__inner{
  max-width: var(--max);
  margin:0 auto;
  padding:0 16px;
}
.inspired__title{
  margin:0;
  font-size:44px;
  letter-spacing:-0.8px;
  font-weight:800;
}
.inspired__subtitle{
  margin: 12px 0 22px;
  max-width: 860px;
  color: rgba(11,12,20,.62);
  font-size:16px;
  line-height:1.6;
}
.cards{
  display:flex;
  gap:16px;
  overflow:auto;
  padding-bottom: 6px;
}
.card{
  flex: 0 0 260px;
  height: 170px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.card--a{ background: linear-gradient(135deg, #ffb3d9, #ffd0a6); }
.card--b{ background: linear-gradient(135deg, #e6ffb8, #b5d3ff); }
.card--c{ background: linear-gradient(135deg, #111, #6a2bff); }
.card--d{ background: linear-gradient(135deg, #f5f5f5, #c8d8ff); }
.card--e{ background: linear-gradient(135deg, #0b0c14, #2f49ff); }

/* Responsive */
@media (max-width: 980px){
  .nav{ display:none; }
  .hero__title{ font-size:54px; }
  .tiles__inner{ grid-template-columns:1fr; }
  .tile{ border-right:0; border-bottom:1px solid rgba(255,255,255,.08); }
  .tile:last-child{ border-bottom:0; }
}
@media (max-width: 520px){
  .hero{ padding-top:60px; }
  .hero__title{ font-size:44px; }
}
