:root{
  --primary:#7CE99B;
  --bg:#07130E;
  --surface:#10241A;
  --surface-2:#152D21;
  --text:#F4FFF7;
  --muted:#AFC8B7;
  --line:rgba(255,255,255,.08);
  --shadow:0 24px 70px rgba(0,0,0,.28);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

*{
  box-sizing:border-box;
}

html{
  background:var(--bg);
}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%,rgba(124,233,155,.13),transparent 35%),
    radial-gradient(circle at 100% 25%,rgba(124,233,155,.07),transparent 30%),
    var(--bg);
}

button,
input{
  font:inherit;
}

button{
  cursor:pointer;
}

.shell{
  width:min(100%,1080px);
  margin:0 auto;
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr);
  gap:30px;
  padding:38px 22px 20px;
}

.hero{
  align-self:center;
  padding:30px 18px;
}

.status{
  display:inline-flex;
  gap:9px;
  align-items:center;
  padding:9px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:13px;
  background:rgba(255,255,255,.025);
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 18px var(--primary);
}

.eyebrow{
  margin:32px 0 8px;
  color:var(--primary);
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  font-size:13px;
}

.hero h1{
  margin:0;
  font-size:clamp(38px,6vw,70px);
  line-height:.98;
  letter-spacing:-.055em;
}

.hero-subtitle{
  max-width:470px;
  margin:22px 0 0;
  color:var(--muted);
  font-size:19px;
  line-height:1.55;
}

.conversation{
  align-self:center;
  min-height:660px;
  max-height:82vh;
  display:grid;
  grid-template-rows:auto 1fr auto;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,.012)
    );
  box-shadow:var(--shadow);
  backdrop-filter:blur(20px);
}

.conversation-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:18px 20px;
  border-bottom:1px solid var(--line);
}

.conversation-header small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
}

.avatar{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  color:#07130E;
  background:var(--primary);
  font-weight:900;
}

.chat{
  overflow-y:auto;
  padding:24px 20px 12px;
  scroll-behavior:smooth;
}

.msg{
  width:fit-content;
  max-width:88%;
  margin:0 0 13px;
  padding:13px 15px;
  border-radius:18px;
  line-height:1.48;
  white-space:pre-wrap;
}

.msg.assistant{
  background:var(--surface-2);
  border:1px solid var(--line);
  border-bottom-left-radius:6px;
}

.msg.user{
  margin-left:auto;
  color:#07130E;
  background:var(--primary);
  border-bottom-right-radius:6px;
}

.media-card,
.proof-card{
  margin:12px 0 16px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}

.media-card img,
.media-card video{
  display:block;
  width:100%;
  height:auto;
}

.media-card audio{
  width:100%;
  margin:8px 0;
}

.gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin:12px 0 16px;
}

.gallery .media-card{
  margin:0;
}

.proof-card{
  padding:16px;
}

.proof-card strong{
  display:block;
  margin-bottom:5px;
}

.stars{
  margin-top:10px;
  color:var(--primary);
  letter-spacing:3px;
}

.actions{
  padding:14px 20px 20px;
  display:grid;
  gap:9px;
  border-top:1px solid var(--line);
  background:rgba(4,12,8,.75);
}

.action{
  width:100%;
  min-height:49px;
  padding:12px 15px;
  border:1px solid var(--line);
  border-radius:15px;
  color:var(--text);
  background:rgba(255,255,255,.045);
  text-align:left;
  font-weight:700;
  transition:.18s ease;
}

.action:hover{
  transform:translateY(-1px);
  border-color:rgba(124,233,155,.35);
}

.action.primary{
  color:#07130E;
  background:var(--primary);
  border-color:transparent;
  text-align:center;
}

.text-input{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  outline:none;
  color:var(--text);
  background:rgba(255,255,255,.05);
}

.text-input:focus{
  border-color:var(--primary);
}

footer{
  grid-column:1/-1;
  color:var(--muted);
  text-align:center;
  font-size:12px;
  padding:3px 0 0;
}

.hidden{
  display:none!important;
}

@media(max-width:760px){

  .shell{
    display:block;
    padding:0;
  }

  .hero{
    padding:28px 20px 24px;
  }

  .hero h1{
    max-width:520px;
    font-size:clamp(34px,11vw,52px);
  }

  .hero-subtitle{
    font-size:16px;
  }

  .conversation{
    min-height:67vh;
    max-height:none;
    border-left:0;
    border-right:0;
    border-bottom:0;
    border-radius:28px 28px 0 0;
  }

  footer{
    display:none;
  }
}

@media(max-width:430px){

  .gallery{
    grid-template-columns:1fr;
  }

  .conversation{
    border-radius:24px 24px 0 0;
  }

  .chat{
    padding-left:15px;
    padding-right:15px;
  }

  .actions{
    padding-left:15px;
    padding-right:15px;
  }
}


/* ==========================================================
   FLOW003 v0.3.1 — MEDIA LIGHTBOX
   ========================================================== */

.media-card img{
  cursor:zoom-in;
}

.flow003-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(8px);
}

.flow003-lightbox[hidden]{
  display:none !important;
}

.flow003-lightbox-inner{
  position:relative;
  width:min(900px,100%);
  max-height:92vh;
  display:flex;
  align-items:center;
  justify-content:center;
}

.flow003-lightbox img{
  display:block;
  max-width:100%;
  max-height:88vh;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 25px 80px rgba(0,0,0,.55);
}

.flow003-lightbox-close{
  position:absolute;
  top:-14px;
  right:-8px;
  z-index:2;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  cursor:pointer;
  font-size:26px;
  line-height:44px;
  text-align:center;
  background:#fff;
  color:#111;
  box-shadow:0 8px 30px rgba(0,0,0,.4);
}

.gallery .media-card{
  cursor:pointer;
  transition:transform .18s ease, opacity .18s ease;
}

.gallery .media-card:hover{
  transform:translateY(-2px);
}
