/* Pharma Discovery - Product-specific styles
   Extends the main Slento Systems stylesheet */

/* ---- Variables (supplement main theme) ---- */
:root {
  --accent-pharma: #8b5cf6;
  --accent-pharma-dim: rgba(139, 92, 246, 0.15);
  --accent-green: #10b981;
  --accent-green-dim: rgba(16, 185, 129, 0.15);
}

/* ---- Badge ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge--pharma {
  background: var(--accent-pharma-dim);
  color: var(--accent-pharma);
}
.badge--green {
  background: var(--accent-green-dim);
  color: var(--accent-green);
}

/* ---- Feature List ---- */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.feature-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-secondary, #b0b0c0);
}
.feature-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-pharma);
  font-weight: 700;
}

/* ---- Two-col layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Pricing Card ---- */
.pricing-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pricing-card .feature-list {
  flex: 1;
}
.card-featured {
  border: 2px solid rgba(139, 92, 246, 0.4);
  position: relative;
}

/* ---- Hero actions ---- */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary, #0d0d1a) 0%, rgba(139, 92, 246, 0.08) 100%);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 32px; color: var(--text-secondary, #b0b0c0); }

/* ---- Docs ---- */
.docs-container { max-width: 900px; margin: 0 auto; }
.docs-section { margin-bottom: 48px; }
.docs-section h2 { margin-bottom: 12px; }

.code-block {
  background: var(--bg-secondary, #161625);
  padding: 20px 24px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0;
  border: 1px solid var(--border, #2a2a3a);
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.docs-table th,
.docs-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border, #2a2a3a);
}
.docs-table th {
  font-weight: 600;
  background: var(--bg-secondary, #161625);
}
.docs-table code {
  background: rgba(139, 92, 246, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--border, #2a2a3a);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.faq-question:hover { color: var(--accent-pharma); }
.faq-question .arrow {
  font-size: 10px;
  transition: transform 0.2s;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  padding: 0 0 16px;
  color: var(--text-secondary, #b0b0c0);
  font-size: 14px;
  line-height: 1.6;
}

/* ---- Nav brand override ---- */
.nav-brand .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-pharma);
  color: #fff;
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  margin-right: 8px;
}
.btn-nav {
  background: var(--accent-pharma) !important;
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* ---- Grid helpers ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.mt-3 { margin-top: 16px; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent-pharma), #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Pipeline visualization ---- */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.pipeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border, #2a2a3a);
  z-index: 0;
}
.pipeline-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.pipeline-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-pharma);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.pipeline-step h4 {
  margin-bottom: 8px;
  font-size: 16px;
}
.pipeline-step p {
  font-size: 13px;
  color: var(--text-secondary, #b0b0c0);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .pipeline { grid-template-columns: 1fr; }
  .pipeline::before { display: none; }
}
