body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f0f0f8; /* pastel lightest */
    color: #333; /* text primary */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background-color: #a39bff; /* pastel medium */
    color: #fff; /* white */
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); /* Forma inclinada */
}

header h1 {
    margin-bottom: 5px;
    font-size: 3em; /* Más grande */
    font-weight: bold;
    letter-spacing: -0.02em;
}

header p {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.9;
}

.container {
    padding: 40px 20px;
    flex-grow: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Imagen más grande */
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.intro-section .image-container {
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra más pronunciada */
    transform: translateY(-10px); /* Ligeramente elevado */
}

.intro-section .image-container img {
    width: 75%;
    display: block;
    
}

.intro-section .text-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-20px); /* Ligeramente desplazado */
}


.intro-section .text-content h2 {
    color: #7c6aff; /* pastel dark */
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.intro-section .text-content p {
    line-height: 1.8; /* Más espaciado */
    font-size: 1.15em;
    color: #555;
}

.key-features-section {
    margin-bottom: 60px;
    text-align: center;
}

.key-features-section h2 {
    color: #7c6aff; /* pastel dark */
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: -0.02em;
}


.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Más ancho */
    gap: 30px;
    margin-top: 20px;
}

.feature-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    color: #8e7bff; /* accent color */
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.feature-card p {
    line-height: 1.7;
    font-size: 1.1em;
    color: #555;
}

.code-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.code-section h2 {
    color: #7c6aff; /* pastel dark */
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.code-section p{
    line-height: 1.7;
    font-size: 1.15em;
    color: #555;
    margin-bottom: 30px;
}

.code-example {
    background-color: #f0f0f8; /* pastel lightest */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    font-family: monospace;
    white-space: pre-wrap;
    overflow-x: auto;
    font-size: 1.1em;
    line-height: 1.5;
}

footer {
    background-color: #a39bff; /* pastel medium */
    color: #fff; /* white */
    padding: 25px;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%); /* Forma inclinada */
}

footer p {
    margin: 10px 0;
    font-size: 0.95em;
    opacity: 0.9;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .intro-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .intro-section .image-container {
        transform: translateY(0);
    }
    .intro-section .text-content{
        transform: translateX(0);
    }
    .feature-cards {
        grid-template-columns: 1fr;
    }
    header h1{
        font-size: 2.5em;
    }
    .intro-section h2{
        font-size: 2em;
    }
    .key-features-section h2{
         font-size: 2em;
    }
    .code-section h2{
         font-size: 2em;
    }
}