/* Diseño general */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f0f0f8;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Encabezado */
  header {
    background-color: #a39bff;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  }
  .header-content {
    max-width: 800px;
    margin: auto;
  }
  header h1 {
    margin: 0;
    font-size: 3em;
    font-weight: bold;
  }
  header p {
    margin-top: 10px;
    font-size: 1.2em;
    opacity: 0.9;
  }
  
  /* Contenedor principal */
  .container {
    flex: 1;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Sección Hero */
  .hero-section {
    text-align: center;
    margin-bottom: 40px;
  }
  .hero-image {
    max-width: 60%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .hero-section h2 {
    color: #7c6aff;
    margin: 20px 0 10px;
    font-size: 2.5em;
  }
  .hero-section p {
    font-size: 1.1em;
    line-height: 1.6;
  }
  
  /* Sección de Introducción */
  .intro-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .intro-section h2 {
    color: #7c6aff;
    margin-top: 0;
    font-size: 2em;
  }
  .intro-section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 15px 0;
  }
  
  /* Sección de Características */
  .features-section {
    text-align: center;
    margin-bottom: 40px;
  }
  .features-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 20px;
  }
  .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;
  }
  /* Imagen Hero con tamaño fijo removido del HTML */
.fixed-size-image {
  width: 100px;
  height: 200px;
}
  
  /* Sección de Arquitectura */
  .architecture-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .architecture-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
  }
  .architecture-section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin: 15px 0;
  }
  .diagram {
    text-align: center;
    margin-top: 20px;
  }
  .diagram img {
    max-width: 80%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Sección de Ejemplo de Código */
  .demo-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
  }
  .demo-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 15px;
  }
  .demo-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
  }
  .code-block {
    background-color: #f0f0f8;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    text-align: left;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1em;
    white-space: pre-wrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  /* Sección de Beneficios y Casos de Uso */
  .benefits-section {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .benefits-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
  }
  .benefits-section p {
    font-size: 1.1em;
    margin-bottom: 15px;
  }
  .benefits-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
    max-width: 800px;
  }
  .benefits-section li {
    margin: 8px 0;
    font-size: 1.1em;
  }
  
  /* Sección de Recursos Adicionales */
  .resources-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
  }
  .resources-section h2 {
    color: #7c6aff;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-align: center;
  }
  .resources-section p {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 15px;
  }
  .resources-section ul {
    list-style: none;
    padding: 0;
    text-align: center;
  }
  .resources-section li {
    margin: 8px 0;
    font-size: 1.1em;
  }
  .resources-section a {
    color: #7c6aff;
    text-decoration: none;
    font-weight: bold;
    transition: text-decoration 0.3s ease;
  }
  .resources-section a:hover {
    text-decoration: underline;
  }
  
  /* Pie de Página */
  footer {
    background-color: #a39bff;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  
  