/* ---- base ---- */
:root{
  --bg:#0c1413;
  --bg-raise:#121c1b;
  --panel:#15201f;
  --teal:#5fc3b3;
  --teal-dim:#3a7a70;
  --purple:#9b86d9;
  --purple-dim:#5b4d85;
  --text:#eaf1ef;
  --text-dim:#9fb3af;
  --border:#223331;
  font-size:16px;
}
*{box-sizing:border-box;}
body{
  margin:0;
  background:
    radial-gradient(ellipse at 15% 100%, rgba(155,134,217,0.28), transparent 60%),
    radial-gradient(ellipse at 85% 0%, rgba(95,195,179,0.28), transparent 60%),
    linear-gradient(165deg, #0a1b19 0%, #0c1a1f 28%, #11152a 62%, #1c122b 100%);
  background-attachment:fixed;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.55;
}
h1,h2,h3{font-weight:600; margin:0;}
p{margin:0 0 0.8em 0;}
a{color:var(--teal);}

/* ---- nav ---- */
.site-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1080px;
  margin:0 auto;
  padding:1rem 1.5rem;
}
.nav-brand img{
  width:30px;
  height:30px;
  display:block;
}
.nav-links{display:flex; gap:1.6rem;}
.nav-links a{
  color:var(--text-dim);
  text-decoration:none;
  font-size:0.92rem;
  font-weight:600;
  transition:color 0.15s;
}
.nav-links a:hover,
.nav-links a.active{color:var(--teal);}

/* ---- hero ---- */
.hero{
  padding:3.5rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(95,195,179,0.12), transparent 60%),
    var(--bg);
  border-bottom:1px solid var(--border);
}
.hero-inner{
  max-width:1080px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr;
  gap:2.5rem;
  align-items:center;
}
@media(min-width:900px){
  .hero-inner{grid-template-columns:0.9fr 1.1fr;}
}
.eyebrow{
  color:var(--teal);
  letter-spacing:0.12em;
  text-transform:uppercase;
  font-size:0.75rem;
  font-weight:600;
  margin-bottom:0.6rem;
}
.hero-text h1{
  margin-bottom:0.6rem;
}
.wordmark-img{
  display:block;
  width:100%;
  max-width:320px;
  height:auto;
  mix-blend-mode:screen;
}
.hook{
  font-size:1.2rem;
  color:var(--text);
  max-width:34ch;
}
.hero-sub{
  color:var(--text-dim);
  font-size:0.95rem;
}

/* ---- chat demo ---- */
.chat-demo{position:relative;}
.chip-radio{position:absolute; opacity:0; pointer-events:none; width:0; height:0;}

.chat-window{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(95,195,179,0.04);
  max-width:460px;
  margin:0 auto;
}
.chat-header{
  display:flex;
  align-items:center;
  gap:0.7rem;
  padding:0.9rem 1.1rem;
  background:var(--bg-raise);
  border-bottom:1px solid var(--border);
}
.orb-logo{
  width:34px; height:34px; border-radius:50%;
  object-fit:cover;
  background:var(--bg);
  box-shadow:0 0 14px rgba(95,195,179,0.5);
  flex-shrink:0;
}
.chat-header-text{display:flex; flex-direction:column; line-height:1.2;}
.chat-header-text strong{font-size:0.95rem;}
.status{font-size:0.75rem; color:var(--text-dim);}

.chat-body{
  padding:1rem 1.1rem;
  min-height:220px;
  display:flex;
  flex-direction:column;
  gap:0.55rem;
}
.bubble{
  max-width:80%;
  padding:0.55rem 0.85rem;
  border-radius:14px;
  font-size:0.92rem;
}
.bubble p{margin:0;}
.bubble.lugu{
  background:var(--bg-raise);
  border:1px solid var(--border);
  align-self:flex-start;
  border-bottom-left-radius:4px;
}
.bubble.user{
  background:var(--teal-dim);
  color:#f2fbf9;
  align-self:flex-end;
  border-bottom-right-radius:4px;
}
.intro{margin-bottom:0.2rem;}

.exchange{display:none; flex-direction:column; gap:0.55rem;}
#chip-greet:checked ~ .chat-window .exchange.greet{display:flex;}
#chip-question:checked ~ .chat-window .exchange.question{display:flex;}
#chip-tired:checked ~ .chat-window .exchange.tired{display:flex;}
#chip-random:checked ~ .chat-window .exchange.random{display:flex;}

.typing-indicator{
  align-self:flex-start;
  display:flex;
  align-items:center;
  gap:0.35rem;
  font-size:0.78rem;
  color:var(--text-dim);
  padding:0.3rem 0.1rem;
  animation:showTyping 2.2s ease forwards;
}
.typing-indicator span{
  width:5px; height:5px; border-radius:50%;
  background:var(--teal);
  display:inline-block;
  animation:bounce 1s infinite ease-in-out;
}
.typing-indicator span:nth-child(2){animation-delay:0.15s;}
.typing-indicator span:nth-child(3){animation-delay:0.3s;}
@keyframes bounce{0%,100%{transform:translateY(0); opacity:0.5;} 50%{transform:translateY(-3px); opacity:1;}}
@keyframes showTyping{0%{opacity:1; visibility:visible;} 75%{opacity:1; visibility:visible;} 100%{opacity:0; visibility:hidden;}}

.reply-bubble{
  opacity:0;
  animation:showReply 2.4s ease forwards;
}
@keyframes showReply{0%{opacity:0; transform:translateY(4px);} 70%{opacity:0;} 100%{opacity:1; transform:translateY(0);}}

.chat-input-row{
  display:flex;
  gap:0.6rem;
  padding:0.7rem 1.1rem;
  border-top:1px solid var(--border);
  background:var(--bg-raise);
}
.fake-input{
  flex:1;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:20px;
  padding:0.5rem 0.9rem;
  color:var(--text-dim);
  font-size:0.88rem;
}
.send-btn{
  background:var(--teal-dim);
  color:#f2fbf9;
  border-radius:20px;
  padding:0.5rem 1.1rem;
  font-size:0.85rem;
  font-weight:600;
  display:flex;
  align-items:center;
}

.chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:0.5rem;
  padding:0.9rem 1.1rem;
  border-top:1px solid var(--border);
}
.chip{
  background:transparent;
  border:1px solid var(--teal-dim);
  color:var(--teal);
  border-radius:16px;
  padding:0.4rem 0.8rem;
  font-size:0.8rem;
  cursor:pointer;
  transition:background 0.15s, color 0.15s;
}
.chip:hover{background:rgba(95,195,179,0.12);}
#chip-greet:checked ~ .chat-window label[for="chip-greet"],
#chip-question:checked ~ .chat-window label[for="chip-question"],
#chip-tired:checked ~ .chat-window label[for="chip-tired"],
#chip-random:checked ~ .chat-window label[for="chip-random"]{
  background:var(--teal);
  color:#0c1413;
  border-color:var(--teal);
}
.demo-note{
  padding:0 1.1rem 0.9rem;
  font-size:0.72rem;
  color:var(--text-dim);
  margin:0;
}

/* ---- sections ---- */
.section{
  max-width:920px;
  margin:0 auto;
  padding:3.5rem 1.5rem;
}
.section h2{
  font-size:2.3rem;
  margin-bottom:1.6rem;
  text-align:center;
}
.features{
  display:grid;
  grid-template-columns:1fr;
  gap:1.4rem;
}
@media(min-width:700px){
  .features{grid-template-columns:repeat(2,1fr);}
}
@media(min-width:1000px){
  .features{grid-template-columns:repeat(3,1fr);}
}
.feature{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:14px;
  padding:1.4rem 1.5rem;
}
.feature-icon{
  display:block;
  width:34px;
  height:34px;
  margin-bottom:0.7rem;
  overflow:visible;
}
.feature-icon path{
  fill:none;
  stroke:var(--teal);
  stroke-width:4.5;
  stroke-linecap:round;
}
.feature-icon circle{fill:var(--teal);}
.spiral-spin{
  transform-origin:50px 50px;
  transition:transform 0.6s ease;
}
.feature:hover .spiral-spin{
  animation:spiral-turn 2.4s linear infinite;
}
@keyframes spiral-turn{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}
.feature:nth-child(1) .feature-icon path{stroke:#5fc3b3;}
.feature:nth-child(1) .feature-icon circle{fill:#5fc3b3;}
.feature:nth-child(2) .feature-icon path{stroke:#6fb0c9;}
.feature:nth-child(2) .feature-icon circle{fill:#6fb0c9;}
.feature:nth-child(3) .feature-icon path{stroke:#8fa0d6;}
.feature:nth-child(3) .feature-icon circle{fill:#8fa0d6;}
.feature:nth-child(4) .feature-icon path{stroke:#a98fd6;}
.feature:nth-child(4) .feature-icon circle{fill:#a98fd6;}
.feature:nth-child(5) .feature-icon path{stroke:#b983d9;}
.feature:nth-child(5) .feature-icon circle{fill:#b983d9;}
.feature:nth-child(6) .feature-icon path{stroke:#c777d8;}
.feature:nth-child(6) .feature-icon circle{fill:#c777d8;}
.feature{transition:transform 0.25s ease, border-color 0.25s ease;}
.feature:hover{transform:translateY(-4px); border-color:var(--teal-dim);}
.feature h3{font-size:1.05rem; margin-bottom:0.4rem;}
.feature p{color:var(--text-dim); font-size:0.92rem; margin:0;}

.why{text-align:center;}
.why p{
  max-width:60ch;
  margin:0 auto;
  color:var(--text-dim);
  font-size:1.05rem;
}

.kickstarter{
  text-align:center;
  background:radial-gradient(ellipse at 50% 0%, rgba(155,134,217,0.22), transparent 65%);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.kickstarter p{color:var(--text-dim); max-width:56ch; margin:0 auto 0.8em;}
.get-notified-label{color:var(--text); font-weight:600; margin-top:1.4rem;}

/* form styling */
.sas-form{
  max-width:400px;
  margin:1rem auto 0;
  display:flex;
  flex-wrap:wrap;
  gap:0.7rem;
  justify-content:center;
}
.sas-field{
  flex:1 1 220px;
  display:flex;
  flex-direction:column;
  text-align:left;
  gap:0.3rem;
  font-size:0.85rem;
  color:var(--text-dim);
}
.sas-field input{
  background:var(--bg-raise);
  border:1px solid var(--border);
  border-radius:10px;
  padding:0.6rem 0.8rem;
  color:var(--text);
  font-size:0.95rem;
}
.sas-form button{
  background:var(--teal);
  color:#0c1413;
  border:none;
  border-radius:10px;
  padding:0.65rem 1.3rem;
  font-weight:600;
  font-size:0.95rem;
  cursor:pointer;
  align-self:flex-end;
}
.sas-form-status{
  width:100%;
  text-align:center;
  font-size:0.85rem;
  color:var(--teal);
}

/* ---- forum ---- */
.forum-hero{
  padding:1rem 0 1rem;
  text-align:center;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(95,195,179,0.12), transparent 60%),
    var(--bg);
  border-bottom:1px solid var(--border);
}
.forum-hero h1{
  font-size:2.6rem;
  margin:0.4rem 0 0.7rem;
}
.forum-hero .hook{
  max-width:46ch;
  margin:0 auto;
  color:var(--text);
  font-size:1.1rem;
}
.forum-note{text-align:center;}
.forum-ctas{
  display:flex;
  gap:0.9rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:1.2rem;
}
.btn-primary,
.btn-secondary{
  display:inline-block;
  padding:0.65rem 1.4rem;
  border-radius:10px;
  font-weight:600;
  font-size:0.95rem;
  text-decoration:none;
}
.btn-primary{background:var(--teal); color:#0c1413;}
.btn-secondary{background:transparent; border:1px solid var(--teal-dim); color:var(--teal);}
.btn-primary:hover{opacity:0.9;}
.btn-secondary:hover{background:rgba(95,195,179,0.12);}

/* ---- footer ---- */
.site-footer{
  text-align:center;
  padding:2.5rem 1.5rem 3rem;
  color:var(--text-dim);
  font-size:0.88rem;
}
.footer-wordmark{
  display:block;
  width:120px;
  height:auto;
  margin:0 auto 0.8rem;
  mix-blend-mode:screen;
}
.soon{opacity:0.6; font-size:0.8rem;}
.copyright{margin-top:0.8rem; font-size:0.78rem; opacity:0.7;}
