/* ==============================
   Licitabot — Estilos Específicos
   ============================== */

/* Status badge MVP */
.status-badge.mvp {
  background: #052e16;
  color: #4ade80;
}

/* Metrics grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

.metric-card {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1.25rem 0.75rem;
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: #71717a;
  margin-top: 0.25rem;
}

/* Section titles */
.section-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #f4f4f5 !important;
  margin-bottom: 1.25rem !important;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #27272a;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 10px;
  transition: border-color 0.2s;
}

.feature-item:hover {
  border-color: #a78bfa;
}

.feature-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: #f4f4f5;
  margin-bottom: 0.15rem;
}

.feature-item span {
  font-size: 0.8rem;
  color: #71717a;
}

/* Architecture grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.arch-card {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1.25rem;
}

.arch-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #a78bfa;
  margin-bottom: 0.75rem;
}

.arch-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arch-card li {
  font-size: 0.85rem;
  color: #a1a1aa;
  padding: 0.3rem 0;
  border-bottom: 1px solid #18181b;
}

.arch-card li:last-child {
  border-bottom: none;
}

/* Flow diagram */
.flow-section {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.flow-section h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f4f4f5;
  margin-bottom: 1rem;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.flow-step {
  background: #1c1c1f;
  border: 1px solid #3f3f46;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #d4d4d8;
}

.flow-arrow {
  color: #52525b;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Roadmap / suggestion blocks */
.roadmap-block {
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid #27272a;
  overflow: hidden;
}

.roadmap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #141416;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  list-style: none;
}

.roadmap-header::-webkit-details-marker {
  display: none;
}

.roadmap-header:hover {
  background: #1a1a1d;
}

.roadmap-category {
  font-weight: 700;
  font-size: 0.95rem;
}

.roadmap-category.ux { color: #a78bfa; }
.roadmap-category.security { color: #f87171; }
.roadmap-category.marketing { color: #fbbf24; }

.roadmap-count {
  font-size: 0.75rem;
  color: #71717a;
  background: #1c1c1f;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.roadmap-body {
  padding: 0.5rem 1.25rem 1rem;
  background: #0f0f11;
}

/* Suggestions table */
.suggestion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.suggestion-table thead th {
  text-align: left;
  color: #52525b;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid #27272a;
}

.suggestion-table tbody td {
  padding: 0.65rem 0.5rem;
  color: #a1a1aa;
  border-bottom: 1px solid #18181b;
  vertical-align: top;
}

.suggestion-table tbody tr:last-child td {
  border-bottom: none;
}

.suggestion-table tbody tr:hover {
  background: #141416;
}

.suggestion-desc {
  font-size: 0.78rem;
  color: #71717a;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag.green {
  background: #052e16;
  color: #4ade80;
}

.tag.yellow {
  background: #1c1917;
  color: #fbbf24;
}

.tag.red {
  background: #1c1017;
  color: #f87171;
}

.tag.gray {
  background: #1c1c1f;
  color: #71717a;
}

/* Tech stack list */
.tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 8px;
}

.tech-layer {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #a78bfa;
  min-width: 80px;
}

.tech-detail {
  font-size: 0.83rem;
  color: #a1a1aa;
}

/* Gaps / backlog list */
.gaps-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gap-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 10px;
}

.gap-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.gap-item strong {
  display: block;
  font-size: 0.85rem;
  color: #f4f4f5;
  margin-bottom: 0.1rem;
}

.gap-item span {
  font-size: 0.78rem;
  color: #71717a;
}

/* Pricing mini */
.pricing-section {
  margin: 2.5rem 0;
}

.pricing-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pricing-mini-card {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 1.25rem;
  position: relative;
  text-align: center;
}

.pricing-mini-card.popular {
  border-color: #a78bfa;
  box-shadow: 0 0 0 1px #a78bfa33;
}

.popular-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
}

.pricing-mini-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f4f4f5;
  margin-bottom: 0.5rem;
}

.pricing-mini-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a78bfa;
  margin-bottom: 0.75rem;
}

.pricing-mini-card .price small {
  font-size: 0.7rem;
  color: #71717a;
  font-weight: 400;
}

.pricing-mini-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-mini-card li {
  font-size: 0.78rem;
  color: #a1a1aa;
  padding: 0.3rem 0;
  border-bottom: 1px solid #18181b;
}

.pricing-mini-card li:last-child {
  border-bottom: none;
}

/* Outline button */
.btn-outline {
  background: transparent;
  border: 1px solid #3f3f46;
  color: #d4d4d8;
}

.btn-outline:hover {
  border-color: #a78bfa;
  color: #a78bfa;
  opacity: 1;
}

/* Responsive */
@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .gaps-list {
    grid-template-columns: 1fr;
  }

  .pricing-mini-grid {
    grid-template-columns: 1fr;
  }

  .suggestion-table {
    font-size: 0.78rem;
  }

  .suggestion-table thead th:nth-child(3),
  .suggestion-table thead th:nth-child(4),
  .suggestion-table tbody td:nth-child(3),
  .suggestion-table tbody td:nth-child(4) {
    display: none;
  }
}
