/* gooi.io — Bots-specific styles */
/* Extends /css/style.css design tokens */

/* ================================
   Bots Container (slightly wider)
   ================================ */

.bots-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================================
   Hero
   ================================ */

.bots-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.bots-hero .logo-img {
  margin: 0 auto 0.5rem;
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.bots-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bots-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

.bots-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--accent-glow);
  border: 1px solid var(--accent-glow);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent-hover);
  margin-top: 1.25rem;
}

.bots-badge svg {
  width: 14px;
  height: 14px;
}

/* ================================
   Quick Start
   ================================ */

.quickstart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.quickstart::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.quickstart h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.quickstart pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text);
}

.quickstart pre .comment { color: var(--text-muted); }
.quickstart pre .output { color: var(--success); }
.quickstart pre .prompt { color: var(--accent-hover); user-select: none; }

/* ================================
   Steps
   ================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover {
  border-color: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px -8px var(--accent-glow);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent-hover);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.step code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  background: var(--bg);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ================================
   Section
   ================================ */

.bots-section {
  margin-bottom: 3rem;
}

.bots-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.bots-section h2 svg {
  width: 20px;
  height: 20px;
  vertical-align: -3px;
  margin-right: 0.4rem;
  color: var(--accent-hover);
}

/* ================================
   Bot Instructions
   ================================ */

.bot-instructions {
  background: var(--surface);
  border: 1px solid var(--secondary-glow);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.bot-instructions::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-progress);
}

.bot-instructions h2 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.bot-instructions .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.bot-instructions pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--text);
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* ================================
   Requirements Grid
   ================================ */

.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.req {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.req-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.req-text {
  font-size: 0.88rem;
  font-weight: 500;
}

.req-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ================================
   Encryption Details
   ================================ */

.encryption-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.encryption-box p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.encryption-box pre {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  overflow-x: auto;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 600px) {
  .bots-container {
    padding: 2rem 1rem;
  }

  .bots-hero h1 {
    font-size: 1.8rem;
  }

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

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