body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f5f7fa;
  margin: 0;
  color: #222;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.navbar {
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s;
}
.navbar.sticky-anim {
  padding: 0.15rem 0;
  box-shadow: 0 4px 18px rgba(25, 118, 210, 0.18);
  background: linear-gradient(90deg, #1565c0 0%, #42a5f5 100%);
  transition: padding 0.3s, box-shadow 0.3s, background 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.logo {
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
  background: #fff;
  padding: 4px 8px;
  margin-right: 1.2rem;
}

.menu {
  display: flex;
  gap: 1.2rem;
  background: rgba(255,255,255,0.10);
  padding: 0.3rem 1.2rem;
  border-radius: 24px;
  box-shadow: 0 1px 6px rgba(25, 118, 210, 0.07);
  align-items: center;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.08rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 0.4rem 1.1rem;
  border-radius: 18px;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}
.menu a:hover, .menu a:focus {
  background: #fff;
  color: #1976d2;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: #fff;
  color: #1976d2;
  border: none;
  font-size: 2.2rem;
  border-radius: 8px;
  padding: 0.2rem 0.7rem;
  margin-left: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(25, 118, 210, 0.10);
  transition: background 0.2s, color 0.2s;
}
.menu-toggle:hover {
  background: #1976d2;
  color: #fff;
}

.hero {
  background: linear-gradient(120deg, #1976d2 0%, #42a5f5 100%);
  color: #fff;
  display: flex;
  justify-content: center; /* Centra verticalmente el .container */
  align-items: center;     /* Centra horizontalmente el .container */
  text-align: center;
  padding: 0;
  padding-bottom: 2rem;      /* Espacio abajo */
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
    font-size: 4rem;    /* Antes: probablemente 2.5rem o 3rem */
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 18px;
  }

  @media (max-width: 600px) {
    .hero h1 {
      font-size: 2.2rem;
    }
  }
.hero .btn {
  background: #fff;
  color: #1976d2;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.hero .btn:hover {
  background: #1976d2;
  color: #fff;
  border: 1px solid #fff;
}

.features {
  background: #fff;
  padding: 3rem 0;
}
.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.features .grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.features .grid > div {
  background: #f5f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2rem 1.5rem;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
}

.gallery-section {
  background: #f5f7fa;
  padding: 3rem 0;
}
.gallery-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.gallery {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery img {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 360px;
  height: auto;
  object-fit: cover;
}

.downloads {
  background: #fff;
  padding: 3rem 0;
  text-align: center;
}
.downloads .btn-dark {
  background: #1976d2;
  color: #fff;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.downloads .btn-dark:hover {
  background: #0d47a1;
  color: #fff;
}
.descarga-nota {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.documentation {
  background: #f5f7fa;
  padding: 3rem 0;
  text-align: center;
}
.documentation h2 {
  margin-bottom: 1.5rem;
}
.documentation ul {
  list-style: none;
  padding: 0;
}
.documentation li {
  margin-bottom: 1rem;
}
.documentation a {
  color: #1976d2;
  text-decoration: underline;
  font-weight: 500;
}

.contact {
  background: #fff;
  padding: 3rem 0;
  text-align: center;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto 1.2rem auto;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}
.contact-form textarea {
  min-height: 80px;
  max-height: 200px;
}
.contact-form .btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 2rem;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form .btn:hover {
  background: #0d47a1;
}
.contacto-mail {
  margin-top: 1rem;
  font-size: 1rem;
}
.contacto-mail a {
  color: #1976d2;
  text-decoration: underline;
}

.policies {
  background: #f5f7fa;
  padding: 2.5rem 0 2rem 0;
  text-align: center;
}
.policies h2 {
  margin-bottom: 1rem;
}
.policies a {
  color: #1976d2;
  text-decoration: underline;
  cursor: pointer;
}
.policy-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.2rem 1rem;
  margin: 1.2rem auto 0 auto;
  max-width: 600px;
  text-align: left;
}

footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1px; /* Espacio mínimo arriba y abajo */
  font-size: 0.80rem;         /* Opcional: fuente un poco más pequeña */
}
footer a {
  color: #90caf9;
  text-decoration: underline;
}

.about-evarstat {
  background: #fff;
  padding: 3rem 0 2.5rem 0;
}

.about-evarstat .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-evarstat h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #1976d2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-evarstat p {
  font-size: 1.15rem;
  color: #222;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  text-align: center;
}

.about-evarstat ul {
  list-style: disc inside;
  margin: 1.5rem auto 1.5rem auto;
  padding: 0;
  max-width: 700px;
}

.about-evarstat li {
  font-size: 1.08rem;
  color: #333;
  margin-bottom: 0.7rem;
  line-height: 1.6;
  text-align: left;
}

.about-evarstat strong {
  color: #1976d2;
  font-weight: 600;
}

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 99999;
  font-size: 1rem;
}
.cookie-banner.show {
  display: block;
}
.cookie-banner button {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 0.4rem 1.2rem;
  margin-left: 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-banner button:hover {
  background: #0d47a1;
}

/* Efecto de movimiento al pasar el cursor en menús y tarjetas */
.menu a,
.features .grid > div,
.gallery img,
.btn,
.btn-dark {
  transition: 
    transform 0.25s cubic-bezier(.21,1.02,.73,1.01),
    box-shadow 0.25s cubic-bezier(.21,1.02,.73,1.01);
}

.menu a:hover,
.features .grid > div:hover,
.gallery img:hover,
.btn:hover,
.btn-dark:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 24px rgba(25, 118, 210, 0.18), 0 1.5px 6px rgba(25, 118, 210, 0.10);
  z-index: 2;
}

/* Lightbox para capturas */
.lightbox-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30, 42, 70, 0.85);
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 18px;
  box-shadow: 0 12px 48px rgba(25, 118, 210, 0.25);
  background: #fff;
  padding: 8px;
  animation: zoomIn 0.3s;
}
@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox-overlay .close-lightbox {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100001;
  transition: color 0.2s;
}
.lightbox-overlay .close-lightbox:hover {
  color: #1976d2;
}

/* Responsive para móviles */
@media (max-width: 600px) {
  .about-evarstat {
    padding: 2rem 0 1.5rem 0;
  }
  .about-evarstat h2 {
    font-size: 1.4rem;
  }
  .about-evarstat p,
  .about-evarstat li {
    font-size: 1rem;
  }
  .about-evarstat .container {
    padding: 0 0.5rem;
  }
}

@media (max-width: 700px) {
  .nav-container {
    padding: 0 0.5rem;
  }
  .logo {
    height: 38px;
    padding: 2px 4px;
    margin-right: 0.5rem;
  }
}

@media (max-width: 600px) {
  .menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 10px;
    left: 10px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.13);
    padding: 1rem 0.5rem;
    z-index: 200;
  }
  .menu.show {
    display: flex;
  }
  .menu a {
    color: #1976d2;
    background: none;
    font-size: 1.08rem;
    padding: 0.7rem 0.5rem;
    border-radius: 12px;
    box-shadow: none;
  }
  .menu a:hover, .menu a:focus {
    background: #e3f2fd;
    color: #0d47a1;
  }
  .menu-toggle {
    display: block;
  }
}
a.btn,
a.btn-dark {
    text-decoration: none;
}
html {
  scroll-padding-top: 100px; /* Ajusta este valor según la altura de tu navbar */
}

/* Ajuste para la sección de plugins alineada a la izquierda */
#plugins.documentation .container {
  text-align: left;
  max-width: 900px;
  margin-left: 3rem;
}

#plugins.documentation h2 {
  text-align: left;
}

#plugins.documentation ul {
  margin-left: 1.5rem;
}
