/* ==========================================
   VARIABLES DE COLOR - PALETA "DYNAMIC SUCCESS"
   ========================================== */
:root {
    --navy-profundo: #1A202C;
    --gris-azulado: #4A5568;
    --coral-energico: #E57373;
    --verde-exito: #48BB78;
    --dorado-ambicion: #D69E2E;
    --blanco-roto: #F7FAFC;
    --sombra-suave: rgba(26, 32, 44, 0.08);
}

/* ==========================================
   RESET Y BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--blanco-roto);
    color: var(--navy-profundo);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   NAVEGACIÓN
   ========================================== */
.menu-principal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(247, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo-atlas {
    color: var(--navy-profundo);
    font-size: 2.3rem;
    letter-spacing: 4px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-atlas:hover {
    color: var(--coral-energico);
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 35px;
}

.menu-principal a {
    color: var(--gris-azulado);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.menu-principal a:hover {
    color: var(--coral-energico);
}

.btn-login-menu {
    color: var(--coral-energico) !important;
    font-weight: 600 !important;
}

.menu-cta {
    background-color: var(--navy-profundo);
    color: white !important;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.menu-cta:hover {
    background-color: var(--coral-energico);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 115, 115, 0.3);
}

/* ==========================================
   MENÚ HAMBURGUESA (NUEVO)
   ========================================== */
.menu-hamburguesa {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-hamburguesa span {
    width: 28px;
    height: 3px;
    background-color: var(--navy-profundo);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-hamburguesa.activo span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-hamburguesa.activo span:nth-child(2) {
    opacity: 0;
}

.menu-hamburguesa.activo span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.bienvenida {
    position: relative;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(180deg, var(--blanco-roto) 0%, #EDF2F7 100%);
    overflow: hidden;
}

.bienvenida::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(229,115,115,.08), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.bienvenida > * {
    position: relative;
    z-index: 1;
}

.etiqueta-atlas {
    display: inline-block;
    background-color: rgba(229, 115, 115, 0.1);
    color: var(--coral-energico);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bienvenida h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--navy-profundo);
    line-height: 1.2;
}

.highlight {
    color: var(--coral-energico);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(229, 115, 115, 0.2);
    z-index: -1;
    transform: skewX(-10deg);
}

.bienvenida p {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: var(--gris-azulado);
}

.botones-hero {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primario {
    background-color: var(--coral-energico);
    color: white !important;
    border: none;
    padding: 16px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primario:hover {
    background-color: #E55A5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 115, 115, 0.3);
}

.btn-secundario {
    background-color: transparent;
    color: var(--navy-profundo) !important;
    border: 2px solid var(--navy-profundo);
    padding: 16px 35px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secundario:hover {
    background-color: var(--navy-profundo);
    color: white !important;
    transform: translateY(-3px);
}

/* ==========================================
   SECCIÓN "PARA TI"
   ========================================== */
.para-ti {
    background-color: var(--navy-profundo);
    color: white;
    padding: 80px 5%;
}

.contenedor-para-ti {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.para-ti h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: white;
}

.grid-dolores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dolor-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dolor-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--coral-energico);
}

.icono-dolor {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.dolor-item p {
    font-size: 1rem;
    color: #CBD5E0;
}

.mensaje-solucion {
    font-size: 1.3rem;
    color: var(--verde-exito);
    margin-top: 30px;
    font-weight: 600;
}

/* ==========================================
   CARACTERÍSTICAS
   ========================================== */
.caracteristicas-atlas {
    padding: 100px 5%;
    background-color: var(--blanco-roto);
}

.caracteristicas-atlas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--navy-profundo);
}

.subtitulo-seccion {
    text-align: center;
    color: var(--gris-azulado);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

.contenedor-caracteristicas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta {
    background-color: white;
    padding: 35px 30px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px var(--sombra-suave);
}

.tarjeta:hover {
    transform: translateY(-8px);
    border-color: var(--coral-energico);
    box-shadow: 0 15px 30px rgba(229, 115, 115, 0.15);
}

.icono-tarjeta {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.tarjeta h3 {
    color: var(--navy-profundo);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.tarjeta p {
    color: var(--gris-azulado);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================
   PANEL DASHBOARD
   ========================================== */
.panel-atlas {
    padding: 100px 5%;
    background-color: white;
}

.contenido-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.texto-panel {
    flex: 1;
    min-width: 300px;
}

.etiqueta-panel {
    color: var(--coral-energico);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 15px;
}

.texto-panel h2 {
    font-size: 2.8rem;
    margin: 20px 0;
    color: var(--navy-profundo);
    line-height: 1.2;
}

.texto-panel p {
    color: var(--gris-azulado);
    line-height: 1.7;
    margin-bottom: 30px;
}

.lista-beneficios {
    list-style: none;
}

.lista-beneficios li {
    padding: 12px 0;
    color: var(--navy-profundo);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.lista-beneficios li::before {
    content: '✓';
    color: var(--verde-exito);
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.mockup-dashboard {
    flex: 1;
    min-width: 350px;
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.08);
}

.barra-superior {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.dot-rojo { width: 12px; height: 12px; border-radius: 50%; background-color: #FC8181; }
.dot-amarillo { width: 12px; height: 12px; border-radius: 50%; background-color: #F6E05E; }
.dot-verde { width: 12px; height: 12px; border-radius: 50%; background-color: #68D391; }

.mockup-dashboard h4 {
    margin-bottom: 25px;
    color: var(--navy-profundo);
    font-size: 1.3rem;
    font-weight: 600;
}

.progreso { margin-bottom: 30px; }

.cabecera-progreso {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cabecera-progreso p { color: var(--gris-azulado); font-size: 0.9rem; }
.cabecera-progreso span { color: var(--verde-exito); font-weight: 700; font-size: 1.1rem; }

.barra-progreso {
    width: 100%;
    height: 10px;
    background-color: #EDF2F7;
    border-radius: 10px;
    overflow: hidden;
}

.nivel-progreso {
    width: 75%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--verde-exito), #38A169);
    transition: width 1.5s ease-in-out;
}

.vista-dashboard {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tarjeta-dashboard {
    background-color: #F7FAFC;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 90px;
    text-align: center;
    border: 1px solid #E2E8F0;
}

.tarjeta-dashboard h3 {
    font-size: 1.5rem;
    color: var(--navy-profundo);
    margin-bottom: 5px;
}

.tarjeta-dashboard p {
    font-size: 0.8rem;
    color: var(--gris-azulado);
    font-weight: 500;
}

.lista-tareas-mockup { margin: 25px 0; }

.lista-tareas-mockup p {
    padding: 12px 0;
    border-bottom: 1px solid #EDF2F7;
    font-size: 0.95rem;
}

.tarea-completada {
    color: var(--gris-azulado);
    text-decoration: line-through;
    text-decoration-color: var(--verde-exito);
}

.tarea-pendiente { color: var(--navy-profundo); font-weight: 500; }

.contenedor-proximo-evento {
    background-color: rgba(214, 158, 46, 0.1);
    border-radius: 12px;
    padding: 18px;
    border-left: 4px solid var(--dorado-ambicion);
    margin-top: 20px;
}

.contenedor-proximo-evento h5 {
    color: var(--dorado-ambicion);
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contenedor-proximo-evento p {
    color: var(--navy-profundo);
    font-weight: 600;
    font-size: 1rem;
}

.contenedor-proximo-evento span {
    display: block;
    margin-top: 5px;
    color: var(--gris-azulado);
    font-size: 0.85rem;
}

/* ==========================================
   TESTIMONIOS
   ========================================== */
.testimonios {
    padding: 100px 5%;
    background-color: #EDF2F7;
}

.testimonios h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--navy-profundo);
}

.contenedor-testimonios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonio {
    background-color: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 6px var(--sombra-suave);
    transition: all 0.3s ease;
}

.testimonio:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.estrellas { margin-bottom: 15px; font-size: 1.1rem; }

.testimonio p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--gris-azulado);
}

.autor {
    border-top: 1px solid #E2E8F0;
    padding-top: 15px;
}

.autor strong {
    display: block;
    color: var(--navy-profundo);
    margin-bottom: 4px;
}

.autor span {
    font-size: 0.85rem;
    color: var(--coral-energico);
    font-weight: 500;
}

/* ==========================================
   CTA FINAL
   ========================================== */
.cta-final {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--navy-profundo), #232b3d);
    color: white;
}

.cta-final h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-final > p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: #CBD5E0;
}

.btn-cta-grande {
    background-color: var(--coral-energico);
    color: white !important;
    border: none;
    padding: 18px 45px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-grande:hover {
    background-color: #E55A5A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 115, 115, 0.4);
}

.texto-pequeno {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #A0AEC0;
}

/* ==========================================
   FOOTER
   ========================================== */
.pie-pagina {
    background-color: #171923;
    color: white;
    padding: 60px 20px 30px;
    text-align: center;
}

.logo-footer {
    color: white;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.pie-pagina > p {
    margin-bottom: 25px;
    color: #A0AEC0;
}

.redes-sociales { margin: 25px 0; }

.redes-sociales a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.redes-sociales a:hover { color: var(--coral-energico); }

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #718096;
}

/* ==========================================
   BOTÓN FLOTANTE
   ========================================== */
.btn-bienestar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--coral-energico);
    color: white;
    border: none;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(229, 115, 115, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-bienestar:hover {
    transform: scale(1.1) rotate(90deg);
    background-color: #E55A5A;
}

/* ==========================================
   AUTENTICACIÓN
   ========================================== */
.body-auth {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy-profundo) 0%, #2D3748 100%);
    padding: 20px;
}

.auth-container {
    background-color: white;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.auth-container h2 {
    color: var(--navy-profundo);
    text-align: center;
    margin-bottom: 5px;
    font-size: 1.8rem;
}

.auth-subtitle {
    text-align: center;
    color: var(--gris-azulado);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gris-azulado);
}

.forgot-password {
    color: var(--coral-energico);
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gris-azulado);
}

.auth-footer a {
    color: var(--coral-energico);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-auth {
    background-color: var(--coral-energico);
    color: white !important;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
    width: 100%;
}

.btn-auth:hover {
    background-color: #E55A5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 115, 115, 0.3);
}

.auth-error {
    background-color: #FED7D7;
    color: #C53030;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 15px;
    display: none;
}

.auth-error.visible {
    display: block;
}

/* ==========================================
   MODAL
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 32, 44, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.activo {
    opacity: 1;
    visibility: visible;
}

.modal-contenido {
    background-color: white;
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.activo .modal-contenido {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #EDF2F7;
    padding-bottom: 15px;
}

.modal-header h3 {
    color: var(--navy-profundo);
    font-size: 1.3rem;
}

.btn-cerrar {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gris-azulado);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-cerrar:hover {
    background-color: #FED7D7;
    color: var(--coral-energico);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grupo-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.grupo-input label {
    font-weight: 600;
    color: var(--navy-profundo);
    font-size: 0.9rem;
}

.grupo-input input[type="text"],
.grupo-input input[type="email"],
.grupo-input input[type="password"],
.grupo-input input[type="number"],
.grupo-input select,
.grupo-input textarea {
    padding: 12px 15px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.grupo-input input:focus,
.grupo-input select:focus,
.grupo-input textarea:focus {
    border-color: var(--coral-energico);
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.1);
}

.opciones-energia {
    display: flex;
    gap: 15px;
}

.energia-opcion {
    flex: 1;
    padding: 12px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--gris-azulado);
}

.energia-opcion:hover {
    border-color: var(--coral-energico);
}

.energia-opcion input[type="radio"] {
    display: none;
}

.energia-opcion input[type="radio"]:checked + span {
    color: var(--navy-profundo);
    font-weight: 700;
}

.energia-opcion:has(input[type="radio"]:checked) {
    border-color: var(--coral-energico);
    background-color: rgba(229, 115, 115, 0.05);
}

.btn-agregar {
    background-color: var(--coral-energico);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-agregar:hover {
    background-color: #E55A5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 115, 115, 0.3);
}

/* ==========================================
   DASHBOARD
   ========================================== */
.dashboard-body {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.dashboard-nav {
    background-color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-greeting {
    color: var(--gris-azulado);
    font-weight: 500;
}

.btn-logout {
    color: var(--coral-energico);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background-color: rgba(229, 115, 115, 0.1);
}

.dashboard-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    gap: 30px;
}

.dashboard-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-menu {
    background-color: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gris-azulado);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    font-weight: 500;
}

.menu-item:hover,
.menu-item.active {
    background-color: rgba(229, 115, 115, 0.1);
    color: var(--coral-energico);
}

.sidebar-widget {
    background: linear-gradient(135deg, var(--coral-energico), var(--dorado-ambicion));
    border-radius: 16px;
    padding: 25px;
    color: white;
    text-align: center;
}

.sidebar-widget h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.2);
    stroke-width: 8;
}

.progress-ring-fill {
    fill: none;
    stroke: white;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 62.8;
    transition: stroke-dashoffset 1s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 700;
}

.widget-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.dashboard-main {
    flex: 1;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: var(--navy-profundo);
    margin-bottom: 5px;
}

.dashboard-header p {
    color: var(--gris-azulado);
}

.btn-add-task {
    background-color: var(--coral-energico);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-add-task:hover {
    background-color: #E55A5A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 115, 115, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: white;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(229, 115, 115, 0.1);
    border-radius: 12px;
}

.stat-info h3 {
    font-size: 2rem;
    color: var(--navy-profundo);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--gris-azulado);
    font-size: 0.9rem;
}

.tasks-section {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.tasks-section h2 {
    margin-bottom: 20px;
    color: var(--navy-profundo);
    font-size: 1.5rem;
}

.tasks-list {
    min-height: 200px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gris-azulado);
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.empty-subtitle {
    font-size: 0.95rem;
    opacity: 0.8;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--coral-energico);
}

.task-item:hover {
    background-color: #f0f1f3;
    transform: translateX(5px);
}

.task-item.completed {
    opacity: 0.6;
    border-left-color: var(--verde-exito);
}

.task-item.completed .task-title {
    text-decoration: line-through;
}

.task-checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gris-azulado);
    border-radius: 6px;
    margin-right: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.task-checkbox:hover {
    border-color: var(--coral-energico);
}

.task-item.completed .task-checkbox {
    background-color: var(--verde-exito);
    border-color: var(--verde-exito);
}

.task-checkbox::after {
    content: '✓';
    color: white;
    font-weight: bold;
    display: none;
}

.task-item.completed .task-checkbox::after {
    display: block;
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-title {
    font-weight: 600;
    color: var(--navy-profundo);
    margin-bottom: 4px;
    word-wrap: break-word;
}

.task-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gris-azulado);
    flex-wrap: wrap;
}

.task-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-alta {
    background-color: rgba(229, 115, 115, 0.2);
    color: var(--coral-energico);
}

.badge-baja {
    background-color: rgba(72, 187, 120, 0.2);
    color: var(--verde-exito);
}

.btn-delete-task {
    background: none;
    border: none;
    color: #fc8181;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-delete-task:hover {
    background-color: rgba(252, 129, 129, 0.1);
}

.finance-section {
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.finance-section h2 {
    margin-bottom: 20px;
    color: var(--navy-profundo);
    font-size: 1.5rem;
}

.finance-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.finance-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.finance-form input:focus {
    border-color: var(--coral-energico);
    box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.1);
}

.btn-add-expense {
    background-color: var(--dorado-ambicion);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-expense:hover {
    background-color: #b8860b;
    transform: translateY(-2px);
}

.dashboard-section {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tasks-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: white;
    border: 2px solid #E2E8F0;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--coral-energico);
}

.filter-btn.active {
    background-color: var(--coral-energico);
    border-color: var(--coral-energico);
    color: white;
}

.finance-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.finance-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid var(--coral-energico);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.finance-card.verde {
    border-left-color: var(--verde-exito);
}

.finance-card h3 {
    font-size: 0.9rem;
    color: var(--gris-azulado);
    margin-bottom: 10px;
    font-weight: 500;
}

.finance-card .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy-profundo);
}

.expenses-list {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.expense-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #EDF2F7;
}

.expense-item:last-child {
    border-bottom: none;
}

.wellness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.wellness-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.wellness-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.wellness-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.wellness-card h3 {
    color: var(--navy-profundo);
    margin-bottom: 10px;
}

.wellness-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-energico);
    margin-bottom: 5px;
}

.wellness-sub {
    color: var(--gris-azulado);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.btn-wellness {
    background-color: var(--verde-exito);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-wellness:hover {
    background-color: #38A169;
}

.quote-box {
    background: linear-gradient(135deg, var(--coral-energico), var(--dorado-ambicion));
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(229, 115, 115, 0.3);
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 15px;
}

.quote-author {
    font-weight: 600;
    opacity: 0.9;
}

.add-expense-form-container {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 30px;
    margin-bottom: 30px;
}

.add-expense-form-container h3 {
    color: var(--navy-profundo);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ==========================================
   RESPONSIVE - TABLETS (hasta 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding: 15px;
    }
    
    .menu-item {
        white-space: nowrap;
        margin-bottom: 0;
    }
    
    .sidebar-widget {
        display: none;
    }
    
    .contenido-panel {
        flex-direction: column;
    }
    
    .mockup-dashboard {
        min-width: 100%;
    }
}

/* ==========================================
   RESPONSIVE - MÓVILES (hasta 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Menú hamburguesa visible */
    .menu-hamburguesa {
        display: flex;
    }
    
    .menu-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .menu-items.activo {
        right: 0;
    }
    
    .menu-cta {
        display: none;
    }
    
    .menu-items.activo + .menu-cta,
    .menu-cta-mobile {
        display: block;
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(70% - 60px);
        max-width: 240px;
        text-align: center;
        z-index: 1000;
    }
    
    /* Hero */
    .bienvenida {
        padding: 80px 20px 60px;
    }
    
    .bienvenida h2 {
        font-size: 2.2rem;
    }
    
    .bienvenida p {
        font-size: 1rem;
    }
    
    .botones-hero {
        flex-direction: column;
    }
    
    .botones-hero a {
        width: 100%;
        text-align: center;
    }
    
    /* Secciones */
    .para-ti h2,
    .caracteristicas-atlas h2,
    .testimonios h2,
    .cta-final h2 {
        font-size: 1.8rem;
    }
    
    .texto-panel h2 {
        font-size: 2rem;
    }
    
    /* Dashboard */
    .dashboard-nav {
        padding: 15px 20px;
    }
    
    .dashboard-container {
        padding: 20px 15px;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
    
    .tasks-section,
    .finance-section {
        padding: 20px;
    }
    
    .task-item {
        padding: 12px;
    }
    
    .task-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .finance-form {
        flex-direction: column;
    }
    
    .finance-form input {
        min-width: 100%;
    }
    
    .wellness-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .quote-box {
        padding: 25px;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    /* Auth */
    .auth-container {
        padding: 30px 20px;
    }
    
    /* Modal */
    .modal-contenido {
        padding: 20px;
    }
    
    .opciones-energia {
        flex-direction: column;
    }
}

/* ==========================================
   RESPONSIVE - MÓVILES PEQUEÑOS (hasta 480px)
   ========================================== */
@media (max-width: 480px) {
    .bienvenida h2 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .wellness-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-atlas {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    .btn-add-task {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .task-item {
        flex-wrap: wrap;
    }
    
    .btn-delete-task {
        margin-left: auto;
    }
}

/* ==========================================
   RESPONSIVE - MÓVILES MUY PEQUEÑOS (hasta 360px)
   ========================================== */
@media (max-width: 360px) {
    .bienvenida h2 {
        font-size: 1.5rem;
    }
    
    .logo-atlas {
        font-size: 1.5rem;
    }
    
    .auth-container {
        padding: 25px 15px;
    }
}