/* ============================================================
   landing.css — Estilos 100% MODO CLARO (Light Mode) para Kontroly
   ============================================================ */

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Orbes Decorativos */
.bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1000px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.12));
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18), rgba(99, 102, 241, 0.08));
  top: 400px;
  right: -80px;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.08));
  top: 750px;
  left: -100px;
}

/* Header & Navegación */
header.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  z-index: 1000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 40px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

.landing-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.landing-header .logo-icon {
  font-size: 1.7rem;
}

.landing-header .logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a !important;
  letter-spacing: -0.02em;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #475569 !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #4f46e5 !important;
}

/* Botones */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 12px 26px !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  border: none !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.btn-sm {
  padding: 8px 18px !important;
  font-size: 0.88rem !important;
}

.btn-lg {
  padding: 14px 32px !important;
  font-size: 1.05rem !important;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.45) !important;
}

.btn-secondary {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #4f46e5 !important;
  transform: translateY(-1px) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 20px 60px;
  text-align: center;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-tag {
  background: #eef2ff !important;
  border: 1px solid #c7d2fe !important;
  color: #4f46e5 !important;
  padding: 6px 18px !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  display: inline-block !important;
}

.hero-title {
  font-size: 3.4rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.hero-title span {
  color: #4f46e5 !important;
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.hero-subtitle {
  font-size: 1.18rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero UI Mockup Card */
.hero-mockup-wrapper {
  margin: 40px auto 0;
  width: 100%;
  max-width: 840px;
}

.hero-mockup-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  padding: 24px !important;
  text-align: left !important;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.mockup-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.mockup-stat-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 16px !important;
}

.mockup-stat-card label {
  font-size: 0.78rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  display: block;
}

.mockup-stat-card h3 {
  font-size: 1.35rem !important;
  margin: 4px 0 2px !important;
  font-weight: 800 !important;
}

/* Features Section */
.features-section {
  padding: 90px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-center h2 {
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em;
}

.section-title-center p {
  font-size: 1.1rem !important;
  color: #64748b !important;
  margin-top: 8px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.feature-card:hover {
  transform: translateY(-4px) !important;
  border-color: #c7d2fe !important;
  box-shadow: 0 12px 28px -6px rgba(79, 70, 229, 0.12) !important;
}

.feature-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.feature-card p {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}

/* Planes / Precios */
.pricing-section {
  padding: 90px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.pricing-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 36px 28px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

.pricing-card.popular {
  background: #ffffff !important;
  border: 2px solid #4f46e5 !important;
  box-shadow: 0 16px 36px -10px rgba(79, 70, 229, 0.18) !important;
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pricing-title {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.pricing-price {
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 14px 0;
}

.pricing-price span {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pricing-features li {
  font-size: 0.92rem !important;
  color: #334155 !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: #10b981;
  font-weight: 800;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  margin-bottom: 16px !important;
  padding: 22px 24px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02) !important;
}

.faq-question {
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
}

.faq-answer {
  font-size: 0.92rem !important;
  color: #475569 !important;
  line-height: 1.55 !important;
}

/* CTA Banner */
.cta-banner {
  margin: 50px 20px 80px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
  border-radius: 24px !important;
  padding: 60px 30px !important;
  text-align: center !important;
  color: #ffffff !important;
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.3) !important;
}

.cta-banner h2 {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
  color: #ffffff !important;
}

.cta-banner p {
  font-size: 1.15rem !important;
  opacity: 0.95 !important;
  max-width: 580px !important;
  margin: 0 auto 28px !important;
  color: #ffffff !important;
}

/* Footer */
.landing-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 36px 20px !important;
  text-align: center !important;
  color: #64748b !important;
  font-size: 0.88rem !important;
}

/* Modal Auth */
.modal-overlay[hidden] {
  display: none !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(8px) !important;
  z-index: 2000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#auth-modal .modal {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25) !important;
  border-radius: 22px !important;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

#auth-modal .auth-tabs {
  display: flex;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 3px !important;
  margin-bottom: 18px;
}

#auth-modal .auth-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: none;
  color: #64748b !important;
  border-radius: 9px !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
  cursor: pointer;
}

#auth-modal .auth-tab-btn.active {
  background: #ffffff !important;
  color: #4f46e5 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

#auth-modal .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  text-align: left;
}

#auth-modal label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155 !important;
}

#auth-modal input.input {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  outline: none;
  width: 100%;
}

#auth-modal input.input:focus {
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

#auth-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #94a3b8;
  cursor: pointer;
}

/* Responsivo */
@media (max-width: 768px) {
  header.landing-header {
    padding: 0 20px !important;
  }
  .hero-title {
    font-size: 2.3rem !important;
  }
  .features-section,
  .pricing-section,
  .faq-section {
    padding: 60px 20px !important;
  }
}
