/* RESET Y BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: #0f172a;
  color: #f8fafc;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAVEGACIÓN */
.navbar {
  padding: 20px 0;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: #6366f1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-menu a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-menu a:hover {
  color: #fff;
}

/* SELECTOR DE IDIOMA */
.lang-switch {
  display: flex;
  align-items: center;
  background-color: #1e293b;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #334155;
}

.lang-btn {
  background: none;
  border: none;
  color: #64748b;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
  transition: color 0.2s ease;
}

.lang-btn:hover {
  color: #cbd5e1;
}

.lang-btn.active {
  color: #6366f1;
  font-weight: 800;
}

.lang-divider {
  color: #334155;
  font-size: 0.8rem;
  user-select: none;
}

/* BOTONES */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #6366f1;
  color: #fff;
}

.btn-primary:hover {
  background-color: #4f46e5;
}

.btn-secondary {
  background-color: #1e293b;
  color: #e2e8f0;
  border: 1px solid #334155;
}

.btn-secondary:hover {
  background-color: #334155;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* HERO SECTION */
.hero {
  padding: 90px 0 60px;
  text-align: center;
}

.badge {
  background-color: rgba(99, 102, 241, 0.1);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 24px 0;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: 1.15rem;
  color: #94a3b8;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.9rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

/* SECCIÓN DE PRECIOS */
.pricing-section {
  padding: 80px 0;
  border-top: 1px solid #1e293b;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border: 2px solid #6366f1;
  background: linear-gradient(180deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #6366f1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.card-header p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.price-range {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.currency {
  font-size: 1rem;
  color: #818cf8;
}

.maintenance-tag {
  font-size: 0.85rem;
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.1);
  padding: 6px 10px;
  border-radius: 6px;
  margin: 12px 0 20px;
  display: inline-block;
  font-weight: 500;
}

.features-list {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.features-list li {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
}

/* MODAL Y FORMULARIO */
.modal {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #1e293b;
  padding: 32px;
  border-radius: 16px;
  max-width: 460px;
  width: 90%;
  position: relative;
  border: 1px solid #334155;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #94a3b8;
}

.form-group {
  margin-top: 14px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-group input, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #334155;
  background-color: #0f172a;
  color: #fff;
  font-size: 0.95rem;
}