/* Pos Para Emprendedores — Landing page styles
   Inspirado en adidecostarica.com: oscuro, profesional, acento esmeralda */

:root {
  --brand-400: #34d399;
  --brand-500: #10b981;
  --brand-600: #059669;
}

* {
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #020617;
}

/* Trust pills */
.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.trust-pill:hover {
  border-color: rgba(16, 185, 129, 0.4);
  color: #e2e8f0;
}

/* Benefit cards */
.benefit-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.benefit-card:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(16, 185, 129, 0.3);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Feature cards */
.feature-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.feature-card:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(16, 185, 129, 0.25);
  transform: translateY(-2px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Steps */
.step-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.2s ease;
}

.step-card:hover {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(16, 185, 129, 0.25);
}

.step-number {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #020617;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
}

/* Pricing */
.pricing-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(16, 185, 129, 0.3);
}

.pricing-card.featured {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 40px -12px rgba(16, 185, 129, 0.15);
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.pricing-feature::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2310b981' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #020617;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.8);
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(16, 185, 129, 0.4);
  color: #ffffff;
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* FAQ */
.faq-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 0.875rem;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(51, 65, 85, 0.8);
}

.faq-item summary {
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item[open] {
  border-color: rgba(16, 185, 129, 0.25);
}

.faq-item p {
  margin-top: 0.875rem;
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* CTA */
.cta-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
  box-shadow: 0 20px 60px -20px rgba(16, 185, 129, 0.15);
}

/* Focus visible */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
