/* Diseño general */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f0f8; /* Fondo similar a MongoDB */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Encabezado: ahora con fondo sólido igual que en MongoDB */
  header {
    background-color: #a39bff; /* Mismo color del encabezado en MongoDB */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    /* Usamos el clip-path de MongoDB para dar la forma inclinada */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
  
  header h1 {
    margin: 0;
    font-size: 3em;
    font-weight: bold;
  }
  
  header p {
    margin-top: 10px;
    font-size: 1.2em;
    opacity: 0.9;
  }
  
  /* Contenedor principal */
  .main-container {
    padding: 40px 20px;
    flex: 1;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Sección de descripción general */
  .overview-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .overview-image {
    flex: 1 1 300px;
    text-align: center;
  }
  
  .overview-image img {
    max-width: 80%;
    height: auto;
    border-radius: 50%;
  }
  
  .overview-text {
    flex: 2 1 300px;
  }
  
  .overview-text h2 {
    color: #7c6aff;  /* Usamos el mismo tono de acento */
    margin-bottom: 15px;
    font-size: 2em;
  }
  
  .overview-text p {
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  /* Sección de características */
  .features-section {
    margin-bottom: 60px;
    text-align: center;
  }
  
  .features-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 30px;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .feature-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  
  .feature-box h3 {
    color: #7c6aff;
    margin-top: 0;
    font-size: 1.5em;
  }
  
  .feature-box p {
    font-size: 1em;
    line-height: 1.5;
  }
  
  /* Sección de ejemplo de código (demo) */
  .demo-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .demo-section p {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 30px;
  }
  
  .demo-code {
    background-color: #f0f0f8;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    white-space: pre-wrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Pie de página */
  footer {
    background-color: #a39bff;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  