:root {
    --fuchsia: #FF1493;         /* Deep Pink - fucsia rosado intenso */
    --fuchsia-dark: #C11270;    /* Versión más oscura para hover */
    --white: #FFFFFF;
    --black: #333333;
    --gray: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

h1, h2, h3, .button {
    font-family: 'Pacifico', cursive;
}

header {
    background-color: var(--fuchsia);
    color: var(--black);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.auth-buttons span {
    font-family: 'Pacifico', cursive;
    margin-right: 1rem;
}

.button {
    display: inline-block;
    background-color: var(--fuchsia);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: var(--fuchsia-dark);
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('https://i.postimg.cc/QdMD32jH/Imagen-de-Whats-App-2025-07-11-a-las-14-46-08-9c7595bd.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery {
    padding: 3rem 2rem;
    text-align: center;
}

.gallery h2 {
    color: var(--fuchsia);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.course-description {
    padding: 3rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.course-description h2 {
    color: var(--fuchsia);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.course-description p {
    margin-bottom: 2rem;
}

.course-details {
    background-color: var(--gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: left;
}

.course-details h3 {
    color: var(--fuchsia);
    margin-bottom: 1rem;
    text-align: center;
}

.course-details ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.course-details li {
    margin-bottom: 0.5rem;
}

.buy-button {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
    margin-top: 1rem;
}

.login-required {
    color: var(--fuchsia);
    font-weight: bold;
    margin-top: 1rem;
}

footer {
    background-color: var(--fuchsia);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}
h2 {
    color: #FF1493;
}
/* ======== Estilos para la página de Compra del Curso ======== */

.purchase-container {
    max-width: 700px;
    margin: 3rem auto;
    background-color: var(--gray);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.purchase-form h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.course-summary {
    margin-bottom: 2rem;
}

.course-summary h3 {
    color: var(--fuchsia);
    margin-bottom: 0.5rem;
}

.course-summary p {
    font-size: 1rem;
}

.course-summary .price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--fuchsia-dark);
}

form h3 {
    margin-bottom: 1rem;
    color: var(--fuchsia-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--black);
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.button.buy-button {
    display: inline-block;
    background-color: var(--fuchsia);
    color: var(--white);
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    text-align: center;
}

.button.buy-button:hover {
    background-color: var(--fuchsia-dark);
    transform: translateY(-2px);
}

.secure-payment {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
}

.lock-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.error-message {
    background-color: #ffe0e0;
    color: #a80000;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: bold;
    text-align: center;
}




/* Estilos solo para el login */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: transparent;
}

.auth-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(255, 0, 144, 0.4);
    max-width: 400px;
    width: 100%;
    text-align: center;
    border: 2px solid #ff1493;
}

.auth-form h2 {
    font-family: 'Pacifico', cursive;
    color: #ff1493;
    margin-bottom: 20px;
    font-size: 28px;
}

.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.auth-form .button {
    background-color: #ff1493;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.auth-form .button:hover {
    background-color: #e01190;
}

.auth-form a {
    color: #62006c;
    text-decoration: none;
}

.auth-form a:hover {
    text-decoration: underline;
}

.error-message {
    color: red;
    margin-bottom: 15px;
}


.course-price {
    text-align: center;
    background-color: #fff4f7;
    padding: 40px 20px;
    margin-top: 20px;
    border-top: 2px solid #f8bbd0;
}

.course-price h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #d81b60;
}

.price-amount {
    font-size: 2.5em;
    font-weight: bold;
    color: #c2185b;
}
.comprobante-box {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fffdfd;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.comprobante-box h2 {
    font-size: 1.8em;
    color: #d81b60;
    margin-bottom: 20px;
}

.comprobante-box input[type="file"] {
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.comprobante-box button {
    background-color: #d81b60;
    color: #fff;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.comprobante-box button:hover {
    background-color: #c2185b;
}

.comprobante-box .success {
    color: #2e7d32;
    margin-top: 15px;
    font-weight: bold;
}
.pasos {
    background-color: #f4f6f8;
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 800px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pasos .hero-content h2 {
    color: #FF1493;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.pasos .hero-content p {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.pasos ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.pasos ul li {
    background-color: #ffffff;
    border-left: 4px solid #0077cc;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #444;
}

.pasos strong {
    color: #FF1493;
}

