/* Landing pública de chalan.bot - Estilos compartidos */

:root {
  --navy: #0B1F3A;
  --teal: #14B8A6;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navegación */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.lang-selector {
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
}

.lang-selector:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: #0F9C8F;
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* Hero */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-steps {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.hero-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Secciones */
section {
  padding: 4rem 0;
}

section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--navy);
}

section .section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid de características */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  border: 1px solid var(--gray-200);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.feature-card p {
  color: var(--gray-600);
}

/* Sección oscura */
.dark-section {
  background: var(--navy);
  color: var(--white);
}

.dark-section h2,
.dark-section h3 {
  color: var(--white);
}

.dark-section .section-subtitle,
.dark-section p {
  color: var(--gray-200);
}

/* Planes */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: var(--white);
  border-radius: 1rem;
  border: 2px solid var(--gray-200);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.price-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
  border-color: var(--teal);
  position: relative;
}

.price-card .plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.price-card .plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.price-card .plan-price .currency {
  font-size: 1.25rem;
  font-weight: 400;
}

.price-card .plan-period {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.price-card .plan-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  min-height: 3rem;
}

.price-card .plan-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.price-card .plan-features li {
  padding: 0.5rem 0;
  color: var(--gray-700);
}

.price-card .plan-features li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 2rem auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-item h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

.faq-item p {
  color: var(--gray-700);
  line-height: 1.6;
}

/* CTA final */
.cta-final {
  text-align: center;
  padding: 4rem 0;
  background: var(--gray-50);
}

.cta-final h2 {
  margin-bottom: 1.5rem;
}

.cta-final .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: var(--navy);
  color: var(--gray-200);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-200);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

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

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

  .nav-links {
    display: none;
  }
}

/* Accesibilidad */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Estilos de skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--teal);
  color: var(--white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}
