/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #0f111a;
  color: #f1f5f9;
  line-height: 1.6;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: #111827;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 26px;
  font-weight: bold;
  color: #00ff7f;
}

/* FIX IMPORTANTE */
nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav button {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

/* BOTONES */
.primary {
  background: #00ff7f;
  color: #0f111a;
}

.primary:hover {
  background: #00e673;
}

.secondary {
  background: transparent;
  color: #f1f5f9;
  border: 2px solid #f1f5f9;
}

.secondary:hover {
  background: #1f2937;
}

/* HERO */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 30px;
}

/* BOTONES DEL HERO */
.heroButtons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.heroButtons button {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.heroButtons .primary {
  background: #00ff7f;
  color: #0f111a;
}

.heroButtons .primary:hover {
  background: #00e673;
  transform: translateY(-2px);
}

.heroButtons .secondary {
  background: transparent;
  color: #f1f5f9;
  border: 2px solid #f1f5f9;
}

.heroButtons .secondary:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

/* FEATURES */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  padding: 60px 50px;
}

.feature {
  background: #1f2937;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 255, 127, 0.25);
}

.feature h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: #00ff7f;
}

.feature p {
  color: #cbd5f5;
  font-size: 16px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  border-top: 1px solid #1f2937;
}

/* MODALES */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 17, 26, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modalContent {
  background: #1f2937;
  padding: 40px;
  border-radius: 16px;
  width: 360px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.modalContent h2 {
  text-align: center;
  color: #00ff7f;
  margin-bottom: 10px;
}

.modalContent input {
  padding: 12px 14px;
  border-radius: 8px;
  border: none;
  background: #0f111a;
  color: #f1f5f9;
  font-size: 14px;
}

.modalContent button {
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.switch {
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

.switch span {
  color: #00ff7f;
  cursor: pointer;
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .logo {
    font-size: 22px;
  }

  nav {
    gap: 6px;
  }

  nav button {
    padding: 8px 12px;
    font-size: 13px;
  }
}