@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:           #08080D;
  --surface:      #111118;
  --surface-hi:   #18181F;
  --border:       rgba(255,255,255,0.08);
  --border-hi:    rgba(255,255,255,0.13);
  --purple:       #6C63FF;
  --purple-dark:  #3B4BDB;
  --purple-dim:   rgba(108,99,255,0.10);
  --purple-bdr:   rgba(108,99,255,0.28);
  --t1: #FFFFFF;
  --t2: rgba(255,255,255,0.70);
  --t3: rgba(255,255,255,0.42);
  --t4: rgba(255,255,255,0.22);
  --success:      #3ECF8E;
  --fd: 'Plus Jakarta Sans', sans-serif;
  --fb: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--t1);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed; top: -160px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 560px;
  background: radial-gradient(ellipse at center top, rgba(108,99,255,0.11) 0%, transparent 68%);
  pointer-events: none; z-index: 0;
}
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(8,8,13,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--t1);
  font-family: var(--fd); font-size: 15px; font-weight: 700;
  letter-spacing: -0.2px;
}
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #6C63FF 0%, #3B4BDB 100%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 13px; height: 13px; }
.nav-label {
  font-size: 11px; font-weight: 500;
  color: var(--t3); letter-spacing: 0.2px;
}
main {
  position: relative; z-index: 1;
  max-width: 580px; margin: 0 auto;
  padding: 128px 28px 80px;
}
.hero { margin-bottom: 56px; }
.eyebrow {
  display: block;
  font-family: var(--fd); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--purple); margin-bottom: 18px;
  opacity: 0; animation: rise 0.45s 0.05s ease forwards;
}
h1 {
  font-family: var(--fd);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800; line-height: 1.04; letter-spacing: -1.8px;
  margin-bottom: 20px;
  opacity: 0; animation: rise 0.45s 0.12s ease forwards;
}
.subhead {
  font-size: 16px; color: var(--t2); line-height: 1.7;
  max-width: 500px; margin-bottom: 36px;
  opacity: 0; animation: rise 0.45s 0.19s ease forwards;
}
.form-wrap {
  opacity: 0; animation: rise 0.45s 0.25s ease forwards;
}
.form-row {
  display: flex; gap: 6px; align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: 10px; padding: 5px;
  max-width: 380px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row:focus-within {
  border-color: var(--purple-bdr);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.08);
}
.email-input {
  flex: 1; min-width: 0;
  background: transparent; border: none; outline: none;
  padding: 9px 12px;
  font-family: var(--fb); font-size: 14px; color: var(--t1);
}
.email-input::placeholder { color: var(--t4); }
.email-input.err { animation: shake 0.28s ease; }
.btn-join {
  background: linear-gradient(135deg, #6C63FF 0%, #3B4BDB 100%);
  color: #fff;
  font-family: var(--fd); font-size: 14px; font-weight: 700;
  border: none; border-radius: 7px; cursor: pointer;
  padding: 9px 24px; flex-shrink: 0;
  letter-spacing: -0.1px; white-space: nowrap;
  transition: opacity 0.15s, transform 0.1s;
}
.btn-join:hover:not(:disabled) { opacity: 0.88; }
.btn-join:active:not(:disabled) { transform: scale(0.97); }
.btn-join:disabled { opacity: 0.38; cursor: not-allowed; }
.fine-print {
  font-size: 12px; color: var(--t3);
  margin-top: 11px; line-height: 1.5;
}
.success-block {
  max-width: 380px;
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid rgba(62,207,142,0.2);
  border-radius: 12px;
  display: none;
  text-align: center;
  animation: pop 0.34s cubic-bezier(0.34,1.56,0.64,1) both;
}
.s-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(62,207,142,0.07);
  border: 1px solid rgba(62,207,142,0.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.s-title { font-family: var(--fd); font-size: 15px; font-weight: 700; letter-spacing: -0.2px; margin-bottom: 4px; }
.s-sub { font-size: 13px; color: var(--t3); line-height: 1.5; }
.follow-btn {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; padding: 9px 18px;
  background: var(--surface-hi); border: 1px solid var(--border-hi);
  border-radius: 8px;
  font-family: var(--fd); font-size: 13px; font-weight: 600;
  color: var(--t2); text-decoration: none;
  transition: background 0.15s;
}
.follow-btn:hover { background: rgba(255,255,255,0.07); }
.viz-section {
  margin-bottom: 56px;
  opacity: 0; animation: rise 0.45s 0.32s ease forwards;
}
.viz-eyebrow {
  font-family: var(--fd); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--t4); margin-bottom: 12px;
}
.agent-viz {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.aviz-panels {
  position: relative; height: 300px; overflow: hidden;
}
.aviz-panel {
  position: absolute; inset: 0;
  opacity: 1; transition: opacity 0.5s ease;
  display: flex; flex-direction: column;
}
.aviz-panel-hidden { opacity: 0; pointer-events: none; }
.aviz-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.aviz-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.10); flex-shrink: 0;
}
.aviz-urlbar {
  flex: 1; background: rgba(255,255,255,0.05);
  border-radius: 5px; padding: 4px 10px; max-width: 280px;
}
.aviz-urltext {
  font-family: var(--fb); font-size: 11px;
  color: var(--t4); letter-spacing: 0.2px;
}
.aviz-feed {
  flex: 1; padding: 12px 16px; display: flex;
  flex-direction: column; gap: 6px; position: relative; overflow: hidden;
}
.aviz-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.aviz-row-dim { opacity: 0.5; }
.aviz-row-active {
  background: rgba(108,99,255,0.08);
  border-color: rgba(108,99,255,0.25);
}
.aviz-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.10); flex-shrink: 0;
}
.aviz-avatar-active { background: rgba(108,99,255,0.4); }
.aviz-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.aviz-line {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.aviz-line-active { background: rgba(108,99,255,0.35); }
.aviz-score {
  font-family: var(--fb); font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 6px; flex-shrink: 0;
}
.aviz-score-low {
  background: rgba(255,255,255,0.05); color: var(--t4);
  border: 1px solid rgba(255,255,255,0.07);
}
.aviz-score-high {
  background: rgba(108,99,255,0.25); color: rgba(167,139,250,1);
  border: 1px solid rgba(108,99,255,0.4);
}
.aviz-sweep {
  position: absolute; left: 16px; right: 16px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.7), transparent);
  pointer-events: none;
  animation: sweep 2.8s linear infinite;
  top: 28px;
}
@keyframes sweep {
  0%   { top: 50px; opacity: 0; }
  5%   { opacity: 1; }
  90%  { opacity: 0.7; }
  100% { top: 290px; opacity: 0; }
}
.aviz-profile-banner {
  height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(108,99,255,0.5) 0%, rgba(59,75,219,0.6) 100%);
}
.aviz-profile-body {
  flex: 1; padding: 12px 16px; overflow: hidden;
}
.aviz-profile-name {
  font-family: var(--fd); font-size: 15px; font-weight: 700;
  color: var(--t1); letter-spacing: -0.3px; margin-bottom: 3px;
}
.aviz-profile-bio { font-size: 11px; color: var(--t4); margin-bottom: 14px; }
.aviz-profile-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-bottom: 14px;
}
.aviz-pstat {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 6px; text-align: center;
}
.aviz-pstat-val {
  font-family: var(--fd); font-size: 15px; font-weight: 700;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #6C63FF, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.aviz-pstat-lbl {
  font-size: 9px; color: var(--t4); text-transform: uppercase;
  letter-spacing: 0.5px; margin-top: 2px;
}
.aviz-profile-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 10px; }
.aviz-profile-label {
  font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; color: var(--t4); margin-bottom: 8px;
}
.aviz-subreddits { display: flex; flex-wrap: wrap; gap: 5px; }
.aviz-sub {
  font-size: 10px; font-weight: 500; color: rgba(167,139,250,1);
  padding: 3px 8px; border-radius: 6px;
  background: var(--purple-dim); border: 1px solid var(--purple-bdr);
  opacity: 0; animation: sub-appear 0.3s ease forwards;
}
.aviz-sub:nth-child(1) { animation-delay: 0.1s; }
.aviz-sub:nth-child(2) { animation-delay: 0.25s; }
.aviz-sub:nth-child(3) { animation-delay: 0.4s; }
.aviz-sub:nth-child(4) { animation-delay: 0.55s; }
.aviz-sub:nth-child(5) { animation-delay: 0.7s; }
@keyframes sub-appear {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.aviz-thread {
  flex: 1; padding: 10px 16px;
  display: flex; flex-direction: column; gap: 8px; overflow: hidden;
}
.aviz-op {
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.aviz-op-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.aviz-avatar-sm {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,0.12); flex-shrink: 0;
}
.aviz-op-lines { display: flex; flex-direction: column; gap: 5px; }
.aviz-reply-box {
  flex: 1; padding: 10px 12px; border-radius: 8px;
  background: rgba(108,99,255,0.06);
  border: 1px solid rgba(108,99,255,0.2);
  display: flex; flex-direction: column; gap: 8px;
}
.aviz-agent-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600; color: rgba(167,139,250,1);
  padding: 2px 8px; border-radius: 6px;
  background: var(--purple-dim); border: 1px solid var(--purple-bdr);
}
.aviz-reply-content {
  font-family: var(--fb); font-size: 12px; color: var(--t2);
  line-height: 1.6; min-height: 52px; flex: 1;
}
.aviz-cursor {
  display: inline-block; color: var(--purple); font-weight: 300;
  animation: blink-cur 0.85s step-end infinite;
}
@keyframes blink-cur { 0%,100%{opacity:1} 50%{opacity:0} }
.aviz-cursor.hidden { display: none; }
.aviz-reply-footer { display: flex; justify-content: flex-end; }
.aviz-post-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--fd); font-size: 11px; font-weight: 600;
  color: #fff; padding: 6px 14px; border-radius: 6px;
  background: linear-gradient(135deg, #6C63FF, #3B4BDB);
  border: none; opacity: 0; transition: opacity 0.3s ease;
  box-shadow: 0 4px 16px rgba(108,99,255,0.35);
}
.aviz-progress-bar {
  height: 3px; background: rgba(255,255,255,0.07);
  flex-shrink: 0; display: none; overflow: hidden;
}
.aviz-progress-fill {
  height: 100%; width: 0%; border-radius: 2px;
  background: linear-gradient(90deg, #6C63FF, #3B4BDB);
  animation: progress-fill 0.9s ease forwards;
}
@keyframes progress-fill { from { width: 0%; } to { width: 100%; } }
.aviz-posted {
  display: none; align-items: center; justify-content: center; gap: 6px;
  font-size: 11px; font-weight: 500; color: var(--success);
  padding: 8px 16px; flex-shrink: 0;
  background: rgba(62,207,142,0.05); border-top: 1px solid rgba(62,207,142,0.15);
}
.aviz-posted.show { display: flex; }
.viz-labels {
  display: flex; border-top: 1px solid var(--border);
}
.viz-label {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 11px; font-weight: 500; color: var(--t4);
  padding: 11px 8px; text-align: center;
  border-right: 1px solid var(--border);
  transition: color 0.3s;
}
.viz-label:last-child { border-right: none; }
.viz-label.active { color: var(--t2); }
.viz-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.12); flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.viz-dot.on {
  background: var(--purple);
  box-shadow: 0 0 6px rgba(108,99,255,0.7);
}
.divider { border: none; border-top: 1px solid var(--border); margin-bottom: 40px; }
.faq-eyebrow {
  font-family: var(--fd); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--t3); margin-bottom: 8px;
}
details { border-top: 1px solid var(--border); }
details:last-child { border-bottom: 1px solid var(--border); }
summary {
  list-style: none; cursor: pointer; user-select: none;
  padding: 16px 0;
  font-family: var(--fd); font-size: 14px; font-weight: 600; color: var(--t2);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: color 0.15s;
}
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--t1); }
details[open] summary { color: var(--t1); }
.chev {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--t4); transition: transform 0.2s;
}
details[open] .chev { transform: rotate(180deg); }
.faq-ans {
  font-size: 13px; color: var(--t3); line-height: 1.75;
  padding-bottom: 16px;
}
footer {
  position: relative; z-index: 1;
  max-width: 580px; margin: 0 auto;
  padding: 24px 28px 44px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--t3);
  font-family: var(--fd); font-size: 13px; font-weight: 600;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 12px; color: var(--t4); text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--t3); }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shake {
  0%,100%{ transform:translateX(0); }
  25%    { transform:translateX(-4px); }
  75%    { transform:translateX(4px); }
}
@media (max-width: 560px) {
  nav { padding: 0 20px; }
  main { padding: 104px 20px 64px; }
  h1 { letter-spacing: -1.2px; }
  .subhead { font-size: 15px; }
  .form-row { flex-direction: column; gap: 6px; }
  .btn-join { width: 100%; padding: 12px; }
  .aviz-profile-stats { grid-template-columns: repeat(2, 1fr); }
  .aviz-panels { height: 320px; }
  footer { padding: 20px 20px 40px; flex-direction: column; align-items: flex-start; }
}
