/* Importamos una fuente moderna y limpia */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #003366; /* Azul Corporativo Oscuro */
    --accent-color: #0056b3;  /* Azul Brillante para botones/enlaces */
    --bg-color: #f4f7f6;      /* Gris azulado muy suave */
    --text-main: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(0, 51, 102, 0.1);
    --border-radius: 8px;
}

/* RESETEO DE ESTILOS ANTIGUOS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased; /* Suavizado de fuentes */
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* CONTENEDOR CENTRAL - Tarjeta Flotante */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.card {
    background: var(--white);
    width: 100%;
    max-width: 600px; /* Ancho controlado para elegancia */
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 6px solid var(--primary-color);
}

/* TIPOGRAFÍA */
h1 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 35px;
    font-weight: 400;
}

/* FORMULARIOS - Eliminando el look de los 90 */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 14px;
}

/* Inputs modernos: planos, con borde suave y focus azul */
input[type="text"],
input[type="email"],
input[type="number"],
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dfe1e5;
    border-radius: 6px;
    background-color: #f8f9fa;
    font-family: inherit;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    outline: none; /* Quita el borde azul feo por defecto */
}

input:focus,
textarea:focus {
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* MENSAJE DE ALERTA (Index) */
.alert-box {
    background-color: #e3f2fd; /* Azul muy muy claro */
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 15px;
}

/* LISTA DE CARACTERÍSTICAS (Index) */
.features-list {
    list-style: none;
    margin-top: 20px;
    margin-bottom: 40px;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.features-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -5px;
}

/* BOTONES */
.btn {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    margin-top: 20px;
    font-size: 14px;
    font-weight: normal;
}

.btn-secondary:hover {
    color: var(--primary-color);
    background: transparent;
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
    margin-top: auto; /* Empuja el footer al fondo */
}