/* Variables de color para mantener consistencia */
:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --bg-dark: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navegación Estilo Glassmorphism */
nav {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
}

nav a {
    color: var(--text-dim);
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

nav a:hover {
    color: var(--primary);
}

/* Contenedor Principal */
.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px 60px; /* Espacio para el nav */
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.05), transparent);
}

/* Estilo del Formulario */
.form {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 45px;
    border-radius: 24px;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.label-select {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Inputs, Selects y Textarea */
input, select, textarea {
    width: 100%;
    padding: 15px 18px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15);
}

/* Personalización del Select */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23007bff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

option {
    background-color: #1a1a1a;
    color: white;
}

textarea {
    resize: none;
    min-height: 120px;
}

/* Botón de envío */
button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 10px;
    box-shadow: 0 10px 20px -5px rgba(0, 123, 255, 0.4);
}

button:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 123, 255, 0.5);
}

button:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 600px) {
    .form {
        padding: 30px 20px;
    }
    
    nav {
        padding: 1rem 5%;
    }
    
    .logo {
        font-size: 1.2rem;
    }

    nav a {
        margin-left: 15px;
        font-size: 0.8rem;
    }
}