/* =====================
   LAUNCHONCLAW — STYLES
   ===================== */
:root {
  --bg:         #0b0d0b;
  --bg-card:    #111411;
  --bg-section: #0f120f;
  --green:      #7cba3c;
  --green-dim:  #4a7a1e;
  --green-glow: rgba(124, 186, 60, 0.15);
  --green-10:   rgba(124, 186, 60, 0.10);
  --text:       #d4e8c8;
  --text-muted: #5a7050;
  --border:     rgba(124, 186, 60, 0.12);
  --border-md:  rgba(124, 186, 60, 0.22);
  --white:      #eef5e8;
  --font:       'Inter', sans-serif;
  --mono:       'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* subtle noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

* { position: relative; z-index: 1; }
a { text-decoration: none; color: inherit; }
.green { color: var(--green); }
.white { color: var(--white); }
.dim   { color: var(--text-muted); }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.3rem;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-green {
  background: var(--green);
  color: #0b0d0b;
  border-color: var(--green);
}
.btn-green:hover {
  background: #8fd44a;
  box-shadow: 0 0 20px rgba(124,186,60,0.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-md);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-sm  { padding: 0.45rem 1rem; font-size: 0.78rem; }
.btn-lg  { padding: 0.85rem 1.75rem; font-size: 0.95rem; }

/* =====================
   NAV
   ===================== */
.nav {
  position: sticky;
  top: 0; z-index: 200;
  background: rgba(11,13,11,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo-img { width: 28px; height: 28px; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.nav-links a:not(.btn) { transition: color 0.15s; }
.nav-links a:not(.btn):hover { color: var(--white); }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  padding: 5rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(124,186,60,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green-10);
  border: 1px solid var(--border-md);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }

.hero-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(124,186,60,0.5));
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)} }

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
}
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

/* =====================
   TERMINAL
   ===================== */
.terminal {
  background: #050705;
  border: 1px solid var(--border-md);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,186,60,0.05);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: #0d0f0d;
  border-bottom: 1px solid var(--border);
}
.t-dots { display: flex; gap: 5px; }
.td-red    { width: 10px;height:10px;border-radius:50%;background:#ff5f57; }
.td-yellow { width: 10px;height:10px;border-radius:50%;background:#ffbd2e; }
.td-green  { width: 10px;height:10px;border-radius:50%;background:#28c840; }
.terminal-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin: 0 auto;
}
.t-controls { font-size: 0.65rem; color: #333; letter-spacing: 0.1em; }

.terminal-body {
  padding: 1.1rem 1.25rem;
  font-size: 0.78rem;
  line-height: 1.7;
}

.hero-terminal {
  width: 100%;
  max-width: 620px;
  text-align: left;
}
.qs-terminal { width: 100%; text-align: left; }

/* Terminal line types */
.tl      { color: var(--text); }
.tp      { color: var(--green); }         /* prompt */
.tc      { color: #c8e890; cursor:pointer; transition:color 0.15s; }
.tc:hover{ color: var(--white); text-decoration: underline; }
.to      { color: var(--text-muted); }    /* output */
.ok      { color: var(--green); }         /* success */
.green-t { color: var(--green); }
.dim     { color: #333; }
.cursor-blink {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--green);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0} }

.qs-note {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}
.stats-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-val {
  display: block;
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.72rem; color: var(--text-muted); }
.stat-div { width: 1px; height: 36px; background: var(--border); }

/* =====================
   SECTIONS
   ===================== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* =====================
   FEATURES
   ===================== */
.features { padding: 5rem 2rem; background: var(--bg-section); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.feat-card:hover {
  border-color: var(--green-dim);
  box-shadow: 0 4px 20px rgba(124,186,60,0.08);
}
.feat-card--highlight {
  border-color: var(--green-dim);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124,186,60,0.04) 100%);
}
.feat-icon {
  width: 40px; height: 40px;
  background: var(--green-10);
  border: 1px solid var(--border-md);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.feat-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}
.feat-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.feat-code {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
}

/* =====================
   QUICK START
   ===================== */
.quickstart { padding: 5rem 2rem; background: var(--bg); }

/* =====================
   X LAUNCH
   ===================== */
.x-launch { padding: 5rem 2rem; background: var(--bg-section); }

.x-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 440px;
  margin: 2.5rem auto;
}
.x-reply-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
}
.x-tweet {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.x-tweet--reply  { border-color: rgba(124,186,60,0.35); }
.x-tweet--agent  { border-color: var(--green); box-shadow: 0 0 20px rgba(124,186,60,0.1); }

.x-tweet-header { display: flex; align-items: center; gap: 0.65rem; }
.x-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #1a2a1a;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; overflow: hidden; flex-shrink: 0;
}
.x-avatar--you   { background: #1a2a0a; border-color: var(--green-dim); }
.x-avatar--agent { background: #0a1a0a; border-color: var(--green); box-shadow: 0 0 8px rgba(124,186,60,0.3); }
.x-name  { font-size: 0.82rem; font-weight: 700; color: var(--white); }
.x-handle { font-size: 0.75rem; color: var(--text-muted); }
.x-body  { font-size: 0.85rem; color: var(--text); line-height: 1.6; }
.x-mention { color: #5bb8f5; }
.x-ticker  { color: var(--green); font-weight: 700; font-family: var(--mono); }
.x-footer  { font-size: 0.7rem; color: var(--text-muted); }
.x-link    { color: var(--green); }
.agent-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--green-10);
  border: 1px solid var(--green-dim);
  color: var(--green);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.x-format-box {
  max-width: 440px;
  margin: 0 auto;
  background: #050705;
  border: 1px solid var(--border-md);
  border-radius: 8px;
  overflow: hidden;
}
.x-format-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.x-format-code {
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.8;
  padding: 1rem;
}

/* =====================
   COMPARE
   ===================== */
.compare { padding: 5rem 2rem; background: var(--bg); }
.compare-table {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.compare-header, .compare-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
}
.compare-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}
.compare-col-head {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
}
.compare-row {
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.12s;
}
.compare-row:last-child { border-bottom: none; }
.compare-row:hover { background: rgba(124,186,60,0.02); }
.compare-feature { font-size: 0.85rem; color: var(--text); font-weight: 500; }
.compare-no  { font-size: 0.82rem; color: var(--text-muted); text-align: center; }
.compare-yes { font-size: 0.82rem; color: var(--green); text-align: center; font-weight: 600; }

/* =====================
   CTA
   ===================== */
.cta-section { padding: 5rem 2rem; background: var(--bg-section); border-top: 1px solid var(--border); }
.cta-inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.cta-logo {
  width: 60px; height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(124,186,60,0.4));
}
.cta-inner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.cta-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.cta-btns { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }
.cta-follow { font-size: 0.78rem; color: var(--text-muted); }

/* =====================
   FOOTER
   ===================== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
}
.footer-sub { font-size: 0.8rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 0.7rem; color: #2a3a2a; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-inner { gap: 1.5rem; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .compare-header, .compare-row { grid-template-columns: 1.5fr 1fr 1fr; }
  .stats-bar-inner { gap: 1rem; }
  .stat-div { display: none; }
}
