/* ==========================================================
   AI AGENTS PAGE — Styles specific to ai-agents.html
   Extends the terminal design system from terminal.css
   ========================================================== */

/* --- Reusable sub text --- */
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.6;
}

/* ==========================================================
   PAIN LIST — Simple rows with X markers
   ========================================================== */
.agents-pain {
  position: relative;
  padding: 120px 24px;
  z-index: 2;
}

.pain-list {
  max-width: 720px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent-coral);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s ease;
}

.pain-row:hover {
  border-color: var(--accent-coral);
  box-shadow: 0 0 20px rgba(224, 108, 117, 0.06);
}

.pain-marker {
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.pain-row p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================
   QUOTE TICKER — Infinite horizontal scroll
   ========================================================== */
.agents-quotes {
  position: relative;
  padding: 120px 0;
  z-index: 2;
  overflow: hidden;
}

.agents-quotes .container {
  padding: 0 24px;
}

.quote-ticker {
  margin-top: 56px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.quote-ticker-track {
  display: flex;
  gap: 20px;
  animation: ticker-scroll 50s linear infinite;
  width: max-content;
}

.quote-ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.qt-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s ease;
}

.qt-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-md);
}

.qt-phase {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.qt-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.qt-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.qt-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================
   AGENT EXAMPLES — 3x2 terminal grid
   ========================================================== */
.agent-examples {
  position: relative;
  padding: 120px 24px;
  z-index: 2;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.example-card .terminal {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.example-body {
  padding: 24px 22px;
  flex: 1;
}

.example-body h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.example-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================
   VALUE PROPS — 2-column card grid
   ========================================================== */
.value-section {
  position: relative;
  padding: 120px 24px;
  z-index: 2;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.35s ease;
}

.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-md);
  transform: translateY(-2px);
}

.value-card-full {
  grid-column: 1 / -1;
  max-width: calc(50% - 10px);
  margin: 0 auto;
}

.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-blue-dim);
  border-radius: 10px;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.value-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.value-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .examples-grid { grid-template-columns: 1fr 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card-full { max-width: 100%; }
}

@media (max-width: 768px) {
  .agents-pain,
  .agents-quotes,
  .agent-examples,
  .value-section { padding: 80px 20px; }

  .agents-quotes { padding: 80px 0; }

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

  .pain-row { padding: 14px 18px; }
  .qt-card { width: 280px; padding: 22px 18px; }
}
