/* BountyOS landing — componentes específicos */

.bo-hero {
  text-align: center;
  padding: 120px 24px 48px;
  max-width: 920px;
  margin: 0 auto;
}

.bo-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.bo-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bo-platform-badge strong {
  color: var(--text-main);
}

.bo-integrations {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.bo-integration-pill {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bo-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 32px auto 0;
}

.bo-metric {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 157, 0.15);
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
}

.bo-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bo-metric-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.bo-score-demo {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  text-align: left;
  max-width: 640px;
  margin: 28px auto 0;
  color: #94a3b8;
  line-height: 1.7;
  min-height: 120px;
  position: relative;
}

.bo-score-demo .ok { color: #00ff9d; }
.bo-score-demo .hi { color: #00ccff; }
.bo-score-demo .warn { color: #fbbf24; }
.bo-score-demo .dim { color: #64748b; }

.bo-score-demo.is-fading {
  opacity: 0.35;
  transition: opacity 0.35s ease;
}

.bo-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff9d;
  margin-right: 6px;
  animation: bo-pulse 1.5s ease infinite;
}

@keyframes bo-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.bo-dashboard-preview {
  max-width: 900px;
  margin: 48px auto 0;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 157, 0.25);
  background: rgba(0, 0, 0, 0.45);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.bo-dash-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.bo-dash-title {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bo-dash-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bo-dash-filter {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

.bo-dash-filter.is-active {
  border-color: rgba(0, 255, 157, 0.5);
  color: #00ff9d;
  background: rgba(0, 255, 157, 0.08);
}

.bo-dash-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.bo-dash-row:last-child { border-bottom: none; }

.bo-dash-score {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.78rem;
}

.bo-dash-score.work { color: #00ff9d; }
.bo-dash-score.sniper { color: #00ccff; }
.bo-dash-score.watch { color: #fbbf24; }

.bo-dash-meta {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 2px;
}

.bo-dash-amount {
  color: #00ff9d;
  font-weight: 600;
  white-space: nowrap;
}

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

.bo-score-tier {
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-score-tier.work {
  border-color: rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.06);
}

.bo-score-tier.watch {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.06);
}

.bo-score-tier.skip {
  border-color: rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.05);
}

.bo-score-tier strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.bo-rules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bo-rules-list li {
  list-style: none;
  padding-left: 0;
}

.bo-rules-list .pos { color: #00ff9d; }
.bo-rules-list .neg { color: #f87171; }

.bo-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 16px;
}

.bo-compare-table th,
.bo-compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.bo-compare-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.82rem;
}

.bo-compare-table .bo-win {
  color: #00ff9d;
}

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

.bo-testimonial {
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.bo-testimonial blockquote {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 12px;
}

.bo-testimonial cite {
  font-size: 0.78rem;
  color: var(--text-main);
  font-style: normal;
}

.bo-roadmap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.bo-roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bo-roadmap-item.is-done {
  border-color: rgba(0, 255, 157, 0.25);
  background: rgba(0, 255, 157, 0.04);
}

.bo-roadmap-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bo-pricing {
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.06);
  border-radius: 16px;
  padding: 28px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.bo-pricing .price {
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bo-spots-urgency {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
}

.bo-lead-magnet {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 16px;
}

.bo-lead-magnet .field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bo-lead-magnet label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bo-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bo-form-field label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bo-form-field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
}

.bo-form-field input:focus {
  outline: 2px solid rgba(0, 255, 157, 0.4);
  outline-offset: 1px;
}

.bo-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.bo-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.bo-faq-item summary {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bo-faq-item summary::-webkit-details-marker { display: none; }

.bo-faq-item summary::after {
  content: '+';
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.bo-faq-item[open] summary::after { content: '−'; }

.bo-faq-item .bo-faq-answer {
  padding: 0 16px 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.bo-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.bo-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.bo-footer-links a {
  color: var(--neon-blue);
  text-decoration: none;
}

.bo-footer-links a:hover { text-decoration: underline; }

.bo-nav-brand .logo-icon {
  background: linear-gradient(135deg, #00ff9d, #00ccff);
  color: #0b1220;
  font-weight: 800;
}

.bo-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 20px;
  background: rgba(11, 18, 32, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bo-cookie-banner.is-visible { display: flex; }

.bo-cookie-banner a { color: var(--neon-blue); }

.bo-cookie-actions {
  display: flex;
  gap: 8px;
}

.bo-cookie-actions button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.bo-cookie-actions .accept {
  background: linear-gradient(135deg, #00ff9d, #00ccff);
  color: #0b1220;
  border: none;
  font-weight: 600;
}

.form-status.success { color: #00ff9d; }
.form-status.error { color: #f87171; }

.bo-aurora-deferred .blob { animation: none !important; opacity: 0; }
.bo-aurora-active .blob { opacity: 1; transition: opacity 0.6s ease; }

@media (prefers-reduced-motion: reduce) {
  .aurora-bg .blob, .bo-live-dot, .bo-score-demo { animation: none !important; }
}

.bo-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.bo-pricing-card {
  border: 1px solid rgba(0, 255, 157, 0.35);
  background: rgba(0, 255, 157, 0.06);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
}

.bo-pricing-card.annual {
  border-color: rgba(0, 204, 255, 0.35);
  background: rgba(0, 204, 255, 0.05);
}

.bo-pricing-card .price {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bo-pricing-save {
  display: inline-block;
  font-size: 0.78rem;
  color: #00ff9d;
  margin-top: 6px;
}

.bo-scanner-preview {
  max-width: 640px;
  margin: 32px auto 0;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 157, 0.2);
  background: rgba(0, 0, 0, 0.4);
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: #94a3b8;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bo-scanner-preview::before {
  content: '>';
  color: #00ff9d;
}

.bo-discord-section {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.bo-discord-widget {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 320px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bo-testimonial a {
  color: var(--neon-blue);
  font-size: 0.78rem;
  text-decoration: none;
}

.bo-testimonial a:hover { text-decoration: underline; }

.bo-changelog-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.bo-changelog-item {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.bo-changelog-item time {
  color: var(--text-muted);
  font-size: 0.78rem;
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .bo-pricing-grid { grid-template-columns: 1fr; }
}

/* Demo page */
.bo-demo-notice {
  text-align: center;
  padding: 10px 16px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 10px;
  font-size: 0.85rem;
  color: #fbbf24;
  margin-bottom: 24px;
}

.bo-demo-cta-bar {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .bo-metrics { grid-template-columns: 1fr; }
  .bo-scoring-grid { grid-template-columns: 1fr; }
  .bo-rules-list { grid-template-columns: 1fr; }
  .bo-testimonials { grid-template-columns: 1fr; }
  .bo-lead-magnet { grid-template-columns: 1fr; }
  .bo-dash-row { grid-template-columns: 60px 1fr; }
  .bo-dash-amount { grid-column: 2; }
}

/* Tema claro PWA */
html[data-theme="light"] body.page-servicios {
  --text-muted: rgba(15, 23, 42, 0.65);
  color: #0f172a;
  background: #f8fafc;
}
html[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .bento-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.1);
}
html[data-theme="light"] .bo-dash-header {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}
html[data-theme="light"] .aurora-bg { opacity: 0.35; }
html[data-theme="light"] .bo-metric-value { color: #059669; }

.bo-radar-history canvas {
  width: 100% !important;
  max-height: 140px;
}

.bo-webhook-log {
  font-size: 0.78rem;
  width: 100%;
  border-collapse: collapse;
}
.bo-webhook-log td, .bo-webhook-log th {
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.bo-webhook-log .status-delivered { color: #00ff9d; }
.bo-webhook-log .status-failed { color: #ff6b6b; }
.bo-webhook-log .status-pending { color: #ffd166; }

.bo-feed-new td {
  background: rgba(56, 189, 248, 0.08);
}
.bo-feed-new .bo-score::before {
  content: '+ ';
  color: var(--neon-blue, #38bdf8);
  font-weight: 700;
}

.bo-guest-diff {
  font-size: 0.78rem;
  color: var(--neon-blue, #38bdf8);
  margin-top: 6px;
  font-weight: 600;
}
.bo-dash-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
